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. 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-taskrejected | Version: 0.5.0 | ||||
| Active as of 2026-06-05 | Computable Name: USQualityCoreTaskRejected | ||||
Profile of TaskRejected 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.
This profile represents a task that was rejected before execution. To represent tasks that were not rejected, use the US Quality Core Task 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, tnd-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task |
![]() ![]() |
?!Σ | 1..1 | code | (USCDI+ Quality) The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action Binding: TaskStatus (required): The current status of the task. Fixed Value: rejected |
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Binding: USQualityCore Negation Reason Codes (extensible) |
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
ΣC | 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. |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
C | 0..1 | canonical(ValueSet) | Url of a value set of activities not requested or performed URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet |
![]() ![]() |
Σ | 1..1 | Reference(Resource) | (USCDI+ Quality) |
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Patient) | Beneficiary of the Task |
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Encounter) | Healthcare event during which this task originated |
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) The timing the task was rejected and the reason. |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Why task is needed 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 | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | extensible | USQualityCore Negation Reason Codes | 📦0.5.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍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
|
| tnd-1 | error | Task | to indicate what task was not performed, either at least one coding in the code or a notDoneValueSet extension shall be provided |
code.extension('http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: tnd-1 |
![]() ![]() |
0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task | |
![]() ![]() |
1..1 | code | (USCDI+ Quality) The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action Fixed Value: rejected | |
![]() ![]() |
1..1 | CodeableConcept | (USCDI+ Quality) Binding: USQualityCore Negation Reason Codes (extensible) | |
![]() ![]() |
C | 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. |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
C | 0..1 | canonical(ValueSet) | Url of a value set of activities not requested or performed URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet |
![]() ![]() |
1..1 | Reference(Resource) | (USCDI+ Quality) | |
![]() ![]() |
0..1 | Reference(US Quality Core Patient) | Beneficiary of the Task | |
![]() ![]() |
0..1 | Reference(US Quality Core Encounter) | Healthcare event during which this task originated | |
![]() ![]() |
1..1 | Period | (USCDI+ Quality) The timing the task was rejected and the reason. | |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Why task is needed | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.statusReason | Base | extensible | USQualityCore Negation Reason Codes | 📦0.5.0 | This IG |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| tnd-1 | error | Task | to indicate what task was not performed, either at least one coding in the code or a notDoneValueSet extension shall be provided |
code.extension('http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1, tnd-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 | ||||
![]() ![]() |
0..* | 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) The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action Binding: TaskStatus (required): The current status of the task. Fixed Value: rejected | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Binding: USQualityCore Negation Reason Codes (extensible) | ||||
![]() ![]() |
Σ | 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-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |||||
![]() ![]() |
ΣC | 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 | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | canonical(ValueSet) | Url of a value set of activities not requested or performed URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
Σ | 1..1 | Reference(Resource) | (USCDI+ Quality) | ||||
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Patient) | Beneficiary of the Task | ||||
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Encounter) | Healthcare event during which this task originated | ||||
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) The timing the task was rejected and the reason. | ||||
![]() ![]() |
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) Why task is needed 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 | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | extensible | USQualityCore Negation Reason Codes | 📦0.5.0 | This IG |
| 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
|
| tnd-1 | error | Task | to indicate what task was not performed, either at least one coding in the code or a notDoneValueSet extension shall be provided |
code.extension('http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()
|
Summary
Mandatory: 5 elements
Fixed: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1, tnd-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task |
![]() ![]() |
?!Σ | 1..1 | code | (USCDI+ Quality) The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action Binding: TaskStatus (required): The current status of the task. Fixed Value: rejected |
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Binding: USQualityCore Negation Reason Codes (extensible) |
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
ΣC | 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. |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
C | 0..1 | canonical(ValueSet) | Url of a value set of activities not requested or performed URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet |
![]() ![]() |
Σ | 1..1 | Reference(Resource) | (USCDI+ Quality) |
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Patient) | Beneficiary of the Task |
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Encounter) | Healthcare event during which this task originated |
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) The timing the task was rejected and the reason. |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Why task is needed 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 | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | extensible | USQualityCore Negation Reason Codes | 📦0.5.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍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
|
| tnd-1 | error | Task | to indicate what task was not performed, either at least one coding in the code or a notDoneValueSet extension shall be provided |
code.extension('http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: tnd-1 |
![]() ![]() |
0..* | Reference(Resource) | (USCDI+ Quality) Request fulfilled by this task | |
![]() ![]() |
1..1 | code | (USCDI+ Quality) The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action Fixed Value: rejected | |
![]() ![]() |
1..1 | CodeableConcept | (USCDI+ Quality) Binding: USQualityCore Negation Reason Codes (extensible) | |
![]() ![]() |
C | 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. |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
C | 0..1 | canonical(ValueSet) | Url of a value set of activities not requested or performed URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet |
![]() ![]() |
1..1 | Reference(Resource) | (USCDI+ Quality) | |
![]() ![]() |
0..1 | Reference(US Quality Core Patient) | Beneficiary of the Task | |
![]() ![]() |
0..1 | Reference(US Quality Core Encounter) | Healthcare event during which this task originated | |
![]() ![]() |
1..1 | Period | (USCDI+ Quality) The timing the task was rejected and the reason. | |
![]() ![]() |
0..1 | CodeableConcept | (USCDI+ Quality) Why task is needed | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.statusReason | Base | extensible | USQualityCore Negation Reason Codes | 📦0.5.0 | This IG |
| Task.code | Base | preferred | Task Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| tnd-1 | error | Task | to indicate what task was not performed, either at least one coding in the code or a notDoneValueSet extension shall be provided |
code.extension('http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()
|
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1, tnd-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 | ||||
![]() ![]() |
0..* | 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) The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action Binding: TaskStatus (required): The current status of the task. Fixed Value: rejected | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | (USCDI+ Quality) Binding: USQualityCore Negation Reason Codes (extensible) | ||||
![]() ![]() |
Σ | 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-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |||||
![]() ![]() |
ΣC | 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 | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | canonical(ValueSet) | Url of a value set of activities not requested or performed URL: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
Σ | 1..1 | Reference(Resource) | (USCDI+ Quality) | ||||
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Patient) | Beneficiary of the Task | ||||
![]() ![]() |
Σ | 0..1 | Reference(US Quality Core Encounter) | Healthcare event during which this task originated | ||||
![]() ![]() |
Σ | 1..1 | Period | (USCDI+ Quality) The timing the task was rejected and the reason. | ||||
![]() ![]() |
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) Why task is needed 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 | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | extensible | USQualityCore Negation Reason Codes | 📦0.5.0 | This IG |
| 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
|
| tnd-1 | error | Task | to indicate what task was not performed, either at least one coding in the code or a notDoneValueSet extension shall be provided |
code.extension('http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet').exists() xor code.coding.exists()
|
Summary
Mandatory: 5 elements
Fixed: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron