Have you implemented OpenMRS? Please participate in the Implementation Site Survey. If you already have, thank you!
This page documents the implementation of the FHIR Location resource (DSTU2) for the OpenMRS FHIR Module.
Shown below is how attributes of the FHIR Location Resource map to the attributes of the OpenMRS Location object. The left side of the relationship indicates the OpenMRS attribute; the right indicates the FHIR Location resource mapping.
Shown below is a fleshed out FHIR Location Resource.
|Read (GET Request)|
Returns a FHIR Location resource identified by a Location UUID
|Search (GET Request)|
Search locations by given id
Search locations by given status value whether active or not
|Search locations by name|
|Delete (DELETE Request)|
|Will delete a location with given id|
|Conditional Update(Put Request)|
When the server processes this update, it performs a search using its standard search facilities for the resource type, with the goal of resolving a single logical id for this request. The action it takes depends on how many matches are found:
Send location resource in PUT request body for given URI specified with resource Id will update existing resource while request going
to URI which doesn't have a URI will create a resource.
|POST (Post Request)|
|Create a Location Resource for the given representation.|