This page documents the implementation of the FHIR Location resource (DSTU2) for the OpenMRS FHIR Module.
- The FHIR Location Resource provides information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated.
- For more information on the FHIR Location resource, please refer http://hl7-fhir.github.io/location.html
Populating the FHIR Location Resource
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.
Example FHIR Location Resource
Shown below is a fleshed out FHIR Location Resource.
Available RESTful web services for the Location Resource supported by the API
|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.|