Datatype XTN to ContactPoint Map
| # | V2 Component | Name | V2 Type | Card. | FHIR Attribute | FHIR Type | Equiv. |
|---|---|---|---|---|---|---|---|
| 1 | XTN.1 | Telephone Number | ST | 0..1 | value | string | equivalent |
| 2 | XTN.2 | Telecommunication Use Code | ID | 0..1 | use | code | equivalent |
| 3 | XTN.3 | Telecommunication Equipment Type | ID | 1..1 | systemsystem= "email" system.extension-data-absent-reason= "unknown" This element became required in v2.7, before that, it was optional. FHIR has a requirement that system be populated when a value is present. If the source v2 message does not contain an Equipment Type, a default system may be selected based on other information in the XTN instance (eg, if XTN.4 is valued, then the Equipment Type should default to "email). However, if neither XTN.3 nor XTN.4 are valued then it is unclear what the ContactPoint.system would be, thus the data absent reason would clearly indicate it is "unknown". | codecodecode | equivalentequivalentequivalent |
| 4 | XTN.4 | Communication Address | ST | 0..1 | value | string | equivalent |
| 5 | XTN.5 | Country Code | SNM | 0..1 | extension[1].url= "http://hl7.org/fhir/StructureDefinition/contactpoint-country" extension[1].valueString | uristring | equivalentequivalent |
| 6 | XTN.6 | Area/City Code | SNM | 0..1 | extension[2].url= "http://hl7.org/fhir/StructureDefinition/contactpoint-area" extension[2].valueString | uristring | equivalentequivalent |
| 7 | XTN.7 | Local Number | SNM | 0..1 | extension[3].url= "http://hl7.org/fhir/StructureDefinition/contactpoint-local" extension[3].valueStringvalue= XTN.6+" "+XTN.7 value= "+"+XTN.5+" "+XTN.6+" "+XTN.7 value= "+"+XTN.5+" "+XTN.6+" "+XTN.7+" X"+XTN.8 value= XTN.6+" "+XTN.7+" X"+XTN.8 | uristringstringstringstringstring | equivalentequivalentequivalentequivalentequivalentequivalent |
| 8 | XTN.8 | Extension | SNM | 0..1 | extension[4].url= "http://hl7.org/fhir/StructureDefinition/contactpoint-extension" extension[4].valueString | uristring | equivalentequivalent |
| 9 | XTN.12 | Unformatted Telephone number | ST | 0..1 | value | string | equivalent |
| 10 | XTN.13 | Effective Start Date | DTM | 0..1 | period.start | dateTime | equivalent |
| 11 | XTN.14 | Expiration Date | DTM | 0..1 | period.end | dateTime | equivalent |
| 12 | XTN.18 | Preference Order | NM | 0..1 | rank | positiveInt | equivalent |