HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

This page is part of the HL7 Version 2 to FHIR (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

ConceptMap: Datatype XTN to ContactPoint Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-xtn-to-contactpoint Version: 1.0.0-ballot
Active as of 2023-12-19 Computable Name: DatatypeXTNToContactPoint

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype XTN to the FHIR ContactPoint Data Type.

This ConceptMap represents the mapping from the HL7 V2 XTN Data Type to the FHIR ContactPoint Data Type. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeProposed ExtensionData TypeCardinality - MinCardinality - MaxData Type MappingAssignmentVocabulary
1XTN.1Telephone NumberST01IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.7 NOT VALUED AND XTN.12 NOT VALUEDContactPoint.valueContactPoint.string01
2XTN.2Telecommunication Use CodeID01ContactPoint.useContactPoint.code01ID[Code]TelecomUseCode
3XTN.3Telecommunication Equipment TypeID11ContactPoint.systemContactPoint.code01ID[Code]TelecomEquipmentType
3XTN.3Telecommunication Equipment TypeID11IF XTN.3 NOT VALUED AND XTN.4 VALUEDContactPoint.systemContactPoint.code01ID[Code]"email"
3XTN.3Telecommunication Equipment TypeID11IF XTN.3 NOT VALUED AND XTN.4 NOT VALUEDContactPoint.system.extension-data-absent-reasonContactPoint.code01ID[Code]"unknown"
4XTN.4Communication AddressST01IF XTN.3 IN ("Internet", "X.400")ContactPoint.valueContactPoint.string01
5XTN.5Country CodeSNM01ContactPoint.extension.urlContactPoint.uri01"http://hl7.org/fhir/StructureDefinition/contactpoint-country"
5XTN.5Country CodeSNM01ContactPoint.extension.valueStringContactPoint.string01
6XTN.6Area/City CodeSNM01ContactPoint.extension-contactpoint-areaContactPoint.string01
7XTN.7Local NumberSNM01IF XTN.3 NOT IN ("Internet", "X.400")ContactPoint.extension-contactpoint-localContactPoint.string01
8XTN.8ExtensionSNM01ContactPoint.extension-contactpoint-extensionContactPoint.string01
9XTN.9Any TextST01ContactPoint.#ext.text#ContactPoint.string01
10XTN.10Extension PrefixST01
11XTN.11Speed Dial CodeST01
12XTN.12Unformatted Telephone numberST01IF XTN.3 NOT IN ("Internet", "X.400")ContactPoint.valueContactPoint.string01
13XTN.13Effective Start DateDTM01ContactPoint.period.startContactPoint.dateTime01DTM[DateTime]
14XTN.14Expiration DateDTM01ContactPoint.period.endContactPoint.dateTime01DTM[DateTime]
15XTN.15Expiration ReasonCWE01
16XTN.16Protection CodeCWE01
17XTN.17Shared Telecommunication IdentifierEI01
18XTN.18Preference OrderNM01ContactPoint.rankContactPoint.positiveInt01NM[PositiveInt]

Mapping from XTN to ContactPoint

ACTIVE (not intended for production usage). Published on 2023-12-19 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype XTN to the FHIR ContactPoint Data Type.


Group 1Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from vocabularymapdatatypemapvalueCodes from antlr
XTN.1Telephone Numberis equivalent tovaluevalueIF XTN.3 NOT IN ("Internet", "X.400") AND XTN.7 NOT VALUED AND XTN.12 NOT VALUED
XTN.2Telecommunication Use CodeTelecomUseCodeID[Code]is equivalent touseuse
XTN.3Telecommunication Equipment TypeTelecomEquipmentTypeID[Code]is equivalent tosystemsystem
XTN.3Telecommunication Equipment TypeID[Code]"email"is equivalent tosystemsystemIF XTN.3 NOT VALUED AND XTN.4 VALUED
XTN.3Telecommunication Equipment TypeID[Code]"unknown"is equivalent tosystem.extension-data-absent-reasonsystem.extension-data-absent-reasonIF XTN.3 NOT VALUED AND XTN.4 NOT VALUED
XTN.4Communication Addressis equivalent tovaluevalueIF XTN.3 IN ("Internet", "X.400")
XTN.5Country Code"http://hl7.org/fhir/StructureDefinition/contactpoint-country"is equivalent toextension[1].urlextension[1].url
XTN.5Country Codeis equivalent toextension[1].valueStringextension[1].valueString
XTN.6Area/City Codeis equivalent toextension-contactpoint-areaextension-contactpoint-area
XTN.7Local Numberis equivalent toextension-contactpoint-localextension-contactpoint-localIF XTN.3 NOT IN ("Internet", "X.400")
XTN.8Extensionis equivalent toextension-contactpoint-extensionextension-contactpoint-extension
XTN.12Unformatted Telephone numberis equivalent tovaluevalueIF XTN.3 NOT IN ("Internet", "X.400")
XTN.13Effective Start DateDTM[DateTime]is equivalent toperiod.startperiod.start
XTN.14Expiration DateDTM[DateTime]is equivalent toperiod.endperiod.end
XTN.18Preference OrderNM[PositiveInt]is equivalent torankrank

Notes: