HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

This page is part of the HL7 Version 2 to FHIR (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

: Segment MSH[Transformation] to Provenance Map - TTL Representation

Active as of 2023-12-19

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "segment-msh-transformation-to-provenance"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Mapping from MSH to <a href=\"http://hl7.org/fhir/R4/provenance.html\">Provenance</a></p><p>ACTIVE (not intended for production usage). Published on 2023-12-19 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: <a href=\"http://www.hl7.org/Special/committees/orders\">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>, Rob Hausam: <a href=\"mailto:rrhausam@gmail.com\">rrhausam@gmail.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/><p><b>Group 1</b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"3\"><b>Target Concept Details</b></td><td colspan=\"3\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>value</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>narrative</b></td></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>&quot;v2-FHIR transformation&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">activity.coding.code</td><td style=\"border-left-width: 0px\">activity.coding.code</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>/timestamp of tranformation/</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">recorded</td><td style=\"border-left-width: 0px\">recorded</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></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\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">policy</td><td style=\"border-left-width: 0px\">policy</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>&quot;assembler&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">agent[1].type.coding.code</td><td style=\"border-left-width: 0px\">agent[1].type.coding.code</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></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\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">agent[1].type.coding.system</td><td style=\"border-left-width: 0px\">agent[1].type.coding.system</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>/the organization owning or device performing the transformation by the mapping tool/</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">agent[1].who(Organization|Device)</td><td style=\"border-left-width: 0px\">agent[1].who(Organization|Device)</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">entity[1].what(DocumentReference.content.attachment.url)</td><td style=\"border-left-width: 0px\">entity[1].what(DocumentReference.content.attachment.url)</td><td>when you hold on to/persist the v2 message in a data store</td></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>/v2.txt or v2.xml into base 64/</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">entity[1].what(DocumentReference.content.attachment.data)</td><td style=\"border-left-width: 0px\">entity[1].what(DocumentReference.content.attachment.data)</td><td>when you do not hold on to/persist the v2 message in a data store</td></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>&quot;current&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">entity[1].what(DocumentReference.status)</td><td style=\"border-left-width: 0px\">entity[1].what(DocumentReference.status)</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH</td><td style=\"border-left-width: 0px\"></td><td>&quot;source&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">entity[1].role</td><td style=\"border-left-width: 0px\">entity[1].role</td><td/></tr></table></div>"
  ] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "derived-from" ]     ] [
fhir:url [ fhir:v "label"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Segment MSH[Transformation] to Provenance.fsh" ]     ] [
fhir:url [ fhir:v "url"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://docs.google.com/spreadsheets/d/1byfzqOfOvIVdRkHv2Tto5a-a0YMYWWP0eryaZBvibIo/edit#gid=0"^^xsd:anyURI ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "oo" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/segment-msh-transformation-to-provenance"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0-ballot"] ; # 
  fhir:name [ fhir:v "SegmentMSHTransformationToProvenance"] ; # 
  fhir:title [ fhir:v "Segment MSH[Transformation] to Provenance Map"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2023-12-19"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 Orders and Observations Workgroup" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]     ] )
  ] [
fhir:name [ fhir:v "Keith W. Boone" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "kboone@ainq.com" ]     ] )
  ] [
fhir:name [ fhir:v "Rob Hausam" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "rrhausam@gmail.com" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR Provenance Resource."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved."] ; # 
  fhir:source [ fhir:v "MSH"^^xsd:anyURI] ; # 
  fhir:target [ fhir:v "Provenance"^^xsd:anyURI] ; # 
  fhir:group ( [
    ( fhir:element [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "activity.coding.code" ] ;
fhir:display [ fhir:v "activity.coding.code" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "\"v2-FHIR transformation\"" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "recorded" ] ;
fhir:display [ fhir:v "recorded" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "/timestamp of tranformation/" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "-1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "policy" ] ;
fhir:display [ fhir:v "policy" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "/uri of the policy governing transformation of the v2 to FHIR/" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "string" ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "agent[1].type.coding.code" ] ;
fhir:display [ fhir:v "agent[1].type.coding.code" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "\"assembler\"" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "url" ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "agent[1].type.coding.system" ] ;
fhir:display [ fhir:v "agent[1].type.coding.system" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "\"http://terminology.hl7.org/CodeSystem/provenance-participant-type\"" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Reference(Organization|Device)" ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "agent[1].who(Organization|Device)" ] ;
fhir:display [ fhir:v "agent[1].who(Organization|Device)" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "/the organization owning or device performing the transformation by the mapping tool/" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "entity[1].what(DocumentReference.content.attachment.url)" ] ;
fhir:display [ fhir:v "entity[1].what(DocumentReference.content.attachment.url)" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:product [
fhir:property [ fhir:v "narrative"^^xsd:anyURI ] ;
fhir:value [ fhir:v "when you hold on to/persist the v2 message in a data store" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "entity[1].what(DocumentReference.content.attachment.data)" ] ;
fhir:display [ fhir:v "entity[1].what(DocumentReference.content.attachment.data)" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "/v2.txt or v2.xml into base 64/" ]         ] ) ;
        ( fhir:product [
fhir:property [ fhir:v "narrative"^^xsd:anyURI ] ;
fhir:value [ fhir:v "when you do not hold on to/persist the v2 message in a data store" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "entity[1].what(DocumentReference.status)" ] ;
fhir:display [ fhir:v "entity[1].what(DocumentReference.status)" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "\"current\"" ]         ] )       ] )     ] [
fhir:code [ fhir:v "MSH" ] ;
      ( fhir:_target [
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "entity[1].role" ] ;
fhir:display [ fhir:v "entity[1].role" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "\"source\"" ]         ] )       ] )     ] )
  ] ) . #