Location Resource

Location is a FHIR resource that represents "details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated." In the current implementation, FHIR Locations are mapped to OpenMRS Location objects.

Supported Elements

The following properties are supported by the OpenMRS FHIR Module:

  • Location.id
  • Location.name
  • Location.description
  • Location.address
  • Location.position
  • Location.status
  • Location.telecom
  • Location.partOf
  • Location.meta.tag

OpenMRS ↔ FHIR Mapping

OpenMRS Data ModelFHIR Resource
Location.uuid
Location.id
Location.name
Location.name
Location.description
Location.description
Location.address
Location.address
Location.latitude / Location.longintude
Location.position
Location.retired
Location.status
Location.parentLocation
Location.partOf
Location.tags
Location.meta.tag

Available RESTful Endpoints

GET

URLDescription
/Location/{uuid}
Get a specific location
/Location?name={string}
Get locations by name
/Location?address-city={string}
Get locations by city
/Location?address-country={string}
Get locations by country
/Location?address-postalcode={string}
Get locations by postal code
/Location?address-state={string}
Get locations by state