Tipo de datos HD en FHIR
Cómo los componentes del tipo de datos HD (Hierarchic Designator) se convierten en elementos FHIR R4, según la guía HL7 Version 2 to FHIR.
- Definición HL7 v2
- Definición de HD en HL7 v2 2.8
- Mapas
- MessageHeaderDestination (Endpoint)MessageHeaderSource (Endpoint)MessageHeaderDestination (Name)MessageHeaderSource (Name)DeviceIdentifierLocationOrganizationUri
A MessageHeaderDestinationEndpoint6 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
HD.1Namespace Id | IS | name | string | |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 = "ISO"Valor "urn:oid:"+HD.2 |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 = "UUID"Valor "urn:uuid:"+HD.2 |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 NOT IN ("ISO", "UUID") |
HD.3Universal Id Type | ST | endpoint.extension.url | uri | Si IF NOT VALUEDValor "http://hl7.org/fhir/StructureDefinition/data-absent-reason" |
HD.3Universal Id Type | ST | endpoint.extension.valueCode | code | Si IF NOT VALUEDValor "unknown" |
A MessageHeaderSourceEndpoint8 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
HD.1Namespace Id | IS | name | string | Si IF HD.2 NOT VALUED AND (HD-3 NOT IN ("ISO", "UUID", "DNS", "URI")) |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 = "ISO"Valor "urn:oid:"+HD.2 |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 = "UUID"Valor "urn:uuid:"+HD.2 |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 = "DNS"Valor "urn:dns:"+HD.2 |
HD.2Universal Id | ST | endpoint | uri | Si IF HD-3 = "URI"Valor "urn:uri:"+HD.2 |
HD.2Universal Id | ST | name | Si IF HD-3 NOT IN ("ISO", "UUID", "DNS", "URI")Valor HD.1+" - "+HD.3+":"+HD.2 | |
HD.3Universal Id Type | ST | endpoint.extension[1].url | Si IF NOT VALUED OR NOT IN ("ISO", "UUID", "DNS", "URI")Valor "http://hl7.org/fhir/R4/extension-data-absent-reason.html" | |
HD.3Universal Id Type | ST | endpoint.extension[1].valueCode | Si IF NOT VALUED OR NOT IN ("ISO", "UUID", "DNS", "URI")Valor "unknown" |
A MessageHeaderDestinationName1 filas
A MessageHeaderSourceName2 filas
A Device4 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
HD.1Namespace Id | IS | identifier[1].value | string | |
HD.2Universal Id | ST | identifier[2].value | string | |
HD.3Universal Id Type | ID | identifier[2].type | CodeableConcept | Mapa de códigos v2-0301 |
HD.3Universal Id Type | ID | identifier[2].system | uri | Si IF HD.3 IN ("ISO", "UUID")Valor "urn:ietf:rfc:3986" |
A Identifier3 filas
A Location4 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
HD.1Namespace Id | IS | name | string | |
HD.2Universal Id | ST | identifier.value | string | Si IF HD.3 IN ("ISO", "UUID") |
HD.2Universal Id | ST | physicalType.coding.code | code | Valor "si" |
HD.2Universal Id | ST | physicalType.coding.system | uri | Valor "http://terminology.hl7.org/CodeSystem/location-physical-type" |
A Organization4 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
HD.1Namespace Id | IS | identifier[1].value | string | |
HD.2Universal Id | ST | identifier[2].value | string | |
HD.3Universal Id Type | ID | identifier[2].type | CodeableConcept | Mapa de códigos v2-0301 |
HD.3Universal Id Type | ID | identifier[2].system | uri | Si IF HD.3 IN ("ISO", "UUID")Valor "urn:ietf:rfc:3986" |
A Uri4 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
HD.1Namespace Id | IS | $value | url | |
HD.2Universal Id | ST | $value | url | Si IF HD.1 NOT VALUED AND IF HD-3 = "ISO"Valor "urn:oid:"+HD.2 |
HD.2Universal Id | ST | $value | url | Si IF HD.1 NOT VALUED AND IF HD-3 = "UUID"Valor "urn:uuid:"+HD.2 |
HD.2Universal Id | ST | $value | url | Si IF HD.1 NOT VALUED AND IF HD-3 NOT IN ("ISO", "UUID") |
