MediRecords FHIR Implementation Guide
1.4.1 - release


Data Type Profile: MRAusAddress - Mappings

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

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

MRAusAddress
AddressXAD
   extension
   extension (identifier)
      value[x]CX / EI (occasionally, more often EI maps to a resource id or a URL)
   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)

MRAusAddress
Addressn/a, AD
   idn/a
   extension
   extension (identifier)
      idn/a
      extensionn/a
      urlN/A
      value[x]n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
   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/)

MRAusAddress
AddressAddress
   extension
   extension (identifier)
      value[x]Identifier
   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)

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