Tipo de datos XTN en FHIR

Cómo los componentes del tipo de datos XTN (Extended Telecommunication Number) se convierten en elementos FHIR R4, según la guía HL7 Version 2 to FHIR.

Definición HL7 v2
Definición de XTN en HL7 v2 2.8
Mapas
ContactPoint

A ContactPoint22 filas

Origen HL7 v2Tipo v2Elemento FHIRTipo FHIRCondiciones y notas
XTN.1Telephone Number
STvaluestring
Si IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.7 NOT VALUED AND XTN.12 NOT VALUED
XTN.2Telecommunication Use Code
IDusecode
Mapa de códigos contact-point-use
XTN.3Telecommunication Equipment Type
IDsystemcode
Mapa de códigos contact-point-system
XTN.3Telecommunication Equipment Type
IDsystemcode
Si IF XTN.3 NOT VALUED AND XTN.4 VALUEDValor "email"
XTN.3Telecommunication Equipment Type
IDsystem.extension-data-absent-reasoncode
Si IF XTN.3 NOT VALUED AND XTN.4 NOT VALUEDValor "unknown"
XTN.4Communication Address
STvaluestring
Si IF XTN.3 IN ("Internet", "X.400")
XTN.5Country Code
SNMextension[1].urluri
Valor "http://hl7.org/fhir/StructureDefinition/contactpoint-country"
XTN.5Country Code
SNMextension[1].valueStringstring
XTN.6Area/City Code
SNMextension[2].urluri
Valor "http://hl7.org/fhir/StructureDefinition/contactpoint-area"
XTN.6Area/City Code
SNMextension[2].valueStringstring
XTN.7Local Number
SNMextension[3].urluri
Si IF XTN.3 NOT IN ("Internet", "X.400")Valor "http://hl7.org/fhir/StructureDefinition/contactpoint-local"
XTN.7Local Number
SNMextension[3].valueStringstring
Si IF XTN.3 NOT IN ("Internet", "X.400")
XTN.7Local Number
SNMvaluestring
Si IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.5 NOT VALUED AND XTN.6 VALUED AND XTN.7 VALUED AND XTN.8 NOT VALUEDValor XTN.6+" "+XTN.7
XTN.7Local Number
SNMvaluestring
Si IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.5 VALUED AND XTN.6 VALUED AND XTN.7 VALUED AND XTN.8 NOT VALUEDValor "+"+XTN.5+" "+XTN.6+" "+XTN.7
XTN.7Local Number
SNMvaluestring
Si IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.5 VALUED AND XTN.6 VALUED AND XTN.7 VALUED AND XTN.8 VALUEDValor "+"+XTN.5+" "+XTN.6+" "+XTN.7+" X"+XTN.8
XTN.7Local Number
SNMvaluestring
Si IF XTN.3 NOT IN ("Internet", "X.400") AND XTN.5 NOT VALUED AND XTN.6 VALUED AND XTN.7 VALUED AND XTN.8 VALUEDValor XTN.6+" "+XTN.7+" X"+XTN.8
XTN.8Extension
SNMextension[4].urluri
Valor "http://hl7.org/fhir/StructureDefinition/contactpoint-extension"
XTN.8Extension
SNMextension[4].valueStringstring
XTN.12Unformatted Telephone Number
STvaluestring
Si IF XTN.3 NOT IN ("Internet", "X.400")
XTN.13Effective Start Date
DTMperiod.startdateTime
XTN.14Expiration Date
DTMperiod.enddateTime
XTN.18Preference Order
NMrankpositiveInt