This page is part of the Quality Improvement Core Framework (v3.2.0: STU 3) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions
Formats: Narrative, XML, JSON, Turtle
Raw xml
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="qicore-task"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><th 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/STU3/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/STU3/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/STU3/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/STU3/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/STU3/formats.html#table" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-qicore-task-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"/><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: 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_bck14.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="StructureDefinition-qicore-task-definitions.html#Task.identifier:identifier" title="Slice identifier: ">identifier</a><a name="Task.identifier"> </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..*</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: 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_bck14.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="StructureDefinition-qicore-task-definitions.html#Task.status:status" title="Slice 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">1..1</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: 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_bck14.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="StructureDefinition-qicore-task-definitions.html#Task.intent:intent" title="Slice intent: ">intent</a><a name="Task.intent"> </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..1</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: 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_bck14.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="StructureDefinition-qicore-task-definitions.html#Task.priority:priority" title="Slice priority: ">priority</a><a name="Task.priority"> </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..1</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: 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_bck14.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="StructureDefinition-qicore-task-definitions.html#Task.code:code" title="Slice code: ">code</a><a name="Task.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="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..1</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: 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_bck14.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="StructureDefinition-qicore-task-definitions.html#Task.executionPeriod:executionPeriod" title="Slice executionPeriod: ">executionPeriod</a><a name="Task.executionPeriod"> </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">1..1</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: 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_bck00.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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-qicore-task-definitions.html#Task.reason">reason</a><a name="Task.reason"> </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><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div> </text> <url value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task"/> <version value="3.2.0"/> <name value="QICore-Task"/> <status value="draft"/> <experimental value="false"/> <date value="2018-08-22T00:00:00+10:00"/> <publisher value="Health Level Seven, Inc. - CQI WG"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/special/committees/CQI"/> </telecom> </contact> <description value="Profile of Task for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors."/> <jurisdiction> <coding> <system value="urn:iso:std:iso:3166"/> <code value="us"/> </coding> </jurisdiction> <fhirVersion value="3.0.1"/> <mapping> <identity value="qdm"/> <uri value="http://www.healthit.gov/quality-data-model"/> <name value="Quality Data Model"/> </mapping> <mapping> <identity value="workflow"/> <uri value="http://hl7.org/fhir/workflow"/> <name value="Workflow Mapping"/> </mapping> <mapping> <identity value="rim"/> <uri value="http://hl7.org/v3"/> <name value="RIM Mapping"/> </mapping> <mapping> <identity value="w5"/> <uri value="http://hl7.org/fhir/w5"/> <name value="W5 Mapping"/> </mapping> <kind value="resource"/> <abstract value="false"/> <type 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> <constraint> <key value="dom-2"/> <severity value="error"/> <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> <expression value="contained.contained.empty()"/> <xpath value="not(parent::f:contained and f:contained)"/> <source value="DomainResource"/> </constraint> <constraint> <key value="dom-1"/> <severity value="error"/> <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/> <expression value="contained.text.empty()"/> <xpath value="not(parent::f:contained and f:text)"/> <source value="DomainResource"/> </constraint> <constraint> <key value="dom-4"/> <severity value="error"/> <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/> <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/> <source value="DomainResource"/> </constraint> <constraint> <key value="dom-3"/> <severity value="error"/> <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/> <expression value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/> <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/> <source value="DomainResource"/> </constraint> <constraint> <key value="inv-1"/> <severity value="error"/> <human value="Last modified date must be greater than or equal to authored-on date."/> <expression value="lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn"/> <xpath value="not(exists(f:lastModified/@value)) or not(exists(f:authoredOn/@value)) or f:lastModified/@value >= f:authoredOn/@value"/> <source value="Task"/> </constraint> <mustSupport value="false"/> <mapping> <identity value="rim"/> <map value="Entity. Role, or Act"/> </mapping> <mapping> <identity value="workflow"/> <map value="Request, Event"/> </mapping> <mapping> <identity value="rim"/> <map value="ControlAct[moodCode=INT]"/> </mapping> <mapping> <identity value="w5"/> <map value="workflow.order"/> </mapping> </element> <element id="Task.id"> <path value="Task.id"/> <short value="Logical id of this artifact"/> <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/> <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="id"/> </type> <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."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.meta"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Meta"/> </type> <isSummary value="true"/> </element> <element id="Task.implicitRules"> <path value="Task.implicitRules"/> <short value="A set of rules under which this content was created"/> <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/> <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.implicitRules"/> <min value="0"/> <max value="1"/> </base> <type> <code value="uri"/> </type> <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."/> <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/> <min value="0"/> <max value="1"/> <base> <path value="Resource.language"/> <min value="0"/> <max value="1"/> </base> <type> <code value="code"/> </type> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"> <valueReference> <reference value="http://hl7.org/fhir/ValueSet/all-languages"/> </valueReference> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="Language"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"> <valueBoolean value="true"/> </extension> <strength value="extensible"/> <description value="A human language."/> <valueSetReference> <reference value="http://hl7.org/fhir/ValueSet/languages"/> </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."/> <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later."/> <alias value="narrative"/> <alias value="html"/> <alias value="xhtml"/> <alias value="display"/> <min value="0"/> <max value="1"/> <base> <path value="DomainResource.text"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Narrative"/> </type> <condition value="dom-1"/> <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."/> <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/> <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> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="DomainResource.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="DomainResource.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="Task.identifier:identifier"> <path value="Task.identifier"/> <sliceName value="identifier"/> <short value="Task Instance Identifier"/> <definition value="The business identifier for this task."/> <min value="1"/> <max value="*"/> <base> <path value="Task.identifier"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Identifier"/> </type> <mustSupport value="true"/> <mapping> <identity value="workflow"/> <map value="Request.identifier, Event.identifier"/> </mapping> <mapping> <identity value="rim"/> <map value=".id"/> </mapping> <mapping> <identity value="w5"/> <map value="id"/> </mapping> <mapping> <identity value="qdm"/> <map value="id (“Intervention, Order”; “Intervention, Recommended”; “Intervention, Performed”)"/> </mapping> </element> <element id="Task.definition[x]"> <path value="Task.definition[x]"/> <short value="Formal definition of task"/> <definition value="A reference to a formal or informal definition of the task. For example, a protocol, a step within a defined workflow definition, etc."/> <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[x]"/> <min value="0"/> <max value="1"/> </base> <type> <code value="uri"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.definition, Event.definition"/> </mapping> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=DEFN].target"/> </mapping> </element> <element id="Task.basedOn"> <path value="Task.basedOn"/> <short value="Request fulfilled by this task"/> <definition value="BasedOn refers to a higher-level authorization that triggered the creation of the task. It references a "request" resource such as a ProcedureRequest, MedicationRequest, ProcedureRequest, CarePlan, etc. which is distinct from the "request" resource the task is seeking to fulfil. This latter resource is referenced by FocusOn. For example, based on a ProcedureRequest (= BasedOn), a task is created to fulfil a procedureRequest ( = FocusOn ) to collect a specimen from a patient."/> <min value="0"/> <max value="*"/> <base> <path value="Task.basedOn"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.basedOn, Definition.basedOn"/> </mapping> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=FLFS].target[moodCode=INT]"/> </mapping> </element> <element id="Task.groupIdentifier"> <path value="Task.groupIdentifier"/> <short value="Requisition or grouper id"/> <definition value="An identifier that links together multiple tasks and other requests that were created in the same context."/> <requirements value="Billing and/or reporting can be linked to whether multiple requests were created as a single unit."/> <min value="0"/> <max value="1"/> <base> <path value="Task.groupIdentifier"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Identifier"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.groupIdentifier"/> </mapping> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=COMP].source[moodCode=INT].id"/> </mapping> </element> <element id="Task.partOf"> <path value="Task.partOf"/> <short value="Composite task"/> <definition value="Task that this particular task is part of."/> <comment value="This should usually be 0..1."/> <requirements value="Allows tasks to be broken down into sub-steps (and this division can occur independent of the original task)."/> <min value="0"/> <max value="*"/> <base> <path value="Task.partOf"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Task"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Event.partOf"/> </mapping> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=COMP].source[moodCode=INT]"/> </mapping> </element> <element id="Task.status:status"> <path value="Task.status"/> <sliceName value="status"/> <short value="draft | requested | received | accepted | +"/> <definition value="The current status of the task."/> <requirements value="These states enable coordination of task status with off-the-shelf workflow solutions that support automation of tasks."/> <min value="1"/> <max value="1"/> <base> <path value="Task.status"/> <min value="1"/> <max value="1"/> </base> <type> <code value="code"/> </type> <mustSupport value="true"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskStatus"/> </extension> <strength value="required"/> <description value="The current status of the task."/> <valueSetReference> <reference value="http://hl7.org/fhir/ValueSet/task-status"/> </valueSetReference> </binding> <mapping> <identity value="workflow"/> <map value="Request.status, Event.status"/> </mapping> <mapping> <identity value="rim"/> <map value=".statusCode"/> </mapping> <mapping> <identity value="w5"/> <map value="status"/> </mapping> <mapping> <identity value="qdm"/> <map value="“Intervention, Performed” (constrained to status=”in progress”, “completed”)"/> </mapping> </element> <element id="Task.statusReason"> <path value="Task.statusReason"/> <short value="Reason for current status"/> <definition value="An explanation as to why this task is held, failed, was refused, etc."/> <comment value="This applies to the current status. Look at the history of the task to see reasons for past statuses."/> <min value="0"/> <max value="1"/> <base> <path value="Task.statusReason"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskStatusReason"/> </extension> <strength value="example"/> <description value="Codes to identify the reason for current status. These will typically be specific to a particular workflow."/> </binding> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode"/> </mapping> </element> <element id="Task.businessStatus"> <path value="Task.businessStatus"/> <short value="E.g. "Specimen collected", "IV prepped""/> <definition value="Contains business-specific nuances of the business state."/> <requirements value="There's often a need to track substates of a task - this is often variable by specific workflow implementation."/> <min value="0"/> <max value="1"/> <base> <path value="Task.businessStatus"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskBusinessStatus"/> </extension> <strength value="example"/> <description value="The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc."/> </binding> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]"/> </mapping> </element> <element id="Task.intent:intent"> <path value="Task.intent"/> <sliceName value="intent"/> <short value="proposal | plan | order +"/> <definition value="Indicates the "level" of actionability associated with the Task. I.e. Is this a proposed task, a planned task, an actionable task, etc."/> <comment value="This element is immutable. Proposed tasks, planned tasks, etc. must be distinct instances. In most cases, Tasks will have an intent of "order"."/> <min value="1"/> <max value="1"/> <base> <path value="Task.intent"/> <min value="1"/> <max value="1"/> </base> <type> <code value="code"/> </type> <mustSupport value="true"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskIntent"/> </extension> <strength value="required"/> <description value="Distinguishes whether the task is a proposal, plan or full order"/> <valueSetReference> <reference value="http://hl7.org/fhir/ValueSet/request-intent"/> </valueSetReference> </binding> <mapping> <identity value="workflow"/> <map value="Request.intent"/> </mapping> <mapping> <identity value="rim"/> <map value=".moodCode"/> </mapping> <mapping> <identity value="w5"/> <map value="class"/> </mapping> <mapping> <identity value="qdm"/> <map value="“Intervention, Order” (constrained to intent=order); “Intervention, Recommended” (constrained to intent=plan)"/> </mapping> </element> <element id="Task.priority:priority"> <path value="Task.priority"/> <sliceName value="priority"/> <short value="normal | urgent | asap | stat"/> <definition value="Indicates how quickly the Task should be addressed with respect to other requests."/> <requirements value="Used to identify the service level expected while performing a task."/> <min value="1"/> <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"/> <mustSupport value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskPriority"/> </extension> <strength value="required"/> <description value="The task's priority"/> <valueSetReference> <reference value="http://hl7.org/fhir/ValueSet/request-priority"/> </valueSetReference> </binding> <mapping> <identity value="workflow"/> <map value="Request.priority"/> </mapping> <mapping> <identity value="rim"/> <map value=".priorityCode"/> </mapping> <mapping> <identity value="w5"/> <map value="grade"/> </mapping> </element> <element id="Task.code:code"> <path value="Task.code"/> <sliceName value="code"/> <short value="Task Type"/> <definition value="A name or code (or both) briefly describing what the task involves."/> <comment value="The title (eg "My Tasks", "Outstanding Tasks for Patient X") should go into the code."/> <min value="1"/> <max value="1"/> <base> <path value="Task.code"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <mustSupport value="true"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskCode"/> </extension> <strength value="example"/> <description value="Codes to identify what the task involves. These will typically be specific to a particular workflow."/> </binding> <mapping> <identity value="workflow"/> <map value="Request.code, Event.code"/> </mapping> <mapping> <identity value="rim"/> <map value=".code"/> </mapping> <mapping> <identity value="w5"/> <map value="what"/> </mapping> <mapping> <identity value="qdm"/> <map value="code (“Intervention, Order”; “Intervention, Recommended”; “Intervention, Performed”)"/> </mapping> </element> <element id="Task.description"> <path value="Task.description"/> <short value="Human-readable explanation of task"/> <definition value="A free-text description of what is to be performed."/> <min value="0"/> <max value="1"/> <base> <path value="Task.description"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value=".text"/> </mapping> </element> <element id="Task.focus"> <path value="Task.focus"/> <short value="What task is acting on"/> <definition value="The request being actioned or the resource being manipulated by this task."/> <comment value="If multiple resources need to be manipulated, use sub-tasks. (This ensures that status can be tracked independently for each referenced resource.)."/> <requirements value="Used to identify the thing to be done."/> <min value="0"/> <max value="1"/> <base> <path value="Task.focus"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> </type> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=SUBJ].target"/> </mapping> <mapping> <identity value="w5"/> <map value="what"/> </mapping> </element> <element id="Task.for"> <path value="Task.for"/> <short value="Beneficiary of the Task"/> <definition value="The entity who benefits from the performance of the service specified in the task (e.g., the patient)."/> <requirements value="Used to track tasks outstanding for a beneficiary. Do not use to track the task owner or creator (see owner and creator respectively). This can also affect access control."/> <alias value="Patient"/> <min value="0"/> <max value="1"/> <base> <path value="Task.for"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.subject, Event.subject"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=RCT].role"/> </mapping> <mapping> <identity value="w5"/> <map value="who.focus"/> </mapping> </element> <element id="Task.context"> <path value="Task.context"/> <short value="Healthcare event during which this task originated"/> <definition value="The healthcare event (e.g. a patient and healthcare provider interaction) during which this task was created."/> <requirements value="For some tasks it may be important to know the link between the task or episode of care the task originated within."/> <min value="0"/> <max value="1"/> <base> <path value="Task.context"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.context, Event.context"/> </mapping> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]"/> </mapping> <mapping> <identity value="w5"/> <map value="context"/> </mapping> </element> <element id="Task.executionPeriod:executionPeriod"> <path value="Task.executionPeriod"/> <sliceName value="executionPeriod"/> <short value="Start and end time of execution"/> <definition value="Identifies the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end)."/> <min value="1"/> <max value="1"/> <base> <path value="Task.executionPeriod"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Period"/> </type> <mustSupport value="false"/> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Event.occurrence[x]"/> </mapping> <mapping> <identity value="rim"/> <map value=".effectiveTime"/> </mapping> <mapping> <identity value="w5"/> <map value="when.done"/> </mapping> </element> <element id="Task.authoredOn"> <path value="Task.authoredOn"/> <short value="Task Creation Date"/> <definition value="The date and time this task was created."/> <requirements value="Most often used along with lastUpdated to track duration of task to supporting monitoring and management."/> <alias value="Created Date"/> <min value="0"/> <max value="1"/> <base> <path value="Task.authoredOn"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <condition value="inv-1"/> <mapping> <identity value="workflow"/> <map value="Request.authoredOn"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=AUT].time"/> </mapping> <mapping> <identity value="w5"/> <map value="when.recorded"/> </mapping> </element> <element id="Task.lastModified"> <path value="Task.lastModified"/> <short value="Task Last Modified Date"/> <definition value="The date and time of last modification to this task."/> <requirements value="Used along with history to track task activity and time in a particular task state. This enables monitoring and management."/> <alias value="Update Date"/> <min value="0"/> <max value="1"/> <base> <path value="Task.lastModified"/> <min value="0"/> <max value="1"/> </base> <type> <code value="dateTime"/> </type> <condition value="inv-1"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime"/> </mapping> </element> <element id="Task.requester"> <path value="Task.requester"/> <short value="Who is asking for task to be done"/> <definition value="The creator of the task."/> <requirements value="Identifies who created this task. May be used by access control mechanisms (e.g., to ensure that only the creator can cancel a task)."/> <min value="0"/> <max value="1"/> <base> <path value="Task.requester"/> <min value="0"/> <max value="1"/> </base> <type> <code value="BackboneElement"/> </type> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() | (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.requester"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=AUT].role"/> </mapping> </element> <element id="Task.requester.id"> <path value="Task.requester.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). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="Task.requester.extension"> <path value="Task.requester.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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="Task.requester.modifierExtension"> <path value="Task.requester.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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <alias value="modifiers"/> <min value="0"/> <max value="*"/> <base> <path value="BackboneElement.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="Task.requester.agent"> <path value="Task.requester.agent"/> <short value="Individual asking for task"/> <definition value="The device, practitioner, etc. who initiated the task."/> <alias value="Initiator"/> <alias value="Author"/> <min value="1"/> <max value="1"/> <base> <path value="Task.requester.agent"/> <min value="1"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Request.requester.agent"/> </mapping> <mapping> <identity value="rim"/> <map value=".player"/> </mapping> <mapping> <identity value="w5"/> <map value="who.author"/> </mapping> </element> <element id="Task.requester.onBehalfOf"> <path value="Task.requester.onBehalfOf"/> <short value="Organization individual is acting for"/> <definition value="The organization the device or practitioner was acting on behalf of when they initiated the task."/> <requirements value="Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when authoring the request."/> <min value="0"/> <max value="1"/> <base> <path value="Task.requester.onBehalfOf"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> </type> <mapping> <identity value="workflow"/> <map value="Request.requester.onBehalfOf"/> </mapping> <mapping> <identity value="rim"/> <map value=".scoper"/> </mapping> </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="CodeableConcept"/> </type> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskPerformerType"/> </extension> <strength value="preferred"/> <description value="The type(s) of task performers allowed"/> <valueSetReference> <reference value="http://hl7.org/fhir/ValueSet/task-performer-type"/> </valueSetReference> </binding> <mapping> <identity value="workflow"/> <map value="Event.performer.role, Request.performerType"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=PRF].role.code"/> </mapping> <mapping> <identity value="w5"/> <map value="who.actor"/> </mapping> </element> <element id="Task.owner"> <path value="Task.owner"/> <short value="Responsible individual"/> <definition value="Individual organization or Device currently responsible for task execution."/> <comment value="Tasks may be created with an owner not yet identified."/> <requirements value="Identifies who is expected to perform this task."/> <alias value="Performer"/> <alias value="Executer"/> <min value="0"/> <max value="1"/> <base> <path value="Task.owner"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> </type> <isSummary value="true"/> <mapping> <identity value="workflow"/> <map value="Event.performer.actor, Request.performer"/> </mapping> <mapping> <identity value="rim"/> <map value=".participation[typeCode=PRF].role"/> </mapping> <mapping> <identity value="w5"/> <map value="who.actor"/> </mapping> </element> <element id="Task.reason"> <path value="Task.reason"/> <short value="Why task is needed"/> <definition value="A description or code indicating why this task needs to be performed."/> <comment value="This should only be included if there is no focus or if it differs from the reason indicated on the focus."/> <min value="0"/> <max value="1"/> <base> <path value="Task.reason"/> <min value="0"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <mustSupport value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskReason"/> </extension> <strength value="example"/> <description value="Indicates why the task is needed. E.g. Suspended because patient admitted to hospital."/> </binding> <mapping> <identity value="workflow"/> <map value="Request.reasonCode, Event.reasonCodeableConcept"/> </mapping> <mapping> <identity value="rim"/> <map value=".reasonCode"/> </mapping> <mapping> <identity value="w5"/> <map value="why"/> </mapping> <mapping> <identity value="qdm"/> <map value="reason (“Intervention, Order”; “Intervention, Recommended”; “Intervention, Performed”)"/> </mapping> </element> <element id="Task.note"> <path value="Task.note"/> <short value="Comments made about the task"/> <definition value="Free-text information captured about the task as it progresses."/> <min value="0"/> <max value="*"/> <base> <path value="Task.note"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Annotation"/> </type> <mapping> <identity value="workflow"/> <map value="Request.note, Event.note"/> </mapping> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string)"/> </mapping> </element> <element id="Task.relevantHistory"> <path value="Task.relevantHistory"/> <short value="Key events in history of the Task"/> <definition value="Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task."/> <comment value="This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a _revinclude."/> <alias value="Status History"/> <min value="0"/> <max value="*"/> <base> <path value="Task.relevantHistory"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Provenance"/> </type> <mapping> <identity value="workflow"/> <map value="Request.relevantHistory"/> </mapping> <mapping> <identity value="rim"/> <map value=".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"/> </mapping> </element> <element id="Task.restriction"> <path value="Task.restriction"/> <short value="Constraints on fulfillment tasks"/> <definition value="If the Task.focus is a request resource and the task is seeking fulfillment (i.e is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned."/> <requirements value="Sometimes when fulfillment is sought, you don't want full fulfillment."/> <min value="0"/> <max value="1"/> <base> <path value="Task.restriction"/> <min value="0"/> <max value="1"/> </base> <type> <code value="BackboneElement"/> </type> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() | (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mapping> <identity value="rim"/> <map value="Instead of pointing to request, would point to component of request, having these characteristics"/> </mapping> </element> <element id="Task.restriction.id"> <path value="Task.restriction.id"/> <representation value="xmlAttr"/> <short value="xml:id (or equivalent in JSON)"/> <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="Task.restriction.extension"> <path value="Task.restriction.extension"/> <short value="Additional Content defined by implementations"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="Task.restriction.modifierExtension"> <path value="Task.restriction.modifierExtension"/> <short value="Extensions that cannot be ignored"/> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <alias value="modifiers"/> <min value="0"/> <max value="*"/> <base> <path value="BackboneElement.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="Task.restriction.repetitions"> <path value="Task.restriction.repetitions"/> <short value="How many times to repeat"/> <definition value="Indicates the number of times the requested action should occur."/> <requirements value="E.g. order that requests monthly lab tests, fulfillment is sought for 1."/> <min value="0"/> <max value="1"/> <base> <path value="Task.restriction.repetitions"/> <min value="0"/> <max value="1"/> </base> <type> <code value="positiveInt"/> </type> <mapping> <identity value="rim"/> <map value=".repeatNumber"/> </mapping> </element> <element id="Task.restriction.period"> <path value="Task.restriction.period"/> <short value="When fulfillment sought"/> <definition value="Over what time-period is fulfillment sought."/> <comment value="Note that period.high is the due date representing the time by which the task should be completed."/> <requirements value="E.g. order that authorizes 1 year's services. Fulfillment is sought for next 3 months."/> <min value="0"/> <max value="1"/> <base> <path value="Task.restriction.period"/> <min value="0"/> <max value="1"/> </base> <type> <code value="Period"/> </type> <mapping> <identity value="rim"/> <map value=".effectiveTime(IVL<TS>)"/> </mapping> </element> <element id="Task.restriction.recipient"> <path value="Task.restriction.recipient"/> <short value="For whom is fulfillment sought?"/> <definition value="For requests that are targeted to more than on potential recipient/target, for whom is fulfillment sought?"/> <min value="0"/> <max value="*"/> <base> <path value="Task.restriction.recipient"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/> </type> <type> <code value="Reference"/> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> </type> <mapping> <identity value="rim"/> <map value=".participation[typeCode=SBJ].role"/> </mapping> </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="Information used to perform task"/> <definition value="Additional information that may be needed in the execution of the task."/> <requirements value="Resources and data used to perform the task. This data is used in the business logic of task execution, and is stored separately because it varies between workflows."/> <alias value="Supporting Information"/> <min value="0"/> <max value="*"/> <base> <path value="Task.input"/> <min value="0"/> <max value="*"/> </base> <type> <code value="BackboneElement"/> </type> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() | (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mapping> <identity value="rim"/> <map value="???"/> </mapping> </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). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <alias value="modifiers"/> <min value="0"/> <max value="*"/> <base> <path value="BackboneElement.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="Task.input.type"> <path value="Task.input.type"/> <short value="Label for the input"/> <definition value="A code or description indicating how the input is intended to be used as part of the task execution."/> <comment value="If referencing a BPMN workflow or Protocol, the "system" is the URL for the workflow definition and the code is the "name" of the required input."/> <requirements value="Inputs are named to enable task automation to bind data and pass it from one task to the next."/> <alias value="Name"/> <min value="1"/> <max value="1"/> <base> <path value="Task.input.type"/> <min value="1"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskInputParameterType"/> </extension> <strength value="example"/> <description value="Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concommitent Medications", etc."/> </binding> <mapping> <identity value="rim"/> <map value="???"/> </mapping> </element> <element id="Task.input.value[x]"> <path value="Task.input.value[x]"/> <short value="Content to use in performing the task"/> <definition value="The value of the input parameter as a basic type."/> <min value="1"/> <max value="1"/> <base> <path value="Task.input.value[x]"/> <min value="1"/> <max value="1"/> </base> <type> <code value="base64Binary"/> </type> <type> <code value="boolean"/> </type> <type> <code value="code"/> </type> <type> <code value="date"/> </type> <type> <code value="dateTime"/> </type> <type> <code value="decimal"/> </type> <type> <code value="id"/> </type> <type> <code value="instant"/> </type> <type> <code value="integer"/> </type> <type> <code value="markdown"/> </type> <type> <code value="oid"/> </type> <type> <code value="positiveInt"/> </type> <type> <code value="string"/> </type> <type> <code value="time"/> </type> <type> <code value="unsignedInt"/> </type> <type> <code value="uri"/> </type> <type> <code value="Address"/> </type> <type> <code value="Age"/> </type> <type> <code value="Annotation"/> </type> <type> <code value="Attachment"/> </type> <type> <code value="CodeableConcept"/> </type> <type> <code value="Coding"/> </type> <type> <code value="ContactPoint"/> </type> <type> <code value="Count"/> </type> <type> <code value="Distance"/> </type> <type> <code value="Duration"/> </type> <type> <code value="HumanName"/> </type> <type> <code value="Identifier"/> </type> <type> <code value="Money"/> </type> <type> <code value="Period"/> </type> <type> <code value="Quantity"/> </type> <type> <code value="Range"/> </type> <type> <code value="Ratio"/> </type> <type> <code value="Reference"/> </type> <type> <code value="SampledData"/> </type> <type> <code value="Signature"/> </type> <type> <code value="Timing"/> </type> <type> <code value="Meta"/> </type> <mapping> <identity value="rim"/> <map value="???"/> </mapping> </element> <element id="Task.output"> <path value="Task.output"/> <short value="Information produced as part of task"/> <definition value="Outputs produced by the Task."/> <requirements value="Resources and data produced during the execution the task. This data is generated by the business logic of task execution, and is stored separately because it varies between workflows."/> <min value="0"/> <max value="*"/> <base> <path value="Task.output"/> <min value="0"/> <max value="*"/> </base> <type> <code value="BackboneElement"/> </type> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() | (children().count() > id.count())"/> <xpath value="@value|f:*|h:div"/> <source value="Element"/> </constraint> <mapping> <identity value="rim"/> <map value="???"/> </mapping> </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). This may be any string value that does not contain spaces."/> <min value="0"/> <max value="1"/> <base> <path value="Element.id"/> <min value="0"/> <max value="1"/> </base> <type> <code value="string"/> </type> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <min value="0"/> <max value="*"/> <base> <path value="Element.extension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <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."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <alias value="extensions"/> <alias value="user content"/> <alias value="modifiers"/> <min value="0"/> <max value="*"/> <base> <path value="BackboneElement.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <isModifier value="true"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="Task.output.type"> <path value="Task.output.type"/> <short value="Label for output"/> <definition value="The name of the Output parameter."/> <requirements value="Outputs are named to enable task automation to bind data and pass it from one task to the next."/> <alias value="Name"/> <min value="1"/> <max value="1"/> <base> <path value="Task.output.type"/> <min value="1"/> <max value="1"/> </base> <type> <code value="CodeableConcept"/> </type> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="TaskOutputParameterType"/> </extension> <strength value="example"/> <description value="Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc."/> </binding> <mapping> <identity value="rim"/> <map value="???"/> </mapping> </element> <element id="Task.output.value[x]"> <path value="Task.output.value[x]"/> <short value="Result of output"/> <definition value="The value of the Output parameter as a basic type."/> <requirements value="Task outputs can take any form."/> <min value="1"/> <max value="1"/> <base> <path value="Task.output.value[x]"/> <min value="1"/> <max value="1"/> </base> <type> <code value="base64Binary"/> </type> <type> <code value="boolean"/> </type> <type> <code value="code"/> </type> <type> <code value="date"/> </type> <type> <code value="dateTime"/> </type> <type> <code value="decimal"/> </type> <type> <code value="id"/> </type> <type> <code value="instant"/> </type> <type> <code value="integer"/> </type> <type> <code value="markdown"/> </type> <type> <code value="oid"/> </type> <type> <code value="positiveInt"/> </type> <type> <code value="string"/> </type> <type> <code value="time"/> </type> <type> <code value="unsignedInt"/> </type> <type> <code value="uri"/> </type> <type> <code value="Address"/> </type> <type> <code value="Age"/> </type> <type> <code value="Annotation"/> </type> <type> <code value="Attachment"/> </type> <type> <code value="CodeableConcept"/> </type> <type> <code value="Coding"/> </type> <type> <code value="ContactPoint"/> </type> <type> <code value="Count"/> </type> <type> <code value="Distance"/> </type> <type> <code value="Duration"/> </type> <type> <code value="HumanName"/> </type> <type> <code value="Identifier"/> </type> <type> <code value="Money"/> </type> <type> <code value="Period"/> </type> <type> <code value="Quantity"/> </type> <type> <code value="Range"/> </type> <type> <code value="Ratio"/> </type> <type> <code value="Reference"/> </type> <type> <code value="SampledData"/> </type> <type> <code value="Signature"/> </type> <type> <code value="Timing"/> </type> <type> <code value="Meta"/> </type> <mapping> <identity value="rim"/> <map value="???"/> </mapping> </element> </snapshot> <differential> <element id="Task"> <path value="Task"/> <mustSupport value="false"/> <isModifier value="false"/> </element> <element id="Task.identifier:identifier"> <path value="Task.identifier"/> <sliceName value="identifier"/> <min value="1"/> <max value="*"/> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="qdm"/> <map value="id (“Intervention, Order”; “Intervention, Recommended”; “Intervention, Performed”)"/> </mapping> </element> <element id="Task.status:status"> <path value="Task.status"/> <sliceName value="status"/> <min value="1"/> <max value="1"/> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="qdm"/> <map value="“Intervention, Performed” (constrained to status=”in progress”, “completed”)"/> </mapping> </element> <element id="Task.intent:intent"> <path value="Task.intent"/> <sliceName value="intent"/> <min value="1"/> <max value="1"/> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="qdm"/> <map value="“Intervention, Order” (constrained to intent=order); “Intervention, Recommended” (constrained to intent=plan)"/> </mapping> </element> <element id="Task.priority:priority"> <path value="Task.priority"/> <sliceName value="priority"/> <min value="1"/> <max value="1"/> <mustSupport value="true"/> <isModifier value="false"/> </element> <element id="Task.code:code"> <path value="Task.code"/> <sliceName value="code"/> <min value="1"/> <max value="1"/> <mustSupport value="true"/> <isModifier value="false"/> <mapping> <identity value="qdm"/> <map value="code (“Intervention, Order”; “Intervention, Recommended”; “Intervention, Performed”)"/> </mapping> </element> <element id="Task.executionPeriod:executionPeriod"> <path value="Task.executionPeriod"/> <sliceName value="executionPeriod"/> <min value="1"/> <max value="1"/> <mustSupport value="false"/> <isModifier value="false"/> </element> <element id="Task.reason"> <path value="Task.reason"/> <mustSupport value="false"/> <isModifier value="false"/> <mapping> <identity value="qdm"/> <map value="reason (“Intervention, Order”; “Intervention, Recommended”; “Intervention, Performed”)"/> </mapping> </element> </differential> </StructureDefinition>