Build: #35 was successful Changes by Harsha Kumara <harsz89@gmail.com> and Milan Karunarathne <mhkarunarathne@gmail.com>
Code commits
Git
-
Harsha Kumara <harsz89@gmail.com> 4bf1741b4ce997515210836bc46f4596a5d89216
Merge pull request #100 from milankarunarathne/FM-174
FM-174 -
Milan Karunarathne <mhkarunarathne@gmail.com> ab8342b334c00c353c68f12fe5bc83cba90117e3
Merge branch 'master' into FM-174
-
Milan Karunarathne <mhkarunarathne@gmail.com> 3a277cd29111f020f76bca5ad851a67eecde4fe8 m
Implemented Get Radiology Data from External Party and Store
1. Get FHIR DiagnoticReport from http://fhir-dev.healthintersections.com.au/open/DiagnosticReport?subject.given=Roelof Olaf&service.code=RAD
2. Before want to save it as an Encounter, need to Save Patient
3. Get FHIR Patient Resource http://fhir-dev.healthintersections.com.au/open/Patient/f201 ( id = f201 )
4. Before saving patient, check whether it's existing or not. If it's existing retrieve, otherwise store it.
5. Same for Performer (ignore if it's an Organization)
6. Store as an Encounter, then send back result- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version 3a277cd29111f020f76bca5ad851a67eecde4fe8)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/RadiologyHandler.java (version 3a277cd29111f020f76bca5ad851a67eecde4fe8)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRPatientUtil.java (version 3a277cd29111f020f76bca5ad851a67eecde4fe8)