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

: Segment MSH to MessageHeader Map - JSON Representation

Active as of 2024-10-30

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "segment-msh-to-messageheader",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-msh-to-messageheader</b></p><a name=\"segment-msh-to-messageheader\"> </a><a name=\"hcsegment-msh-to-messageheader\"> </a><a name=\"segment-msh-to-messageheader-en-US\"> </a><p>Mapping from MSH to <a href=\"http://hl7.org/fhir/R4/messageheader.html\">MessageHeader</a></p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>MSH-3 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>source[1]</td><td>1</td></tr><tr><td>MSH-3 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>source[1].endpoint</td><td>1</td></tr><tr><td>MSH-4 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>sender(Organization)</td><td>1</td></tr><tr><td>MSH-5 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].target(Device)</td><td>1</td></tr><tr><td>MSH-5 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].name</td><td/></tr><tr><td>MSH-5 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].endpoint</td><td/></tr><tr><td>MSH-6 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].receiver(Organization)</td><td>1</td></tr><tr><td>MSH-8 (ST)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>meta.security</td><td>-1</td></tr><tr><td>MSH-9 (MSG)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>eventCoding</td><td>1</td></tr><tr><td>MSH-11 (PT)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>meta</td><td>-1</td></tr><tr><td>MSH-17 (ID)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>sender(Organization.address.country)</td><td>1</td></tr><tr><td>MSH-19 (CWE)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>language</td><td>1</td></tr><tr><td>MSH-22 (XON)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>responsible(Organization)</td><td>1</td></tr><tr><td>MSH-23 (XON)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].receiver(Organization)</td><td>-1</td></tr><tr><td>MSH-24 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>source</td><td>1</td></tr><tr><td>MSH-24 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>source.endpoint.extension.url</td><td>1</td></tr><tr><td>MSH-24 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>source.endpoint.extension.valueCode</td><td>1</td></tr><tr><td>MSH-25 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1]</td><td>-1</td></tr><tr><td>MSH-25 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].endpoint.extension.url</td><td>-1</td></tr><tr><td>MSH-25 (HD)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>destination[1].endpoint.extension.valueCode</td><td>-1</td></tr><tr><td>MSH-26 (CWE)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>meta.security[2]</td><td>-1</td></tr><tr><td>MSH-27 (CWE)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>meta.security[2]</td><td>-1</td></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Segment MSH to MessageHeader.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/13pgda5xl-PwCgB9j0axyymwwv7RJVcrIzY8Ah1y1Y1M/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/segment-msh-to-messageheader",
  "version" : "1.0.0-ballot",
  "name" : "SegmentMSHToMessageHeader",
  "title" : "Segment MSH to MessageHeader Map",
  "status" : "active",
  "experimental" : true,
  "date" : "2024-10-30",
  "publisher" : "HL7 International / Orders and Observations",
  "contact" : [
    {
      "name" : "HL7 Orders and Observations Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/orders"
        }
      ]
    }
  ],
  "description" : "This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR MessageHeader Resource.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "copyright" : "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.",
  "sourceUri" : "MSH",
  "targetUri" : "MessageHeader",
  "group" : [
    {
      "element" : [
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-3",
          "display" : "HD",
          "target" : [
            {
              "code" : "source[1]",
              "display" : "source[1]",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-3",
          "display" : "HD",
          "target" : [
            {
              "code" : "source[1].endpoint",
              "display" : "source[1].endpoint",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-4",
          "display" : "HD",
          "target" : [
            {
              "code" : "sender(Organization)",
              "display" : "sender(Organization)",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-5",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1].target(Device)",
              "display" : "destination[1].target(Device)",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-5",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1].name",
              "display" : "destination[1].name",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-5",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1].endpoint",
              "display" : "destination[1].endpoint",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-6",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1].receiver(Organization)",
              "display" : "destination[1].receiver(Organization)",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-8",
          "display" : "ST",
          "target" : [
            {
              "code" : "meta.security",
              "display" : "meta.security",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-9",
          "display" : "MSG",
          "target" : [
            {
              "code" : "eventCoding",
              "display" : "eventCoding",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-11",
          "display" : "PT",
          "target" : [
            {
              "code" : "meta",
              "display" : "meta",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-17",
          "display" : "ID",
          "target" : [
            {
              "code" : "sender(Organization.address.country)",
              "display" : "sender(Organization.address.country)",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-19",
          "display" : "CWE",
          "target" : [
            {
              "code" : "language",
              "display" : "language",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-22",
          "display" : "XON",
          "target" : [
            {
              "code" : "responsible(Organization)",
              "display" : "responsible(Organization)",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-23",
          "display" : "XON",
          "target" : [
            {
              "code" : "destination[1].receiver(Organization)",
              "display" : "destination[1].receiver(Organization)",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-24",
          "display" : "HD",
          "target" : [
            {
              "code" : "source",
              "display" : "source",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-24",
          "display" : "HD",
          "target" : [
            {
              "code" : "source.endpoint.extension.url",
              "display" : "source.endpoint.extension.url",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-24",
          "display" : "HD",
          "target" : [
            {
              "code" : "source.endpoint.extension.valueCode",
              "display" : "source.endpoint.extension.valueCode",
              "equivalence" : "equivalent",
              "comment" : "1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-25",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1]",
              "display" : "destination[1]",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-25",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1].endpoint.extension.url",
              "display" : "destination[1].endpoint.extension.url",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-25",
          "display" : "HD",
          "target" : [
            {
              "code" : "destination[1].endpoint.extension.valueCode",
              "display" : "destination[1].endpoint.extension.valueCode",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-26",
          "display" : "CWE",
          "target" : [
            {
              "code" : "meta.security[2]",
              "display" : "meta.security[2]",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-27",
          "display" : "CWE",
          "target" : [
            {
              "code" : "meta.security[2]",
              "display" : "meta.security[2]",
              "equivalence" : "equivalent",
              "comment" : "-1"
            }
          ]
        }
      ]
    }
  ]
}