HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Segment MSH to MessageHeader Map - JSON Representation

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "segment-msh-to-messageheader",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SegmentMSHtoMessageHeader (http://hl7.org/fhir/uv/v2mappings/segment-msh-to-messageheader)</h2><p>Mapping from <a href=\"https://terminology.hl7.org/1.0.0//CodeSystem-MSH.html\">MSH</a> to <a href=\"http://hl7.org/fhir/R4/messageheader.html\">MessageHeader</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href=\"http://hl7.org/Special/committees/orders/index.cfm\">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR MessageHeader Resource.</p>\n</div><br/><table class=\"grid\"><tr><td colspan=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"3\"><b>Destination Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-3</td><td style=\"border-left-width: 0px\"></td><td>BackboneElement</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-24 NOT VALUED</td><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-4</td><td style=\"border-left-width: 0px\"></td><td>Reference(Organization)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">sender(Organization)</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-5</td><td style=\"border-left-width: 0px\"></td><td>BackboneElement</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1]</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-25 NOT VALUED</td><td>-1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-6</td><td style=\"border-left-width: 0px\"></td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination.endpoint.extension-dataAbsentReason</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-6</td><td style=\"border-left-width: 0px\"></td><td>Reference(Organization)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].receiver(Organization)</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-8</td><td style=\"border-left-width: 0px\"></td><td>string</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">meta.security</td><td style=\"border-left-width: 0px\"></td><td/><td>-1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-9</td><td style=\"border-left-width: 0px\"></td><td>Coding</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">eventCoding</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-11</td><td style=\"border-left-width: 0px\"></td><td>meta</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">meta</td><td style=\"border-left-width: 0px\"></td><td/><td>-1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-17</td><td style=\"border-left-width: 0px\"></td><td>string</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">sender(Organization.address.country)</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-19</td><td style=\"border-left-width: 0px\"></td><td>code</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">language</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-22</td><td style=\"border-left-width: 0px\"></td><td>Reference(Organization)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">responsible(Organization)</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-23</td><td style=\"border-left-width: 0px\"></td><td>Reference(Organization)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].receiver(Organization)</td><td style=\"border-left-width: 0px\"></td><td/><td>-1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-24</td><td style=\"border-left-width: 0px\"></td><td>BackboneElement</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source</td><td style=\"border-left-width: 0px\"></td><td/><td>1</td></tr><tr><td style=\"border-right-width: 0px\">MSH-25</td><td style=\"border-left-width: 0px\"></td><td>uri</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[2]</td><td style=\"border-left-width: 0px\"></td><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" : "0.1.0",
  "name" : "SegmentMSHtoMessageHeader",
  "status" : "active",
  "experimental" : true,
  "date" : "2020-08-12",
  "publisher" : "HL7 International",
  "contact" : [
    {
      "name" : "HL7 Orders and Observations Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/Special/committees/orders/index.cfm"
        }
      ]
    },
    {
      "name" : "Keith W. Boone",
      "telecom" : [
        {
          "system" : "email",
          "value" : "kboone@ainq.com"
        }
      ]
    }
  ],
  "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",
              "display" : "source",
              "equivalence" : "equivalent",
              "comment" : "1",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "BackboneElement"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-24 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "Reference(Organization)"
                }
              ]
            }
          ]
        },
        {
          "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]",
              "display" : "destination[1]",
              "equivalence" : "equivalent",
              "comment" : "-1",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "BackboneElement"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-25 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "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.endpoint.extension-dataAbsentReason",
              "display" : "destination.endpoint.extension-dataAbsentReason",
              "equivalence" : "equivalent",
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "Reference(Organization)"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "string"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "Coding"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "meta"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "string"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "code"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "Reference(Organization)"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "Reference(Organization)"
                }
              ]
            }
          ]
        },
        {
          "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",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "BackboneElement"
                }
              ]
            }
          ]
        },
        {
          "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[2]",
              "display" : "destination[2]",
              "equivalence" : "equivalent",
              "comment" : "-1",
              "dependsOn" : [
                {
                  "property" : "references",
                  "value" : "uri"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}