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
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 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Proposed Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Assignment | Vocabulary | |
1 | XTN.1 | Telephone Number | ST | 0 | 1 | IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.7 NOT VALUED AND XTN.12 NOT VALUED | ContactPoint.value | ContactPoint.string | 0 | 1 | |||||||
2 | XTN.2 | Telecommunication Use Code | ID | 0 | 1 | ContactPoint.use | ContactPoint.code | 0 | 1 | ID[Code] | TelecomUseCode | ||||||
3 | XTN.3 | Telecommunication Equipment Type | ID | 1 | 1 | ContactPoint.system | ContactPoint.code | 0 | 1 | ID[Code] | TelecomEquipmentType | ||||||
3 | XTN.3 | Telecommunication Equipment Type | ID | 1 | 1 | IF XTN.3 NOT VALUED AND XTN.4 VALUED | ContactPoint.system | ContactPoint.code | 0 | 1 | ID[Code] | "email" | |||||
3 | XTN.3 | Telecommunication Equipment Type | ID | 1 | 1 | IF XTN.3 NOT VALUED AND XTN.4 NOT VALUED | ContactPoint.system.extension-data-absent-reason | ContactPoint.code | 0 | 1 | ID[Code] | "unknown" | |||||
4 | XTN.4 | Communication Address | ST | 0 | 1 | IF XTN.3 IN ("Internet", "X.400") | ContactPoint.value | ContactPoint.string | 0 | 1 | |||||||
5 | XTN.5 | Country Code | SNM | 0 | 1 | ContactPoint.extension.url | ContactPoint.uri | 0 | 1 | "http://hl7.org/fhir/StructureDefinition/contactpoint-country" | |||||||
5 | XTN.5 | Country Code | SNM | 0 | 1 | ContactPoint.extension.valueString | ContactPoint.string | 0 | 1 | ||||||||
6 | XTN.6 | Area/City Code | SNM | 0 | 1 | ContactPoint.extension-contactpoint-area | ContactPoint.string | 0 | 1 | ||||||||
7 | XTN.7 | Local Number | SNM | 0 | 1 | IF XTN.3 NOT IN ("Internet", "X.400") | ContactPoint.extension-contactpoint-local | ContactPoint.string | 0 | 1 | |||||||
8 | XTN.8 | Extension | SNM | 0 | 1 | ContactPoint.extension-contactpoint-extension | ContactPoint.string | 0 | 1 | ||||||||
9 | XTN.9 | Any Text | ST | 0 | 1 | ContactPoint.#ext.text# | ContactPoint.string | 0 | 1 | ||||||||
10 | XTN.10 | Extension Prefix | ST | 0 | 1 | ||||||||||||
11 | XTN.11 | Speed Dial Code | ST | 0 | 1 | ||||||||||||
12 | XTN.12 | Unformatted Telephone number | ST | 0 | 1 | IF XTN.3 NOT IN ("Internet", "X.400") | ContactPoint.value | ContactPoint.string | 0 | 1 | |||||||
13 | XTN.13 | Effective Start Date | DTM | 0 | 1 | ContactPoint.period.start | ContactPoint.dateTime | 0 | 1 | DTM[DateTime] | |||||||
14 | XTN.14 | Expiration Date | DTM | 0 | 1 | ContactPoint.period.end | ContactPoint.dateTime | 0 | 1 | DTM[DateTime] | |||||||
15 | XTN.15 | Expiration Reason | CWE | 0 | 1 | ||||||||||||
16 | XTN.16 | Protection Code | CWE | 0 | 1 | ||||||||||||
17 | XTN.17 | Shared Telecommunication Identifier | EI | 0 | 1 | ||||||||||||
18 | XTN.18 | Preference Order | NM | 0 | 1 | ContactPoint.rank | ContactPoint.positiveInt | 0 | 1 | NM[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 Details | Relationship | Target Concept Details | Properties | ||||||||
Codes from | vocabularymap | datatypemap | value | Codes from | antlr | ||||||
XTN.1 | Telephone Number | is equivalent to | value | value | IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.7 NOT VALUED AND XTN.12 NOT VALUED | ||||||
XTN.2 | Telecommunication Use Code | TelecomUseCode | ID[Code] | is equivalent to | use | use | |||||
XTN.3 | Telecommunication Equipment Type | TelecomEquipmentType | ID[Code] | is equivalent to | system | system | |||||
XTN.3 | Telecommunication Equipment Type | ID[Code] | "email" | is equivalent to | system | system | IF XTN.3 NOT VALUED AND XTN.4 VALUED | ||||
XTN.3 | Telecommunication Equipment Type | ID[Code] | "unknown" | is equivalent to | system.extension-data-absent-reason | system.extension-data-absent-reason | IF XTN.3 NOT VALUED AND XTN.4 NOT VALUED | ||||
XTN.4 | Communication Address | is equivalent to | value | value | IF XTN.3 IN ("Internet", "X.400") | ||||||
XTN.5 | Country Code | "http://hl7.org/fhir/StructureDefinition/contactpoint-country" | is equivalent to | extension[1].url | extension[1].url | ||||||
XTN.5 | Country Code | is equivalent to | extension[1].valueString | extension[1].valueString | |||||||
XTN.6 | Area/City Code | is equivalent to | extension-contactpoint-area | extension-contactpoint-area | |||||||
XTN.7 | Local Number | is equivalent to | extension-contactpoint-local | extension-contactpoint-local | IF XTN.3 NOT IN ("Internet", "X.400") | ||||||
XTN.8 | Extension | is equivalent to | extension-contactpoint-extension | extension-contactpoint-extension | |||||||
XTN.12 | Unformatted Telephone number | is equivalent to | value | value | IF XTN.3 NOT IN ("Internet", "X.400") | ||||||
XTN.13 | Effective Start Date | DTM[DateTime] | is equivalent to | period.start | period.start | ||||||
XTN.14 | Expiration Date | DTM[DateTime] | is equivalent to | period.end | period.end | ||||||
XTN.18 | Preference Order | NM[PositiveInt] | is equivalent to | rank | rank |