Details
-
Sub-task
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
-
None
-
Low
-
Encounter Diagnosis Sprint 4, Encounter Diagnosis Sprint 5, Encounter Diagnosis Sprint 6
Description
Introduce new REST APIs for the Condition domain object (create associated ticket in the RESTWS project for this)
Take a look at https://wiki.openmrs.org/display/docs/Adding+a+Web+Service+Step+by+Step+Guide+for+Core+Developers
For the Condition object, the emrapi module implements the REST calls using https://github.com/openmrs/openmrs-module-emrapi/blob/9257dcd31d4d7af72742e78337662988b1edb463/omod/src/main/java/org/openmrs/module/emrapi/web/controller/ConditionController.java
Create a ConditionResource2_2 in this folder https://github.com/openmrs/openmrs-module-webservices.rest/tree/master/omod-2.2/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_2
Create a ConditionResource2_2Test in this folder https://github.com/openmrs/openmrs-module-webservices.rest/tree/master/omod-2.2/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_2
Create a ConditionController2_2Test in https://github.com/openmrs/openmrs-module-webservices.rest/tree/master/omod-2.2/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs2_2
For examples, take a look at these tests: https://github.com/openmrs/openmrs-module-webservices.rest/tree/master/omod-2.1/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs2_1
Gliffy Diagrams
Attachments
Issue Links
- depends on
-
TRUNK-5354 Create ConditionService implementation
-
- Closed
-
- is depended on by
-
TRUNK-5340 Introduce new REST APIs for the Diagnosis object
-
- Closed
-