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

Example StructureDefinition/Task (XML)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

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

Jump past Narrative

StructureDefinition for task

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

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Task"/> 
  <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="Task : A task to be performed.">Task</span> 
            <a name="Task"> </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 task to be performed
            <br/>  
            <span style="font-style: italic" title="tsk-1">+ Rule: Task.restriction is only allowed if the Task is seeking fulfillment and
               a focus is specified.</span> 
            <br/>  
            <span style="font-style: italic" title="inv-1">+ Rule: Last modified date must be greater than or equal to authored-on date.</span> 
            <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="Data Type"/>  
            <span title="Task.identifier : The business identifier for this task.">identifier</span> 
            <a name="Task.identifier"> </a> 
          </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">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="datatypes.html#Identifier">Identifier</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Task Instance Identifier
            <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/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="Task.instantiatesCanonical : The URL pointing to a *FHIR*-defined protocol, guideline,
             orderset or other definition that is adhered to in whole or in part by this Task.">instantiatesCanonical</span> 
            <a name="Task.instantiatesCanonical"> </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="activitydefinition.html">ActivityDefinition</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Formal definition of task
            <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="Primitive Data Type"/>  
            <span title="Task.instantiatesUri : The URL pointing to an *externally* maintained  protocol,
             guideline, orderset or other definition that is adhered to in whole or in part
             by this Task.">instantiatesUri</span> 
            <a name="Task.instantiatesUri"> </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#uri">uri</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Formal definition of task
            <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="Task.basedOn : BasedOn refers to a higher-level authorization that triggered the
             creation of the task.  It references a &quot;request&quot; resource such as a ServiceRequest,
             MedicationRequest, CarePlan, etc. which is distinct from the &quot;request&quot;
             resource the task is seeking to fulfill.  This latter resource is referenced by
             focus.  For example, based on a CarePlan (= basedOn), a task is created to fulfill
             a ServiceRequest ( = focus ) to collect a specimen from a patient.">basedOn</span> 
            <a name="Task.basedOn"> </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="references.html#Reference">Reference</a> (
            <a href="resourcelist.html">Any</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Request fulfilled by this task
            <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/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="Data Type"/>  
            <span title="Task.groupIdentifier : A shared identifier common to multiple independent Task
             and Request instances that were activated/authorized more or less simultaneously
             by a single author.  The presence of the same identifier on each request ties those
             requests together and may have business ramifications in terms of reporting of
             results, billing, etc.  E.g. a requisition number shared by a set of lab tests
             ordered together, or a prescription number shared by all meds ordered at one time.">groupIdentifier</span> 
            <a name="Task.groupIdentifier"> </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#Identifier">Identifier</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Requisition or grouper id
            <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="Task.partOf : Task that this particular task is part of.">partOf</span> 
            <a name="Task.partOf"> </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="references.html#Reference">Reference</a> (
            <a href="task.html">Task</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Composite task
            <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/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="Primitive Data Type"/>  
            <span title="Task.status : The current status of the task.">status</span> 
            <a name="Task.status"> </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="conformance-rules.html#isModifier" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is a modifier element">?!</a> 
            <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">draft | requested | received | accepted | +
            <br/>  Binding: 
            <a href="valueset-task-status.html">Task Status</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: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="Task.statusReason : An explanation as to why this task is held, failed, was refused,
             etc.">statusReason</span> 
            <a name="Task.statusReason"> </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#CodeableReference">CodeableReference</a> ()
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Reason for current status
            <br/>  Binding: 
            <a href="valueset-task-status-reason.html">Task Status Reason</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="Data Type"/>  
            <span title="Task.businessStatus : Contains business-specific nuances of the business state.">businessStatus</span> 
            <a name="Task.businessStatus"> </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#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">E.g. &quot;Specimen collected&quot;, &quot;IV prepped&quot;
            <br/>  Binding: TaskBusinessStatus (
            <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/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="Primitive Data Type"/>  
            <span title="Task.intent : Indicates the &quot;level&quot; of actionability associated with
             the Task, i.e. i+R[9]Cs this a proposed task, a planned task, an actionable task,
             etc.">intent</span> 
            <a name="Task.intent"> </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#code">code</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">unknown | proposal | plan | order | original-order | reflex-order | filler-order
             | instance-order | option
            <br/>  Binding: 
            <a href="valueset-task-intent.html">Task Intent</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:
         #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="Primitive Data Type"/>  
            <span title="Task.priority : Indicates how quickly the Task should be addressed with respect
             to other requests.">priority</span> 
            <a name="Task.priority"> </a> 
          </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">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#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">routine | urgent | asap | stat
            <br/>  Binding: 
            <a href="valueset-request-priority.html" title="The task's priority.">RequestPriority</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: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="Task.doNotPerform : If true indicates that the Task is asking for the specified
             action to *not* occur.">doNotPerform</span> 
            <a name="Task.doNotPerform"> </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="conformance-rules.html#isModifier" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is a modifier element">?!</a> 
            <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#boolean">boolean</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">True if Task is prohibiting action
            <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="Data Type"/>  
            <span title="Task.code : A name or code (or both) briefly describing what the task involves.">code</span> 
            <a name="Task.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> 
            <a href="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</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#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Task Type
            <br/>  Binding: 
            <a href="valueset-task-code.html">Task 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:
         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="Primitive Data Type"/>  
            <span title="Task.description : A free-text description of what is to be performed.">description</span> 
            <a name="Task.description"> </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">Human-readable explanation of task
            <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="Task.focus : The request being fulfilled or the resource being manipulated (changed,
             suspended, etc.) by this task.">focus</span> 
            <a name="Task.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> 
            <a href="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</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="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">What task is acting on
            <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="Task.for : The entity who benefits from the performance of the service specified
             in the task (e.g., the patient).">for</span> 
            <a name="Task.for"> </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="resourcelist.html">Any</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Beneficiary of the Task
            <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="Task.encounter : The healthcare event  (e.g. a patient and healthcare provider
             interaction) during which this task was created.">encounter</span> 
            <a name="Task.encounter"> </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="encounter.html">Encounter</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Healthcare event during which this task originated
            <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="Task.requestedPeriod : Indicates the start and/or end of the period of time when
             completion of the task is desired to take place.">requestedPeriod</span> 
            <a name="Task.requestedPeriod"> </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#Period">Period</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">When the task should be performed
            <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="Data Type"/>  
            <span title="Task.executionPeriod : Identifies the time action was first taken against the task
             (start) and/or the time final action was taken against the task prior to marking
             it as completed (end).">executionPeriod</span> 
            <a name="Task.executionPeriod"> </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#Period">Period</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Start and end time of execution
            <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="Primitive Data Type"/>  
            <span title="Task.authoredOn : The date and time this task was created.">authoredOn</span> 
            <a name="Task.authoredOn"> </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="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</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#dateTime">dateTime</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Task Creation Date
            <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="Primitive Data Type"/>  
            <span title="Task.lastModified : The date and time of last modification to this task.">lastModified</span> 
            <a name="Task.lastModified"> </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> 
            <a href="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</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#dateTime">dateTime</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Task Last Modified Date
            <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="Task.requester : The creator of the task.">requester</span> 
            <a name="Task.requester"> </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="device.html">Device</a>  | 
            <a href="organization.html">Organization</a>  | 
            <a href="patient.html">Patient</a>  | 
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="relatedperson.html">RelatedPerson</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Who is asking for task to be done
            <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="Task.requestedPerformer : The kind of participant or specific participant that
             should perform the task.">requestedPerformer</span> 
            <a name="Task.requestedPerformer"> </a> 
          </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">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#CodeableReference">CodeableReference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="organization.html">Organization</a>  | 
            <a href="careteam.html">CareTeam</a>  | 
            <a href="healthcareservice.html">HealthcareService</a>  | 
            <a href="patient.html">Patient</a>  | 
            <a href="device.html">Device</a>  | 
            <a href="relatedperson.html">RelatedPerson</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Who should perform Task
            <br/>  Binding: 
            <a href="valueset-performer-role.html">Procedure Performer Role Codes</a>  (
            <a href="terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability
             purposes but are not required to do so to be considered conformant.">Preferred</a> )
            <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/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="Task.owner : Party responsible for managing task execution.">owner</span> 
            <a name="Task.owner"> </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>  | 
            <a href="careteam.html">CareTeam</a>  | 
            <a href="patient.html">Patient</a>  | 
            <a href="relatedperson.html">RelatedPerson</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Responsible individual
            <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="Task.performer : The entity who performed the requested task.">performer</span> 
            <a name="Task.performer"> </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="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">Who or what performed the task
            <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/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="Task.performer.function : A code or description of the performer of the task.">function</span> 
            <a name="Task.performer.function"> </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">Type of performance
            <br/>  Binding: TaskPerformerFunctionCode (
            <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: 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="Task.performer.actor : The actor or entity who performed the task.">actor</span> 
            <a name="Task.performer.actor"> </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="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="organization.html">Organization</a>  | 
            <a href="careteam.html">CareTeam</a>  | 
            <a href="patient.html">Patient</a>  | 
            <a href="relatedperson.html">RelatedPerson</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Who performed the task
            <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="Task.location : Principal physical location where this task is performed.">location</span> 
            <a name="Task.location"> </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="location.html">Location</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Where task occurs
            <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="Task.reason : A description, code, or reference indicating why this task needs
             to be performed.">reason</span> 
            <a name="Task.reason"> </a> 
          </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">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#CodeableReference">CodeableReference</a> ()
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Why task is needed
            <br/>  Binding: TaskReason (
            <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/>  
            <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="Task.insurance : Insurance plans, coverage extensions, pre-authorizations and/or
             pre-determinations that may be relevant to the Task.">insurance</span> 
            <a name="Task.insurance"> </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">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="references.html#Reference">Reference</a> (
            <a href="coverage.html">Coverage</a>  | 
            <a href="claimresponse.html">ClaimResponse</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Associated insurance coverage
            <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/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="Data Type"/>  
            <span title="Task.note : Free-text information captured about the task as it progresses.">note</span> 
            <a name="Task.note"> </a> 
          </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">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="datatypes.html#Annotation">Annotation</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Comments made about the task
            <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/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="Task.relevantHistory : Links to Provenance records for past versions of this Task
             that identify key state transitions or updates that are likely to be relevant to
             a user looking at the current version of the task.">relevantHistory</span> 
            <a name="Task.relevantHistory"> </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">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="references.html#Reference">Reference</a> (
            <a href="provenance.html">Provenance</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Key events in history of the Task
            <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/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="Task.restriction : If the Task.focus is a request resource and the task is seeking
             fulfillment (i.e. is asking for the request to be actioned), this element identifies
             any limitations on what parts of the referenced request should be actioned.">restriction</span> 
            <a name="Task.restriction"> </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="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</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">Constraints on fulfillment tasks
            <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="Task.restriction.repetitions : Indicates the number of times the requested action
             should occur.">repetitions</span> 
            <a name="Task.restriction.repetitions"> </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">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#positiveInt">positiveInt</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">How many times to repeat
            <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="Data Type"/>  
            <span title="Task.restriction.period : The time-period for which fulfillment is sought. This
             must fall within the overall time period authorized in the referenced request.
              E.g. ServiceRequest.occurance[x].">period</span> 
            <a name="Task.restriction.period"> </a> 
          </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">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#Period">Period</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">When fulfillment is sought
            <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="Task.restriction.recipient : For requests that are targeted to more than one potential
             recipient/target, to identify who is fulfillment is sought for.">recipient</span> 
            <a name="Task.restriction.recipient"> </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">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="references.html#Reference">Reference</a> (
            <a href="patient.html">Patient</a>  | 
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="relatedperson.html">RelatedPerson</a>  | 
            <a href="group.html">Group</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">For whom is fulfillment sought?
            <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/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="Task.input : Additional information that may be needed in the execution of the
             task.">input</span> 
            <a name="Task.input"> </a> 
          </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">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="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">Information used to perform task
            <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/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="Task.input.type : A code or description indicating how the input is intended to
             be used as part of the task execution.">type</span> 
            <a name="Task.input.type"> </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">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#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">Label for the input
            <br/>  Binding: TaskInputParameterType (
            <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: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="Task.input.value[x] : The value of the input parameter as a basic type.">value[x]</span> 
            <a name="Task.input.value_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"/> 
          <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#open">*</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Content to use in performing the task
            <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="Element"/>  
            <span title="Task.output : Outputs produced by the Task.">output</span> 
            <a name="Task.output"> </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">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">Information produced as part of task
            <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/LjIAAAALElEQVR4Xu3IsQ0AIAw
          Esez6+89AqKGGJj7JzVWS+mm3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <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="Data Type"/>  
            <span title="Task.output.type : The name of the Output parameter.">type</span> 
            <a name="Task.output.type"> </a> 
          </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">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#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Label for output
            <br/>  Binding: TaskOutputParameterType (
            <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/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: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="Task.output.value[x] : The value of the Output parameter as a basic type.">value[x]</span> 
            <a name="Task.output.value_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"/> 
          <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#open">*</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Result of output
            <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="Base.Workflow"/> 
  </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="3"/> 
  </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="oo"/> 
  </extension> 
  <url value="http://hl7.org/fhir/StructureDefinition/Task"/> 
  <version value="5.0.0"/> 
  <name value="Task"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2023-03-26T15:21:02+11:00"/> 
  <publisher value="Health Level Seven International (Orders and Observations)"/> 
  <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/orders/index.cfm"/> 
    </telecom> 
  </contact> 
  <description value="A task to be performed."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <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="rim"/> 
    <uri value="http://hl7.org/v3"/> 
    <name value="RIM Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="v2"/> 
    <uri value="http://hl7.org/v2"/> 
    <name value="HL7 V2 Mapping"/> 
  </mapping> 
  <kind value="resource"/> 
  <abstract value="false"/> 
  <type value="Task"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
  <derivation value="specialization"/> 
  <snapshot> 
    <element id="Task">
      <path value="Task"/> 
      <short value="A task to be performed"/> 
      <definition value="A task to be performed."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task"/> 
        <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> 
      <constraint> 
        <key value="inv-1"/> 
        <severity value="error"/> 
        <human value="Last modified date must be greater than or equal to authored-on date."/> 
        <expression value="lastModified.exists().not() or authoredOn.exists().not() or lastModified &gt;=
         authoredOn"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Task"/> 
      </constraint> 
      <constraint> 
        <key value="tsk-1"/> 
        <severity value="error"/> 
        <human value="Task.restriction is only allowed if the Task is seeking fulfillment and a focus
         is specified."/> 
        <expression value="restriction.exists() implies code.coding.where(code='fulfill' and system='http://hl7.org/fhir
        /CodeSystem/task-code').exists() and focus.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Task"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Entity, Role, or Act,ControlAct[moodCode=INT]"/> 
      </mapping> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request, Event"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="workflow.order"/> 
      </mapping> 
    </element> 
    <element id="Task.id">
      <path value="Task.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="Task.meta">
      <path value="Task.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="Task.implicitRules">
      <path value="Task.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="Task.language">
      <path value="Task.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="Task.text">
      <path value="Task.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="Task.contained">
      <path value="Task.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="Task.extension">
      <path value="Task.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="Task.modifierExtension">
      <path value="Task.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="Task.identifier">
      <path value="Task.identifier"/> 
      <short value="Task Instance Identifier"/> 
      <definition value="The business identifier for this task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.identifier"/> 
        <min value="0"/> 
        <max value="*"/> 
      </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="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.identifier, Event.identifier"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.identifier"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
    </element> 
    <element id="Task.instantiatesCanonical">
      <path value="Task.instantiatesCanonical"/> 
      <short value="Formal definition of task"/> 
      <definition value="The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition
       that is adhered to in whole or in part by this Task."/> 
      <requirements value="Enables a formal definition of how the task is to be performed, enabling automation."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.instantiatesCanonical"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="canonical"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/> 
      </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="Request.instantiatesCanonical, Event.instantiatesCanonical"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=DEFN].target"/> 
      </mapping> 
    </element> 
    <element id="Task.instantiatesUri">
      <path value="Task.instantiatesUri"/> 
      <short value="Formal definition of task"/> 
      <definition value="The URL pointing to an *externally* maintained  protocol, guideline, orderset or
       other definition that is adhered to in whole or in part by this Task."/> 
      <requirements value="Enables a formal definition of how the task is to be performed (e.g. using BPMN,
       BPEL, XPDL or other formal notation to be associated with a task), enabling automation."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.instantiatesUri"/> 
        <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="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.instantiatesUri"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=DEFN].target"/> 
      </mapping> 
    </element> 
    <element id="Task.basedOn">
      <path value="Task.basedOn"/> 
      <short value="Request fulfilled by this task"/> 
      <definition value="BasedOn refers to a higher-level authorization that triggered the creation of the
       task.  It references a &quot;request&quot; resource such as a ServiceRequest, MedicationReque
      st, CarePlan, etc. which is distinct from the &quot;request&quot; resource the task
       is seeking to fulfill.  This latter resource is referenced by focus.  For example,
       based on a CarePlan (= basedOn), a task is created to fulfill a ServiceRequest
       ( = focus ) to collect a specimen from a patient."/> 
      <comment value="Task.basedOn is never the same as Task.focus.  Task.basedOn will typically not
       be present for 'please fulfill' Tasks as a distinct authorization is rarely needed
       to request fulfillment.  If the Task is seeking fulfillment of an order, the order
       to be fulfilled is always communicated using `focus`, never basedOn.  However,
       authorization may be needed to perform other types of Task actions.  As an example
       of when both would be present, a Task seeking suspension of a prescription might
       have a Task.basedOn pointing to the ServiceRequest ordering surgery (which is the
       driver for suspending the MedicationRequest - which would be the Task.focus)."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.basedOn"/> 
        <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="workflow"/> 
        <map value="Request.basedOn, Event.basedOn"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=FLFS].target[moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Task.groupIdentifier">
      <path value="Task.groupIdentifier"/> 
      <short value="Requisition or grouper id"/> 
      <definition value="A shared identifier common to multiple independent Task and Request instances that
       were activated/authorized more or less simultaneously by a single author.  The
       presence of the same identifier on each request ties those requests together and
       may have business ramifications in terms of reporting of results, billing, etc.
        E.g. a requisition number shared by a set of lab tests ordered together, or a
       prescription number shared by all meds ordered at one time."/> 
      <requirements value="Billing and/or reporting can be linked to whether multiple requests were created
       as a single unit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.groupIdentifier"/> 
        <min value="0"/> 
        <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="workflow"/> 
        <map value="Request.groupIdentifier"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=COMP].source[moodCode=INT].id"/> 
      </mapping> 
    </element> 
    <element id="Task.partOf">
      <path value="Task.partOf"/> 
      <short value="Composite task"/> 
      <definition value="Task that this particular task is part of."/> 
      <comment value="This should usually be 0..1."/> 
      <requirements value="Allows tasks to be broken down into sub-steps (and this division can occur independent
       of the original task)."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.partOf"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy">
          <valueBoolean value="true"/> 
        </extension> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Task"/> 
      </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.partOf"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=COMP].source[moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Task.status">
      <path value="Task.status"/> 
      <short value="draft | requested | received | accepted | +"/> 
      <definition value="The current status of the task."/> 
      <requirements value="These states enable coordination of task status with off-the-shelf workflow solutions
       that support automation of tasks."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.status"/> 
        <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="true"/> 
      <isModifierReason value="This element is labeled as a modifier because it is a status element that contains
       status entered-in-error which means that the resource should not be treated as
       valid"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskStatus"/> 
        </extension> 
        <strength value="required"/> 
        <description value="The current status of the task."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-status|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.status, Event.status"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.status"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".statusCode"/> 
      </mapping> 
    </element> 
    <element id="Task.statusReason">
      <path value="Task.statusReason"/> 
      <short value="Reason for current status"/> 
      <definition value="An explanation as to why this task is held, failed, was refused, etc."/> 
      <comment value="This applies to the current status.  Look at the history of the task to see reasons
       for past statuses."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.statusReason"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableReference"/> 
      </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="TaskStatusReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify the reason for current status.  These will typically be specific
         to a particular workflow."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-status-reason"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code=&quot;status
         change&quot;].reasonCode"/> 
      </mapping> 
    </element> 
    <element id="Task.businessStatus">
      <path value="Task.businessStatus"/> 
      <short value="E.g. &quot;Specimen collected&quot;, &quot;IV prepped&quot;"/> 
      <definition value="Contains business-specific nuances of the business state."/> 
      <requirements value="There's often a need to track substates of a task - this is often variable by specific
       workflow implementation."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.businessStatus"/> 
        <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="TaskBusinessStatus"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The domain-specific business-contextual sub-state of the task.  For example: &quot;Blood
         drawn&quot;, &quot;IV inserted&quot;, &quot;Awaiting physician signature&quot;,
         etc."/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;business
         status&quot;]"/> 
      </mapping> 
    </element> 
    <element id="Task.intent">
      <path value="Task.intent"/> 
      <short value="unknown | proposal | plan | order | original-order | reflex-order | filler-order
       | instance-order | option"/> 
      <definition value="Indicates the &quot;level&quot; of actionability associated with the Task, i.e.
       i+R[9]Cs this a proposed task, a planned task, an actionable task, etc."/> 
      <comment value="This element is immutable.  Proposed tasks, planned tasks, etc. must be distinct
       instances.

In most cases, Tasks will have an intent of &quot;order&quot;."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.intent"/> 
        <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="TaskIntent"/> 
        </extension> 
        <strength value="required"/> 
        <description value="Distinguishes whether the task is a proposal, plan or full order."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-intent|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.intent"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.class"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".moodCode"/> 
      </mapping> 
    </element> 
    <element id="Task.priority">
      <path value="Task.priority"/> 
      <short value="routine | urgent | asap | stat"/> 
      <definition value="Indicates how quickly the Task should be addressed with respect to other requests."/> 
      <requirements value="Used to identify the service level expected while performing a task."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.priority"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <meaningWhenMissing value="If missing, this task should be performed with normal priority"/> 
      <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/tools/StructureDefinition/binding-definition">
          <valueString value="The task's priority."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskPriority"/> 
        </extension> 
        <strength value="required"/> 
        <description value="The priority of a task (may affect service level applied to the task)."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.priority"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.grade"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".priorityCode"/> 
      </mapping> 
    </element> 
    <element id="Task.doNotPerform">
      <path value="Task.doNotPerform"/> 
      <short value="True if Task is prohibiting action"/> 
      <definition value="If true indicates that the Task is asking for the specified action to *not* occur."/> 
      <comment value="The attributes provided with the Task qualify what is not to be done. For example,
       if a requestedPeriod is provided, the 'do not' request only applies within the
       specified time. If a requestedPerformer is specified then the 'do not' request
       only applies to performers of that type. Qualifiers include: code, subject, occurrence,
       requestedPerformer and performer.

In some cases, the Request.code may pre-coordinate prohibition into the requested
       action. E.g. 'NPO' (nothing by mouth), 'DNR' (do not recussitate). If this happens,
       doNotPerform SHALL NOT be set to true. I.e. The resource shall not have double
       negation. (E.g. 'Do not DNR').

doNotPerform should ONLY be used with Tasks that are tightly bounded in time or
       process phase.  E.g. 'Do not fulfill the midnight dose of medication X tonight
       due to the early morning scheduled procedure, where the nurse could reasonably
       check off 'Med X not given at midnight as instructed'.  Similarly, a decision support
       proposal that a patient should not be given a standard intake questionnaire (because
       the patient is cognitively impaired) would be marked as 'complete' or 'rejected'
       when the clinician preps the CarePlan or order set after reviewing the decision
       support results.  If there is a need to create a standing order to not do something
       that can't be satisfied by a single 'non-action', but rather an ongoing refusal
       to perform the function, MedicationRequest, ServiceRequest or some other form of
       authorization should be used."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.doNotPerform"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="boolean"/> 
      </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="If true, this element negates the Task. For example, instead of a request to perform
       a task, it is a request _not_ to perform a task."/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.code, Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
    </element> 
    <element id="Task.code">
      <path value="Task.code"/> 
      <short value="Task Type"/> 
      <definition value="A name or code (or both) briefly describing what the task involves."/> 
      <comment value="The title (eg &quot;My Tasks&quot;, &quot;Outstanding Tasks for Patient X&quot;)
       should go into the code."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.code"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <condition value="tsk-1"/> 
      <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="TaskCode"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify what the task involves.  These will typically be specific to
         a particular workflow."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-code"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.code, Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
    </element> 
    <element id="Task.description">
      <path value="Task.description"/> 
      <short value="Human-readable explanation of task"/> 
      <definition value="A free-text description of what is to be performed."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.description"/> 
        <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="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Task.focus">
      <path value="Task.focus"/> 
      <short value="What task is acting on"/> 
      <definition value="The request being fulfilled or the resource being manipulated (changed, suspended,
       etc.) by this task."/> 
      <comment value="If multiple resources need to be manipulated, use sub-tasks.  (This ensures that
       status can be tracked independently for each referenced resource.)."/> 
      <requirements value="Used to identify the thing to be done."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.focus"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <condition value="tsk-1"/> 
      <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.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=SUBJ].target"/> 
      </mapping> 
    </element> 
    <element id="Task.for">
      <path value="Task.for"/> 
      <short value="Beneficiary of the Task"/> 
      <definition value="The entity who benefits from the performance of the service specified in the task
       (e.g., the patient)."/> 
      <requirements value="Used to track tasks outstanding for a beneficiary.  Do not use to track the task
       owner or creator (see owner and creator respectively).  This can also affect access
       control."/> 
      <alias value="Patient"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.for"/> 
        <min value="0"/> 
        <max value="1"/> 
      </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="workflow"/> 
        <map value="Request.subject, Event.subject"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=RCT].role"/> 
      </mapping> 
    </element> 
    <element id="Task.encounter">
      <path value="Task.encounter"/> 
      <short value="Healthcare event during which this task originated"/> 
      <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during
       which this task was created."/> 
      <requirements value="For some tasks it may be important to know the link between the encounter the task
       originated within."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.encounter"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/> 
      </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="Request.encounter, Event.encounter"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]"/> 
      </mapping> 
    </element> 
    <element id="Task.requestedPeriod">
      <path value="Task.requestedPeriod"/> 
      <short value="When the task should be performed"/> 
      <definition value="Indicates the start and/or end of the period of time when completion of the task
       is desired to take place."/> 
      <comment value="This is typically used when the Task is *not* seeking fulfillment of a focus Request,
       as in that case the period would be specified on the Request and/or in the Task.restriction.p
      eriod.  Instead, it is used for stand-alone tasks."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.requestedPeriod"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </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="Request.occurrence[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Task.executionPeriod">
      <path value="Task.executionPeriod"/> 
      <short value="Start and end time of execution"/> 
      <definition value="Identifies the time action was first taken against the task (start) and/or the
       time final action was taken against the task prior to marking it as completed (end)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.executionPeriod"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </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.occurrence[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.done[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Task.authoredOn">
      <path value="Task.authoredOn"/> 
      <short value="Task Creation Date"/> 
      <definition value="The date and time this task was created."/> 
      <requirements value="Most often used along with lastUpdated to track duration of task to supporting
       monitoring and management."/> 
      <alias value="Created Date"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.authoredOn"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <condition value="inv-1"/> 
      <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="workflow"/> 
        <map value="Request.authoredOn"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.recorded"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=AUT].time"/> 
      </mapping> 
    </element> 
    <element id="Task.lastModified">
      <path value="Task.lastModified"/> 
      <short value="Task Last Modified Date"/> 
      <definition value="The date and time of last modification to this task."/> 
      <requirements value="Used along with history to track task activity and time in a particular task state.
        This enables monitoring and management."/> 
      <alias value="Update Date"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.lastModified"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <condition value="inv-1"/> 
      <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=".inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Task.requester">
      <path value="Task.requester"/> 
      <short value="Who is asking for task to be done"/> 
      <definition value="The creator of the task."/> 
      <requirements value="Identifies who created this task.  May be used by access control mechanisms (e.g.,
       to ensure that only the creator can cancel a task)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.requester"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </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="Request.requester"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.author"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=AUT].role"/> 
      </mapping> 
    </element> 
    <element id="Task.requestedPerformer">
      <path value="Task.requestedPerformer"/> 
      <short value="Who should perform Task"/> 
      <definition value="The kind of participant or specific participant that should perform the task."/> 
      <requirements value="Use to distinguish tasks on different activity queues."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.requestedPerformer"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableReference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </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="TaskPerformerType"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="The type(s) of task performers allowed."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/performer-role"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.function, Request.performerType"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=PRF].role.code"/> 
      </mapping> 
    </element> 
    <element id="Task.owner">
      <path value="Task.owner"/> 
      <short value="Responsible individual"/> 
      <definition value="Party responsible for managing task execution."/> 
      <comment value="Tasks may be created with an owner not yet identified."/> 
      <requirements value="Identifies who is expected to perform this task."/> 
      <alias value="Performer"/> 
      <alias value="Executer"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.owner"/> 
        <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"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </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, Request.performer"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=PRF].role"/> 
      </mapping> 
    </element> 
    <element id="Task.performer">
      <path value="Task.performer"/> 
      <short value="Who or what performed the task"/> 
      <definition value="The entity who performed the requested task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.performer"/> 
        <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"/> 
    </element> 
    <element id="Task.performer.id">
      <path value="Task.performer.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="Task.performer.extension">
      <path value="Task.performer.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="Task.performer.modifierExtension">
      <path value="Task.performer.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="Task.performer.function">
      <path value="Task.performer.function"/> 
      <short value="Type of performance"/> 
      <definition value="A code or description of the performer of the task."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.performer.function"/> 
        <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="TaskPerformerFunctionCode"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify types of task performers."/> 
      </binding> 
    </element> 
    <element id="Task.performer.actor">
      <path value="Task.performer.actor"/> 
      <short value="Who performed the task"/> 
      <definition value="The actor or entity who performed the task."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.performer.actor"/> 
        <min value="1"/> 
        <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"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </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="Task.location">
      <path value="Task.location"/> 
      <short value="Where task occurs"/> 
      <definition value="Principal physical location where this task is performed."/> 
      <comment value="This should only be specified when the Task to be/being performed happens or is
       expected to happen primarily within the bounds of a single Location.  Other locations
       (e.g. source, destination, etc.) would either be reflected on the 'basedOn' Request
       or be conveyed as distinct Task.input values."/> 
      <requirements value="Ties the event to where the records are likely kept and provides context around
       the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare
       setting)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.location"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </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.where[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=LOC].role"/> 
      </mapping> 
    </element> 
    <element id="Task.reason">
      <path value="Task.reason"/> 
      <short value="Why task is needed"/> 
      <definition value="A description, code, or reference indicating why this task needs to be performed."/> 
      <comment value="This will typically not be present for Tasks with a code of 'please fulfill' as,
       for those, the reason for action is conveyed on the Request pointed to by Task.focus.
        Some types of tasks will not need a 'reason'.  E.g. a request to discharge a patient
       can be inferred to be 'because the patient is ready' and this would not need a
       reason to be stated on the Task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.reason"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableReference"/> 
      </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="TaskReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Indicates why the task is needed.  E.g. Suspended because patient admitted to hospital."/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.reason, Request.reason"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="EVN.7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".reasonCode"/> 
      </mapping> 
    </element> 
    <element id="Task.insurance">
      <path value="Task.insurance"/> 
      <short value="Associated insurance coverage"/> 
      <definition value="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations
       that may be relevant to the Task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.insurance"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Coverage"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ClaimResponse"/> 
      </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"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.insurance"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="IN1/IN2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=COVBY].target"/> 
      </mapping> 
    </element> 
    <element id="Task.note">
      <path value="Task.note"/> 
      <short value="Comments made about the task"/> 
      <definition value="Free-text information captured about the task as it progresses."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.note"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Annotation"/> 
      </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"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.note, Event.note"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code=&quot;annotati
        on&quot;].value(string)"/> 
      </mapping> 
    </element> 
    <element id="Task.relevantHistory">
      <path value="Task.relevantHistory"/> 
      <short value="Key events in history of the Task"/> 
      <definition value="Links to Provenance records for past versions of this Task that identify key state
       transitions or updates that are likely to be relevant to a user looking at the
       current version of the task."/> 
      <comment value="This element does not point to the Provenance associated with the *current* version
       of the resource - as it would be created after this version existed.  The Provenance
       for the current version can be retrieved with a _revinclude."/> 
      <alias value="Status History"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.relevantHistory"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Provenance"/> 
      </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"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.relevantHistory"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction">
      <path value="Task.restriction"/> 
      <short value="Constraints on fulfillment tasks"/> 
      <definition value="If the Task.focus is a request resource and the task is seeking fulfillment (i.e.
       is asking for the request to be actioned), this element identifies any limitations
       on what parts of the referenced request should be actioned."/> 
      <comment value="Task.restriction can only be present if the Task is seeking fulfillment of another
       Request resource, and the restriction identifies what subset of the authorization
       conveyed by the request is supposed to be fulfilled by this Task. A possible example
       could be a standing order (the request) covering a significant time period and/or
       individuals, while the Task seeks fulfillment for only a subset of that time-period
       and a single individual."/> 
      <requirements value="Sometimes when fulfillment is sought, you don't want full fulfillment."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.restriction"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <condition value="tsk-1"/> 
      <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="Instead of pointing to request, would point to component of request, having these
         characteristics"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction.id">
      <path value="Task.restriction.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="Task.restriction.extension">
      <path value="Task.restriction.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="Task.restriction.modifierExtension">
      <path value="Task.restriction.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="Task.restriction.repetitions">
      <path value="Task.restriction.repetitions"/> 
      <short value="How many times to repeat"/> 
      <definition value="Indicates the number of times the requested action should occur."/> 
      <requirements value="E.g. order that requests monthly lab tests, fulfillment is sought for 1."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.restriction.repetitions"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="positiveInt"/> 
      </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"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".repeatNumber"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction.period">
      <path value="Task.restriction.period"/> 
      <short value="When fulfillment is sought"/> 
      <definition value="The time-period for which fulfillment is sought. This must fall within the overall
       time period authorized in the referenced request.  E.g. ServiceRequest.occurance[x]."/> 
      <comment value="This is distinct from Task.executionPeriod. ExecutionPeriod indicates when the
       task needs to be initiated, while Task.restriction.period specifies the subset
       of the overall authorization that this period covers. For example, a MedicationRequest
       with an overall effective period of 1 year might have a Task whose restriction.period
       is 2 months (i.e. satisfy 2 months of medication therapy), while the execution
       period might be 'between now and 5 days from now' - i.e. If you say yes to this,
       then you're agreeing to supply medication for that 2 month period within the next
       5 days.

Note that period.high is the due date representing the time by which the task should
       be completed."/> 
      <requirements value="E.g. order that authorizes 1 year's services.  Fulfillment is sought for next 3
       months."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.restriction.period"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </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"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime(IVL&lt;TS&gt;)"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction.recipient">
      <path value="Task.restriction.recipient"/> 
      <short value="For whom is fulfillment sought?"/> 
      <definition value="For requests that are targeted to more than one potential recipient/target, to
       identify who is fulfillment is sought for."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.restriction.recipient"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/> 
        <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="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=SBJ].role"/> 
      </mapping> 
    </element> 
    <element id="Task.input">
      <path value="Task.input"/> 
      <short value="Information used to perform task"/> 
      <definition value="Additional information that may be needed in the execution of the task."/> 
      <requirements value="Resources and data used to perform the task.  This data is used in the business
       logic of task execution, and is stored separately because it varies between workflows."/> 
      <alias value="Supporting Information"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.input"/> 
        <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="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.input.id">
      <path value="Task.input.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="Task.input.extension">
      <path value="Task.input.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="Task.input.modifierExtension">
      <path value="Task.input.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="Task.input.type">
      <path value="Task.input.type"/> 
      <short value="Label for the input"/> 
      <definition value="A code or description indicating how the input is intended to be used as part of
       the task execution."/> 
      <comment value="If referencing a BPMN workflow or Protocol, the &quot;system&quot; is the URL for
       the workflow definition and the code is the &quot;name&quot; of the required input."/> 
      <requirements value="Inputs are named to enable task automation to bind data and pass it from one task
       to the next."/> 
      <alias value="Name"/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.input.type"/> 
        <min value="1"/> 
        <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="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskInputParameterType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify types of input parameters.  These will typically be specific
         to a particular workflow.  E.g. &quot;Comparison source&quot;, &quot;Applicable
         consent&quot;, &quot;Concomitent Medications&quot;, etc."/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.input.value[x]">
      <path value="Task.input.value[x]"/> 
      <short value="Content to use in performing the task"/> 
      <definition value="The value of the input parameter as a basic type."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.input.value[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
      </type> 
      <type> 
        <code value="code"/> 
      </type> 
      <type> 
        <code value="date"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <type> 
        <code value="id"/> 
      </type> 
      <type> 
        <code value="instant"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="integer64"/> 
      </type> 
      <type> 
        <code value="markdown"/> 
      </type> 
      <type> 
        <code value="oid"/> 
      </type> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="unsignedInt"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="uuid"/> 
      </type> 
      <type> 
        <code value="Address"/> 
      </type> 
      <type> 
        <code value="Age"/> 
      </type> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <type> 
        <code value="Count"/> 
      </type> 
      <type> 
        <code value="Distance"/> 
      </type> 
      <type> 
        <code value="Duration"/> 
      </type> 
      <type> 
        <code value="HumanName"/> 
      </type> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <type> 
        <code value="Money"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="RatioRange"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
      </type> 
      <type> 
        <code value="SampledData"/> 
      </type> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <type> 
        <code value="ContactDetail"/> 
      </type> 
      <type> 
        <code value="DataRequirement"/> 
      </type> 
      <type> 
        <code value="Expression"/> 
      </type> 
      <type> 
        <code value="ParameterDefinition"/> 
      </type> 
      <type> 
        <code value="RelatedArtifact"/> 
      </type> 
      <type> 
        <code value="TriggerDefinition"/> 
      </type> 
      <type> 
        <code value="UsageContext"/> 
      </type> 
      <type> 
        <code value="Availability"/> 
      </type> 
      <type> 
        <code value="ExtendedContactDetail"/> 
      </type> 
      <type> 
        <code value="Dosage"/> 
      </type> 
      <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="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.output">
      <path value="Task.output"/> 
      <short value="Information produced as part of task"/> 
      <definition value="Outputs produced by the Task."/> 
      <requirements value="Resources and data produced during the execution the task.  This data is generated
       by the business logic of task execution, and is stored separately because it varies
       between workflows."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Task.output"/> 
        <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="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.output.id">
      <path value="Task.output.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="Task.output.extension">
      <path value="Task.output.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="Task.output.modifierExtension">
      <path value="Task.output.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="Task.output.type">
      <path value="Task.output.type"/> 
      <short value="Label for output"/> 
      <definition value="The name of the Output parameter."/> 
      <requirements value="Outputs are named to enable task automation to bind data and pass it from one task
       to the next."/> 
      <alias value="Name"/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.output.type"/> 
        <min value="1"/> 
        <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="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskOutputParameterType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify types of input parameters.  These will typically be specific
         to a particular workflow.  E.g. &quot;Identified issues&quot;, &quot;Preliminary
         results&quot;, &quot;Filler order&quot;, &quot;Final results&quot;, etc."/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.output.value[x]">
      <path value="Task.output.value[x]"/> 
      <short value="Result of output"/> 
      <definition value="The value of the Output parameter as a basic type."/> 
      <requirements value="Task outputs can take any form."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Task.output.value[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
      </type> 
      <type> 
        <code value="code"/> 
      </type> 
      <type> 
        <code value="date"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <type> 
        <code value="id"/> 
      </type> 
      <type> 
        <code value="instant"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="integer64"/> 
      </type> 
      <type> 
        <code value="markdown"/> 
      </type> 
      <type> 
        <code value="oid"/> 
      </type> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="unsignedInt"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="uuid"/> 
      </type> 
      <type> 
        <code value="Address"/> 
      </type> 
      <type> 
        <code value="Age"/> 
      </type> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <type> 
        <code value="Count"/> 
      </type> 
      <type> 
        <code value="Distance"/> 
      </type> 
      <type> 
        <code value="Duration"/> 
      </type> 
      <type> 
        <code value="HumanName"/> 
      </type> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <type> 
        <code value="Money"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="RatioRange"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
      </type> 
      <type> 
        <code value="SampledData"/> 
      </type> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <type> 
        <code value="ContactDetail"/> 
      </type> 
      <type> 
        <code value="DataRequirement"/> 
      </type> 
      <type> 
        <code value="Expression"/> 
      </type> 
      <type> 
        <code value="ParameterDefinition"/> 
      </type> 
      <type> 
        <code value="RelatedArtifact"/> 
      </type> 
      <type> 
        <code value="TriggerDefinition"/> 
      </type> 
      <type> 
        <code value="UsageContext"/> 
      </type> 
      <type> 
        <code value="Availability"/> 
      </type> 
      <type> 
        <code value="ExtendedContactDetail"/> 
      </type> 
      <type> 
        <code value="Dosage"/> 
      </type> 
      <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="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
  </snapshot> 
  <differential> 
    <element id="Task">
      <path value="Task"/> 
      <short value="A task to be performed"/> 
      <definition value="A task to be performed."/> 
      <min value="0"/> 
      <max value="*"/> 
      <constraint> 
        <key value="tsk-1"/> 
        <severity value="error"/> 
        <human value="Task.restriction is only allowed if the Task is seeking fulfillment and a focus
         is specified."/> 
        <expression value="restriction.exists() implies code.coding.where(code='fulfill' and system='http://hl7.org/fhir
        /CodeSystem/task-code').exists() and focus.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Task"/> 
      </constraint> 
      <constraint> 
        <key value="inv-1"/> 
        <severity value="error"/> 
        <human value="Last modified date must be greater than or equal to authored-on date."/> 
        <expression value="lastModified.exists().not() or authoredOn.exists().not() or lastModified &gt;=
         authoredOn"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Task"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request, Event"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="workflow.order"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="ControlAct[moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Task.identifier">
      <path value="Task.identifier"/> 
      <short value="Task Instance Identifier"/> 
      <definition value="The business identifier for this task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.identifier, Event.identifier"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.identifier"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
    </element> 
    <element id="Task.instantiatesCanonical">
      <path value="Task.instantiatesCanonical"/> 
      <short value="Formal definition of task"/> 
      <definition value="The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition
       that is adhered to in whole or in part by this Task."/> 
      <requirements value="Enables a formal definition of how the task is to be performed, enabling automation."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="canonical"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.instantiatesCanonical, Event.instantiatesCanonical"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=DEFN].target"/> 
      </mapping> 
    </element> 
    <element id="Task.instantiatesUri">
      <path value="Task.instantiatesUri"/> 
      <short value="Formal definition of task"/> 
      <definition value="The URL pointing to an *externally* maintained  protocol, guideline, orderset or
       other definition that is adhered to in whole or in part by this Task."/> 
      <requirements value="Enables a formal definition of how the task is to be performed (e.g. using BPMN,
       BPEL, XPDL or other formal notation to be associated with a task), enabling automation."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="uri"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.instantiatesUri"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=DEFN].target"/> 
      </mapping> 
    </element> 
    <element id="Task.basedOn">
      <path value="Task.basedOn"/> 
      <short value="Request fulfilled by this task"/> 
      <definition value="BasedOn refers to a higher-level authorization that triggered the creation of the
       task.  It references a &quot;request&quot; resource such as a ServiceRequest, MedicationReque
      st, CarePlan, etc. which is distinct from the &quot;request&quot; resource the task
       is seeking to fulfill.  This latter resource is referenced by focus.  For example,
       based on a CarePlan (= basedOn), a task is created to fulfill a ServiceRequest
       ( = focus ) to collect a specimen from a patient."/> 
      <comment value="Task.basedOn is never the same as Task.focus.  Task.basedOn will typically not
       be present for 'please fulfill' Tasks as a distinct authorization is rarely needed
       to request fulfillment.  If the Task is seeking fulfillment of an order, the order
       to be fulfilled is always communicated using `focus`, never basedOn.  However,
       authorization may be needed to perform other types of Task actions.  As an example
       of when both would be present, a Task seeking suspension of a prescription might
       have a Task.basedOn pointing to the ServiceRequest ordering surgery (which is the
       driver for suspending the MedicationRequest - which would be the Task.focus)."/> 
      <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="workflow"/> 
        <map value="Request.basedOn, Event.basedOn"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=FLFS].target[moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Task.groupIdentifier">
      <path value="Task.groupIdentifier"/> 
      <short value="Requisition or grouper id"/> 
      <definition value="A shared identifier common to multiple independent Task and Request instances that
       were activated/authorized more or less simultaneously by a single author.  The
       presence of the same identifier on each request ties those requests together and
       may have business ramifications in terms of reporting of results, billing, etc.
        E.g. a requisition number shared by a set of lab tests ordered together, or a
       prescription number shared by all meds ordered at one time."/> 
      <requirements value="Billing and/or reporting can be linked to whether multiple requests were created
       as a single unit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.groupIdentifier"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=COMP].source[moodCode=INT].id"/> 
      </mapping> 
    </element> 
    <element id="Task.partOf">
      <path value="Task.partOf"/> 
      <short value="Composite task"/> 
      <definition value="Task that this particular task is part of."/> 
      <comment value="This should usually be 0..1."/> 
      <requirements value="Allows tasks to be broken down into sub-steps (and this division can occur independent
       of the original task)."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy">
          <valueBoolean value="true"/> 
        </extension> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Task"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.partOf"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=COMP].source[moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Task.status">
      <path value="Task.status"/> 
      <short value="draft | requested | received | accepted | +"/> 
      <definition value="The current status of the task."/> 
      <requirements value="These states enable coordination of task status with off-the-shelf workflow solutions
       that support automation of tasks."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="true"/> 
      <isModifierReason value="This element is labeled as a modifier because it is a status element that contains
       status entered-in-error which means that the resource should not be treated as
       valid"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskStatus"/> 
        </extension> 
        <strength value="required"/> 
        <description value="The current status of the task."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-status|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.status, Event.status"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.status"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".statusCode"/> 
      </mapping> 
    </element> 
    <element id="Task.statusReason">
      <path value="Task.statusReason"/> 
      <short value="Reason for current status"/> 
      <definition value="An explanation as to why this task is held, failed, was refused, etc."/> 
      <comment value="This applies to the current status.  Look at the history of the task to see reasons
       for past statuses."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskStatusReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify the reason for current status.  These will typically be specific
         to a particular workflow."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-status-reason"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code=&quot;status
         change&quot;].reasonCode"/> 
      </mapping> 
    </element> 
    <element id="Task.businessStatus">
      <path value="Task.businessStatus"/> 
      <short value="E.g. &quot;Specimen collected&quot;, &quot;IV prepped&quot;"/> 
      <definition value="Contains business-specific nuances of the business state."/> 
      <requirements value="There's often a need to track substates of a task - this is often variable by specific
       workflow implementation."/> 
      <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="TaskBusinessStatus"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The domain-specific business-contextual sub-state of the task.  For example: &quot;Blood
         drawn&quot;, &quot;IV inserted&quot;, &quot;Awaiting physician signature&quot;,
         etc."/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;business
         status&quot;]"/> 
      </mapping> 
    </element> 
    <element id="Task.intent">
      <path value="Task.intent"/> 
      <short value="unknown | proposal | plan | order | original-order | reflex-order | filler-order
       | instance-order | option"/> 
      <definition value="Indicates the &quot;level&quot; of actionability associated with the Task, i.e.
       i+R[9]Cs this a proposed task, a planned task, an actionable task, etc."/> 
      <comment value="This element is immutable.  Proposed tasks, planned tasks, etc. must be distinct
       instances.

In most cases, Tasks will have an intent of &quot;order&quot;."/> 
      <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="TaskIntent"/> 
        </extension> 
        <strength value="required"/> 
        <description value="Distinguishes whether the task is a proposal, plan or full order."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-intent|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.intent"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.class"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".moodCode"/> 
      </mapping> 
    </element> 
    <element id="Task.priority">
      <path value="Task.priority"/> 
      <short value="routine | urgent | asap | stat"/> 
      <definition value="Indicates how quickly the Task should be addressed with respect to other requests."/> 
      <requirements value="Used to identify the service level expected while performing a task."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <meaningWhenMissing value="If missing, this task should be performed with normal priority"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueString value="The task's priority."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskPriority"/> 
        </extension> 
        <strength value="required"/> 
        <description value="The priority of a task (may affect service level applied to the task)."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.priority"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.grade"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".priorityCode"/> 
      </mapping> 
    </element> 
    <element id="Task.doNotPerform">
      <path value="Task.doNotPerform"/> 
      <short value="True if Task is prohibiting action"/> 
      <definition value="If true indicates that the Task is asking for the specified action to *not* occur."/> 
      <comment value="The attributes provided with the Task qualify what is not to be done. For example,
       if a requestedPeriod is provided, the 'do not' request only applies within the
       specified time. If a requestedPerformer is specified then the 'do not' request
       only applies to performers of that type. Qualifiers include: code, subject, occurrence,
       requestedPerformer and performer.

In some cases, the Request.code may pre-coordinate prohibition into the requested
       action. E.g. 'NPO' (nothing by mouth), 'DNR' (do not recussitate). If this happens,
       doNotPerform SHALL NOT be set to true. I.e. The resource shall not have double
       negation. (E.g. 'Do not DNR').

doNotPerform should ONLY be used with Tasks that are tightly bounded in time or
       process phase.  E.g. 'Do not fulfill the midnight dose of medication X tonight
       due to the early morning scheduled procedure, where the nurse could reasonably
       check off 'Med X not given at midnight as instructed'.  Similarly, a decision support
       proposal that a patient should not be given a standard intake questionnaire (because
       the patient is cognitively impaired) would be marked as 'complete' or 'rejected'
       when the clinician preps the CarePlan or order set after reviewing the decision
       support results.  If there is a need to create a standing order to not do something
       that can't be satisfied by a single 'non-action', but rather an ongoing refusal
       to perform the function, MedicationRequest, ServiceRequest or some other form of
       authorization should be used."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="true"/> 
      <isModifierReason value="If true, this element negates the Task. For example, instead of a request to perform
       a task, it is a request _not_ to perform a task."/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.code, Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
    </element> 
    <element id="Task.code">
      <path value="Task.code"/> 
      <short value="Task Type"/> 
      <definition value="A name or code (or both) briefly describing what the task involves."/> 
      <comment value="The title (eg &quot;My Tasks&quot;, &quot;Outstanding Tasks for Patient X&quot;)
       should go into the code."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <condition value="tsk-1"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskCode"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify what the task involves.  These will typically be specific to
         a particular workflow."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/task-code"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.code, Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
    </element> 
    <element id="Task.description">
      <path value="Task.description"/> 
      <short value="Human-readable explanation of task"/> 
      <definition value="A free-text description of what is to be performed."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Task.focus">
      <path value="Task.focus"/> 
      <short value="What task is acting on"/> 
      <definition value="The request being fulfilled or the resource being manipulated (changed, suspended,
       etc.) by this task."/> 
      <comment value="If multiple resources need to be manipulated, use sub-tasks.  (This ensures that
       status can be tracked independently for each referenced resource.)."/> 
      <requirements value="Used to identify the thing to be done."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <condition value="tsk-1"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=SUBJ].target"/> 
      </mapping> 
    </element> 
    <element id="Task.for">
      <path value="Task.for"/> 
      <short value="Beneficiary of the Task"/> 
      <definition value="The entity who benefits from the performance of the service specified in the task
       (e.g., the patient)."/> 
      <requirements value="Used to track tasks outstanding for a beneficiary.  Do not use to track the task
       owner or creator (see owner and creator respectively).  This can also affect access
       control."/> 
      <alias value="Patient"/> 
      <min value="0"/> 
      <max value="1"/> 
      <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="workflow"/> 
        <map value="Request.subject, Event.subject"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=RCT].role"/> 
      </mapping> 
    </element> 
    <element id="Task.encounter">
      <path value="Task.encounter"/> 
      <short value="Healthcare event during which this task originated"/> 
      <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) during
       which this task was created."/> 
      <requirements value="For some tasks it may be important to know the link between the encounter the task
       originated within."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.encounter, Event.encounter"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]"/> 
      </mapping> 
    </element> 
    <element id="Task.requestedPeriod">
      <path value="Task.requestedPeriod"/> 
      <short value="When the task should be performed"/> 
      <definition value="Indicates the start and/or end of the period of time when completion of the task
       is desired to take place."/> 
      <comment value="This is typically used when the Task is *not* seeking fulfillment of a focus Request,
       as in that case the period would be specified on the Request and/or in the Task.restriction.p
      eriod.  Instead, it is used for stand-alone tasks."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Period"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.occurrence[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Task.executionPeriod">
      <path value="Task.executionPeriod"/> 
      <short value="Start and end time of execution"/> 
      <definition value="Identifies the time action was first taken against the task (start) and/or the
       time final action was taken against the task prior to marking it as completed (end)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Period"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.occurrence[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.done[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Task.authoredOn">
      <path value="Task.authoredOn"/> 
      <short value="Task Creation Date"/> 
      <definition value="The date and time this task was created."/> 
      <requirements value="Most often used along with lastUpdated to track duration of task to supporting
       monitoring and management."/> 
      <alias value="Created Date"/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <condition value="inv-1"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.authoredOn"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.recorded"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=AUT].time"/> 
      </mapping> 
    </element> 
    <element id="Task.lastModified">
      <path value="Task.lastModified"/> 
      <short value="Task Last Modified Date"/> 
      <definition value="The date and time of last modification to this task."/> 
      <requirements value="Used along with history to track task activity and time in a particular task state.
        This enables monitoring and management."/> 
      <alias value="Update Date"/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <condition value="inv-1"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Task.requester">
      <path value="Task.requester"/> 
      <short value="Who is asking for task to be done"/> 
      <definition value="The creator of the task."/> 
      <requirements value="Identifies who created this task.  May be used by access control mechanisms (e.g.,
       to ensure that only the creator can cancel a task)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.requester"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.author"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=AUT].role"/> 
      </mapping> 
    </element> 
    <element id="Task.requestedPerformer">
      <path value="Task.requestedPerformer"/> 
      <short value="Who should perform Task"/> 
      <definition value="The kind of participant or specific participant that should perform the task."/> 
      <requirements value="Use to distinguish tasks on different activity queues."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableReference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskPerformerType"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="The type(s) of task performers allowed."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/performer-role"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.function, Request.performerType"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=PRF].role.code"/> 
      </mapping> 
    </element> 
    <element id="Task.owner">
      <path value="Task.owner"/> 
      <short value="Responsible individual"/> 
      <definition value="Party responsible for managing task execution."/> 
      <comment value="Tasks may be created with an owner not yet identified."/> 
      <requirements value="Identifies who is expected to perform this task."/> 
      <alias value="Performer"/> 
      <alias value="Executer"/> 
      <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"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor, Request.performer"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=PRF].role"/> 
      </mapping> 
    </element> 
    <element id="Task.performer">
      <path value="Task.performer"/> 
      <short value="Who or what performed the task"/> 
      <definition value="The entity who performed the requested task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="Task.performer.function">
      <path value="Task.performer.function"/> 
      <short value="Type of performance"/> 
      <definition value="A code or description of the performer of the task."/> 
      <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="TaskPerformerFunctionCode"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify types of task performers."/> 
      </binding> 
    </element> 
    <element id="Task.performer.actor">
      <path value="Task.performer.actor"/> 
      <short value="Who performed the task"/> 
      <definition value="The actor or entity who performed the task."/> 
      <min value="1"/> 
      <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"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="Task.location">
      <path value="Task.location"/> 
      <short value="Where task occurs"/> 
      <definition value="Principal physical location where this task is performed."/> 
      <comment value="This should only be specified when the Task to be/being performed happens or is
       expected to happen primarily within the bounds of a single Location.  Other locations
       (e.g. source, destination, etc.) would either be reflected on the 'basedOn' Request
       or be conveyed as distinct Task.input values."/> 
      <requirements value="Ties the event to where the records are likely kept and provides context around
       the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare
       setting)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.where[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=LOC].role"/> 
      </mapping> 
    </element> 
    <element id="Task.reason">
      <path value="Task.reason"/> 
      <short value="Why task is needed"/> 
      <definition value="A description, code, or reference indicating why this task needs to be performed."/> 
      <comment value="This will typically not be present for Tasks with a code of 'please fulfill' as,
       for those, the reason for action is conveyed on the Request pointed to by Task.focus.
        Some types of tasks will not need a 'reason'.  E.g. a request to discharge a patient
       can be inferred to be 'because the patient is ready' and this would not need a
       reason to be stated on the Task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Indicates why the task is needed.  E.g. Suspended because patient admitted to hospital."/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.reason, Request.reason"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="EVN.7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".reasonCode"/> 
      </mapping> 
    </element> 
    <element id="Task.insurance">
      <path value="Task.insurance"/> 
      <short value="Associated insurance coverage"/> 
      <definition value="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations
       that may be relevant to the Task."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Coverage"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ClaimResponse"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.insurance"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="IN1/IN2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=COVBY].target"/> 
      </mapping> 
    </element> 
    <element id="Task.note">
      <path value="Task.note"/> 
      <short value="Comments made about the task"/> 
      <definition value="Free-text information captured about the task as it progresses."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.note, Event.note"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code=&quot;annotati
        on&quot;].value(string)"/> 
      </mapping> 
    </element> 
    <element id="Task.relevantHistory">
      <path value="Task.relevantHistory"/> 
      <short value="Key events in history of the Task"/> 
      <definition value="Links to Provenance records for past versions of this Task that identify key state
       transitions or updates that are likely to be relevant to a user looking at the
       current version of the task."/> 
      <comment value="This element does not point to the Provenance associated with the *current* version
       of the resource - as it would be created after this version existed.  The Provenance
       for the current version can be retrieved with a _revinclude."/> 
      <alias value="Status History"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Provenance"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.relevantHistory"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction">
      <path value="Task.restriction"/> 
      <short value="Constraints on fulfillment tasks"/> 
      <definition value="If the Task.focus is a request resource and the task is seeking fulfillment (i.e.
       is asking for the request to be actioned), this element identifies any limitations
       on what parts of the referenced request should be actioned."/> 
      <comment value="Task.restriction can only be present if the Task is seeking fulfillment of another
       Request resource, and the restriction identifies what subset of the authorization
       conveyed by the request is supposed to be fulfilled by this Task. A possible example
       could be a standing order (the request) covering a significant time period and/or
       individuals, while the Task seeks fulfillment for only a subset of that time-period
       and a single individual."/> 
      <requirements value="Sometimes when fulfillment is sought, you don't want full fulfillment."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <condition value="tsk-1"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Instead of pointing to request, would point to component of request, having these
         characteristics"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction.repetitions">
      <path value="Task.restriction.repetitions"/> 
      <short value="How many times to repeat"/> 
      <definition value="Indicates the number of times the requested action should occur."/> 
      <requirements value="E.g. order that requests monthly lab tests, fulfillment is sought for 1."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".repeatNumber"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction.period">
      <path value="Task.restriction.period"/> 
      <short value="When fulfillment is sought"/> 
      <definition value="The time-period for which fulfillment is sought. This must fall within the overall
       time period authorized in the referenced request.  E.g. ServiceRequest.occurance[x]."/> 
      <comment value="This is distinct from Task.executionPeriod. ExecutionPeriod indicates when the
       task needs to be initiated, while Task.restriction.period specifies the subset
       of the overall authorization that this period covers. For example, a MedicationRequest
       with an overall effective period of 1 year might have a Task whose restriction.period
       is 2 months (i.e. satisfy 2 months of medication therapy), while the execution
       period might be 'between now and 5 days from now' - i.e. If you say yes to this,
       then you're agreeing to supply medication for that 2 month period within the next
       5 days.

Note that period.high is the due date representing the time by which the task should
       be completed."/> 
      <requirements value="E.g. order that authorizes 1 year's services.  Fulfillment is sought for next 3
       months."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Period"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime(IVL&lt;TS&gt;)"/> 
      </mapping> 
    </element> 
    <element id="Task.restriction.recipient">
      <path value="Task.restriction.recipient"/> 
      <short value="For whom is fulfillment sought?"/> 
      <definition value="For requests that are targeted to more than one potential recipient/target, to
       identify who is fulfillment is sought for."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=SBJ].role"/> 
      </mapping> 
    </element> 
    <element id="Task.input">
      <path value="Task.input"/> 
      <short value="Information used to perform task"/> 
      <definition value="Additional information that may be needed in the execution of the task."/> 
      <requirements value="Resources and data used to perform the task.  This data is used in the business
       logic of task execution, and is stored separately because it varies between workflows."/> 
      <alias value="Supporting Information"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.input.type">
      <path value="Task.input.type"/> 
      <short value="Label for the input"/> 
      <definition value="A code or description indicating how the input is intended to be used as part of
       the task execution."/> 
      <comment value="If referencing a BPMN workflow or Protocol, the &quot;system&quot; is the URL for
       the workflow definition and the code is the &quot;name&quot; of the required input."/> 
      <requirements value="Inputs are named to enable task automation to bind data and pass it from one task
       to the next."/> 
      <alias value="Name"/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskInputParameterType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify types of input parameters.  These will typically be specific
         to a particular workflow.  E.g. &quot;Comparison source&quot;, &quot;Applicable
         consent&quot;, &quot;Concomitent Medications&quot;, etc."/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.input.value[x]">
      <path value="Task.input.value[x]"/> 
      <short value="Content to use in performing the task"/> 
      <definition value="The value of the input parameter as a basic type."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
      </type> 
      <type> 
        <code value="code"/> 
      </type> 
      <type> 
        <code value="date"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <type> 
        <code value="id"/> 
      </type> 
      <type> 
        <code value="instant"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="integer64"/> 
      </type> 
      <type> 
        <code value="markdown"/> 
      </type> 
      <type> 
        <code value="oid"/> 
      </type> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="unsignedInt"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="uuid"/> 
      </type> 
      <type> 
        <code value="Address"/> 
      </type> 
      <type> 
        <code value="Age"/> 
      </type> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <type> 
        <code value="Count"/> 
      </type> 
      <type> 
        <code value="Distance"/> 
      </type> 
      <type> 
        <code value="Duration"/> 
      </type> 
      <type> 
        <code value="HumanName"/> 
      </type> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <type> 
        <code value="Money"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="RatioRange"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
      </type> 
      <type> 
        <code value="SampledData"/> 
      </type> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <type> 
        <code value="ContactDetail"/> 
      </type> 
      <type> 
        <code value="DataRequirement"/> 
      </type> 
      <type> 
        <code value="Expression"/> 
      </type> 
      <type> 
        <code value="ParameterDefinition"/> 
      </type> 
      <type> 
        <code value="RelatedArtifact"/> 
      </type> 
      <type> 
        <code value="TriggerDefinition"/> 
      </type> 
      <type> 
        <code value="UsageContext"/> 
      </type> 
      <type> 
        <code value="Availability"/> 
      </type> 
      <type> 
        <code value="ExtendedContactDetail"/> 
      </type> 
      <type> 
        <code value="Dosage"/> 
      </type> 
      <type> 
        <code value="Meta"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.output">
      <path value="Task.output"/> 
      <short value="Information produced as part of task"/> 
      <definition value="Outputs produced by the Task."/> 
      <requirements value="Resources and data produced during the execution the task.  This data is generated
       by the business logic of task execution, and is stored separately because it varies
       between workflows."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.output.type">
      <path value="Task.output.type"/> 
      <short value="Label for output"/> 
      <definition value="The name of the Output parameter."/> 
      <requirements value="Outputs are named to enable task automation to bind data and pass it from one task
       to the next."/> 
      <alias value="Name"/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="TaskOutputParameterType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Codes to identify types of input parameters.  These will typically be specific
         to a particular workflow.  E.g. &quot;Identified issues&quot;, &quot;Preliminary
         results&quot;, &quot;Filler order&quot;, &quot;Final results&quot;, etc."/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </mapping> 
    </element> 
    <element id="Task.output.value[x]">
      <path value="Task.output.value[x]"/> 
      <short value="Result of output"/> 
      <definition value="The value of the Output parameter as a basic type."/> 
      <requirements value="Task outputs can take any form."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
      </type> 
      <type> 
        <code value="code"/> 
      </type> 
      <type> 
        <code value="date"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <type> 
        <code value="id"/> 
      </type> 
      <type> 
        <code value="instant"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="integer64"/> 
      </type> 
      <type> 
        <code value="markdown"/> 
      </type> 
      <type> 
        <code value="oid"/> 
      </type> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="unsignedInt"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="uuid"/> 
      </type> 
      <type> 
        <code value="Address"/> 
      </type> 
      <type> 
        <code value="Age"/> 
      </type> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <type> 
        <code value="Count"/> 
      </type> 
      <type> 
        <code value="Distance"/> 
      </type> 
      <type> 
        <code value="Duration"/> 
      </type> 
      <type> 
        <code value="HumanName"/> 
      </type> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <type> 
        <code value="Money"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="RatioRange"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
      </type> 
      <type> 
        <code value="SampledData"/> 
      </type> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <type> 
        <code value="ContactDetail"/> 
      </type> 
      <type> 
        <code value="DataRequirement"/> 
      </type> 
      <type> 
        <code value="Expression"/> 
      </type> 
      <type> 
        <code value="ParameterDefinition"/> 
      </type> 
      <type> 
        <code value="RelatedArtifact"/> 
      </type> 
      <type> 
        <code value="TriggerDefinition"/> 
      </type> 
      <type> 
        <code value="UsageContext"/> 
      </type> 
      <type> 
        <code value="Availability"/> 
      </type> 
      <type> 
        <code value="ExtendedContactDetail"/> 
      </type> 
      <type> 
        <code value="Dosage"/> 
      </type> 
      <type> 
        <code value="Meta"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="???"/> 
      </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.