OpenMRS REST API
REST Clients
Chrome "PostMan": https://chrome.google.com/webstore/detail/fdmmgilgnpjigdojojpjoooidkmcomcm (may have issues with "POST", "GET" calls are working)
New REST Calls added by Raxa
Access list of REST services
HOST+/ws/rest/v1/catalog  (it may not run on openmrs instance which lacks few tables as provided by Roger in jsslab db avaliable in Lab Rats Folder of Dropbox)
Examples
"login"
POST and specify the URL: http://raxaemr.jelastic.dogado.eu/ws/rest/v1/session
with username and password
"logout"
DELETE and specify the URL: http://raxaemr.jelastic.dogado.eu/ws/rest/v1/session
"get patient"
GET and specify the URL: http://raxaemr.jelastic.dogado.eu/ws/rest/v1/person?q=John
need to pass authorization header
returns the patients uri
"get full patient"
GET and specify the URL: http://raxaemr.jelastic.dogado.eu/ws/rest/v1/person/<personUri>
need to pass authorization header
"search"
{ "names" ["givenName": "sunbiz", "familyName": "Test"] ... }
Wiki Links of REST Resources of OpenMRS
This page contains documentation about those REST resources offered by OpenMRS
Â