Tip |
---|
Bahmni (and OpenMRS) REST API swagger can be accessed on a running Bahmni instance on this url:
For instance on the Bahmni Demo server, the URL will be: REST API (Demo Server).
|
...
Tip |
---|
To see sample code on how to call Bahmni REST APIs, you can refer to the Bahmni Performance Tests written using Gatline Gatling (Scala DSL) here: https://github.com/Bahmni/performance-test/blob/master/src/test/scala/org/bahmni/gatling/HttpRequests.scala |
...
Examples
/patient-profiles/<patient-id>
/diagnoses?patient-id=<patient-id>
/observations?observation-type=vitals
/treatments?patient-id=<patient-id>&for=last-visit
/encounters?for=current
/encounters?for=current-visit
/visits
Links
http://pages.apigee.com/rs/apigee/images/api-design-ebook-2012-03.pdf
Notes from meeting
How to handle concept-answers vs. answers coming from different concept set. Concept answers can be returned along with observation type group resource. When the answers in a different concept-set we probably just need to perform a search on it, need not expose the complete list via the api.
...