-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor configs processing implementation
- Add support to fetch List configuration composition contents
- Loading branch information
1 parent
e0a9fcc
commit d645c8b
Showing
7 changed files
with
295 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 95 additions & 0 deletions
95
android/engine/src/test/assets/sample_commodities_list_bundle.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"resourceType": "Bundle", | ||
"id": "the-commodities-bundle-id", | ||
"type": "batch-response", | ||
"link": [ | ||
{ | ||
"relation": "self", | ||
"url": "http://test-localhost.local" | ||
} | ||
], | ||
"entry": [ | ||
{ | ||
"resource": { | ||
"resourceType": "Group", | ||
"id": "1000001", | ||
"type": "medication", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "1000002", | ||
"display": "Supply management" | ||
} | ||
] | ||
}, | ||
"name": "Albendazole 400mg Tablets", | ||
"characteristic": [ | ||
{ | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "1000003", | ||
"display": "Unit of measure" | ||
} | ||
] | ||
}, | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "100004", | ||
"display": "Unit" | ||
} | ||
], | ||
"text": "Tablets" | ||
}, | ||
"exclude": true | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"resource": { | ||
"resourceType": "Group", | ||
"id": "2000001", | ||
"type": "medication", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "2000002", | ||
"display": "Supply management" | ||
} | ||
] | ||
}, | ||
"name": "Albendazole 400mg Tablets", | ||
"characteristic": [ | ||
{ | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "2000003", | ||
"display": "Unit of measure" | ||
} | ||
] | ||
}, | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "200004", | ||
"display": "Unit" | ||
} | ||
], | ||
"text": "Capsules" | ||
}, | ||
"exclude": true | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.