This page is part of the Data Access Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. . For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/us/daf/StructureDefinition/daf-task
This profile was published on Fri Aug 12 00:00:00 AEST 2016 as a draft by Health Level Seven International (FHIR Infrastructure WG - Data Access Framework).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Task
This structure is derived from Task
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | A task to be performed dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource inv-1: Last modified date must be greater than or equal to created date. | |
id | ∑ | 0..1 | id | Logical id of this artifact |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..1 | Identifier | Task Instance Identifier |
basedOn | ∑ | 0..* | Reference(Resource) | Request fulfilled by this task |
requisition | S | 0..1 | Identifier | Requisition or grouper id |
parent | S | 0..* | Reference(Task) | Composite task |
status | S | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required) |
statusReason | ∑ | 0..1 | CodeableConcept | Reason for current status |
businessStatus | ∑ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example) |
stage | ∑ | 1..1 | CodeableConcept | proposed | planned | actionable + Binding: Task Stage Codes (extensible) |
code | S | 0..1 | CodeableConcept | Task Type |
priority | S | 0..1 | code | low | normal | high Binding: TaskPriority (required) |
description | S | 0..1 | string | Human-readable explanation of task |
focus | ∑ | 0..1 | Reference(Resource) | What task is acting on |
for | ∑ | 0..1 | Reference(Resource) | Beneficiary of the Task |
context | ∑ | 0..1 | Reference(Encounter | EpisodeOfCare) | Healthcare event during which this task originated |
created | SI | 1..1 | dateTime | Task Creation Date |
lastModified | SI | 1..1 | dateTime | Task Last Modified Date |
requester | S | 1..1 | Reference(Device | Organization | Patient | Practitioner | RelatedPerson) | Task Creator |
owner | S | 0..1 | Reference(Device | Organization | Patient | Practitioner | RelatedPerson) | Task Owner |
performerType | 0..* | CodeableConcept | requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer Binding: TaskPerformerType (preferred) | |
reason | S | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) |
note | S | 0..* | Annotation | Comments made about the task |
fulfillment | S | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
repetitions | S | 0..1 | positiveInt | How many times to repeat |
period | S | 0..1 | Period | Over what time-period is fulfillment sought |
recipients | S | 0..* | Reference(Patient | Practitioner | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
definition | S | 0..1 | uri | Task Definition |
input | S | 0..* | BackboneElement | Supporting information |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
type | S | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) |
value[x] | S | 1..1 | base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, Meta | Input Value |
output | S | 0..* | BackboneElement | Task Output |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
type | S | 1..1 | CodeableConcept | Output Name Binding: (unbound) (example) |
value[x] | S | 1..1 | base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, Meta | Output Value |
Documentation for this format |
yet to be done: Xml template
yet to be done: Json template
This structure is derived from Task.
Differential View
This structure is derived from Task.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | A task to be performed dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource inv-1: Last modified date must be greater than or equal to created date. | |
id | ∑ | 0..1 | id | Logical id of this artifact |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..1 | Identifier | Task Instance Identifier |
basedOn | ∑ | 0..* | Reference(Resource) | Request fulfilled by this task |
requisition | S | 0..1 | Identifier | Requisition or grouper id |
parent | S | 0..* | Reference(Task) | Composite task |
status | S | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required) |
statusReason | ∑ | 0..1 | CodeableConcept | Reason for current status |
businessStatus | ∑ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example) |
stage | ∑ | 1..1 | CodeableConcept | proposed | planned | actionable + Binding: Task Stage Codes (extensible) |
code | S | 0..1 | CodeableConcept | Task Type |
priority | S | 0..1 | code | low | normal | high Binding: TaskPriority (required) |
description | S | 0..1 | string | Human-readable explanation of task |
focus | ∑ | 0..1 | Reference(Resource) | What task is acting on |
for | ∑ | 0..1 | Reference(Resource) | Beneficiary of the Task |
context | ∑ | 0..1 | Reference(Encounter | EpisodeOfCare) | Healthcare event during which this task originated |
created | SI | 1..1 | dateTime | Task Creation Date |
lastModified | SI | 1..1 | dateTime | Task Last Modified Date |
requester | S | 1..1 | Reference(Device | Organization | Patient | Practitioner | RelatedPerson) | Task Creator |
owner | S | 0..1 | Reference(Device | Organization | Patient | Practitioner | RelatedPerson) | Task Owner |
performerType | 0..* | CodeableConcept | requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer Binding: TaskPerformerType (preferred) | |
reason | S | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) |
note | S | 0..* | Annotation | Comments made about the task |
fulfillment | S | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
repetitions | S | 0..1 | positiveInt | How many times to repeat |
period | S | 0..1 | Period | Over what time-period is fulfillment sought |
recipients | S | 0..* | Reference(Patient | Practitioner | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
definition | S | 0..1 | uri | Task Definition |
input | S | 0..* | BackboneElement | Supporting information |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
type | S | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) |
value[x] | S | 1..1 | base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, Meta | Input Value |
output | S | 0..* | BackboneElement | Task Output |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
type | S | 1..1 | CodeableConcept | Output Name Binding: (unbound) (example) |
value[x] | S | 1..1 | base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, Meta | Output Value |
Documentation for this format |
XML Template
yet to be done: Xml template
JSON Template
yet to be done: Json template
Path | Name | Conformance | ValueSet |
Task.language | Common Languages | extensible | Common Languages |
Task.status | TaskStatus | required | TaskStatus |
Task.businessStatus | ?ext | example | |
Task.stage | Task Stage Codes | extensible | Task Stage Codes |
Task.priority | TaskPriority | required | TaskPriority |
Task.performerType | TaskPerformerType | preferred | TaskPerformerType |
Task.reason | ?ext | example | |
Task.input.type | ?ext | example | |
Task.output.type | ?ext | example |
Id | Path | Details | Requirements |
dom-2 | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources XPath: not(parent::f:contained and f:contained) | |
dom-1 | Task | If the resource is contained in another resource, it SHALL NOT contain any narrative XPath: not(parent::f:contained and f:text) | |
dom-4 | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated)) | |
dom-3 | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))])) | |
inv-1 | Task | Last modified date must be greater than or equal to created date. XPath: f:lastModified >= f:created |