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
Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-hd-to-messageheader-source | Version: 1.0.0-ballot | |||
Active as of 2024-10-23 | Computable Name: DatatypeHDToMessageHeaderSource | |||
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 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Proposed Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment | |
1 | HD.1 | Namespace ID | IS | 0 | 1 | IF HD.2 NOT VALUED AND (HD-3 NOT IN ("ISO", "UUID", "DNS", "URI")) | MessageHeader.source.name | MessageHeader.source.string | |||||||||
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 = "ISO" | MessageHeader.source.endpoint | MessageHeader.source.uri | 1 | 1 | "urn:oid:"+HD.2 | ||||||
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 = "UUID" | MessageHeader.source.endpoint | MessageHeader.source.uri | 1 | 1 | "urn:uuid:"+HD.2 | ||||||
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 = "DNS" | MessageHeader.source.endpoint | MessageHeader.source.uri | 1 | 1 | "urn:dns:"+HD.2 | ||||||
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 = "URI" | MessageHeader.source.endpoint | MessageHeader.source.uri | 1 | 1 | "urn:uri:"+HD.2 | ||||||
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 NOT IN ("ISO", "UUID", "DNS", "URI") | MessageHeader.source.name | HD.1+" - "+HD.3+":"+HD.2 | |||||||||
3 | HD.3 | Univeral ID Type | ST | 0 | 1 | IF NOT VALUED OR NOT IN ("ISO", "UUID", "DNS", "URI") | MessageHeader.source.endpoint.extension.url | "http://hl7.org/fhir/R4/extension-data-absent-reason.html" | |||||||||
3 | HD.3 | Univeral ID Type | ST | 0 | 1 | IF NOT VALUED OR NOT IN ("ISO", "UUID", "DNS", "URI") | MessageHeader.source.endpoint.extension.valueCode | "unknown" |
Generated Narrative: ConceptMap datatype-hd-to-messageheader-source
Mapping from HD to MessageHeader.source
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code |
HD.1 (Namespace ID) | is equivalent to | name |
HD.2 (Universal ID) | is equivalent to | endpoint |
HD.2 (Universal ID) | is equivalent to | endpoint |
HD.2 (Universal ID) | is equivalent to | endpoint |
HD.2 (Universal ID) | is equivalent to | endpoint |
HD.2 (Universal ID) | is equivalent to | name |
HD.3 (Univeral ID Type) | is equivalent to | endpoint.extension[1].url |
HD.3 (Univeral ID Type) | is equivalent to | endpoint.extension[1].valueCode |