MediRecords FHIR Implementation Guide
1.4.1 - release


Data Type Profile: MRForeignAddress - Mappings

Mappings for the mr-address-foreign data type profile.

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

MRForeignAddress
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)

MRForeignAddress
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/)

MRForeignAddress
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)

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