OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OMRSLocation - Mappings

Active as of 2024-12-11

Mappings for the omrs-location resource profile.

Mappings for FHIR HL7 vs OMRS FHIR2 (Location)

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.

OMRSLocation
LocationOMRS Location

This profile maps to Location in OMRS FHIR2

   idLocation.uuid
   meta
      tagtags
   statusretired
   namename
   descriptiondescription
   address
      lineaddress1
      citycityVillage
      districtcountyDistrict
      statestateProvince
      postalCodepostalCode
      countrycountry
   position
      longitudelongintude
      latitudelatitude
   partOfparentLocation

Mappings for RIM Mapping (http://hl7.org/v3)

OMRSLocation
LocationEntity. Role, or Act, .Role[classCode=SDLC]
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   status.statusCode
   operationalStatusn/a
   name.name
   alias.name
   description.playingEntity[classCode=PLC determinerCode=INSTANCE].desc
   mode.playingEntity[classCode=PLC].determinerCode
   type.code
   telecomn/a, TEL
   addressn/a, AD
      idn/a
      extensionn/a
      useunique(./use)
      typeunique(./use)
      text./formatted
      lineAD.part[parttype = AL]
      cityAD.part[parttype = CTY]
      districtAD.part[parttype = CNT | CPA]
      stateAD.part[parttype = STA]
      postalCodeAD.part[parttype = ZIP]
      countryAD.part[parttype = CNT]
      period./usablePeriod[type="IVL<TS>"]
   physicalType.playingEntity [classCode=PLC].code
   position.playingEntity [classCode=PLC determinerCode=INSTANCE].positionText
      idn/a
      extensionn/a
      modifierExtensionN/A
      longitude(RIM Opted not to map the sub-elements of GPS location, is now an OBS)
      latitude(RIM Opted not to map the sub-elements of GPS location, is now an OBS)
      altitude(RIM Opted not to map the sub-elements of GPS location, is now an OBS)
   managingOrganization.scopingEntity[classCode=ORG determinerKind=INSTANCE]
   partOf.inboundLink[typeCode=PART].source[classCode=SDLC]
   hoursOfOperation.effectiveTime
      idn/a
      extensionn/a
      modifierExtensionN/A
      daysOfWeek.effectiveTime
      allDay.effectiveTime
      openingTime.effectiveTime
      closingTime.effectiveTime
   availabilityExceptionsn/a
   endpointn/a

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

OMRSLocation
Location
   identifierFiveWs.identifier
   statusFiveWs.status
   operationalStatusFiveWs.status
   modeFiveWs.class
   typeFiveWs.class
   physicalTypeFiveWs.class