Data type XAD in FHIR

How the components of data type XAD (Extended Address) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of XAD in HL7 v2 2.8
Maps
Address

To Address20 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
XAD.1Street Address
SADline[1-3]string
XAD.2Other Designation
STline[4]string
XAD.3City
STcitystring
XAD.4State Or Province
STstatestring
XAD.5Zip Or Postal Code
STpostalCodestring
XAD.6Country
IDcountrystring
XAD.7Address Type
IDtypecode
If IF XAD.7 IN ("M", "SH")Code map address-type
XAD.7Address Type
IDusecode
If IF XAD.7 IN ("BA", "BI", "C", "B", "H", "O")Code map address-use
XAD.7Address Type
IDextension[1].urluri
If IF XAD.7 EQUALS "HV"Value "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use"
XAD.7Address Type
IDextension[1].valueCodecode
If IF XAD.7 EQUALS "HV"
XAD.7Address Type
IDextension[2].uri
XAD.7Address Type
IDextension[2].valueCodeableConcept.coding.valuecode
XAD.7Address Type
IDextension[2].valueCodeableConcept.coding.systemuri
Value "http://terminology.hl7.org/CodeSystem/v2-0190"
XAD.9County/Parish Code
CWEdistrictstring
XAD.10Census Tract
CWEextension[3].urluri
Value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract"
XAD.10Census Tract
CWEextension[3].valueCodestring
XAD.12Address Validity Range
DRperiodPeriod
XAD.13Effective Date
DTMperiod.startdateTime
XAD.14Expiration Date
DTMperiod.enddateTime
XAD.19Addressee
STline[5]string