臺灣核心實作指引(TW Core IG)
0.2.2 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.2: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Data Type Profile: TWCoreAddress - Mappings

Active as of 2024-05-28

Mappings for the Address-twcore data type profile.

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

TWCoreAddress
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
      extension
      extension (PostalCode)
         value[x]CE/CNE/CWE
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
            coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
               systemC*E.3
               versionC*E.7
               codeC*E.1
               displayC*E.2 - but note this is not well followed
               userSelectedSometimes implied by being first
            coding (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
               systemC*E.3
               versionC*E.7
               codeC*E.1
               displayC*E.2 - but note this is not well followed
               userSelectedSometimes implied by being first
            coding (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
               systemC*E.3
               versionC*E.7
               codeC*E.1
               displayC*E.2 - but note this is not well followed
               userSelectedSometimes implied by being first
            textC*E.9. But note many systems use C*E.2 for this
   countryXAD.6
   periodXAD.12 / XAD.13 + XAD.14

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

TWCoreAddress
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]
      extension
      extension (PostalCode)
         idn/a
         urlN/A
         value[x]n/a, CD
            idn/a
            codingn/a, CV
            coding (PostalCode3)n/a, CV
               idn/a
               system./codeSystem
               version./codeSystemVersion
               code./code
               displayCV.displayName
               userSelectedCD.codingRationale
            coding (PostalCode5)n/a, CV
               idn/a
               system./codeSystem
               version./codeSystemVersion
               code./code
               displayCV.displayName
               userSelectedCD.codingRationale
            coding (PostalCode6)n/a, CV
               idn/a
               system./codeSystem
               version./codeSystemVersion
               code./code
               displayCV.displayName
               userSelectedCD.codingRationale
            text./originalText[mediaType/code="text/plain"]/data
   countryAD.part[parttype = CNT]
   period./usablePeriod[type="IVL<TS>"]

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

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

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