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 Provenance Map - JSON Representation

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "segment-msh-to-provenance",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SegmentMSHtoProvenance (http://hl7.org/fhir/uv/v2mappings/segment-msh-to-provenance)</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/provenance.html\">Provenance</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 Provenance Resource.</p>\n</div><br/><table class=\"grid\"><tr><td colspan=\"4\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"3\"><b>Destination Concept Details</b></td></tr><tr><td colspan=\"2\"><b>Code</b> from </td><td><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></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td/><td>/timestamp of tranformation/</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\">recorded</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td/><td>/uri of the policy governing transformation of the v2 to FHIR/</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\">policy</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td/><td>&quot;assembler&quot;</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\">agent[1].type.coding.code</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td/><td>&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;</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\">agent[1].type.coding.system</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-3</td><td style=\"border-left-width: 0px\"></td><td>HD[Device]</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\">agent[2].who(Device)</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-3 AND MSH-24 VALUED</td></tr><tr><td style=\"border-right-width: 0px\">MSH-4</td><td style=\"border-left-width: 0px\"></td><td>HD[Organization]</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\">agent[3].who(Organization)</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-22 NOT VALUED</td></tr><tr><td style=\"border-right-width: 0px\">MSH-4</td><td style=\"border-left-width: 0px\"></td><td/><td>&quot;author&quot;</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\">agent[3].type.coding.code</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-22 NOT VALUED</td></tr><tr><td style=\"border-right-width: 0px\">MSH-4</td><td style=\"border-left-width: 0px\"></td><td/><td>&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;</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\">agent[3].type.coding.system</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-22 NOT VALUED</td></tr><tr><td style=\"border-right-width: 0px\">MSH-5</td><td style=\"border-left-width: 0px\"></td><td/><td>MessageHeader.id</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\">agent[4].type.coding.code</td><td style=\"border-left-width: 0px\"></td><td>IF MSH-5 AND MSH-25 VALUED</td></tr><tr><td style=\"border-right-width: 0px\">MSH-7</td><td style=\"border-left-width: 0px\"></td><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\">occuredDateTime</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-22</td><td style=\"border-left-width: 0px\"></td><td>XON[Organization]</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\">agent[5].who(Organization)</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-22</td><td style=\"border-left-width: 0px\"></td><td/><td>&quot;author&quot;</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\">agent[5].type.coding.code</td><td style=\"border-left-width: 0px\"></td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-22</td><td style=\"border-left-width: 0px\"></td><td/><td>&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;</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\">agent[5].type.coding.system</td><td style=\"border-left-width: 0px\"></td><td/></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Segment MSH to Provenance.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/1F5aYk6tFCYTQd_qEaEc5G85ZcCm98R5B-sq2JGqUagk/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/segment-msh-to-provenance",
  "version" : "0.1.0",
  "name" : "SegmentMSHtoProvenance",
  "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 Provenance 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" : "Provenance",
  "group" : [
    {
      "element" : [
        {
          "code" : "MSH",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "recorded",
              "display" : "recorded",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "/timestamp of tranformation/"
                }
              ]
            }
          ]
        },
        {
          "code" : "MSH",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "policy",
              "display" : "policy",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "/uri of the policy governing transformation of the v2 to FHIR/"
                }
              ]
            }
          ]
        },
        {
          "code" : "MSH",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[1].type.coding.code",
              "display" : "agent[1].type.coding.code",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"assembler\""
                }
              ]
            }
          ]
        },
        {
          "code" : "MSH",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[1].type.coding.system",
              "display" : "agent[1].type.coding.system",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"http://terminology.hl7.org/CodeSystem/provenance-participant-type\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-3",
          "display" : "Sending Application",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Device)"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[2].who(Device)",
              "display" : "agent[2].who(Device)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "HD[Device]"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-3 AND MSH-24 VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-4",
          "display" : "Sending Facility",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Organization)"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[3].who(Organization)",
              "display" : "agent[3].who(Organization)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "HD[Organization]"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-22 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-4",
          "display" : "Sending Facility",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "code"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[3].type.coding.code",
              "display" : "agent[3].type.coding.code",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"author\""
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-22 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-4",
          "display" : "Sending Facility",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[3].type.coding.system",
              "display" : "agent[3].type.coding.system",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"http://terminology.hl7.org/CodeSystem/provenance-participant-type\""
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-22 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-5",
          "display" : "Receiving Application",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "CodeableConcept"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[4].type.coding.code",
              "display" : "agent[4].type.coding.code",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "MessageHeader.id"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF MSH-5 AND MSH-25 VALUED"
                }
              ]
            }
          ]
        },
        {
          "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" : "dateTime"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "occuredDateTime",
              "display" : "occuredDateTime",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XON"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-22",
          "display" : "Sending Responsible Organization",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Organization)"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[5].who(Organization)",
              "display" : "agent[5].who(Organization)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "XON[Organization]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XON"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-22",
          "display" : "Sending Responsible Organization",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "code"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[5].type.coding.code",
              "display" : "agent[5].type.coding.code",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"author\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XON"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "MSH-22",
          "display" : "Sending Responsible Organization",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "agent[5].type.coding.system",
              "display" : "agent[5].type.coding.system",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"http://terminology.hl7.org/CodeSystem/provenance-participant-type\""
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}