Build: #6 was successful
Job: Release to maven did not start
Code commits
Git
-
surangak <surangakas@gmail.com> 38ae21e16c1863c577037afd9f9187a6f1232f53
Merge pull request #65 from milankarunarathne/FM-157
FM 157 Implement a Handler mechanism to support each services -
Milan Karunarathne <mhkarunarathne@gmail.com> e8f1fd2921f50b9a3bd6ec702150eaa2af5b114d
Not necessary to set Uuid for Encounter. It'll assign at creation.
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version e8f1fd2921f50b9a3bd6ec702150eaa2af5b114d)
-
Milan Karunarathne <mhkarunarathne@gmail.com> ed1cd0728e71d9a991c79ae4e6e98af23af6c7b6
Created an Encounter successfully with minimum requirements
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version ed1cd0728e71d9a991c79ae4e6e98af23af6c7b6)
-
Milan Karunarathne <mhkarunarathne@gmail.com> 7722c741e488b64837edbb75881731d602c97a0e
Fixed unable to retrieve Handlers
Removed Sys logs.
TODO: Fail at creating an Encounter- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version 7722c741e488b64837edbb75881731d602c97a0e)
- api/src/main/java/org/openmrs/module/fhir/api/impl/DiagnosticReportServiceImpl.java (version 7722c741e488b64837edbb75881731d602c97a0e)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRDiagnosticReportUtil.java (version 7722c741e488b64837edbb75881731d602c97a0e)
- api/src/test/java/org/openmrs/module/fhir/api/DiagnosticReportServiceTest.java (version 7722c741e488b64837edbb75881731d602c97a0e)
-
Milan Karunarathne <mhkarunarathne@gmail.com> 9c7b7e62bd42d97a5077be70368835c0b1021605
Implemented Required fields and create an Encounter
* set diagnosticreport.issues
* set diagnoticreport.patient
* set diagnosticreport.performer- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/DiagnosticReportTemplate.java (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/DefaultDiagnosticReportHandler.java (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
- api/src/main/java/org/openmrs/module/fhir/api/impl/DiagnosticReportServiceImpl.java (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRDiagnosticReportUtil.java (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
- api/src/main/resources/moduleApplicationContext.xml (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
- omod/src/main/java/org/openmrs/module/fhir/providers/RestfulDiagnosticReportResourceProvider.java (version 9c7b7e62bd42d97a5077be70368835c0b1021605)
-
Milan Karunarathne <mhkarunarathne@gmail.com> f28843bf63e1e072221fa68b4f37a6f10c6cb6cc
Changed the basic skeleton
As requested:
class DiagnosticReportHandler
saveDiagnosticReport(DiagnosticReport){
//create encounter
// create obs
// do whatever
// save everything
}
getDiagnosticReport{
}
class DiagnosticReportServiceImpl{
//identify which handler to use, and then
FHIRDiagnosticReportUtil .saveDiagnosticReport(DiagnosticReport, handler)
}
class FHIRDiagnosticReportUtil
FHIRDiagnosticReportUtil .saveDiagnosticReport(){
handler.saveDiagnosticReport(DiagnosticReport){
}- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/DiagnosticReportHandler.java (version f28843bf63e1e072221fa68b4f37a6f10c6cb6cc)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version f28843bf63e1e072221fa68b4f37a6f10c6cb6cc)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/RadiologyHandler.java (version f28843bf63e1e072221fa68b4f37a6f10c6cb6cc)
- api/src/main/java/org/openmrs/module/fhir/api/impl/DiagnosticReportServiceImpl.java (version f28843bf63e1e072221fa68b4f37a6f10c6cb6cc)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRDiagnosticReportUtil.java (version f28843bf63e1e072221fa68b4f37a6f10c6cb6cc)
-
Milan Karunarathne <mhkarunarathne@gmail.com> a0f11691a47203a49ea1fc5319728b35f70e287b
Refactor Basic Skeleton of calling handlers
Implemented four operations (CRUD) in DiagnosticReportUtil class
* READ -> DiagnosticReport generateFHIRDiagnosticReport(Encounter omrsDiagnosticReport, DiagnosticReportHandler handler)
* CREATE -> Encounter generateOpenMRSDiagnosticReport(DiagnosticReport diagnosticReport, DiagnosticReportHandler handler)
* UPDATE -> Encounter updateOpenMRSDiagnosticReport(DiagnosticReport diagnosticReport, Encounter omrsDiagnosticReport, DiagnosticReportHandler handler)
* DELETE -> Encounter deleteOpenMRSDiagnosticReport(Encounter omrsDiagnosticReport, DiagnosticReportHandler handler)- api/src/main/java/org/openmrs/module/fhir/api/impl/DiagnosticReportServiceImpl.java (version a0f11691a47203a49ea1fc5319728b35f70e287b)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRDiagnosticReportUtil.java (version a0f11691a47203a49ea1fc5319728b35f70e287b)
- omod/src/main/java/org/openmrs/module/fhir/providers/RestfulDiagnosticReportResourceProvider.java (version a0f11691a47203a49ea1fc5319728b35f70e287b)
-
Milan Karunarathne <mhkarunarathne@gmail.com> d27bedb7bc4821c6c087975b178519b160e130af
Implemented Basic Skeleton
When implementing Handlers, users don't have to worry about HAPI FHIR terminology and APIs.- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/DiagnosticReportHandler.java (version d27bedb7bc4821c6c087975b178519b160e130af)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version d27bedb7bc4821c6c087975b178519b160e130af)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/RadiologyHandler.java (version d27bedb7bc4821c6c087975b178519b160e130af)
- api/src/main/java/org/openmrs/module/fhir/api/impl/DiagnosticReportServiceImpl.java (version d27bedb7bc4821c6c087975b178519b160e130af)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRDiagnosticReportUtil.java (version d27bedb7bc4821c6c087975b178519b160e130af)
-
Milan Karunarathne <mhkarunarathne@gmail.com> c943c91b45a26415e93fbd4de7a3b448bf676d4b
Merge branch 'master' into FM-157
-
Milan Karunarathne <mhkarunarathne@gmail.com> ef475774e315a4d7085c5bff02578262131863bc m
Implemented serviceCategory code handling
* Service Category code handle
* Patial work pass into Handlers (Deal with Observations)- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/DiagnosticReportHandler.java (version ef475774e315a4d7085c5bff02578262131863bc)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/AbstractHandler.java (version ef475774e315a4d7085c5bff02578262131863bc)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/LaboratoryHandler.java (version ef475774e315a4d7085c5bff02578262131863bc)
- api/src/main/java/org/openmrs/module/fhir/api/diagnosticreport/handler/RadiologyHandler.java (version ef475774e315a4d7085c5bff02578262131863bc)
- api/src/main/java/org/openmrs/module/fhir/api/impl/DiagnosticReportServiceImpl.java (version ef475774e315a4d7085c5bff02578262131863bc)
- api/src/main/java/org/openmrs/module/fhir/api/util/FHIRDiagnosticReportUtil.java (version ef475774e315a4d7085c5bff02578262131863bc)
- api/src/test/java/org/openmrs/module/fhir/api/DiagnosticReportServiceTest.java (version ef475774e315a4d7085c5bff02578262131863bc)