-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support reading FHIR QuestionnaireResponse.
Tests are still missing.
- Loading branch information
Showing
40 changed files
with
1,015 additions
and
85 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
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
11 changes: 11 additions & 0 deletions
11
...src/test/resources/org/dhis2/fhir/adapter/dhis/test/default-event-91-create-response.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,11 @@ | ||
{ | ||
"status": "OK", | ||
"response": { | ||
"importSummaries": [ | ||
{ | ||
"status": "SUCCESS", | ||
"reference": "deR4kl4mnf7" | ||
} | ||
] | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
app/src/test/resources/org/dhis2/fhir/adapter/dhis/test/default-event-91-create.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,22 @@ | ||
{ | ||
"status": "ACTIVE", | ||
"eventDate": "2018-11-10T00:00:00+01:00", | ||
"dueDate": "2018-11-12T00:00:00+01:00", | ||
"coordinate": null, | ||
"dataValues": [ | ||
{ | ||
"value": "3666", | ||
"providedElsewhere": false, | ||
"dataElement": "BnplxU2jGvX" | ||
}, | ||
{ | ||
"value": "1", | ||
"providedElsewhere": false, | ||
"dataElement": "ft7iD5ZzPxJ" | ||
} | ||
], | ||
"orgUnit": "ldXIdLNUNEn", | ||
"program": "EPDyQuoRnXk", | ||
"trackedEntityInstance": "JeR2Ul4mZfx", | ||
"programStage": "MsWxkiY6tMS" | ||
} |
Oops, something went wrong.