Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-recommendations/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask | Version: 3.0.0-ballot | ||||
| Standards status: Trial-use | Maturity Level: 4 * | Computable Name: CPGQuestionnaireTask | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.48.42.103 | |||||
Recommendation to collect specific information using a particular questionnaire as part of the delivery of a computable clinical practice guideline
Use this Task profile to recommend collecting information with a specified questionnaire. Its canonical input identifies the reusable form, and its optional output points to the patient-specific answers. The Task tracks the collection work, while QuestionnaireResponse separately records the response’s content, author, source and completion state.
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..* | CPGTask | A task to be performed Constraints: inv-1 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
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 | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | canonical(CPG Case Feature Definition) | CPG Instantiates Case Feature Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-instantiatesCaseFeature | |
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Type Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType Binding: CPG Case Feature Type Value Set (required): Whether the case feature is asserted or inferred | |
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Pertinence Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeaturePertinence Binding: CPG Case Feature Pertinence Value Set (required): Describes the pertinence of a case feature | |
![]() ![]() ![]() |
0..1 | integer | CPG Pertinence Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinenceRating | |
![]() ![]() ![]() |
0..1 | Reference() | CPG Pertinent To Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinentTo | |
![]() ![]() ![]() |
0..1 | Reference(OperationOutcome) | Messages from logic evaluation URL: http://hl7.org/fhir/StructureDefinition/cqf-messages | |
![]() ![]() ![]() |
0..1 | markdown | CPG Rationale Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rationale | |
![]() ![]() ![]() |
0..* | Reference() | CPG Pertinent Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinent | |
![]() ![]() ![]() |
0..1 | Quantity, Range, Ratio | CPG Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rating | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | boolean | true if request is prohibiting action URL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform | |
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |
![]() ![]() |
0..1 | canonical(ActivityDefinition) | Source | |
![]() ![]() |
0..* | Reference(Resource) | Request fulfilled by this task | |
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |
![]() ![]() |
0..1 | CodeableConcept | 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-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. | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: CPG Activity Type Value Set (extensible): Activity types for use in computable guidelines Required Pattern: | |
![]() ![]() |
0..1 | string | Human-readable explanation of task | |
![]() ![]() |
0..1 | Reference(CPG Patient) | Beneficiary of the Task | |
![]() ![]() |
0..1 | Reference(CPG Encounter) | Healthcare event during which this task originated | |
![]() ![]() |
0..1 | Period | Start and end time of execution | |
![]() ![]() |
C | 0..1 | dateTime | Task Creation Date |
![]() ![]() |
1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
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 | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Questionnaire to use | |
![]() ![]() ![]() ![]() |
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. Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | canonical(CPG Computable Questionnaire) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
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 | |||
![]() ![]() ![]() |
0..1 | BackboneElement | Response | |
![]() ![]() ![]() ![]() |
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. Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CPG Questionnaire Response) | Result of output | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
The current status of the task. |
| Task.statusReason | Base | example | Not State | Unknown |
Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
|
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
Distinguishes whether the task is a proposal, plan or full order. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
The task's priority. |
| Task.code | Base | extensible | CPG Activity Type Value Set | 📦3.0.0-ballot | This IG |
Activity types for use in computable guidelines |
| Task.input.type | Base | example | Not State | Unknown |
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. |
|
| Task.input:questionnaire.type | Base | example | Not State | Unknown |
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. |
|
| Task.output.type | Base | example | Not State | Unknown |
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. |
|
| Task.output:questionnaireResponse.type | Base | example | Not State | Unknown |
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. |
| 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
|
This structure is derived from CPGTask
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | CPGTask | A task to be performed | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Required Pattern: | |
![]() ![]() |
1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | BackboneElement | Questionnaire to use | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | canonical(CPG Computable Questionnaire) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | BackboneElement | Response | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CPG Questionnaire Response) | Result of output | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CPGTask | 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 | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | canonical(CPG Case Feature Definition) | CPG Instantiates Case Feature Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-instantiatesCaseFeature | |||||
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Type Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType Binding: CPG Case Feature Type Value Set (required): Whether the case feature is asserted or inferred | |||||
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Pertinence Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeaturePertinence Binding: CPG Case Feature Pertinence Value Set (required): Describes the pertinence of a case feature | |||||
![]() ![]() ![]() |
0..1 | integer | CPG Pertinence Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinenceRating | |||||
![]() ![]() ![]() |
0..1 | Reference() | CPG Pertinent To Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinentTo | |||||
![]() ![]() ![]() |
0..1 | Reference(OperationOutcome) | Messages from logic evaluation URL: http://hl7.org/fhir/StructureDefinition/cqf-messages | |||||
![]() ![]() ![]() |
0..1 | markdown | CPG Rationale Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rationale | |||||
![]() ![]() ![]() |
0..* | Reference() | CPG Pertinent Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinent | |||||
![]() ![]() ![]() |
0..1 | Quantity, Range, Ratio | CPG Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rating | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | boolean | true if request is prohibiting action URL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform | |||||
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
0..1 | canonical(ActivityDefinition) | Source | |||||
![]() ![]() |
0..1 | uri | Formal definition of task | |||||
![]() ![]() |
0..* | Reference(Resource) | Request fulfilled by this task | |||||
![]() ![]() |
0..1 | Identifier | Requisition or grouper id | |||||
![]() ![]() |
0..* | Reference(Task) | Composite task | |||||
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |||||
![]() ![]() |
0..1 | CodeableConcept | 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-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. | |||||
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: CPG Activity Type Value Set (extensible): Activity types for use in computable guidelines Required Pattern: | |||||
![]() ![]() |
0..1 | string | Human-readable explanation of task | |||||
![]() ![]() |
0..1 | Reference(Resource) | What task is acting on | |||||
![]() ![]() |
0..1 | Reference(CPG Patient) | Beneficiary of the Task | |||||
![]() ![]() |
0..1 | Reference(CPG Encounter) | Healthcare event during which this task originated | |||||
![]() ![]() |
0..1 | Period | Start and end time of execution | |||||
![]() ![]() |
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 | 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? | |||||
![]() ![]() |
1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
1..1 | BackboneElement | Questionnaire to use | |||||
![]() ![]() ![]() ![]() |
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. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | canonical(CPG Computable Questionnaire) | Content to use in performing the task | |||||
![]() ![]() |
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
0..1 | BackboneElement | Response | |||||
![]() ![]() ![]() ![]() |
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. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(CPG Questionnaire Response) | Result of output | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
The current status of the task. |
| Task.statusReason | Base | example | Not State | Unknown |
Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
|
| Task.businessStatus | Base | example | Not State | Unknown |
The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. |
|
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
Distinguishes whether the task is a proposal, plan or full order. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
The task's priority. |
| Task.code | Base | extensible | CPG Activity Type Value Set | 📦3.0.0-ballot | This IG |
Activity types for use in computable guidelines |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
The type(s) of task performers allowed. |
| Task.reasonCode | Base | example | Not State | Unknown |
Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |
|
| Task.input.type | Base | example | Not State | Unknown |
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. |
|
| Task.input:questionnaire.type | Base | example | Not State | Unknown |
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. |
|
| Task.output.type | Base | example | Not State | Unknown |
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. |
|
| Task.output:questionnaireResponse.type | Base | example | Not State | Unknown |
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. |
| 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
|
This structure is derived from CPGTask
Summary
Mandatory: 2 elements
Must-Support: 7 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Maturity: 4
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CPGTask | A task to be performed Constraints: inv-1 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
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 | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | canonical(CPG Case Feature Definition) | CPG Instantiates Case Feature Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-instantiatesCaseFeature | |
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Type Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType Binding: CPG Case Feature Type Value Set (required): Whether the case feature is asserted or inferred | |
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Pertinence Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeaturePertinence Binding: CPG Case Feature Pertinence Value Set (required): Describes the pertinence of a case feature | |
![]() ![]() ![]() |
0..1 | integer | CPG Pertinence Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinenceRating | |
![]() ![]() ![]() |
0..1 | Reference() | CPG Pertinent To Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinentTo | |
![]() ![]() ![]() |
0..1 | Reference(OperationOutcome) | Messages from logic evaluation URL: http://hl7.org/fhir/StructureDefinition/cqf-messages | |
![]() ![]() ![]() |
0..1 | markdown | CPG Rationale Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rationale | |
![]() ![]() ![]() |
0..* | Reference() | CPG Pertinent Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinent | |
![]() ![]() ![]() |
0..1 | Quantity, Range, Ratio | CPG Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rating | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | boolean | true if request is prohibiting action URL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform | |
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |
![]() ![]() |
0..1 | canonical(ActivityDefinition) | Source | |
![]() ![]() |
0..* | Reference(Resource) | Request fulfilled by this task | |
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |
![]() ![]() |
0..1 | CodeableConcept | 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-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. | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: CPG Activity Type Value Set (extensible): Activity types for use in computable guidelines Required Pattern: | |
![]() ![]() |
0..1 | string | Human-readable explanation of task | |
![]() ![]() |
0..1 | Reference(CPG Patient) | Beneficiary of the Task | |
![]() ![]() |
0..1 | Reference(CPG Encounter) | Healthcare event during which this task originated | |
![]() ![]() |
0..1 | Period | Start and end time of execution | |
![]() ![]() |
C | 0..1 | dateTime | Task Creation Date |
![]() ![]() |
1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
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 | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Questionnaire to use | |
![]() ![]() ![]() ![]() |
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. Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | canonical(CPG Computable Questionnaire) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
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 | |||
![]() ![]() ![]() |
0..1 | BackboneElement | Response | |
![]() ![]() ![]() ![]() |
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. Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CPG Questionnaire Response) | Result of output | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
The current status of the task. |
| Task.statusReason | Base | example | Not State | Unknown |
Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
|
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
Distinguishes whether the task is a proposal, plan or full order. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
The task's priority. |
| Task.code | Base | extensible | CPG Activity Type Value Set | 📦3.0.0-ballot | This IG |
Activity types for use in computable guidelines |
| Task.input.type | Base | example | Not State | Unknown |
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. |
|
| Task.input:questionnaire.type | Base | example | Not State | Unknown |
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. |
|
| Task.output.type | Base | example | Not State | Unknown |
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. |
|
| Task.output:questionnaireResponse.type | Base | example | Not State | Unknown |
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. |
| 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
This structure is derived from CPGTask
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | CPGTask | A task to be performed | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Required Pattern: | |
![]() ![]() |
1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | BackboneElement | Questionnaire to use | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | canonical(CPG Computable Questionnaire) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | BackboneElement | Response | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CPG Questionnaire Response) | Result of output | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CPGTask | 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 | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | canonical(CPG Case Feature Definition) | CPG Instantiates Case Feature Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-instantiatesCaseFeature | |||||
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Type Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType Binding: CPG Case Feature Type Value Set (required): Whether the case feature is asserted or inferred | |||||
![]() ![]() ![]() |
0..1 | code | CPG Case Feature Pertinence Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeaturePertinence Binding: CPG Case Feature Pertinence Value Set (required): Describes the pertinence of a case feature | |||||
![]() ![]() ![]() |
0..1 | integer | CPG Pertinence Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinenceRating | |||||
![]() ![]() ![]() |
0..1 | Reference() | CPG Pertinent To Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinentTo | |||||
![]() ![]() ![]() |
0..1 | Reference(OperationOutcome) | Messages from logic evaluation URL: http://hl7.org/fhir/StructureDefinition/cqf-messages | |||||
![]() ![]() ![]() |
0..1 | markdown | CPG Rationale Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rationale | |||||
![]() ![]() ![]() |
0..* | Reference() | CPG Pertinent Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinent | |||||
![]() ![]() ![]() |
0..1 | Quantity, Range, Ratio | CPG Rating Extension URL: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-rating | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | boolean | true if request is prohibiting action URL: http://hl7.org/fhir/StructureDefinition/request-doNotPerform | |||||
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
0..1 | canonical(ActivityDefinition) | Source | |||||
![]() ![]() |
0..1 | uri | Formal definition of task | |||||
![]() ![]() |
0..* | Reference(Resource) | Request fulfilled by this task | |||||
![]() ![]() |
0..1 | Identifier | Requisition or grouper id | |||||
![]() ![]() |
0..* | Reference(Task) | Composite task | |||||
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |||||
![]() ![]() |
0..1 | CodeableConcept | 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-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. | |||||
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: CPG Activity Type Value Set (extensible): Activity types for use in computable guidelines Required Pattern: | |||||
![]() ![]() |
0..1 | string | Human-readable explanation of task | |||||
![]() ![]() |
0..1 | Reference(Resource) | What task is acting on | |||||
![]() ![]() |
0..1 | Reference(CPG Patient) | Beneficiary of the Task | |||||
![]() ![]() |
0..1 | Reference(CPG Encounter) | Healthcare event during which this task originated | |||||
![]() ![]() |
0..1 | Period | Start and end time of execution | |||||
![]() ![]() |
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 | 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? | |||||
![]() ![]() |
1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
1..1 | BackboneElement | Questionnaire to use | |||||
![]() ![]() ![]() ![]() |
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. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | canonical(CPG Computable Questionnaire) | Content to use in performing the task | |||||
![]() ![]() |
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
0..1 | BackboneElement | Response | |||||
![]() ![]() ![]() ![]() |
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. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(CPG Questionnaire Response) | Result of output | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
The current status of the task. |
| Task.statusReason | Base | example | Not State | Unknown |
Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
|
| Task.businessStatus | Base | example | Not State | Unknown |
The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. |
|
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
Distinguishes whether the task is a proposal, plan or full order. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
The task's priority. |
| Task.code | Base | extensible | CPG Activity Type Value Set | 📦3.0.0-ballot | This IG |
Activity types for use in computable guidelines |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
The type(s) of task performers allowed. |
| Task.reasonCode | Base | example | Not State | Unknown |
Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |
|
| Task.input.type | Base | example | Not State | Unknown |
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. |
|
| Task.input:questionnaire.type | Base | example | Not State | Unknown |
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. |
|
| Task.output.type | Base | example | Not State | Unknown |
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. |
|
| Task.output:questionnaireResponse.type | Base | example | Not State | Unknown |
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. |
| 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
|
This structure is derived from CPGTask
Summary
Mandatory: 2 elements
Must-Support: 7 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Maturity: 4
Other representations of profile: CSV, Excel, Schematron
The code pattern includes collect-information. input:questionnaire is required once, typed collect-information, with a canonical targeting CPGComputableQuestionnaire.
output:questionnaireResponse is optional 0..1, typed collect-information, and references CPGQuestionnaireResponse. Task and response statuses use different vocabularies.
Population, user confirmation and extraction can contribute data to reevaluation. They do not make every returned proposal an accepted clinical action.
Related: activity definition; related clinical resource; Activity Flow; Interactive CDS.