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

## : Segment MSH to Bundle Map - JSON Representation

Page standards status: Informative

Raw json | Download

    {
      "resourceType" : "ConceptMap",
      "id" : "segment-msh-to-bundle",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-msh-to-bundle</b></p><a name=\"segment-msh-to-bundle\"> </a><a name=\"hcsegment-msh-to-bundle\"> </a><p>Mapping from (not specified) to (not specified)</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</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>type</td><td>Note that the assignment is according to the mapping principles for mapping definitions only.  There is no expectation that this is the actual Bundle.type being mapped to based on local implementation considerations.  Unless the progression actually is a FHIR Message.</td></tr><tr><td>MSH-7 (Date/Time of Message)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>timestamp</td><td>Note that MSH-7 does not require a time offset while Bundle.timestamp does.  Implementers should configure the actual mapping according to local context of the transaction.</td></tr><tr><td>MSH-10 (Message Control ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier.value</td><td/></tr><tr><td>MSH-10 (Message Control ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier.system</td><td/></tr></table></div>"
      },
      "extension" : [
        {
          "extension" : [
            {
              "url" : "type",
              "valueCode" : "derived-from"
            },
            {
              "url" : "label",
              "valueString" : "Segment MSH to Bundle.fsh"
            },
            {
              "url" : "url",
              "valueUri" : "https://docs.google.com/spreadsheets/d/1oOy6JW4Mv5VL8DsoA05bYZCUa1JqP4GCYNPF5GJTLxQ/edit#gid=0"
            }
          ],
          "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
          "valueCode" : "oo"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "informative",
          "_valueCode" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
                "valueCanonical" : "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
              }
            ]
          }
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-msh-to-bundle",
      "version" : "1.0.0",
      "name" : "SegmentMSHToBundle",
      "title" : "Segment MSH to Bundle Map",
      "status" : "active",
      "experimental" : true,
      "date" : "2025-08-25",
      "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 Bundle Resource.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
              "code" : "001"
            }
          ]
        }
      ],
      "copyright" : "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
      "group" : [
        {
          "element" : [
            {
              "code" : "MSH",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "code"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"message\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "type",
                  "display" : "type",
                  "equivalence" : "equivalent",
                  "comment" : "Note that the assignment is according to the mapping principles for mapping definitions only.  There is no expectation that this is the actual Bundle.type being mapped to based on local implementation considerations.  Unless the progression actually is a FHIR Message."
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "DTM"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "MSH-7",
              "display" : "Date/Time of Message",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "instant"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "timestamp",
                  "display" : "timestamp",
                  "equivalence" : "equivalent",
                  "comment" : "Note that MSH-7 does not require a time offset while Bundle.timestamp does.  Implementers should configure the actual mapping according to local context of the transaction."
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "ST"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "MSH-10",
              "display" : "Message Control ID",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "string"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "identifier.value",
                  "display" : "identifier.value",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "ST"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "MSH-10",
              "display" : "Message Control ID",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "uri"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "/to be determined by the implementer/"
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "identifier.system",
                  "display" : "identifier.system",
                  "equivalence" : "equivalent"
                }
              ]
            }
          ]
        }
      ]
    }