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 MessageHeader Map - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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-to-messageheader"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir: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><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 colspan=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"2\"><b>Target Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>ComputableANTLR</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-3</td><td style=\"border-left-width: 0px\">Sending Application</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source[1]</td><td style=\"border-left-width: 0px\">source[1]</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-3</td><td style=\"border-left-width: 0px\">Sending Application</td><td>IF MSH-24 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source[1].endpoint</td><td style=\"border-left-width: 0px\">source[1].endpoint</td><td>We believe that if MSH-24 is vaued, although MSH-24 is rarely valued, it contains better information for the  MessageHeader.source.endpoint than MSH-3.  However, one may either still want to use MSH-3 in total or a combination of content from MSH-3 and MSH-24.  That is a local implementation decision to adjust the mapping accordingly based on clear knowledge of the content.\n\nIf both MSH-3 and MSH-24 are not valued, which is valid in HL7 v2, then the implementer needs to resolve how to assign MessageHeader.source as it is a required attribute.  Note that a data absent reason extension could be used to provide a reason and satisfy the mandatory FHIR attribute rules.  But do note that the use of the data-absent-reason extension may result  in a FHIR resource that is not usable by the recipient.\\</td></tr><tr><td style=\"border-right-width: 0px\">MSH-4</td><td style=\"border-left-width: 0px\">Sending Facility</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">sender(Organization)</td><td style=\"border-left-width: 0px\">sender(Organization)</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-5</td><td style=\"border-left-width: 0px\">Receiving Application</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].target(Device)</td><td style=\"border-left-width: 0px\">destination[1].target(Device)</td><td>Similar as for MSH-3, MSH-5 is paired with MSH-25 and depending on local use may need to use one, the other, or a combination of both.  We believe that MSH-25, when valued, provides the better information given its addition to the standard more recently.</td></tr><tr><td style=\"border-right-width: 0px\">MSH-5</td><td style=\"border-left-width: 0px\">Receiving Application</td><td>IF MSH-25 VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].name</td><td style=\"border-left-width: 0px\">destination[1].name</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-5</td><td style=\"border-left-width: 0px\">Receiving Application</td><td>IF MSH-25 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].endpoint</td><td style=\"border-left-width: 0px\">destination[1].endpoint</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-6</td><td style=\"border-left-width: 0px\">Receiving Facility</td><td>IF MSH-23 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].receiver(Organization)</td><td style=\"border-left-width: 0px\">destination[1].receiver(Organization)</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-8</td><td style=\"border-left-width: 0px\">Security</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">meta.security</td><td style=\"border-left-width: 0px\">meta.security</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-9</td><td style=\"border-left-width: 0px\">Message Type</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">eventCoding</td><td style=\"border-left-width: 0px\">eventCoding</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-11</td><td style=\"border-left-width: 0px\">Processing ID</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">meta</td><td style=\"border-left-width: 0px\">meta</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-17</td><td style=\"border-left-width: 0px\">Country Code</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">sender(Organization.address.country)</td><td style=\"border-left-width: 0px\">sender(Organization.address.country)</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-19</td><td style=\"border-left-width: 0px\">Principal Language Of Message</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">language</td><td style=\"border-left-width: 0px\">language</td><td>This does only cover the MessageHeader resource. Need to have clarity that if other resources that are part of the message that do not have Resource.meta.language valued, then it is assumed to follow MessageHeader.meta.language?? Doesn't seem RESTful, so what is the default for Resource.meta.language?</td></tr><tr><td style=\"border-right-width: 0px\">MSH-22</td><td style=\"border-left-width: 0px\">Sending Responsible Organization</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">responsible(Organization)</td><td style=\"border-left-width: 0px\">responsible(Organization)</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-23</td><td style=\"border-left-width: 0px\">Receiving Responsible Organization</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].receiver(Organization)</td><td style=\"border-left-width: 0px\">destination[1].receiver(Organization)</td><td>This is an alternate representation of MSH-6.  The local implementation needs to determine whech components of HD vs. XON to be used and whether it may even yield a separate Organization reference.</td></tr><tr><td style=\"border-right-width: 0px\">MSH-24</td><td style=\"border-left-width: 0px\">Sending Network Address</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source</td><td style=\"border-left-width: 0px\">source</td><td>We believe that if MSH-24 is vaued, although it is rarely valued, it contains better information for the MessageHeader.source.endpoint.  However, one may either still want to use MSH-3 in total or a combination of content from MSH-3 and MSH-24.  That is a local implementation decision to adjust the mapping accordingly.</td></tr><tr><td style=\"border-right-width: 0px\">MSH-24</td><td style=\"border-left-width: 0px\">Sending Network Address</td><td>IF MSH-24 NOT VALUED AND MSH-3 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source.endpoint.extension.url</td><td style=\"border-left-width: 0px\">source.endpoint.extension.url</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-24</td><td style=\"border-left-width: 0px\">Sending Network Address</td><td>IF MSH-24 NOT VALUED AND MSH-3 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">source.endpoint.extension.valueCode</td><td style=\"border-left-width: 0px\">source.endpoint.extension.valueCode</td><td>If both MSH-3 and MSH-24 are not valued, which is valid, then the implementer needs to resolve whether to assign this a known value since they know the context, or add the data absent reason extension to provide a reason and satisfies the mandatory FHIR attribute rules.  Note that the use of the data-absent-reason extension may result  in a FHIR resource that is not usable by the recipient.</td></tr><tr><td style=\"border-right-width: 0px\">MSH-25</td><td style=\"border-left-width: 0px\">Receiving Network Address</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1]</td><td style=\"border-left-width: 0px\">destination[1]</td><td>We believe that if MSH-25 is vaued, although it is rarely valued, it contains better information for the MessageHeader.source.endpoint.  However, one may either still want to use MSH-5 in total or a combination of content from MSH-5 and MSH-25.  That is a local implementation decision to adjust the mapping accordingly.</td></tr><tr><td style=\"border-right-width: 0px\">MSH-25</td><td style=\"border-left-width: 0px\">Receiving Network Address</td><td>IF MSH-25 NOT VALUED AND MSH-5 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].endpoint.extension.url</td><td style=\"border-left-width: 0px\">destination[1].endpoint.extension.url</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-25</td><td style=\"border-left-width: 0px\">Receiving Network Address</td><td>IF MSH-25 NOT VALUED AND MSH-5 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">destination[1].endpoint.extension.valueCode</td><td style=\"border-left-width: 0px\">destination[1].endpoint.extension.valueCode</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-26</td><td style=\"border-left-width: 0px\">Security Classification Tag</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">meta.security[2]</td><td style=\"border-left-width: 0px\">meta.security[2]</td><td/></tr><tr><td style=\"border-right-width: 0px\">MSH-27</td><td style=\"border-left-width: 0px\">Security Handling Instructions</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">meta.security[2]</td><td style=\"border-left-width: 0px\">meta.security[2]</td><td/></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "derived-from"       ]     ] [
    fhir:url [ fhir:v "label"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Segment MSH to MessageHeader.fsh"       ]     ] [
    fhir:url [ fhir:v "url"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://docs.google.com/spreadsheets/d/13pgda5xl-PwCgB9j0axyymwwv7RJVcrIzY8Ah1y1Y1M/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 [
    a fhir:code ;
    fhir:v "oo"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "informative" ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings>         ]       ] )     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-msh-to-messageheader"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "SegmentMSHToMessageHeader"] ; #
      fhir:title [ fhir:v "Segment MSH to MessageHeader Map"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:experimental [ fhir:v true] ; #
      fhir:date [ fhir:v "2025-08-25"^^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:description [ fhir:v "This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR MessageHeader 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) 2025, HL7 International, Inc., All Rights Reserved."] ; #
      fhir:group ( [
        ( fhir:element [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-3" ] ;
    fhir:display [ fhir:v "Sending Application" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "source[1]" ] ;
    fhir:display [ fhir:v "source[1]" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-3" ] ;
    fhir:display [ fhir:v "Sending Application" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "source[1].endpoint" ] ;
    fhir:display [ fhir:v "source[1].endpoint" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "We believe that if MSH-24 is vaued, although MSH-24 is rarely valued, it contains better information for the  MessageHeader.source.endpoint than MSH-3.  However, one may either still want to use MSH-3 in total or a combination of content from MSH-3 and MSH-24.  That is a local implementation decision to adjust the mapping accordingly based on clear knowledge of the content.\n\nIf both MSH-3 and MSH-24 are not valued, which is valid in HL7 v2, then the implementer needs to resolve how to assign MessageHeader.source as it is a required attribute.  Note that a data absent reason extension could be used to provide a reason and satisfy the mandatory FHIR attribute rules.  But do note that the use of the data-absent-reason extension may result  in a FHIR resource that is not usable by the recipient.\\" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-24 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-4" ] ;
    fhir:display [ fhir:v "Sending Facility" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference(Organization)"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "sender(Organization)" ] ;
    fhir:display [ fhir:v "sender(Organization)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-5" ] ;
    fhir:display [ fhir:v "Receiving Application" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference(Device)"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].target(Device)" ] ;
    fhir:display [ fhir:v "destination[1].target(Device)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Similar as for MSH-3, MSH-5 is paired with MSH-25 and depending on local use may need to use one, the other, or a combination of both.  We believe that MSH-25, when valued, provides the better information given its addition to the standard more recently." ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-5" ] ;
    fhir:display [ fhir:v "Receiving Application" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "name"             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].name" ] ;
    fhir:display [ fhir:v "destination[1].name" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-25 VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-5" ] ;
    fhir:display [ fhir:v "Receiving Application" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "url"             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].endpoint" ] ;
    fhir:display [ fhir:v "destination[1].endpoint" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-25 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-6" ] ;
    fhir:display [ fhir:v "Receiving Facility" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference(Organization)"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].receiver(Organization)" ] ;
    fhir:display [ fhir:v "destination[1].receiver(Organization)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-23 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ST"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-8" ] ;
    fhir:display [ fhir:v "Security" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "string"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "meta.security" ] ;
    fhir:display [ fhir:v "meta.security" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MSG"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-9" ] ;
    fhir:display [ fhir:v "Message Type" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Coding"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "eventCoding" ] ;
    fhir:display [ fhir:v "eventCoding" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "PT"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-11" ] ;
    fhir:display [ fhir:v "Processing ID" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "meta"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "meta" ] ;
    fhir:display [ fhir:v "meta" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ID"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-17" ] ;
    fhir:display [ fhir:v "Country Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "string"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70399-to-iso-3166-1"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "sender(Organization.address.country)" ] ;
    fhir:display [ fhir:v "sender(Organization.address.country)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-19" ] ;
    fhir:display [ fhir:v "Principal Language Of Message" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "unspecified_mapping"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "language" ] ;
    fhir:display [ fhir:v "language" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "This does only cover the MessageHeader resource. Need to have clarity that if other resources that are part of the message that do not have Resource.meta.language valued, then it is assumed to follow MessageHeader.meta.language?? Doesn't seem RESTful, so what is the default for Resource.meta.language?" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "XON"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-22" ] ;
    fhir:display [ fhir:v "Sending Responsible Organization" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference(Organization)"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "responsible(Organization)" ] ;
    fhir:display [ fhir:v "responsible(Organization)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "XON"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-23" ] ;
    fhir:display [ fhir:v "Receiving Responsible Organization" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Reference(Organization)"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].receiver(Organization)" ] ;
    fhir:display [ fhir:v "destination[1].receiver(Organization)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "This is an alternate representation of MSH-6.  The local implementation needs to determine whech components of HD vs. XON to be used and whether it may even yield a separate Organization reference." ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-24" ] ;
    fhir:display [ fhir:v "Sending Network Address" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "string"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "source" ] ;
    fhir:display [ fhir:v "source" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "We believe that if MSH-24 is vaued, although it is rarely valued, it contains better information for the MessageHeader.source.endpoint.  However, one may either still want to use MSH-3 in total or a combination of content from MSH-3 and MSH-24.  That is a local implementation decision to adjust the mapping accordingly." ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-24" ] ;
    fhir:display [ fhir:v "Sending Network Address" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://hl7.org/fhir/R4/extension-data-absent-reason.html\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "source.endpoint.extension.url" ] ;
    fhir:display [ fhir:v "source.endpoint.extension.url" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-24 NOT VALUED AND MSH-3 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-24" ] ;
    fhir:display [ fhir:v "Sending Network Address" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"unknown\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "source.endpoint.extension.valueCode" ] ;
    fhir:display [ fhir:v "source.endpoint.extension.valueCode" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "If both MSH-3 and MSH-24 are not valued, which is valid, then the implementer needs to resolve whether to assign this a known value since they know the context, or add the data absent reason extension to provide a reason and satisfies the mandatory FHIR attribute rules.  Note that the use of the data-absent-reason extension may result  in a FHIR resource that is not usable by the recipient." ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-24 NOT VALUED AND MSH-3 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-25" ] ;
    fhir:display [ fhir:v "Receiving Network Address" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1]" ] ;
    fhir:display [ fhir:v "destination[1]" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "We believe that if MSH-25 is vaued, although it is rarely valued, it contains better information for the MessageHeader.source.endpoint.  However, one may either still want to use MSH-5 in total or a combination of content from MSH-5 and MSH-25.  That is a local implementation decision to adjust the mapping accordingly." ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-25" ] ;
    fhir:display [ fhir:v "Receiving Network Address" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://hl7.org/fhir/R4/extension-data-absent-reason.html\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].endpoint.extension.url" ] ;
    fhir:display [ fhir:v "destination[1].endpoint.extension.url" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-25 NOT VALUED AND MSH-5 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HD"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-25" ] ;
    fhir:display [ fhir:v "Receiving Network Address" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"unknown\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "destination[1].endpoint.extension.valueCode" ] ;
    fhir:display [ fhir:v "destination[1].endpoint.extension.valueCode" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF MSH-25 NOT VALUED AND MSH-5 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-26" ] ;
    fhir:display [ fhir:v "Security Classification Tag" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Coding"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "unspecified_mapping"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "meta.security[2]" ] ;
    fhir:display [ fhir:v "meta.security[2]" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "MSH-27" ] ;
    fhir:display [ fhir:v "Security Handling Instructions" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "Coding"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "unspecified_mapping"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "meta.security[2]" ] ;
    fhir:display [ fhir:v "meta.security[2]" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] )
      ] ) . #