Data type ED in FHIR
How the components of data type ED (Encapsulated Data) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.
- HL7 v2 definition
- Definition of ED in HL7 v2 2.8
- Maps
- AttachmentDocumentReference
To Attachment4 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
ED.2Type Of Data | ID | extension[1].url | uri | If IF ED.3 NOT VALUEDValue "https://hl7.org/fhir/StructureDefinition/alternate-codes" |
ED.2Type Of Data | ID | extension[1].valueCodeableConcept | CodeableConcept | If IF ED.3 NOT VALUED |
ED.3Data Subtype | ID | contentType | code | |
ED.5Data | TX | data | base64Binary | Value /convert from A or HEX to binary64/ |
To DocumentReference4 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
ED.2Type Of Data | ID | content.attachment.extension[1].url | uri | If IF ED.3 NOT VALUEDValue "https://hl7.org/fhir/StructureDefinition/alternate-codes" |
ED.2Type Of Data | ID | content.attachment.extension[1].valueCodeableConcept | CodeableConcept | If IF ED.3 NOT VALUED |
ED.3Data Subtype | ID | content.attachment.contentType | code | |
ED.5Data | TX | content.attachment.data | base64Binary | Value /convert from A or HEX to binary64/ |
