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 HD to MessageHeader.source Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-hd-endpoint-to-messageheader-source Version: 1.0.0-ballot
Active as of 2024-10-30 Computable Name: DatatypeHDEndpointToMessageHeaderSource

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

This ConceptMap represents a mapping from the HL7 V2 Datatype HD to the FHIR MessageHeader.source Data Type.

This ConceptMap represents the mapping from the HL7 V2 HD Data Type to the FHIR MessageHeader.source Data Type. 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 MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
1HD.1Namespace IDIS01IF HD.2 NOT VALUED AND (HD-3 NOT IN ("ISO", "UUID", "DNS", "URI"))MessageHeader.source.nameMessageHeader.source.string
2HD.2Universal IDST01IF HD-3 = "ISO"MessageHeader.source.endpointMessageHeader.source.uri11"urn:oid:"+HD.2
2HD.2Universal IDST01IF HD-3 = "UUID"MessageHeader.source.endpointMessageHeader.source.uri11"urn:uuid:"+HD.2
2HD.2Universal IDST01IF HD-3 = "DNS"MessageHeader.source.endpointMessageHeader.source.uri11"urn:dns:"+HD.2
2HD.2Universal IDST01IF HD-3 = "URI"MessageHeader.source.endpointMessageHeader.source.uri11"urn:uri:"+HD.2
2HD.2Universal IDST01IF HD-3 NOT IN ("ISO", "UUID", "DNS", "URI")MessageHeader.source.name HD.1+" - "+HD.3+":"+HD.2
3HD.3Univeral ID TypeST01IF NOT VALUED OR NOT IN ("ISO", "UUID", "DNS", "URI")MessageHeader.source.endpoint.extension.url"http://hl7.org/fhir/R4/extension-data-absent-reason.html"
3HD.3Univeral ID TypeST01IF NOT VALUED OR NOT IN ("ISO", "UUID", "DNS", "URI")MessageHeader.source.endpoint.extension.valueCode"unknown"

Generated Narrative: ConceptMap datatype-hd-endpoint-to-messageheader-source

Mapping from HD to MessageHeader.source


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget Code
HD.1 (Namespace ID)is equivalent toname
HD.2 (Universal ID)is equivalent toendpoint
HD.2 (Universal ID)is equivalent toendpoint
HD.2 (Universal ID)is equivalent toendpoint
HD.2 (Universal ID)is equivalent toendpoint
HD.2 (Universal ID)is equivalent toname
HD.3 (Univeral ID Type)is equivalent toendpoint.extension[1].url
HD.3 (Univeral ID Type)is equivalent toendpoint.extension[1].valueCode

Notes: