Tipo de datos ED en FHIR

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

Definición HL7 v2
Definición de ED en HL7 v2 2.8
Mapas
AttachmentDocumentReference

A Attachment4 filas

Origen HL7 v2Tipo v2Elemento FHIRTipo FHIRCondiciones y notas
ED.2Type Of Data
IDextension[1].urluri
Si IF ED.3 NOT VALUEDValor "https://hl7.org/fhir/StructureDefinition/alternate-codes"
ED.2Type Of Data
IDextension[1].valueCodeableConceptCodeableConcept
Si IF ED.3 NOT VALUED
ED.3Data Subtype
IDcontentTypecode
ED.5Data
TXdatabase64Binary
Valor /convert from A or HEX to binary64/

A DocumentReference4 filas

Origen HL7 v2Tipo v2Elemento FHIRTipo FHIRCondiciones y notas
ED.2Type Of Data
IDcontent.attachment.extension[1].urluri
Si IF ED.3 NOT VALUEDValor "https://hl7.org/fhir/StructureDefinition/alternate-codes"
ED.2Type Of Data
IDcontent.attachment.extension[1].valueCodeableConceptCodeableConcept
Si IF ED.3 NOT VALUED
ED.3Data Subtype
IDcontent.attachment.contentTypecode
ED.5Data
TXcontent.attachment.database64Binary
Valor /convert from A or HEX to binary64/