Wiki Spaces
Documentation
Projects
Resources
Get Help from Others
Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack
We have migrated to an enhanced online openmrs rest api documentation. Please visit
https://rest.openmrs.org/#openmrs-rest-api
This page is generated automatically and must not be edited manually. It describes the urls/resources published by the REST Module.
For more information on conventions, authentication, and setup, see the main REST Web Services API For Clients page.
When a parameter has a bang "!" in front of it, it means that url will only be called if that parameter does NOT exist.
Properties listed in bold must not be null.
url | description |
---|---|
GET /ws/rest/v1/activelisttype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/activelisttype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/activelisttype | Create with properties in request |
POST /ws/rest/v1/activelisttype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/activelisttype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/activelisttype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
Allergy
url | description |
---|---|
GET /ws/rest/v1/allergy | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/allergy/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/allergy | Create with properties in request |
POST /ws/rest/v1/allergy/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/allergy/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/allergy/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | person | person |
url | description |
---|---|
GET /ws/rest/v1/cohort | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/cohort/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/cohort | Create with properties in request |
POST /ws/rest/v1/cohort/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/cohort/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/cohort/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/cohort/{parentUuid}/member/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/cohort/{parentUuid}/member | Fetch all non-retired |
POST /ws/rest/v1/cohort/{parentUuid}/member | Create with properties in request |
POST /ws/rest/v1/cohort/{parentUuid}/member/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/cohort/{parentUuid}/member/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/cohort/{parentUuid}/member/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
display | display | display | patient | patient |
url | description |
---|---|
GET /ws/rest/v1/concept | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/concept/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/concept | Create with properties in request |
POST /ws/rest/v1/concept/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/concept/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/concept/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | names | datatype |
Call Type | Sample URL | Output |
---|---|---|
GET | /ws/rest/v1/concept | Returns a list of top 50 concepts with uuid, display and links |
GET | /ws/rest/v1/concept?v=custom:(uuid,name) | Returns a list of top 50 concepts |
GET | /ws/rest/v1/concept/cbec024a-8bb4-4fcc-b59b-c7b706bb432e | Returns full description of a concept, including: |
GET | /ws/rest/v1/concept?q=Yes | Returns list of concepts matching "Yes" with uuid, display and links |
GET | /ws/rest/v1/concept?q=COUGH&v=custom:(uuid,name) | Returns list of concepts matching "COUGH" with uuid and name |
url | description |
---|---|
GET /ws/rest/v1/conceptclass | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/conceptclass/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/conceptclass | Create with properties in request |
POST /ws/rest/v1/conceptclass/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/conceptclass/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/conceptclass/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/conceptdatatype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/conceptdatatype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/conceptdatatype | Create with properties in request |
POST /ws/rest/v1/conceptdatatype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/conceptdatatype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/conceptdatatype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/concept/{parentUuid}/description/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/concept/{parentUuid}/description | Fetch all non-retired |
POST /ws/rest/v1/concept/{parentUuid}/description | Create with properties in request |
POST /ws/rest/v1/concept/{parentUuid}/description/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/concept/{parentUuid}/description/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/concept/{parentUuid}/description/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | uuid | description | description |
url | description |
---|---|
GET /ws/rest/v1/concept/{parentUuid}/mapping/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/concept/{parentUuid}/mapping | Fetch all non-retired |
POST /ws/rest/v1/concept/{parentUuid}/mapping | Create with properties in request |
POST /ws/rest/v1/concept/{parentUuid}/mapping/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/concept/{parentUuid}/mapping/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/concept/{parentUuid}/mapping/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | conceptReferenceTerm | conceptReferenceTerm |
url | description |
---|---|
GET /ws/rest/v1/conceptmaptype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/conceptmaptype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/conceptmaptype | Create with properties in request |
POST /ws/rest/v1/conceptmaptype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/conceptmaptype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/conceptmaptype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/concept/{parentUuid}/name/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/concept/{parentUuid}/name | Fetch all non-retired |
POST /ws/rest/v1/concept/{parentUuid}/name | Create with properties in request |
POST /ws/rest/v1/concept/{parentUuid}/name/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/concept/{parentUuid}/name/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/concept/{parentUuid}/name/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | name | name |
url | description |
---|---|
GET /ws/rest/v1/conceptreferenceterm | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/conceptreferenceterm/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/conceptreferenceterm | Create with properties in request |
POST /ws/rest/v1/conceptreferenceterm/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/conceptreferenceterm/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/conceptreferenceterm/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | code | code |
url | description |
---|---|
GET /ws/rest/v1/conceptreferencetermmap | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/conceptreferencetermmap/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/conceptreferencetermmap | Create with properties in request |
POST /ws/rest/v1/conceptreferencetermmap/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/conceptreferencetermmap/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/conceptreferencetermmap/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | termA | termA |
url | description |
---|---|
GET /ws/rest/v1/conceptsource | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/conceptsource/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/conceptsource | Create with properties in request |
POST /ws/rest/v1/conceptsource/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/conceptsource/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/conceptsource/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/drug | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/drug/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/drug | Create with properties in request |
POST /ws/rest/v1/drug/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/drug/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/drug/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | name | name |
url | description |
---|---|
GET /ws/rest/v1/encounter | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/encounter/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/encounter | Create with properties in request |
POST /ws/rest/v1/encounter/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/encounter/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/encounter/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | encounterDatetime | encounterDatetime |
url | description |
---|---|
GET /ws/rest/v1/encountertype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/encountertype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/encountertype | Create with properties in request |
POST /ws/rest/v1/encountertype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/encountertype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/encountertype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/field | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/field/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/field | Create with properties in request |
POST /ws/rest/v1/field/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/field/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/field/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/field/{parentUuid}/answer/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/field/{parentUuid}/answer | Fetch all non-retired |
POST /ws/rest/v1/field/{parentUuid}/answer | Create with properties in request |
POST /ws/rest/v1/field/{parentUuid}/answer/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/field/{parentUuid}/answer/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/field/{parentUuid}/answer/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | field | field |
url | description |
---|---|
GET /ws/rest/v1/fieldtype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/fieldtype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/fieldtype | Create with properties in request |
POST /ws/rest/v1/fieldtype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/fieldtype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/fieldtype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/form | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/form/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/form | Create with properties in request |
POST /ws/rest/v1/form/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/form/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/form/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | Not supported | name | name |
url | description |
---|---|
GET /ws/rest/v1/form/{parentUuid}/formfield/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/form/{parentUuid}/formfield | Fetch all non-retired |
POST /ws/rest/v1/form/{parentUuid}/formfield | Create with properties in request |
POST /ws/rest/v1/form/{parentUuid}/formfield/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/form/{parentUuid}/formfield/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/form/{parentUuid}/formfield/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | form | form |
url | description |
---|---|
GET /ws/rest/v1/form/{parentUuid}/resource/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/form/{parentUuid}/resource | Fetch all non-retired |
POST /ws/rest/v1/form/{parentUuid}/resource | Create with properties in request |
POST /ws/rest/v1/form/{parentUuid}/resource/{uuid} | Edit with given uuid, only modifying properties in request |
POST /ws/rest/v1/form/{parentUuid}/resource/{uuid}/value | Edit the value associated with this file stored in clob_data_type_storage (Essentially upload a file using multipart/formdata Content-Type) |
DELETE /ws/rest/v1/form/{parentUuid}/resource/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/form/{parentUuid}/resource/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid name valueReference display links | uuid name valueReference dataType handler handlerConfig display links | valueReference name dataType handler handlerConfig | valueReference name dataType handler handlerConfig |
url | description |
---|---|
GET /ws/rest/v1/hl7 | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/hl7/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/hl7 | Create with properties in request |
POST /ws/rest/v1/hl7/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/hl7/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/hl7/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | hl7 | hl7 |
url | description |
---|---|
GET /ws/rest/v1/hl7source | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/hl7source/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/hl7source | Create with properties in request |
POST /ws/rest/v1/hl7source/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/hl7source/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/hl7source/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/location | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/location/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/location | Create with properties in request |
POST /ws/rest/v1/location/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/location/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/location/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/location/{parentUuid}/attribute/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/location/{parentUuid}/attribute | Fetch all non-retired |
POST /ws/rest/v1/location/{parentUuid}/attribute | Create with properties in request |
POST /ws/rest/v1/location/{parentUuid}/attribute/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/location/{parentUuid}/attribute/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/location/{parentUuid}/attribute/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | Not supported | Not supported | value | value |
url | description |
---|---|
GET /ws/rest/v1/locationattributetype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/locationattributetype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/locationattributetype | Create with properties in request |
POST /ws/rest/v1/locationattributetype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/locationattributetype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/locationattributetype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/locationtag | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/locationtag/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/locationtag | Create with properties in request |
POST /ws/rest/v1/locationtag/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/locationtag/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/locationtag/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/obs | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/obs/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/obs | Create with properties in request |
POST /ws/rest/v1/obs/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/obs/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/obs/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | person | person |
url | description |
---|---|
GET /ws/rest/v1/order | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/order/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/order | Create with properties in request |
POST /ws/rest/v1/order/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/order/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/order/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | patient orderType encounter careSetting orderReason orderReasonNonCoded instructions | orderType |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | patient orderType encounter careSetting orderReason orderReasonNonCoded instructions dose | patient |
orderType is a required attribute but the API infers this from the specified mapping in the system so you shouldn't specify this.
url | description |
---|---|
GET /ws/rest/v1/ordertype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/ordertype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/ordertype | Create with properties in request |
POST /ws/rest/v1/ordertype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/ordertype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/ordertype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/patient | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/patient/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/patient | Create with properties in request |
POST /ws/rest/v1/patient/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/patient/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/patient/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | person | null |
url | description |
---|---|
GET /ws/rest/v1/patient/{parentUuid}/identifier/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/patient/{parentUuid}/identifier | Fetch all non-retired |
POST /ws/rest/v1/patient/{parentUuid}/identifier | Create with properties in request |
POST /ws/rest/v1/patient/{parentUuid}/identifier/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/patient/{parentUuid}/identifier/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/patient/{parentUuid}/identifier/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | identifier | identifier |
url | description |
---|---|
GET /ws/rest/v1/patientidentifiertype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/patientidentifiertype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/patientidentifiertype | Create with properties in request |
POST /ws/rest/v1/patientidentifiertype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/patientidentifiertype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/patientidentifiertype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/person | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/person/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/person | Create with properties in request |
POST /ws/rest/v1/person/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/person/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/person/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | names | gender |
url | description |
---|---|
GET /ws/rest/v1/person/{parentUuid}/address/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/person/{parentUuid}/address | Fetch all non-retired |
POST /ws/rest/v1/person/{parentUuid}/address | Create with properties in request |
POST /ws/rest/v1/person/{parentUuid}/address/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/person/{parentUuid}/address/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/person/{parentUuid}/address/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | preferred | preferred |
url | description |
---|---|
GET /ws/rest/v1/person/{parentUuid}/attribute/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/person/{parentUuid}/attribute | Fetch all non-retired |
POST /ws/rest/v1/person/{parentUuid}/attribute | Create with properties in request |
POST /ws/rest/v1/person/{parentUuid}/attribute/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/person/{parentUuid}/attribute/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/person/{parentUuid}/attribute/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | *value/hydratedObject | value |
* Use "value" if the value being stored is a simple string such as phone numbers, citizenship e.t.c. On the other hand if value represents an OpenMRS Attributable domain object then use "hydratedObject" passing the uuid of the corresponding object. Examples of Attributable domain object are concepts and locations. Using "hydratedObject" enables the module to translate the value correctly into corresponding internal IDs, otherwise it will be served in the system as is without transformation which won't work during retrieval.
url | description |
---|---|
GET /ws/rest/v1/personattributetype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/personattributetype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/personattributetype | Create with properties in request |
POST /ws/rest/v1/personattributetype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/personattributetype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/personattributetype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/person/{parentUuid}/name/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/person/{parentUuid}/name | Fetch all non-retired |
POST /ws/rest/v1/person/{parentUuid}/name | Create with properties in request |
POST /ws/rest/v1/person/{parentUuid}/name/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/person/{parentUuid}/name/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/person/{parentUuid}/name/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | display | display | givenName | givenName |
url | description |
---|---|
GET /ws/rest/v1/privilege | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/privilege/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/privilege | Create with properties in request |
POST /ws/rest/v1/privilege/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/privilege/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/privilege/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | description |
url | description |
---|---|
GET /ws/rest/v1/problem | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/problem/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/problem | Create with properties in request |
POST /ws/rest/v1/problem/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/problem/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/problem/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | person | person |
url | description |
---|---|
GET /ws/rest/v1/provider | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/provider/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/provider | Create with properties in request |
POST /ws/rest/v1/provider/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/provider/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/provider/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | person | person |
url | description |
---|---|
GET /ws/rest/v1/provider/{parentUuid}/attribute/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/provider/{parentUuid}/attribute | Fetch all non-retired |
POST /ws/rest/v1/provider/{parentUuid}/attribute | Create with properties in request |
POST /ws/rest/v1/provider/{parentUuid}/attribute/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/provider/{parentUuid}/attribute/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/provider/{parentUuid}/attribute/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | Not supported | Not supported | value | value |
url | description |
---|---|
GET /ws/rest/v1/providerattributetype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/providerattributetype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/providerattributetype | Create with properties in request |
POST /ws/rest/v1/providerattributetype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/providerattributetype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/providerattributetype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/role | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/role/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/role | Create with properties in request |
POST /ws/rest/v1/role/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/role/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/role/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | description |
url | description |
---|---|
GET /ws/rest/v1/user | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/user/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/user | Create with properties in request |
POST /ws/rest/v1/user/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/user/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/user/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | username | username |
url | description |
---|---|
GET /ws/rest/v1/visit | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/visit/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/visit | Create with properties in request |
POST /ws/rest/v1/visit/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/visit/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/visit/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
Not supported | Not supported | Not supported | patient | visitType |
url | description |
---|---|
GET /ws/rest/v1/visit/{parentUuid}/attribute/{uuid} | Fetch by unique uuid |
GET /ws/rest/v1/visit/{parentUuid}/attribute | Fetch all non-retired |
POST /ws/rest/v1/visit/{parentUuid}/attribute | Create with properties in request |
POST /ws/rest/v1/visit/{parentUuid}/attribute/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/visit/{parentUuid}/attribute/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/visit/{parentUuid}/attribute/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | Not supported | Not supported | value | value |
url | description |
---|---|
GET /ws/rest/v1/visitattributetype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/visitattributetype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/visitattributetype | Create with properties in request |
POST /ws/rest/v1/visitattributetype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/visitattributetype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/visitattributetype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
url | description |
---|---|
GET /ws/rest/v1/visittype | Fetch all non-retired that match any specified parameters otherwise fetch all non-retired |
GET /ws/rest/v1/visittype/{uuid} | Fetch by unique uuid |
POST /ws/rest/v1/visittype | Create with properties in request |
POST /ws/rest/v1/visittype/{uuid} | Edit with given uuid, only modifying properties in request |
DELETE /ws/rest/v1/visittype/{uuid}?!purge | Retire/Void this object |
DELETE /ws/rest/v1/visittype/{uuid}?purge | Delete this object from the database |
GET ref | GET default | GET full | POST create | POST update |
---|---|---|---|---|
uuid | uuid | uuid | name | name |
1 Comment
John Alade
To document something like this is not at all easy, Takes a lot of persistence, Just a shoutout to the hands who documented this specific doc, more grease to your elbow...I know how it feels when I force myself to sit down and document a technical code stuff........Will be using this as a reference in my current dev