HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## ConceptMap: Datatype HD [endpoint] to MessageHeader.destination Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-hd-endpoint-to-messageheader-destination | Version: 1.0.0
Standards status: Informative | Computable Name: DatatypeHDEndpointToMessageHeaderDestination
Copyright/Legal: Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.

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

This ConceptMap represents the mapping from the HL7 V2 HD Data Type to the FHIR MessageHeader.destination 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 |  |  |  | MessageHeader.destination.name |  | string |  |  |  |  |  | Not sure whether used, and if used, what a reasonable extension name would be. We believe that source.endpoint should be Universal ID when both Namespace ID and Universal ID are valued.
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 = "ISO" |  |  | MessageHeader.destination.endpoint |  | uri | 1 | 1 |  |  | "urn:oid:"+HD.2 |
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 = "UUID" |  |  | MessageHeader.destination.endpoint |  | uri | 1 | 1 |  |  | "urn:uuid:"+HD.2 |
2 | HD.2 | Universal ID | ST | 0 | 1 | IF HD-3 NOT IN ("ISO", "UUID") |  |  | MessageHeader.destination.endpoint |  | uri | 1 | 1 |  |  |  |
3 | HD.3 | Univeral ID Type | ST | 0 | 1 | IF NOT VALUED |  |  | MessageHeader.destination.endpoint.extension.url |  | uri |  |  |  |  | "http://hl7.org/fhir/StructureDefinition/data-absent-reason" |
3 | HD.3 | Univeral ID Type | ST | 0 | 1 | IF NOT VALUED |  |  | MessageHeader.destination.endpoint.extension.valueCode |  | code |  |  |  |  | "unknown" |

Mapping from (not specified) to (not specified)

Group 1 Mapping from `unspecified code system` to `unspecified code system`

Source Concept Details | Relationship | Target Concept Details | Comment
Codes from | ComputableANTLR |  | Codes from |
HD.1 | Namespace ID |  | is equivalent to | name | name | Not sure whether used, and if used, what a reasonable extension name would be. We believe that source.endpoint should be Universal ID when both Namespace ID and Universal ID are valued.
HD.2 | Universal ID | IF HD-3 = "ISO" | is equivalent to | endpoint | endpoint |
HD.2 | Universal ID | IF HD-3 = "UUID" | is equivalent to | endpoint | endpoint |
HD.2 | Universal ID | IF HD-3 NOT IN ("ISO", "UUID") | is equivalent to | endpoint | endpoint |
HD.3 | Univeral ID Type | IF NOT VALUED | is equivalent to | endpoint.extension.url | endpoint.extension.url |
HD.3 | Univeral ID Type | IF NOT VALUED | is equivalent to | endpoint.extension.valueCode | endpoint.extension.valueCode |

### Notes: