This page is part of the US Quality Core (v0.5.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
| Official URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-task | Version: 0.5.0 | ||||
| Active as of 2026-06-05 | Computable Name: USQualityCoreTask | ||||
Profile of Task for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
Systems are expected to support this profile as part of implementing USCDI+ Quality V1 in FHIR and meeting the conformance requirements of this guide.
The following elements are specifically relevant to USCDI+ Quality V1 data classes and elements. Systems are expected to support these elements as applicable to their role in US Quality Core data exchange. See the Must Support section of this guide for more information. These elements are tagged as (USCDI+ Quality) in the formal profile views.
USCDI+ Quality Elements:
The Formal Views section also provides the formal summary, definitions, terminology requirements, and mandatory element requirements.
To represent that a task was rejected before execution, use the US Quality Core Task Rejected profile.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |
![]() ![]() |
Σ | 0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task |
![]() ![]() |
?!Σ | 1..1 | code | (USCDI+ Quality) draft | requested | received | accepted | ready | cancelled | in-progress | on-hold | failed | completed | entered-in-error Binding: Non-Negative Task Status (required) |
![]() ![]() |
Σ | 0..1 | CodeableConcept | (USCDI+ Quality) Reason for current status Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Task Type Binding: TaskCode (preferred): Codes to identify what the task involves. These will typically be specific to a particular workflow |
![]() ![]() |
Σ | 0..1 | Reference(Resource) | (USCDI+ Quality) What task is acting on |
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | Non-Negative Task Status | 📦0.5.0 | This IG |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Task | A task to be performed | |
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |
![]() ![]() |
0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task | |
![]() ![]() |
1..1 | code | (USCDI+ Quality) draft | requested | received | accepted | ready | cancelled | in-progress | on-hold | failed | completed | entered-in-error Binding: Non-Negative Task Status (required) | |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Reason for current status | |
![]() ![]() |
1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance | |
![]() ![]() |
1..1 | code | routine | urgent | asap | stat | |
![]() ![]() |
1..1 | CodeableConcept | (USCDI+ Quality) Task Type Binding: TaskCode (preferred): Codes to identify what the task involves. These will typically be specific to a particular workflow | |
![]() ![]() |
0..1 | Reference(Resource) | (USCDI+ Quality) What task is acting on | |
![]() ![]() |
1..1 | Period | (USCDI+ Quality) | |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | Non-Negative Task Status | 📦0.5.0 | This IG |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..1 | uri | Formal definition of task | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Requisition or grouper id | ||||
![]() ![]() |
Σ | 0..* | Reference(Task) | Composite task | ||||
![]() ![]() |
?!Σ | 1..1 | code | (USCDI+ Quality) draft | requested | received | accepted | ready | cancelled | in-progress | on-hold | failed | completed | entered-in-error Binding: Non-Negative Task Status (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | (USCDI+ Quality) Reason for current status Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding Description: (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. | ||||
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Task Type Binding: TaskCode (preferred): Codes to identify what the task involves. These will typically be specific to a particular workflow | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | (USCDI+ Quality) What task is acting on | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Beneficiary of the Task | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | ||||
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) | ||||
![]() ![]() |
C | 0..1 | dateTime | Task Creation Date | ||||
![]() ![]() |
ΣC | 0..1 | dateTime | Task Last Modified Date | ||||
![]() ![]() |
Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done | ||||
![]() ![]() |
0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Where task occurs | ||||
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |||||
![]() ![]() |
0..1 | Reference(Resource) | Why task is needed | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Comments made about the task | |||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() |
0..1 | BackboneElement | Constraints on fulfillment tasks | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
0..1 | Period | When fulfillment sought | |||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() |
0..* | BackboneElement | Information used to perform task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |||||
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
![]() ![]() |
0..* | BackboneElement | Information produced as part of task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): 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. | |||||
![]() ![]() ![]() |
1..1 | Result of output | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Task.status | Base | required | Non-Negative Task Status | 📦0.5.0 | This IG |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.businessStatus | Base | example | Not State | Unknown | |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |
![]() ![]() |
Σ | 0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task |
![]() ![]() |
?!Σ | 1..1 | code | (USCDI+ Quality) draft | requested | received | accepted | ready | cancelled | in-progress | on-hold | failed | completed | entered-in-error Binding: Non-Negative Task Status (required) |
![]() ![]() |
Σ | 0..1 | CodeableConcept | (USCDI+ Quality) Reason for current status Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Task Type Binding: TaskCode (preferred): Codes to identify what the task involves. These will typically be specific to a particular workflow |
![]() ![]() |
Σ | 0..1 | Reference(Resource) | (USCDI+ Quality) What task is acting on |
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | Non-Negative Task Status | 📦0.5.0 | This IG |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Task | A task to be performed | |
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |
![]() ![]() |
0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task | |
![]() ![]() |
1..1 | code | (USCDI+ Quality) draft | requested | received | accepted | ready | cancelled | in-progress | on-hold | failed | completed | entered-in-error Binding: Non-Negative Task Status (required) | |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Reason for current status | |
![]() ![]() |
1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance | |
![]() ![]() |
1..1 | code | routine | urgent | asap | stat | |
![]() ![]() |
1..1 | CodeableConcept | (USCDI+ Quality) Task Type Binding: TaskCode (preferred): Codes to identify what the task involves. These will typically be specific to a particular workflow | |
![]() ![]() |
0..1 | Reference(Resource) | (USCDI+ Quality) What task is acting on | |
![]() ![]() |
1..1 | Period | (USCDI+ Quality) | |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | Non-Negative Task Status | 📦0.5.0 | This IG |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..1 | uri | Formal definition of task | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Requisition or grouper id | ||||
![]() ![]() |
Σ | 0..* | Reference(Task) | Composite task | ||||
![]() ![]() |
?!Σ | 1..1 | code | (USCDI+ Quality) draft | requested | received | accepted | ready | cancelled | in-progress | on-hold | failed | completed | entered-in-error Binding: Non-Negative Task Status (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | (USCDI+ Quality) Reason for current status Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding Description: (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. | ||||
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Task Type Binding: TaskCode (preferred): Codes to identify what the task involves. These will typically be specific to a particular workflow | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | (USCDI+ Quality) What task is acting on | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Beneficiary of the Task | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | ||||
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) | ||||
![]() ![]() |
C | 0..1 | dateTime | Task Creation Date | ||||
![]() ![]() |
ΣC | 0..1 | dateTime | Task Last Modified Date | ||||
![]() ![]() |
Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done | ||||
![]() ![]() |
0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Where task occurs | ||||
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |||||
![]() ![]() |
0..1 | Reference(Resource) | Why task is needed | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Comments made about the task | |||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() |
0..1 | BackboneElement | Constraints on fulfillment tasks | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
0..1 | Period | When fulfillment sought | |||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() |
0..* | BackboneElement | Information used to perform task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |||||
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
![]() ![]() |
0..* | BackboneElement | Information produced as part of task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): 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. | |||||
![]() ![]() ![]() |
1..1 | Result of output | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Task.status | Base | required | Non-Negative Task Status | 📦0.5.0 | This IG |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.businessStatus | Base | example | Not State | Unknown | |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
Other representations of profile: CSV, Excel, Schematron