Skip to content

Instantly share code, notes, and snippets.

@magusverma
Last active August 29, 2015 14:01
Show Gist options
  • Save magusverma/9a5ff50373cbc836b478 to your computer and use it in GitHub Desktop.
Save magusverma/9a5ff50373cbc836b478 to your computer and use it in GitHub Desktop.
OpenMRS Rest API
some notes on the api from
https://wiki.openmrs.org/display/docs/REST+Web+Services+API
https://wiki.openmrs.org/display/docs/Sample+REST+calls
?v=full / default / ref .. best is full
?q=query .. patient?q=jadeja
?q=id .. for old identification numbers search
REST Client Gets JSON .. check in java , what's it getting?
POST http://localhost:8080/openmrs/ws/rest/v1/person
{"gender": "M", "names": [{"givenName":"Joe", "familyName":"Smith"}]}
@magusverma
Copy link
Author

test markdown
comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment