OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

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

Data Type Profile: OMRSAddress - Mappings

Active as of 2023-06-23

Mappings for the omrs-address data type profile.

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

OMRSAddress
AddressXAD
   useXAD.7
   typeXAD.18
   textXAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
   lineXAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
   cityXAD.3
   districtXAD.9
   stateXAD.4
   postalCodeXAD.5
   countryXAD.6
   periodXAD.12 / XAD.13 + XAD.14

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

OMRSAddress
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>"]

Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

OMRSAddress
AddressAddress
   use./AddressPurpose
   line./StreetAddress (newline delimitted)
   city./Jurisdiction
   state./Region
   postalCode./PostalIdentificationCode
   country./Country
   period./StartDate and ./EndDate

Mappings for vCard Mapping (http://w3.org/vcard)

OMRSAddress
Address
   typeaddress type parameter
   textaddress label parameter
   linestreet
   citylocality
   stateregion
   postalCodecode
   countrycountry