HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

ConceptMap: Datatype ED to DocumentReference Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-ed-to-documentreference Version: 1.0.0-ballot
Active as of 2024-04-24 Computable Name: DatatypeEDToDocumentReference

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype ED to the FHIR DocumentReference Resource.

This ConceptMap represents the mapping from the HL7 V2 ED Data Type to the FHIR DocumentReference Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeProposed ExtensionData TypeCardinality - MinCardinality - MaxData Type MappingAssignmentVocabulary
0DocumentReference.status"current"
1ED.1Source ApplicationHD01
2ED.2Type of DataID11IF ED.3 NOT VALUEDDocumentReference.content.attachment.extension.urlDocumentReference.uri11"https://hl7.org/fhir/StructureDefinition/alternate-codes"
2ED.2Type of DataID11IF ED.3 NOT VALUEDDocumentReference.content.attachment.extension.valueCodeableConceptDocumentReference.CodeableConcept11
3ED.3Data SubtypeID01DocumentReference.content.attachment.contentTypeDocumentReference.code01
4ED.4EncodingID11
5ED.5DataTX11IF ED.4 IN ("Base64")DocumentReference.content.attachment.dataDocumentReference.base64Binary01
5ED.5DataTX11IF ED.4 IN ("A", (HEX")DocumentReference.content.attachment.dataDocumentReference.base64Binary01/convert from A or HEX to binary64/

Mapping from ED to DocumentReference

ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype ED to the FHIR DocumentReference Resource.


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from valueCodes from antlr
ED.2Type of Data"https://hl7.org/fhir/StructureDefinition/alternate-codes"is equivalent tocontent.attachment.extension[1].urlcontent.attachment.extension[1].urlIF ED.3 NOT VALUED
ED.2Type of Datais equivalent tocontent.attachment.extension[1].valueCodeableConceptcontent.attachment.extension[1].valueCodeableConceptIF ED.3 NOT VALUED
ED.3Data Subtypeis equivalent tocontent.attachment.contentTypecontent.attachment.contentType
ED.5Datais equivalent tocontent.attachment.datacontent.attachment.dataIF ED.4 IN ("Base64")
ED.5Data/convert from A or HEX to binary64/is equivalent tocontent.attachment.datacontent.attachment.dataIF ED.4 IN ("A", (HEX")

Notes: