OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build

OpenMRS FHIR2 Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: OMRSLocation - Mappings

Active as of 2022-10-08

Mappings for the omrs-location resource profile.

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
   name.name
   description.playingEntity[classCode=PLC determinerCode=INSTANCE].desc
   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>"]
   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)
   partOf.inboundLink[typeCode=PART].source[classCode=SDLC]

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

OMRSLocation
Location
   identifierFiveWs.identifier
   statusFiveWs.status
   typeFiveWs.class

Mappings for FHIR HL7 vs OMRS FHIR2 (http://hl7.org/fhir/3.0/StructureDefinition/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
   idLocation.uuid
   meta
      tagtags
   statusretired
   namename
   descriptiondescription
   address
      lineaddress1
      citycityVillage
      districtcountyDistrict
      statestateProvince
      postalCodepostalCode
      countrycountry
   position
      longitudelongintude
      latitudelatitude
   partOfparentLocation