3.117.9 StructureDefinition: PrescribeIT® RX 903 Task profile - XML Profile
XML representation of the task-903 Profile.
Narrative view of the profile
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="task-903"/>
<text>
<status value="extensions"/>
<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 style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/formats.html#table" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/2016may/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/2016may/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="task-903-definitions.html#Task">Task</a><a name="Task"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/task.html">Task</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">A task to be performed</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.id">id</a><a name="Task.id"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#id">id</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Logical id of this artifact</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.meta">meta</a><a name="Task.meta"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/resource.html#meta">Meta</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Metadata about the resource</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.meta.profile">profile</a><a name="Task.meta.profile"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Profiles this resource claims to conform to</span><br/><span style="font-weight:bold">Fixed Value: </span><a style="color: darkgreen" href="task-903.html">http://prescribeit.ca/fhir/StructureDefinition/task-903</a></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <span style="text-decoration:line-through">security</span><a name="Task.meta.security"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="text-decoration:line-through"/><span style="text-decoration:line-through">0</span><span style="text-decoration:line-through">..</span><span style="text-decoration:line-through">0</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="task-903-definitions.html#Task.type">type</a><a name="Task.type"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="../common/dtprofile-codeableconcept-code.html" title="CodeableConcept">Shared Health CodeableConcept Code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Concept - reference to a terminology or just text</span><br/><span style="font-weight:bold">Binding: </span><a href="https://tgateway.infoway-inforoute.ca/vs/prescriptiontasktype?versionid=20220913">PrescriptionTaskType (20220913)</a> (<a href="http://hl7.org/fhir/2016may/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck101.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.type.coding">coding</a><a name="Task.type.coding"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck1000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.type.coding.display">display</a><a name="Task.type.coding.display"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Representation defined by the system</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.status">status</a><a name="Task.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">draft | requested | received | accepted | +</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="task-903-definitions.html#Task.subject">subject</a><a name="Task.subject"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/references.html">Reference</a>(<a href="profile-medicationorder-903.html">PrescribeIT® Prescription 903</a>)<a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html" title="The resource the reference points to will be found in the same bundle as the resource that includes the reference.">b</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Focus of task</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.subject.reference">reference</a><a name="Task.subject.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Relative, internal or absolute URL reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="task-903-definitions.html#Task.for">for</a><a name="Task.for"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/references.html">Reference</a>(<a href="../common/profile-patient-903.html">Shared Health Patient - 903</a>)<a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html" title="The resource the reference points to will be found in the same bundle as the resource that includes the reference.">b</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Beneficiary of the Task</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.for.reference">reference</a><a name="Task.for.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Relative, internal or absolute URL reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.created">created</a><a name="Task.created"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (created-full)">I</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Task Creation Date</span><br/><span style="font-weight:bold">created-full: </span>Must be at least a full date. i.e. yyyy-mm-dd</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.lastModified">lastModified</a><a name="Task.lastModified"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (lastModified-full)">I</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Task Last Modified Date</span><br/><span style="font-weight:bold">lastModified-full: </span>Must be at least a full date. i.e. yyyy-mm-dd</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="task-903-definitions.html#Task.creator">creator</a><a name="Task.creator"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/references.html">Reference</a>(<a href="../common/profile-practitioner-903.html">Shared Health Practitioner - 903</a>)<a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html" title="The resource the reference points to will be found in the same bundle as the resource that includes the reference.">b</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Task Creator</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.creator.reference">reference</a><a name="Task.creator.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Relative, internal or absolute URL reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td 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(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="task-903-definitions.html#Task.owner">owner</a><a name="Task.owner"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/2016may/references.html">Reference</a>(<a href="../common/profile-organization-service-location.html">Shared Health - eRx Service Location</a>)<a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html" title="The resource the reference points to will be found in the same bundle as the resource that includes the reference.">b</a><a href="http://hl7.org/fhir/2016may/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Task Owner</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td 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(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="task-903-definitions.html#Task.owner.reference">reference</a><a name="Task.owner.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/2016may/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Relative, internal or absolute URL reference</span></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/2016may/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/2016may/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<url value="http://prescribeit.ca/fhir/StructureDefinition/task-903"/>
<version value="5.0"/>
<name value="PrescribeIT® RX 903 Task profile"/>
<status value="draft"/>
<date value="2016-03-30T17:01:25-04:00"/>
<description value="Constraints on the Task resource"/>
<fhirVersion value="1.4.0"/>
<mapping>
<identity value="w5"/>
<uri value="http://hl7.org/fhir/w5"/>
<name value="W5 Mapping"/>
</mapping>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM"/>
</mapping>
<kind value="resource"/>
<abstract value="false"/>
<baseType value="Task"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Task"/>
<derivation value="constraint"/>
<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>
<maxLength value="0"/>
<constraint>
<key value="inv-2"/>
<severity value="error"/>
<human
value="A Failure reason may be present only when a task has failed."/>
<expression value="failureReason.empty() or status = 'failed'"/>
<xpath
value="not(exists(f:failureReason)) or f:status/@value = 'failed'"/>
</constraint>
<constraint>
<key value="inv-1"/>
<severity value="error"/>
<human
value="Last modified date must be greater than or equal to created date."/>
<expression value="lastModified >= created"/>
<xpath value="f:lastModified >= f:created"/>
</constraint>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<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."/>
<comments
value="Usage Note: This will usually be a GUID and is assigned by the sending application."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Resource.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<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 may not always be associated with version changes to the resource."/>
<comments value="See comments for child elements"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Resource.meta"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Meta"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.meta.id">
<path value="Task.meta.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.meta.extension">
<path value="Task.meta.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.meta.versionId">
<path value="Task.meta.versionId"/>
<short value="Version specific identifier"/>
<definition
value="The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted."/>
<comments
value="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Meta.versionId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.meta.lastUpdated">
<path value="Task.meta.lastUpdated"/>
<short value="When the resource version last changed"/>
<definition
value="When the resource last changed - e.g. when the version changed."/>
<comments
value="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Meta.lastUpdated"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="instant"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.meta.profile">
<path value="Task.meta.profile"/>
<short value="Profiles this resource claims to conform to"/>
<definition
value="A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]."/>
<comments
value="Fixed value: http://prescribeit.ca/fhir/StructureDefinition/task-903"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Meta.profile"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="uri"/>
</type>
<fixedUri value="http://prescribeit.ca/fhir/StructureDefinition/task-903"/>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.meta.security">
<path value="Task.meta.security"/>
<short value="Security Labels applied to this resource"/>
<definition
value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/>
<comments
value="The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."/>
<min value="0"/>
<max value="0"/>
<base>
<path value="Meta.security"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Coding"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<strength value="extensible"/>
<description
value="Security Labels from the Healthcare Privacy and Security Classification System."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
</valueSetReference>
</binding>
</element>
<element id="Task.meta.tag">
<path value="Task.meta.tag"/>
<short value="Tags applied to this resource"/>
<definition
value="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource."/>
<comments
value="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Meta.tag"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Coding"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<strength value="example"/>
<description
value="Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones""/>
</binding>
</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."/>
<comments
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 as much as possible."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.implicitRules"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="uri"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="true"/>
<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."/>
<comments
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="*"/>
</base>
<type>
<code value="code"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="required"/>
<description value="A human language."/>
<valueSetReference>
<reference value="http://tools.ietf.org/html/bcp47"/>
</valueSetReference>
</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 may 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 "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
<comments
value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/>
<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="*"/>
</base>
<type>
<code value="Narrative"/>
</type>
<maxLength value="0"/>
<condition value="dom-1"/>
<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, and nor can they have their own independent transaction scope."/>
<comments
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."/>
<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>
<maxLength value="0"/>
<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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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."/>
<comments
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.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="true"/>
<isSummary value="false"/>
<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="1"/>
<base>
<path value="Task.identifier"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Identifier"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.type">
<path value="Task.type"/>
<short value="Concept - reference to a terminology or just text"/>
<definition
value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/>
<comments
value="Usage Note: This element is not referencing the structure of this message, but is clinical data indicating what type of task the notification is for."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.type"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-code"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="required"/>
<valueSetReference>
<reference
value="https://fhir.infoway-inforoute.ca/ValueSet/prescriptiontasktype|20220913"/>
</valueSetReference>
</binding>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
</element>
<element id="Task.type.id">
<path value="Task.type.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.type.extension">
<path value="Task.type.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.type.coding">
<path value="Task.type.coding"/>
<short value="Code defined by a terminology system"/>
<definition value="A reference to a code defined by a terminology system."/>
<comments
value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
<requirements
value="Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings."/>
<min value="1"/>
<max value="*"/>
<base>
<path value="CodeableConcept.coding"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Coding"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="C*E.1-8, C*E.10-22"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="union(., ./translation)"/>
</mapping>
</element>
<element id="Task.type.coding.id">
<path value="Task.type.coding.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.type.coding.extension">
<path value="Task.type.coding.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.type.coding.system">
<path value="Task.type.coding.system"/>
<short value="Identity of the terminology system"/>
<definition
value="The identification of the code system that defines the meaning of the symbol in the code."/>
<comments
value="This is the URI that represents the coding system as defined within the binding."/>
<requirements
value="Need to be unambiguous about the source of the definition of the symbol."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Coding.system"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="uri"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map
value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="C*E.3"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="./codeSystem"/>
</mapping>
</element>
<element id="Task.type.coding.version">
<path value="Task.type.coding.version"/>
<short value="Version of the system - if relevant"/>
<definition
value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
<comments
value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Coding.version"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map
value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="C*E.7"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="./codeSystemVersion"/>
</mapping>
</element>
<element id="Task.type.coding.code">
<path value="Task.type.coding.code"/>
<short value="Symbol in syntax defined by the system"/>
<definition
value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
<comments value="This is the code as defined within the binding."/>
<requirements value="Need to refer to a particular code in the system."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Coding.code"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="C*E.1"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="./code"/>
</mapping>
</element>
<element id="Task.type.coding.display">
<path value="Task.type.coding.display"/>
<short value="Representation defined by the system"/>
<definition
value="A representation of the meaning of the code in the system, following the rules of the system."/>
<requirements
value="Need to be able to carry a human-readable meaning of the code for readers that do not know the system."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Coding.display"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map
value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="C*E.2 - but note this is not well followed"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CV.displayName"/>
</mapping>
</element>
<element id="Task.type.coding.userSelected">
<path value="Task.type.coding.userSelected"/>
<short value="If this coding was chosen directly by the user"/>
<definition
value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
<comments
value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
<requirements
value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Coding.userSelected"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map
value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="Sometimes implied by being first"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD.codingRationale"/>
</mapping>
</element>
<element id="Task.type.text">
<path value="Task.type.text"/>
<short value="Plain text representation of the concept"/>
<definition
value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
<comments
value="Very often the text is the same as a displayName of one of the codings."/>
<requirements
value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="CodeableConcept.text"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="orim"/>
<map
value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="C*E.9. But note many systems use C*E.2 for this"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="./originalText[mediaType/code="text/plain"]/data"/>
</mapping>
</element>
<element id="Task.description">
<path value="Task.description"/>
<short value="Task Description"/>
<definition value="A description of this task."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Task.description"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.performerType">
<path value="Task.performerType"/>
<short
value="requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer"/>
<definition value="The type of participant that can execute the task."/>
<requirements
value="Use to distinguish tasks on different activity queues."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Task.performerType"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Coding"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="preferred"/>
<description value="The type(s) of task performers allowed"/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/task-performer-type"/>
</valueSetReference>
</binding>
</element>
<element id="Task.priority">
<path value="Task.priority"/>
<short value="low | normal | high"/>
<definition
value="The priority of the task among other tasks of the same type."/>
<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"/>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="required"/>
<description value="The task's priority"/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/task-priority"/>
</valueSetReference>
</binding>
</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="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<maxLength value="0"/>
<condition value="inv-2"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<strength value="required"/>
<description value="The current status of the task."/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/task-status"/>
</valueSetReference>
</binding>
</element>
<element id="Task.failureReason">
<path value="Task.failureReason"/>
<short value="Task Failure Reason"/>
<definition value="An explaination as to why this task failed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Task.failureReason"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<maxLength value="0"/>
<condition value="inv-2"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.subject">
<path value="Task.subject"/>
<short value="Focus of task"/>
<definition value="A reference from one resource to another."/>
<comments
value="Identifies the medication order tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message)"/>
<requirements
value="Used to identify the thing to be done (not the beneficiary -- see for below)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.subject"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/4.0/StructureDefinition/extension-ElementDefinition.type.profile">
<valueUri
value="http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-reference"/>
</extension>
<code value="Reference"/>
<profile
value="http://prescribeit.ca/fhir/StructureDefinition/profile-medicationorder-903"/>
<aggregation value="bundled"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map
value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)"/>
</mapping>
</element>
<element id="Task.subject.id">
<path value="Task.subject.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.subject.extension">
<path value="Task.subject.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.subject.reference">
<path value="Task.subject.reference"/>
<short value="Relative, internal or absolute URL reference"/>
<definition
value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
<comments
value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Reference.reference"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<condition value="ref-1"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.subject.display">
<path value="Task.subject.display"/>
<short value="Text alternative for the resource"/>
<definition
value="Plain text narrative that identifies the resource in addition to the resource reference."/>
<comments
value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.display"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</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)."/>
<comments
value="Identifies the patient tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message)"/>
<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)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.for"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-patient-903"/>
<aggregation value="bundled"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.for.id">
<path value="Task.for.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.for.extension">
<path value="Task.for.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.for.reference">
<path value="Task.for.reference"/>
<short value="Relative, internal or absolute URL reference"/>
<definition
value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
<comments
value="This is a reference to the Patient associated with the task. It will be a URN pointing to the id of the patient record in the message"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Reference.reference"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<condition value="ref-1"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.for.display">
<path value="Task.for.display"/>
<short value="Text alternative for the resource"/>
<definition
value="Plain text narrative that identifies the resource in addition to the resource reference."/>
<comments
value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.display"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.definition">
<path value="Task.definition"/>
<short value="Task Definition"/>
<definition
value="A reference to a formal or informal definition of the task."/>
<requirements
value="Enables a formal definition of how he 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.definition"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="uri"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.created">
<path value="Task.created"/>
<short value="Task Creation Date"/>
<definition value="The date and time this task was created."/>
<comments
value="This indicates when the request was created. This will generally be the same as the date of message construction.
Conformance Rule: Date-Time must be specified down to the day. Time is optional and may be ignored.
Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'"/>
<requirements
value="Most often used along with lastUpdated to track duration of task to supporting monitoring and management."/>
<alias value="Created Date"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.created"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
<maxLength value="0"/>
<condition value="inv-1"/>
<constraint>
<key value="created-full"/>
<severity value="error"/>
<human value="Must be at least a full date. i.e. yyyy-mm-dd"/>
<expression value="length()>=10"/>
<xpath value="string-length(@value) >= 10)"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
</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."/>
<comments
value="This is required by FHIR but is not needed. It should generally be set to the same value as Task.created. This is the date of the most recent transaction as recorded in the EMR.
Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'.
Conformance Rule: PMS is not expected to display this date as it is irrelevant to the Pharmacist or to the processing of the discontinue notification."/>
<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="1"/>
<max value="1"/>
<base>
<path value="Task.lastModified"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
<maxLength value="0"/>
<condition value="inv-1"/>
<constraint>
<key value="lastModified-full"/>
<severity value="error"/>
<human value="Must be at least a full date. i.e. yyyy-mm-dd"/>
<expression value="length()>=10"/>
<xpath value="string-length(@value) >= 10)"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="Task.creator">
<path value="Task.creator"/>
<short value="Task Creator"/>
<definition value="The creator of the task."/>
<comments value="This is who is submitting the task and asking it be done"/>
<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)."/>
<alias value="Initiator"/>
<alias value="Author"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.creator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-practitioner-903"/>
<aggregation value="bundled"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.creator.id">
<path value="Task.creator.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.creator.extension">
<path value="Task.creator.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.creator.reference">
<path value="Task.creator.reference"/>
<short value="Relative, internal or absolute URL reference"/>
<definition
value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
<comments
value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Reference.reference"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<condition value="ref-1"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.creator.display">
<path value="Task.creator.display"/>
<short value="Text alternative for the resource"/>
<definition
value="Plain text narrative that identifies the resource in addition to the resource reference."/>
<comments
value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.display"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.owner">
<path value="Task.owner"/>
<short value="Task Owner"/>
<definition
value="The owner of this task. The participant who can execute this task."/>
<comments
value="This information duplicates what appear in Provenance but is often needs to be more accessible."/>
<requirements value="Identifies who is expected to perform this task."/>
<alias value="Performer"/>
<alias value="Executer"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.owner"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-organization-service-location"/>
<aggregation value="bundled"/>
</type>
<maxLength value="0"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.owner.id">
<path value="Task.owner.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.owner.extension">
<path value="Task.owner.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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Task.owner.reference">
<path value="Task.owner.reference"/>
<short value="Relative, internal or absolute URL reference"/>
<definition
value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
<comments
value="This is a reference to the pharmacy Organization being requested to act. This value will be returned from the Provider Registry query. Example: value='https://{environmentSpecificHost}/{environmentAndContextSpecificPath}/Organization/{CPRID}'"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Reference.reference"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<condition value="ref-1"/>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.owner.display">
<path value="Task.owner.display"/>
<short value="Text alternative for the resource"/>
<definition
value="Plain text narrative that identifies the resource in addition to the resource reference."/>
<comments
value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.display"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.parent">
<path value="Task.parent"/>
<short value="Composite task"/>
<definition value="Task that this particular task is part of."/>
<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="1"/>
<base>
<path value="Task.parent"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Task"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.input">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
<valueString value="Parameter"/>
</extension>
<path value="Task.input"/>
<short value="Task Input"/>
<definition value="Inputs to 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."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Task.input"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.input.id">
<path value="Task.input.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<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"/>
<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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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."/>
<comments
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"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="true"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.input.name">
<path value="Task.input.name"/>
<short value="Input Name"/>
<definition value="The name of the input parameter."/>
<requirements
value="Inputs are named to enable task automation to bind data and pass it from one task to the next."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.input.name"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.input.value[x]">
<path value="Task.input.value[x]"/>
<short value="Input Value"/>
<definition value="The value of the input parameter as a basic type."/>
<requirements value="Task inputs can take any form."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.input.value[x]"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
<type>
<code value="integer"/>
</type>
<type>
<code value="decimal"/>
</type>
<type>
<code value="base64Binary"/>
</type>
<type>
<code value="instant"/>
</type>
<type>
<code value="string"/>
</type>
<type>
<code value="uri"/>
</type>
<type>
<code value="date"/>
</type>
<type>
<code value="dateTime"/>
</type>
<type>
<code value="time"/>
</type>
<type>
<code value="code"/>
</type>
<type>
<code value="oid"/>
</type>
<type>
<code value="id"/>
</type>
<type>
<code value="unsignedInt"/>
</type>
<type>
<code value="positiveInt"/>
</type>
<type>
<code value="markdown"/>
</type>
<type>
<code value="Annotation"/>
</type>
<type>
<code value="Attachment"/>
</type>
<type>
<code value="Identifier"/>
</type>
<type>
<code value="CodeableConcept"/>
</type>
<type>
<code value="Coding"/>
</type>
<type>
<code value="Quantity"/>
</type>
<type>
<code value="Range"/>
</type>
<type>
<code value="Period"/>
</type>
<type>
<code value="Ratio"/>
</type>
<type>
<code value="SampledData"/>
</type>
<type>
<code value="Signature"/>
</type>
<type>
<code value="HumanName"/>
</type>
<type>
<code value="Address"/>
</type>
<type>
<code value="ContactPoint"/>
</type>
<type>
<code value="Timing"/>
</type>
<type>
<code value="Reference"/>
</type>
<type>
<code value="Meta"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.output">
<path value="Task.output"/>
<short value="Task Output"/>
<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>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.output.id">
<path value="Task.output.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="id"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<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. In order to make the use of extensions safe and manageable, 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."/>
<comments
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>
<maxLength value="0"/>
<mustSupport value="false"/>
<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"/>
<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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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."/>
<comments
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"/>
<alias value="modifiers"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="BackboneElement.modifierExtension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="true"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="Task.output.name">
<path value="Task.output.name"/>
<short value="Output Name"/>
<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."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Task.output.name"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="Task.output.value[x]">
<path value="Task.output.value[x]"/>
<short value="Output Value"/>
<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="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
<type>
<code value="integer"/>
</type>
<type>
<code value="decimal"/>
</type>
<type>
<code value="base64Binary"/>
</type>
<type>
<code value="instant"/>
</type>
<type>
<code value="string"/>
</type>
<type>
<code value="uri"/>
</type>
<type>
<code value="date"/>
</type>
<type>
<code value="dateTime"/>
</type>
<type>
<code value="time"/>
</type>
<type>
<code value="code"/>
</type>
<type>
<code value="oid"/>
</type>
<type>
<code value="id"/>
</type>
<type>
<code value="unsignedInt"/>
</type>
<type>
<code value="positiveInt"/>
</type>
<type>
<code value="markdown"/>
</type>
<type>
<code value="Annotation"/>
</type>
<type>
<code value="Attachment"/>
</type>
<type>
<code value="Identifier"/>
</type>
<type>
<code value="CodeableConcept"/>
</type>
<type>
<code value="Coding"/>
</type>
<type>
<code value="Quantity"/>
</type>
<type>
<code value="Range"/>
</type>
<type>
<code value="Period"/>
</type>
<type>
<code value="Ratio"/>
</type>
<type>
<code value="SampledData"/>
</type>
<type>
<code value="Signature"/>
</type>
<type>
<code value="HumanName"/>
</type>
<type>
<code value="Address"/>
</type>
<type>
<code value="ContactPoint"/>
</type>
<type>
<code value="Timing"/>
</type>
<type>
<code value="Reference"/>
</type>
<type>
<code value="Meta"/>
</type>
<maxLength value="0"/>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
</snapshot>
<differential>
<element id="Task">
<path value="Task"/>
</element>
<element id="Task.id">
<path value="Task.id"/>
<comments
value="Usage Note: This will usually be a GUID and is assigned by the sending application."/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Task.meta">
<path value="Task.meta"/>
<comments value="See comments for child elements"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Task.meta.profile">
<path value="Task.meta.profile"/>
<comments
value="Fixed value: http://prescribeit.ca/fhir/StructureDefinition/task-903"/>
<min value="1"/>
<max value="1"/>
<fixedUri value="http://prescribeit.ca/fhir/StructureDefinition/task-903"/>
<mustSupport value="true"/>
</element>
<element id="Task.meta.security">
<path value="Task.meta.security"/>
<max value="0"/>
</element>
<element id="Task.type">
<path value="Task.type"/>
<comments
value="Usage Note: This element is not referencing the structure of this message, but is clinical data indicating what type of task the notification is for."/>
<min value="1"/>
<type>
<code value="CodeableConcept"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-codeableconcept-code"/>
</type>
<mustSupport value="true"/>
<binding>
<strength value="required"/>
<valueSetReference>
<reference
value="https://fhir.infoway-inforoute.ca/ValueSet/prescriptiontasktype|20220913"/>
</valueSetReference>
</binding>
</element>
<element id="Task.type.coding.display">
<path value="Task.type.coding.display"/>
<mustSupport value="true"/>
</element>
<element id="Task.status">
<path value="Task.status"/>
<mustSupport value="true"/>
</element>
<element id="Task.subject">
<path value="Task.subject"/>
<short value="Focus of task"/>
<comments
value="Identifies the medication order tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message)"/>
<min value="1"/>
<type>
<extension
url="http://hl7.org/fhir/4.0/StructureDefinition/extension-ElementDefinition.type.profile">
<valueUri
value="http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-reference"/>
</extension>
<code value="Reference"/>
<profile
value="http://prescribeit.ca/fhir/StructureDefinition/profile-medicationorder-903"/>
<aggregation value="bundled"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Task.subject.reference">
<path value="Task.subject.reference"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Task.for">
<path value="Task.for"/>
<comments
value="Identifies the patient tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message)"/>
<min value="1"/>
<type>
<code value="Reference"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-patient-903"/>
<aggregation value="bundled"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Task.for.reference">
<path value="Task.for.reference"/>
<comments
value="This is a reference to the Patient associated with the task. It will be a URN pointing to the id of the patient record in the message"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Task.created">
<path value="Task.created"/>
<comments
value="This indicates when the request was created. This will generally be the same as the date of message construction.
Conformance Rule: Date-Time must be specified down to the day. Time is optional and may be ignored.
Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'"/>
<constraint>
<key value="created-full"/>
<severity value="error"/>
<human value="Must be at least a full date. i.e. yyyy-mm-dd"/>
<expression value="length()>=10"/>
<xpath value="string-length(@value) >= 10)"/>
</constraint>
<mustSupport value="true"/>
</element>
<element id="Task.lastModified">
<path value="Task.lastModified"/>
<comments
value="This is required by FHIR but is not needed. It should generally be set to the same value as Task.created. This is the date of the most recent transaction as recorded in the EMR.
Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'.
Conformance Rule: PMS is not expected to display this date as it is irrelevant to the Pharmacist or to the processing of the discontinue notification."/>
<constraint>
<key value="lastModified-full"/>
<severity value="error"/>
<human value="Must be at least a full date. i.e. yyyy-mm-dd"/>
<expression value="length()>=10"/>
<xpath value="string-length(@value) >= 10)"/>
</constraint>
<mustSupport value="true"/>
</element>
<element id="Task.creator">
<path value="Task.creator"/>
<comments value="This is who is submitting the task and asking it be done"/>
<min value="1"/>
<type>
<code value="Reference"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-practitioner-903"/>
<aggregation value="bundled"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Task.creator.reference">
<path value="Task.creator.reference"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Task.owner">
<path value="Task.owner"/>
<min value="1"/>
<type>
<code value="Reference"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-organization-service-location"/>
<aggregation value="bundled"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Task.owner.reference">
<path value="Task.owner.reference"/>
<comments
value="This is a reference to the pharmacy Organization being requested to act. This value will be returned from the Provider Registry query. Example: value='https://{environmentSpecificHost}/{environmentAndContextSpecificPath}/Organization/{CPRID}'"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
</differential>
</StructureDefinition>