Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example StructureDefinition/MessageHeader (XML)

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Practitioner

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

StructureDefinition for messageheader

<?xml version="1.0" encoding="UTF-8"?>

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="MessageHeader"/> 
  <meta> 
    <lastUpdated value="2023-03-26T15:21:02.749+11:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align:
       top;">
        <tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align:
         top">
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> 
          </th> 
          <th class="hierarchy" style="width: 100px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a> 
            <span style="float: right">
              <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
                <img alt="doco" src="data:(snipped in html view)" style="background-color: inherit"/> 
              </a> 
            </span> 
          </th> 
        </tr> 
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAgDsHd9/w4EQIOamFnaBgAA4M
          MKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Resource"/>  
            <span title="MessageHeader : The header for a message exchange that is either requesting or
             responding to an action.  The reference(s) that are the subject of the action as
             well as other information related to the action are typically transmitted in a
             bundle in which the MessageHeader resource instance is the first resource in the
             bundle.">MessageHeader</span> 
            <a name="MessageHeader"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="versions.html#std-process" style="padding-left: 3px; padding-right: 3px; border: 1px grey solid; font-weight: bold;
             color: black; background-color: #fff5e6" title="Standards Status = Trial Use">TU</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="domainresource.html">DomainResource</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">A resource that describes a message that is exchanged between systems
            <br/>  
            <br/>  Elements defined in Ancestors: 
            <a href="resource.html#Resource" title="The logical id of the resource, as used in the URL for the resource. Once assigned,
             this value never changes.">id</a> , 
            <a href="resource.html#Resource" title="The metadata about the resource. This is content that is maintained by the infrastructure.
             Changes to the content might not always be associated with version changes to the
             resource.">meta</a> , 
            <a href="resource.html#Resource" title="A reference to a set of rules that were followed when the resource was constructed,
             and which must be understood when processing the content. Often, this is a reference
             to an implementation guide that defines the special rules along with other profiles
             etc.">implicitRules</a> , 
            <a href="resource.html#Resource" title="The base language in which the resource is written.">language</a> , 
            <a href="domainresource.html#DomainResource" title="A human-readable narrative that contains a summary of the resource and can be used
             to represent the content of the resource to a human. The narrative need not encode
             all the structured data, but is required to contain sufficient detail to make it
             &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions
             may define what content should be represented in the narrative to ensure clinical
             safety.">text</a> , 
            <a href="domainresource.html#DomainResource" title="These resources do not have an independent existence apart from the resource that
             contains them - they cannot be identified independently, nor can they have their
             own independent transaction scope. This is allowed to be a Parameters resource
             if and only if it is referenced by a resource that provides context/meaning.">contained</a> , 
            <a href="domainresource.html#DomainResource" title="May be used to represent additional information that is not part of the basic definition
             of the resource. To make the use of extensions safe and managable, there is a strict
             set of governance applied to the definition and use of extensions. Though any implementer
             can define an extension, there is a set of requirements that SHALL be met as part
             of the definition of the extension.">extension</a> , 
            <a href="domainresource.html#DomainResource" title="May be used to represent additional information that is not part of the basic definition
             of the resource and that modifies the understanding of the element that contains
             it and/or the understanding of the containing element's descendants. Usually modifier
             elements provide negation or qualification. To make the use of extensions safe
             and managable, there is a strict set of governance applied to the definition and
             use of extensions. Though any implementer is allowed to define an extension, there
             is a set of requirements that SHALL be met as part of the definition of the extension.
             Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
             DomainResource (including cannot change the meaning of modifierExtension itself).">modifierExtension</a> 
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types"/>  
            <span title="MessageHeader.event[x] : Code that identifies the event this message represents
             and connects it with its definition. Events defined as part of the FHIR specification
             are defined by the implementation.  Alternatively a canonical uri to the EventDefinition.">event[x]</span> 
            <a name="MessageHeader.event_x_"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Event code or link to EventDefinition
            <br/>  Binding: MessageEvent (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="A reference to a code defined by a terminology system.">eventCoding</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Coding">Coding</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  eventCanonical
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#canonical">canonical</a> (
            <a href="eventdefinition.html">EventDefinition</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Element"/>  
            <span title="MessageHeader.destination : The destination application which the message is intended
             for.">destination</span> 
            <a name="MessageHeader.destination"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Message destination application(s)
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types"/>  
            <span title="MessageHeader.destination.endpoint[x] : Indicates where the message should be routed.">endpoint[x]</span> 
            <a name="MessageHeader.destination.endpoint_x_"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Actual destination address or Endpoint resource
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LsQ0AIAwDwezq/WcAaqhSoDRn6ZqXXE
          mq42zdrWP6DwAAzHkCAADALxtMUUAsbN3VPQAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A URI that is a literal reference">endpointUrl</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#url">url</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  endpointReference
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="endpoint.html">Endpoint</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="MessageHeader.destination.name : Human-readable name for the target system.">name</span> 
            <a name="MessageHeader.destination.name"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Name of system
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.destination.target : Identifies the target end system in situations
             where the initial message transmission is to an intermediary system.">target</span> 
            <a name="MessageHeader.destination.target"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="device.html">Device</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Particular delivery destination within the destination
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.destination.receiver : Allows data conveyed by a message to be addressed
             to a particular person or department when routing to a specific application isn't
             sufficient.">receiver</span> 
            <a name="MessageHeader.destination.receiver"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="organization.html">Organization</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Intended &quot;real-world&quot; recipient for the data
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.sender : Identifies the sending system to allow the use of a trust
             relationship.">sender</span> 
            <a name="MessageHeader.sender"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="device.html">Device</a>  | 
            <a href="organization.html">Organization</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Real world sender of the message
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.author : The logical author of the message - the personor device
             that decided the described event should happen. When there is more than one candidate,
             pick the most proximal to the MessageHeader. Can provide other authors in extensions.">author</span> 
            <a name="MessageHeader.author"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="device.html">Device</a>  | 
            <a href="organization.html">Organization</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">The source of the decision
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Element"/>  
            <span title="MessageHeader.source : The source application from which this message originated.">source</span> 
            <a name="MessageHeader.source"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Message source application
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Choice of Types"/>  
            <span title="MessageHeader.source.endpoint[x] : Identifies the routing target to send acknowledgements
             to.">endpoint[x]</span> 
            <a name="MessageHeader.source.endpoint_x_"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Actual source address or Endpoint resource
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LsQ0AIAw
          Dwezq/WcAaqhSoDRn6ZqXXEmq42zdrWP6DwAAzHkCAADALxtMUUAsbN3VPQAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A URI that is a literal reference">endpointUrl</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#url">url</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  endpointReference
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="endpoint.html">Endpoint</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="MessageHeader.source.name : Human-readable name for the source system.">name</span> 
            <a name="MessageHeader.source.name"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Name of system
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="MessageHeader.source.software : May include configuration or other information
             useful in debugging.">software</span> 
            <a name="MessageHeader.source.software"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Name of software running the system
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="MessageHeader.source.version : Can convey versions of multiple systems in situations
             where a message passes through multiple hands.">version</span> 
            <a name="MessageHeader.source.version"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Version of software running
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="MessageHeader.source.contact : An e-mail, phone, website or other contact point
             to use to resolve issues with message communications.">contact</span> 
            <a name="MessageHeader.source.contact"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#ContactPoint">ContactPoint</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Human contact for problems
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.responsible : The person or organization that accepts overall responsibility
             for the contents of the message. The implication is that the message event happened
             under the policies of the responsible party.">responsible</span> 
            <a name="MessageHeader.responsible"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="organization.html">Organization</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Final responsibility for event
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="MessageHeader.reason : Coded indication of the cause for the event - indicates
              a reason for the occurrence of the event that is a focus of this message.">reason</span> 
            <a name="MessageHeader.reason"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Cause of event
            <br/>  Binding: 
            <a href="valueset-message-reason-encounter.html">Example Message Reason Codes</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Element"/>  
            <span title="MessageHeader.response : Information about the message that this message is a response
             to.  Only present if this message is a response.">response</span> 
            <a name="MessageHeader.response"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">If this is a reply to prior message
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="MessageHeader.response.identifier : The Bundle.identifier of the message to which
             this message is a response.">identifier</span> 
            <a name="MessageHeader.response.identifier"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Identifier">Identifier</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Bundle.identifier of original message
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="MessageHeader.response.code : Code that identifies the type of response to the
             message - whether it was successful or not, and whether it should be resent or
             not.">code</span> 
            <a name="MessageHeader.response.code"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#code">code</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">ok | transient-error | fatal-error
            <br/>  Binding: 
            <a href="valueset-response-code.html">Response Type</a>  (
            <a href="terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value
             set.">Required</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.response.details : Full details of any issues found in the message.">details</span> 
            <a name="MessageHeader.response.details"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="operationoutcome.html">OperationOutcome</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Specific list of hints/warnings/errors
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.focus : The actual data of the message - a reference to the root/focus
             class of the event. This is allowed to be a Parameters resource.">focus</span> 
            <a name="MessageHeader.focus"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="resourcelist.html">Any</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">The actual content of the message
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAgDsHd9/w4EQIOamFnaBgAA4M
          MKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="MessageHeader.definition : Permanent link to the MessageDefinition for this message.">definition</span> 
            <a name="MessageHeader.definition"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#canonical">canonical</a> (
            <a href="messagedefinition.html">MessageDefinition</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Link to the definition for this message
            <br/>  
          </td> 
        </tr> 

        <tr> 
          <td class="hierarchy" colspan="5">
            <br/>  
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
              <img alt="doco" src="data:(snipped in html view)" style="background-color: inherit"/>  Documentation for this format
            </a> 
          </td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Foundation.Other"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="not-classified"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="inm"/> 
  </extension> 
  <url value="http://hl7.org/fhir/StructureDefinition/MessageHeader"/> 
  <version value="5.0.0"/> 
  <name value="MessageHeader"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2023-03-26T15:21:02+11:00"/> 
  <publisher value="Health Level Seven International (Infrastructure And Messaging)"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
  </contact> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/special/committees/inm/index.cfm"/> 
    </telecom> 
  </contact> 
  <description value="The header for a message exchange that is either requesting or responding to an
   action.  The reference(s) that are the subject of the action as well as other information
   related to the action are typically transmitted in a bundle in which the MessageHeader
   resource instance is the first resource in the bundle."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <purpose value="Many implementations are not prepared to use REST and need a messaging based infrastructure."/> 
  <fhirVersion value="5.0.0"/> 
  <mapping> 
    <identity value="workflow"/> 
    <uri value="http://hl7.org/fhir/workflow"/> 
    <name value="Workflow Pattern"/> 
  </mapping> 
  <mapping> 
    <identity value="w5"/> 
    <uri value="http://hl7.org/fhir/fivews"/> 
    <name value="FiveWs Pattern Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="v2"/> 
    <uri value="http://hl7.org/v2"/> 
    <name value="HL7 V2 Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="rim"/> 
    <uri value="http://hl7.org/v3"/> 
    <name value="RIM Mapping"/> 
  </mapping> 
  <kind value="resource"/> 
  <abstract value="false"/> 
  <type value="MessageHeader"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
  <derivation value="specialization"/> 
  <snapshot> 
    <element id="MessageHeader">
      <path value="MessageHeader"/> 
      <short value="A resource that describes a message that is exchanged between systems"/> 
      <definition value="The header for a message exchange that is either requesting or responding to an
       action.  The reference(s) that are the subject of the action as well as other information
       related to the action are typically transmitted in a bundle in which the MessageHeader
       resource instance is the first resource in the bundle."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="MessageHeader"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <constraint> 
        <key value="dom-2"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> 
        <expression value="contained.contained.empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-3"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL be referred to from
         elsewhere in the resource or SHALL refer to the containing resource"/> 
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofTy
        pe(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url)))
         or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical)
         = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmat
        ched', id).empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-4"/> 
        <severity value="error"/> 
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId
         or a meta.lastUpdated"/> 
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-5"/> 
        <severity value="error"/> 
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label"/> 
        <expression value="contained.meta.security.empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can
           display the resource to a human safely. Including a human readable representation
           in the resource makes for a much more robust eco-system and cheaper handling of
           resources by intermediary systems. Some ecosystems restrict distribution of resources
           to only those systems that do fully understand the resources, and as a consequence
           implementers may believe that the narrative is superfluous. However experience
           shows that such eco-systems often open up to new participants over time."/> 
        </extension> 
        <key value="dom-6"/> 
        <severity value="warning"/> 
        <human value="A resource should have narrative for robust management"/> 
        <expression value="text.`div`.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Entity, Role, or Act,Message"/> 
      </mapping> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="infrastructure.exchange"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH / MSA / ERR"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.id">
      <path value="MessageHeader.id"/> 
      <short value="Logical id of this artifact"/> 
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned,
       this value never changes."/> 
      <comment value="Within the context of the FHIR RESTful interactions, the resource has an id except
       for cases like the create and conditional update. Otherwise, the use of the resouce
       id depends on the given use case."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.meta">
      <path value="MessageHeader.meta"/> 
      <short value="Metadata about the resource"/> 
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure.
       Changes to the content might not always be associated with version changes to the
       resource."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.meta"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Meta"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.implicitRules">
      <path value="MessageHeader.implicitRules"/> 
      <short value="A set of rules under which this content was created"/> 
      <definition value="A reference to a set of rules that were followed when the resource was constructed,
       and which must be understood when processing the content. Often, this is a reference
       to an implementation guide that defines the special rules along with other profiles
       etc."/> 
      <comment value="Asserting this rule set restricts the content to be only understood by a limited
       set of trading partners. This inherently limits the usefulness of the data in the
       long term. However, the existing health eco-system is highly fractured, and not
       yet ready to define, collect, and exchange data in a generally computable sense.
       Wherever possible, implementers and/or specification writers should avoid using
       this element. Often, when used, the URL is a reference to an implementation guide
       that defines these special rules as part of its narrative along with other profiles,
       value sets, etc."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.implicitRules"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="uri"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="true"/> 
      <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional
       knowledge about the resource that modifies its meaning or interpretation"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.language">
      <path value="MessageHeader.language"/> 
      <short value="Language of the resource content"/> 
      <definition value="The base language in which the resource is written."/> 
      <comment value="Language is provided to support indexing and accessibility (typically, services
       such as text to speech use the language tag). The html language tag in the narrative
       applies  to the narrative. The language tag on the resource may be used to specify
       the language of other presentations generated from the data in the resource. Not
       all the content has to be in the base language. The Resource.language should not
       be assumed to apply to the narrative automatically. If a language is specified,
       it should it also be specified on the div element in the html (see rules in HTML5
       for information about the relationship between xml:lang and the html lang attribute)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.language"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="required"/> 
        <description value="IETF language tag for a human language"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/> 
        <additional> 
          <purpose value="starter"/> 
          <valueSet value="http://hl7.org/fhir/ValueSet/languages"/> 
        </additional> 
      </binding> 
    </element> 
    <element id="MessageHeader.text">
      <path value="MessageHeader.text"/> 
      <short value="Text summary of the resource, for human interpretation"/> 
      <definition value="A human-readable narrative that contains a summary of the resource and can be used
       to represent the content of the resource to a human. The narrative need not encode
       all the structured data, but is required to contain sufficient detail to make it
       &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions
       may define what content should be represented in the narrative to ensure clinical
       safety."/> 
      <comment value="Contained resources do not have a narrative. Resources that are not contained SHOULD
       have a narrative. In some cases, a resource may only have text with little or no
       additional discrete data (as long as all minOccurs=1 elements are satisfied). 
       This may be necessary for data from legacy systems where information is captured
       as a &quot;text blob&quot; or where text is additionally entered raw or narrated
       and encoded information is added later."/> 
      <alias value="narrative"/> 
      <alias value="html"/> 
      <alias value="xhtml"/> 
      <alias value="display"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DomainResource.text"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Narrative"/> 
      </type> 
      <condition value="dom-6"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.text?"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.contained">
      <path value="MessageHeader.contained"/> 
      <short value="Contained, inline Resources"/> 
      <definition value="These resources do not have an independent existence apart from the resource that
       contains them - they cannot be identified independently, nor can they have their
       own independent transaction scope. This is allowed to be a Parameters resource
       if and only if it is referenced by a resource that provides context/meaning."/> 
      <comment value="This should never be done when the content can be identified properly, as once
       identification is lost, it is extremely difficult (and context dependent) to restore
       it again. Contained resources may have profiles and tags in their meta elements,
       but SHALL NOT have security labels."/> 
      <alias value="inline resources"/> 
      <alias value="anonymous resources"/> 
      <alias value="contained resources"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.contained"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Resource"/> 
      </type> 
      <condition value="dom-2"/> 
      <condition value="dom-4"/> 
      <condition value="dom-3"/> 
      <condition value="dom-5"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.extension">
      <path value="MessageHeader.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the resource. To make the use of extensions safe and managable, there is a strict
       set of governance applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part
       of the definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.modifierExtension">
      <path value="MessageHeader.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the resource and that modifies the understanding of the element that contains
       it and/or the understanding of the containing element's descendants. Usually modifier
       elements provide negation or qualification. To make the use of extensions safe
       and managable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer is allowed to define an extension, there
       is a set of requirements that SHALL be met as part of the definition of the extension.
       Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be
       clearly distinguished from the vast majority of extensions which can be safely
       ignored.  This promotes interoperability by eliminating the need for implementers
       to prohibit the presence of extensions. For further information, see the [definition
       of modifier extensions](extensibility.html#modifierExtension)."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       resource that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.event[x]">
      <path value="MessageHeader.event[x]"/> 
      <short value="Event code or link to EventDefinition"/> 
      <definition value="Code that identifies the event this message represents and connects it with its
       definition. Events defined as part of the FHIR specification are defined by the
       implementation.  Alternatively a canonical uri to the EventDefinition."/> 
      <comment value="The time of the event will be found in the focus resource. The time of the message
       will be found in [Bundle.timestamp](bundle-definitions.html#Bundle.timestamp)."/> 
      <requirements value="Drives the behavior associated with this message."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.event[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EventDefinition"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MessageEvent"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="example"/> 
        <description value="One of the message events defined as part of this version of FHIR."/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH-9.2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./payload[classCode=&quot;CACT&quot; and moodCode=&quot;EVN&quot; and isNormalAct()]/code[isN
        ormalDatatype()]/code"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="MessageDestination"/> 
      </extension> 
      <path value="MessageHeader.destination"/> 
      <short value="Message destination application(s)"/> 
      <definition value="The destination application which the message is intended for."/> 
      <comment value="There SHOULD be at least one destination, but in some circumstances, the source
       system is unaware of any particular destination system."/> 
      <requirements value="Indicates where message is to be sent for routing purposes.  Allows verification
       of &quot;am I the intended recipient&quot;."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="MessageHeader.destination"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./communicationFunction[typeCode=&quot;RCV&quot;]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.id">
      <path value="MessageHeader.destination.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.extension">
      <path value="MessageHeader.destination.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and managable, there is a strict
       set of governance applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part
       of the definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.modifierExtension">
      <path value="MessageHeader.destination.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is
       contained and/or the understanding of the containing element's descendants. Usually
       modifier elements provide negation or qualification. To make the use of extensions
       safe and managable, there is a strict set of governance applied to the definition
       and use of extensions. Though any implementer can define an extension, there is
       a set of requirements that SHALL be met as part of the definition of the extension.
       Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be
       clearly distinguished from the vast majority of extensions which can be safely
       ignored.  This promotes interoperability by eliminating the need for implementers
       to prohibit the presence of extensions. For further information, see the [definition
       of modifier extensions](extensibility.html#modifierExtension)."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.endpoint[x]">
      <path value="MessageHeader.destination.endpoint[x]"/> 
      <short value="Actual destination address or Endpoint resource"/> 
      <definition value="Indicates where the message should be routed."/> 
      <comment value="The url may be a non-resolvable URI for systems that do not use standard network-based
       addresses."/> 
      <requirements value="Identifies where to route the message."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.destination.endpoint[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.destination.name">
      <path value="MessageHeader.destination.name"/> 
      <short value="Name of system"/> 
      <definition value="Human-readable name for the target system."/> 
      <requirements value="May be used for routing of response and/or to support audit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.destination.name"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH-5"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and (classCode=(&quot;DEV&quot;,
         &quot;PSN&quot;, &quot;ORG&quot;]/name[type='ST' and isNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.target">
      <path value="MessageHeader.destination.target"/> 
      <short value="Particular delivery destination within the destination"/> 
      <definition value="Identifies the target end system in situations where the initial message transmission
       is to an intermediary system."/> 
      <requirements value="Supports multi-hop routing."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.destination.target"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and (classCode=(&quot;DEV&quot;,
         &quot;PSN&quot;, &quot;ORG&quot;]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.receiver">
      <path value="MessageHeader.destination.receiver"/> 
      <short value="Intended &quot;real-world&quot; recipient for the data"/> 
      <definition value="Allows data conveyed by a message to be addressed to a particular person or department
       when routing to a specific application isn't sufficient."/> 
      <requirements value="Allows routing beyond just the application level."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.destination.receiver"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Not directly supported.  Could be shared using attentionLine.value with an appropriate
         keyWordText"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.sender">
      <path value="MessageHeader.sender"/> 
      <short value="Real world sender of the message"/> 
      <definition value="Identifies the sending system to allow the use of a trust relationship."/> 
      <comment value="Use case is for where a (trusted) sending system is responsible for multiple organizations,
       and therefore cannot differentiate based on source endpoint / authentication alone.
       Proposing to remove and rely on Task to convey this information."/> 
      <requirements value="Allows routing beyond just the application level."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.sender"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Not directly supported.  Could be shared using attentionLine.value with an appropriate
         keyWordText"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.author">
      <path value="MessageHeader.author"/> 
      <short value="The source of the decision"/> 
      <definition value="The logical author of the message - the personor device that decided the described
       event should happen. When there is more than one candidate, pick the most proximal
       to the MessageHeader. Can provide other authors in extensions."/> 
      <comment value="Usually only for the request but can be used in a response.Proposing to remove
       and rely on Task to convey this information. "/> 
      <requirements value="Need to know for audit/traceback requirements and possibly for authorization."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.author"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.author"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="ORC-19 / PRT-5:PRT-4='AUT' / ROL where ROL-3 ='IP' or ORC-12"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/participation[isHighest(priorityCode) and typeCode=&quot;AUT&quot;
         and isNormalParticipation]/role[classCode=&quot;ASSIGNED&quot; and isNormalRole()]/player[isN
        ormalEntity() and classCode=(&quot;DEV&quot;, &quot;PSN&quot;) and determinerCode=&quot;INST&q
        uot;])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="MessageSource"/> 
      </extension> 
      <path value="MessageHeader.source"/> 
      <short value="Message source application"/> 
      <definition value="The source application from which this message originated."/> 
      <requirements value="Allows replies, supports audit."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.source"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./communicationFunction[typeCode=&quot;SND&quot;])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.id">
      <path value="MessageHeader.source.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.extension">
      <path value="MessageHeader.source.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and managable, there is a strict
       set of governance applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part
       of the definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.modifierExtension">
      <path value="MessageHeader.source.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is
       contained and/or the understanding of the containing element's descendants. Usually
       modifier elements provide negation or qualification. To make the use of extensions
       safe and managable, there is a strict set of governance applied to the definition
       and use of extensions. Though any implementer can define an extension, there is
       a set of requirements that SHALL be met as part of the definition of the extension.
       Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be
       clearly distinguished from the vast majority of extensions which can be safely
       ignored.  This promotes interoperability by eliminating the need for implementers
       to prohibit the presence of extensions. For further information, see the [definition
       of modifier extensions](extensibility.html#modifierExtension)."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.endpoint[x]">
      <path value="MessageHeader.source.endpoint[x]"/> 
      <short value="Actual source address or Endpoint resource"/> 
      <definition value="Identifies the routing target to send acknowledgements to."/> 
      <comment value="The url may be a non-resolvable URI for systems that do not use standard network-based
       addresses."/> 
      <requirements value="Identifies where to send responses, may influence security permissions."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.source.endpoint[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.source.name">
      <path value="MessageHeader.source.name"/> 
      <short value="Name of system"/> 
      <definition value="Human-readable name for the source system."/> 
      <requirements value="May be used to support audit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.source.name"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH-3"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and classCode=&quot;DEV&quot;]/name[type='ST'
         and isNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.software">
      <path value="MessageHeader.source.software"/> 
      <short value="Name of software running the system"/> 
      <definition value="May include configuration or other information useful in debugging."/> 
      <requirements value="Supports audit and possibly interface engine behavior."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.source.software"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SFT-3 ( +SFT-1)"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and classCode=&quot;DEV&quot;]/softwareName[i
        sNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.version">
      <path value="MessageHeader.source.version"/> 
      <short value="Version of software running"/> 
      <definition value="Can convey versions of multiple systems in situations where a message passes through
       multiple hands."/> 
      <requirements value="Supports audit and possibly interface engine behavior."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.source.version"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SFT-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="(Not supported)"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.contact">
      <path value="MessageHeader.source.contact"/> 
      <short value="Human contact for problems"/> 
      <definition value="An e-mail, phone, website or other contact point to use to resolve issues with
       message communications."/> 
      <requirements value="Allows escalation of technical issues."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.source.contact"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="(MSH-22?)"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and classCode=&quot;DEV&quot;]/scopesRole[nor
        malRole() and classCode=&quot;CON&quot; and layer[classCode=&quot;PSN&quot;]/telecom[isNormalD
        atatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.responsible">
      <path value="MessageHeader.responsible"/> 
      <short value="Final responsibility for event"/> 
      <definition value="The person or organization that accepts overall responsibility for the contents
       of the message. The implication is that the message event happened under the policies
       of the responsible party."/> 
      <comment value="Usually only for the request but can be used in a response.Proposing to remove
       and rely on Task to convey this information."/> 
      <requirements value="Need to know for audit/traceback requirements and possibly for authorization."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.responsible"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="ORC-12 /  PRT-5:PRT-4='OP' /  PRT-8:PRT-4='OP' / ROL where ROL-3 is 'RO' or ORC-11"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/participation[isHighest(priorityCode) and typeCode=&quot;RESP&quot;
         and isNormalParticipation]/role[classCode=&quot;ASSIGNED&quot; and isNormalRole()]/player[isN
        ormalEntity() and classCode=&quot;PSN&quot; and determinerCode=&quot;INST&quot;]
         or ./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and isNormalAct()]/p
        articipation[isHighest(priorityCode) and typeCode=&quot;RESP&quot; and isNormalParticipation]/
        role[classCode=&quot;ASSIGNED&quot; and isNormalRole()]/scoper[isNormalEntity()
         and classCode=&quot;ORG&quot; and determinerCode=&quot;INST&quot;])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.reason">
      <path value="MessageHeader.reason"/> 
      <short value="Cause of event"/> 
      <definition value="Coded indication of the cause for the event - indicates  a reason for the occurrence
       of the event that is a focus of this message."/> 
      <requirements value="Need to be able to track why resources are being changed and report in the audit
       log/history of the resource.  May affect authorization."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.reason"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="EventReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Reason for event occurrence."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/message-reason-encounter"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.reason"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="EVN-4 / ORC-16 / OBR-31 / BPO-13 / RXO-20 / RXE-27 / RXD-21 / RXG-22 / RXA-19"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/reasonCode[isNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response">
      <path value="MessageHeader.response"/> 
      <short value="If this is a reply to prior message"/> 
      <definition value="Information about the message that this message is a response to.  Only present
       if this message is a response."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.response"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSA"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./conveyedAcknowledgement"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.id">
      <path value="MessageHeader.response.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.extension">
      <path value="MessageHeader.response.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and managable, there is a strict
       set of governance applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part
       of the definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.modifierExtension">
      <path value="MessageHeader.response.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is
       contained and/or the understanding of the containing element's descendants. Usually
       modifier elements provide negation or qualification. To make the use of extensions
       safe and managable, there is a strict set of governance applied to the definition
       and use of extensions. Though any implementer can define an extension, there is
       a set of requirements that SHALL be met as part of the definition of the extension.
       Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be
       clearly distinguished from the vast majority of extensions which can be safely
       ignored.  This promotes interoperability by eliminating the need for implementers
       to prohibit the presence of extensions. For further information, see the [definition
       of modifier extensions](extensibility.html#modifierExtension)."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <constraint> 
        <key value="ext-1"/> 
        <severity value="error"/> 
        <human value="Must have either extensions or value[x], not both"/> 
        <expression value="extension.exists() != value.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.identifier">
      <path value="MessageHeader.response.identifier"/> 
      <short value="Bundle.identifier of original message"/> 
      <definition value="The Bundle.identifier of the message to which this message is a response."/> 
      <requirements value="Allows receiver to know what message is being responded to."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.response.identifier"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSA-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./acknowledges.id[isNormalDatatype()]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.code">
      <path value="MessageHeader.response.code"/> 
      <short value="ok | transient-error | fatal-error"/> 
      <definition value="Code that identifies the type of response to the message - whether it was successful
       or not, and whether it should be resent or not."/> 
      <comment value="This is a generic response to the request message. Specific data for the response
       will be found in MessageHeader.focus."/> 
      <requirements value="Allows the sender of the acknowledge message to know if the request was successful
       or if action is needed."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.response.code"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ResponseType"/> 
        </extension> 
        <strength value="required"/> 
        <description value="The kind of response to a message."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/response-code|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSA-1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./typeCode[isNormalDatatype()]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.details">
      <path value="MessageHeader.response.details"/> 
      <short value="Specific list of hints/warnings/errors"/> 
      <definition value="Full details of any issues found in the message."/> 
      <comment value="This SHALL be contained in the bundle. If any of the issues are errors, the response
       code SHALL be an error."/> 
      <requirements value="Allows the sender of the message to determine what the specific issues are."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.response.details"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="ERR"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="AcknowledgementDetail or Observation[classCode=&quot;ALRT&quot; and moodCode=&quot;EVN&quot;]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.focus">
      <path value="MessageHeader.focus"/> 
      <short value="The actual content of the message"/> 
      <definition value="The actual data of the message - a reference to the root/focus class of the event.
       This is allowed to be a Parameters resource."/> 
      <comment value="The data is defined where the transaction type is defined. The transaction data
       is always included in the bundle that is the full message.  Only the root resource
       is specified.  The resources it references should be contained in the bundle but
       are not also listed here.  Multiple repetitions are allowed to cater for merges
       and other situations with multiple focal targets."/> 
      <requirements value="Every message event is about actual data, a single resource, that is identified
       in the definition of the event, and perhaps some or all linked resources."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="MessageHeader.focus"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/participation[typeCode=&quot;SUBJ&quot; and isNormalParticipation]/role
         or ./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and isNormalAct()]/o
        utboundRelationship[typeCode=&quot;SBJ&quot; and isNormalActRelatoinship]/target)"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.definition">
      <path value="MessageHeader.definition"/> 
      <short value="Link to the definition for this message"/> 
      <definition value="Permanent link to the MessageDefinition for this message."/> 
      <requirements value="Allows sender to define the expected contents of the message."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="MessageHeader.definition"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="canonical"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Not directly supported."/> 
      </mapping> 
    </element> 
  </snapshot> 
  <differential> 
    <element id="MessageHeader">
      <path value="MessageHeader"/> 
      <short value="A resource that describes a message that is exchanged between systems"/> 
      <definition value="The header for a message exchange that is either requesting or responding to an
       action.  The reference(s) that are the subject of the action as well as other information
       related to the action are typically transmitted in a bundle in which the MessageHeader
       resource instance is the first resource in the bundle."/> 
      <min value="0"/> 
      <max value="*"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="infrastructure.exchange"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH / MSA / ERR"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Message"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.event[x]">
      <path value="MessageHeader.event[x]"/> 
      <short value="Event code or link to EventDefinition"/> 
      <definition value="Code that identifies the event this message represents and connects it with its
       definition. Events defined as part of the FHIR specification are defined by the
       implementation.  Alternatively a canonical uri to the EventDefinition."/> 
      <comment value="The time of the event will be found in the focus resource. The time of the message
       will be found in [Bundle.timestamp](bundle-definitions.html#Bundle.timestamp)."/> 
      <requirements value="Drives the behavior associated with this message."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/EventDefinition"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MessageEvent"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="example"/> 
        <description value="One of the message events defined as part of this version of FHIR."/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH-9.2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./payload[classCode=&quot;CACT&quot; and moodCode=&quot;EVN&quot; and isNormalAct()]/code[isN
        ormalDatatype()]/code"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="MessageDestination"/> 
      </extension> 
      <path value="MessageHeader.destination"/> 
      <short value="Message destination application(s)"/> 
      <definition value="The destination application which the message is intended for."/> 
      <comment value="There SHOULD be at least one destination, but in some circumstances, the source
       system is unaware of any particular destination system."/> 
      <requirements value="Indicates where message is to be sent for routing purposes.  Allows verification
       of &quot;am I the intended recipient&quot;."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./communicationFunction[typeCode=&quot;RCV&quot;]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.endpoint[x]">
      <path value="MessageHeader.destination.endpoint[x]"/> 
      <short value="Actual destination address or Endpoint resource"/> 
      <definition value="Indicates where the message should be routed."/> 
      <comment value="The url may be a non-resolvable URI for systems that do not use standard network-based
       addresses."/> 
      <requirements value="Identifies where to route the message."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.destination.name">
      <path value="MessageHeader.destination.name"/> 
      <short value="Name of system"/> 
      <definition value="Human-readable name for the target system."/> 
      <requirements value="May be used for routing of response and/or to support audit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH-5"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and (classCode=(&quot;DEV&quot;,
         &quot;PSN&quot;, &quot;ORG&quot;]/name[type='ST' and isNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.target">
      <path value="MessageHeader.destination.target"/> 
      <short value="Particular delivery destination within the destination"/> 
      <definition value="Identifies the target end system in situations where the initial message transmission
       is to an intermediary system."/> 
      <requirements value="Supports multi-hop routing."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and (classCode=(&quot;DEV&quot;,
         &quot;PSN&quot;, &quot;ORG&quot;]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.destination.receiver">
      <path value="MessageHeader.destination.receiver"/> 
      <short value="Intended &quot;real-world&quot; recipient for the data"/> 
      <definition value="Allows data conveyed by a message to be addressed to a particular person or department
       when routing to a specific application isn't sufficient."/> 
      <requirements value="Allows routing beyond just the application level."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Not directly supported.  Could be shared using attentionLine.value with an appropriate
         keyWordText"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.sender">
      <path value="MessageHeader.sender"/> 
      <short value="Real world sender of the message"/> 
      <definition value="Identifies the sending system to allow the use of a trust relationship."/> 
      <comment value="Use case is for where a (trusted) sending system is responsible for multiple organizations,
       and therefore cannot differentiate based on source endpoint / authentication alone.
       Proposing to remove and rely on Task to convey this information."/> 
      <requirements value="Allows routing beyond just the application level."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Not directly supported.  Could be shared using attentionLine.value with an appropriate
         keyWordText"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.author">
      <path value="MessageHeader.author"/> 
      <short value="The source of the decision"/> 
      <definition value="The logical author of the message - the personor device that decided the described
       event should happen. When there is more than one candidate, pick the most proximal
       to the MessageHeader. Can provide other authors in extensions."/> 
      <comment value="Usually only for the request but can be used in a response.Proposing to remove
       and rely on Task to convey this information. "/> 
      <requirements value="Need to know for audit/traceback requirements and possibly for authorization."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.author"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="ORC-19 / PRT-5:PRT-4='AUT' / ROL where ROL-3 ='IP' or ORC-12"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/participation[isHighest(priorityCode) and typeCode=&quot;AUT&quot;
         and isNormalParticipation]/role[classCode=&quot;ASSIGNED&quot; and isNormalRole()]/player[isN
        ormalEntity() and classCode=(&quot;DEV&quot;, &quot;PSN&quot;) and determinerCode=&quot;INST&q
        uot;])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="MessageSource"/> 
      </extension> 
      <path value="MessageHeader.source"/> 
      <short value="Message source application"/> 
      <definition value="The source application from which this message originated."/> 
      <requirements value="Allows replies, supports audit."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./communicationFunction[typeCode=&quot;SND&quot;])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.endpoint[x]">
      <path value="MessageHeader.source.endpoint[x]"/> 
      <short value="Actual source address or Endpoint resource"/> 
      <definition value="Identifies the routing target to send acknowledgements to."/> 
      <comment value="The url may be a non-resolvable URI for systems that do not use standard network-based
       addresses."/> 
      <requirements value="Identifies where to send responses, may influence security permissions."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="MessageHeader.source.name">
      <path value="MessageHeader.source.name"/> 
      <short value="Name of system"/> 
      <definition value="Human-readable name for the source system."/> 
      <requirements value="May be used to support audit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSH-3"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and classCode=&quot;DEV&quot;]/name[type='ST'
         and isNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.software">
      <path value="MessageHeader.source.software"/> 
      <short value="Name of software running the system"/> 
      <definition value="May include configuration or other information useful in debugging."/> 
      <requirements value="Supports audit and possibly interface engine behavior."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SFT-3 ( +SFT-1)"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and classCode=&quot;DEV&quot;]/softwareName[i
        sNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.version">
      <path value="MessageHeader.source.version"/> 
      <short value="Version of software running"/> 
      <definition value="Can convey versions of multiple systems in situations where a message passes through
       multiple hands."/> 
      <requirements value="Supports audit and possibly interface engine behavior."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SFT-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="(Not supported)"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.source.contact">
      <path value="MessageHeader.source.contact"/> 
      <short value="Human contact for problems"/> 
      <definition value="An e-mail, phone, website or other contact point to use to resolve issues with
       message communications."/> 
      <requirements value="Allows escalation of technical issues."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="(MSH-22?)"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./entity[determinerCode=&quot;INST&quot; and classCode=&quot;DEV&quot;]/scopesRole[nor
        malRole() and classCode=&quot;CON&quot; and layer[classCode=&quot;PSN&quot;]/telecom[isNormalD
        atatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.responsible">
      <path value="MessageHeader.responsible"/> 
      <short value="Final responsibility for event"/> 
      <definition value="The person or organization that accepts overall responsibility for the contents
       of the message. The implication is that the message event happened under the policies
       of the responsible party."/> 
      <comment value="Usually only for the request but can be used in a response.Proposing to remove
       and rely on Task to convey this information."/> 
      <requirements value="Need to know for audit/traceback requirements and possibly for authorization."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="ORC-12 /  PRT-5:PRT-4='OP' /  PRT-8:PRT-4='OP' / ROL where ROL-3 is 'RO' or ORC-11"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/participation[isHighest(priorityCode) and typeCode=&quot;RESP&quot;
         and isNormalParticipation]/role[classCode=&quot;ASSIGNED&quot; and isNormalRole()]/player[isN
        ormalEntity() and classCode=&quot;PSN&quot; and determinerCode=&quot;INST&quot;]
         or ./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and isNormalAct()]/p
        articipation[isHighest(priorityCode) and typeCode=&quot;RESP&quot; and isNormalParticipation]/
        role[classCode=&quot;ASSIGNED&quot; and isNormalRole()]/scoper[isNormalEntity()
         and classCode=&quot;ORG&quot; and determinerCode=&quot;INST&quot;])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.reason">
      <path value="MessageHeader.reason"/> 
      <short value="Cause of event"/> 
      <definition value="Coded indication of the cause for the event - indicates  a reason for the occurrence
       of the event that is a focus of this message."/> 
      <requirements value="Need to be able to track why resources are being changed and report in the audit
       log/history of the resource.  May affect authorization."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="EventReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Reason for event occurrence."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/message-reason-encounter"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.reason"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="EVN-4 / ORC-16 / OBR-31 / BPO-13 / RXO-20 / RXE-27 / RXD-21 / RXG-22 / RXA-19"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/reasonCode[isNormalDatatype()])"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response">
      <path value="MessageHeader.response"/> 
      <short value="If this is a reply to prior message"/> 
      <definition value="Information about the message that this message is a response to.  Only present
       if this message is a response."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSA"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./conveyedAcknowledgement"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.identifier">
      <path value="MessageHeader.response.identifier"/> 
      <short value="Bundle.identifier of original message"/> 
      <definition value="The Bundle.identifier of the message to which this message is a response."/> 
      <requirements value="Allows receiver to know what message is being responded to."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSA-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./acknowledges.id[isNormalDatatype()]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.code">
      <path value="MessageHeader.response.code"/> 
      <short value="ok | transient-error | fatal-error"/> 
      <definition value="Code that identifies the type of response to the message - whether it was successful
       or not, and whether it should be resent or not."/> 
      <comment value="This is a generic response to the request message. Specific data for the response
       will be found in MessageHeader.focus."/> 
      <requirements value="Allows the sender of the acknowledge message to know if the request was successful
       or if action is needed."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ResponseType"/> 
        </extension> 
        <strength value="required"/> 
        <description value="The kind of response to a message."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/response-code|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="MSA-1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./typeCode[isNormalDatatype()]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.response.details">
      <path value="MessageHeader.response.details"/> 
      <short value="Specific list of hints/warnings/errors"/> 
      <definition value="Full details of any issues found in the message."/> 
      <comment value="This SHALL be contained in the bundle. If any of the issues are errors, the response
       code SHALL be an error."/> 
      <requirements value="Allows the sender of the message to determine what the specific issues are."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="ERR"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="AcknowledgementDetail or Observation[classCode=&quot;ALRT&quot; and moodCode=&quot;EVN&quot;]"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.focus">
      <path value="MessageHeader.focus"/> 
      <short value="The actual content of the message"/> 
      <definition value="The actual data of the message - a reference to the root/focus class of the event.
       This is allowed to be a Parameters resource."/> 
      <comment value="The data is defined where the transaction type is defined. The transaction data
       is always included in the bundle that is the full message.  Only the root resource
       is specified.  The resources it references should be contained in the bundle but
       are not also listed here.  Multiple repetitions are allowed to cater for merges
       and other situations with multiple focal targets."/> 
      <requirements value="Every message event is about actual data, a single resource, that is identified
       in the definition of the event, and perhaps some or all linked resources."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="unique(./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and
         isNormalAct()]/participation[typeCode=&quot;SUBJ&quot; and isNormalParticipation]/role
         or ./controlAct[classCode=&quot;CACT&quot; and classCode=&quot;EVN&quot; and isNormalAct()]/o
        utboundRelationship[typeCode=&quot;SBJ&quot; and isNormalActRelatoinship]/target)"/> 
      </mapping> 
    </element> 
    <element id="MessageHeader.definition">
      <path value="MessageHeader.definition"/> 
      <short value="Link to the definition for this message"/> 
      <definition value="Permanent link to the MessageDefinition for this message."/> 
      <requirements value="Allows sender to define the expected contents of the message."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="canonical"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Not directly supported."/> 
      </mapping> 
    </element> 
  </differential> 
</StructureDefinition> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.