Koppeltaal 2.0 Implementation Guide
0.9.0 - ci-build
Koppeltaal 2.0 Implementation Guide - Local Development build (v0.9.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://koppeltaal.nl/fhir/StructureDefinition/KT2Task | Version: 0.9.0 | |||
| Draft as of 2023-01-24 | Computable Name: KT2_Task | |||
Copyright/Legal: VZVZ |
||||
The (FHIR) Task (resource) describes an eHealth task, that is, an eHealth activity assigned to a patient.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management inv-1: Last modified date must be greater than or equal to authored-on date. |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
0..* | Reference(KT2_Device) | Extension URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
0..* | Reference(KT2_ActivityDefinition) | Reference to ActivityDefinition URL: http://vzvz.nl/fhir/StructureDefinition/instantiates ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() |
1..* | Identifier | Task Instance Identifier ele-1: All FHIR elements must have a @value or children | |
![]() ![]() |
Σ | 0..1 | canonical(KT2_ActivityDefinition) | Formal definition of task ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 0..* | Reference(KT2_Task) | Composite task ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 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. ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. ele-1: All FHIR elements must have a @value or children Fixed Value: routine | |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Task Type Binding: Koppeltaal Task Code (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 1..1 | Reference(KT2_Patient) | Beneficiary of the Task ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 0..1 | Reference(KT2_Practitioner) | Who is asking for task to be done ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 1..1 | Reference(KT2_CareTeam | KT2_Patient | KT2_Practitioner | KT2_RelatedPerson) | Responsible individual ele-1: All FHIR elements must have a @value or children |
Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI |
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1from the FHIR Standard | |
| Task.intent | required | TaskIntenthttp://hl7.org/fhir/ValueSet/task-intent|4.0.1from the FHIR Standard | |
| Task.priority | required | Fixed Value: routinehttp://hl7.org/fhir/ValueSet/request-priority|4.0.1from the FHIR Standard | |
| Task.code | preferred | KoppeltaalTaskCode_ValueSethttp://vzvz.nl/fhir/ValueSet/koppeltaal-task-codefrom this IG | |
| Task.input.type | example | ||
| Task.output.type | example |
| Id | Grade | Path(s) | Details | Requirements |
| 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 Task
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
0..* | Task | A task to be performed | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Reference(KT2_Device) | Extension URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin | |
![]() ![]() ![]() |
0..* | Reference(KT2_ActivityDefinition) | Reference to ActivityDefinition URL: http://vzvz.nl/fhir/StructureDefinition/instantiates | |
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |
![]() ![]() |
0..1 | canonical(KT2_ActivityDefinition) | Formal definition of task | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..* | Reference(KT2_Task) | Composite task | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Fixed Value: routine | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: Koppeltaal Task Code (preferred) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(KT2_Patient) | Beneficiary of the Task | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(KT2_Practitioner) | Who is asking for task to be done | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(KT2_CareTeam | KT2_Patient | KT2_Practitioner | KT2_RelatedPerson) | Responsible individual | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| Task.code | preferred | KoppeltaalTaskCode_ValueSethttp://vzvz.nl/fhir/ValueSet/koppeltaal-task-codefrom this IG |
| Name | Flags | Card. | Type | Description & Constraints![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed inv-1: Last modified date must be greater than or equal to authored-on date. | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Reference(KT2_Device) | Extension URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin | |||||
![]() ![]() ![]() |
0..* | Reference(KT2_ActivityDefinition) | Reference to ActivityDefinition URL: http://vzvz.nl/fhir/StructureDefinition/instantiates | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
Σ | 0..1 | canonical(KT2_ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..* | Reference(KT2_Task) | Composite task | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | ||||
![]() ![]() |
Σ | 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. Fixed Value: routine | |||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Task Type Binding: Koppeltaal Task Code (preferred) | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
Σ | 1..1 | Reference(KT2_Patient) | Beneficiary of the Task | ||||
![]() ![]() |
Σ | 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(KT2_Practitioner) | Who is asking for task to be done | ||||
![]() ![]() |
Σ | 1..1 | Reference(KT2_CareTeam | KT2_Patient | KT2_Practitioner | KT2_RelatedPerson) | Responsible individual | ||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Task.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesfrom the FHIR Standard
| ||||
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1from the FHIR Standard | ||||
| Task.intent | required | TaskIntenthttp://hl7.org/fhir/ValueSet/task-intent|4.0.1from the FHIR Standard | ||||
| Task.priority | required | Fixed Value: routinehttp://hl7.org/fhir/ValueSet/request-priority|4.0.1from the FHIR Standard | ||||
| Task.code | preferred | KoppeltaalTaskCode_ValueSethttp://vzvz.nl/fhir/ValueSet/koppeltaal-task-codefrom this IG | ||||
| Task.input.type | example | |||||
| Task.output.type | example |
| Id | Grade | Path(s) | Details | Requirements |
| 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 Task
Summary
Mandatory: 3 elements
Fixed: 1 element
Prohibited: 17 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management inv-1: Last modified date must be greater than or equal to authored-on date. |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
0..* | Reference(KT2_Device) | Extension URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
0..* | Reference(KT2_ActivityDefinition) | Reference to ActivityDefinition URL: http://vzvz.nl/fhir/StructureDefinition/instantiates ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() |
1..* | Identifier | Task Instance Identifier ele-1: All FHIR elements must have a @value or children | |
![]() ![]() |
Σ | 0..1 | canonical(KT2_ActivityDefinition) | Formal definition of task ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 0..* | Reference(KT2_Task) | Composite task ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 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. ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. ele-1: All FHIR elements must have a @value or children Fixed Value: routine | |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Task Type Binding: Koppeltaal Task Code (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 1..1 | Reference(KT2_Patient) | Beneficiary of the Task ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 0..1 | Reference(KT2_Practitioner) | Who is asking for task to be done ele-1: All FHIR elements must have a @value or children |
![]() ![]() |
Σ | 1..1 | Reference(KT2_CareTeam | KT2_Patient | KT2_Practitioner | KT2_RelatedPerson) | Responsible individual ele-1: All FHIR elements must have a @value or children |
Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI |
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1from the FHIR Standard | |
| Task.intent | required | TaskIntenthttp://hl7.org/fhir/ValueSet/task-intent|4.0.1from the FHIR Standard | |
| Task.priority | required | Fixed Value: routinehttp://hl7.org/fhir/ValueSet/request-priority|4.0.1from the FHIR Standard | |
| Task.code | preferred | KoppeltaalTaskCode_ValueSethttp://vzvz.nl/fhir/ValueSet/koppeltaal-task-codefrom this IG | |
| Task.input.type | example | ||
| Task.output.type | example |
| Id | Grade | Path(s) | Details | Requirements |
| 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 Task
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
0..* | Task | A task to be performed | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Reference(KT2_Device) | Extension URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin | |
![]() ![]() ![]() |
0..* | Reference(KT2_ActivityDefinition) | Reference to ActivityDefinition URL: http://vzvz.nl/fhir/StructureDefinition/instantiates | |
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |
![]() ![]() |
0..1 | canonical(KT2_ActivityDefinition) | Formal definition of task | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..* | Reference(KT2_Task) | Composite task | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Fixed Value: routine | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: Koppeltaal Task Code (preferred) | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(KT2_Patient) | Beneficiary of the Task | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | Reference(KT2_Practitioner) | Who is asking for task to be done | |
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(KT2_CareTeam | KT2_Patient | KT2_Practitioner | KT2_RelatedPerson) | Responsible individual | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| Task.code | preferred | KoppeltaalTaskCode_ValueSethttp://vzvz.nl/fhir/ValueSet/koppeltaal-task-codefrom this IG |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed inv-1: Last modified date must be greater than or equal to authored-on date. | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Reference(KT2_Device) | Extension URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin | |||||
![]() ![]() ![]() |
0..* | Reference(KT2_ActivityDefinition) | Reference to ActivityDefinition URL: http://vzvz.nl/fhir/StructureDefinition/instantiates | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
1..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
Σ | 0..1 | canonical(KT2_ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..* | Reference(KT2_Task) | Composite task | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | ||||
![]() ![]() |
Σ | 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. Fixed Value: routine | |||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Task Type Binding: Koppeltaal Task Code (preferred) | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
Σ | 1..1 | Reference(KT2_Patient) | Beneficiary of the Task | ||||
![]() ![]() |
Σ | 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(KT2_Practitioner) | Who is asking for task to be done | ||||
![]() ![]() |
Σ | 1..1 | Reference(KT2_CareTeam | KT2_Patient | KT2_Practitioner | KT2_RelatedPerson) | Responsible individual | ||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Task.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesfrom the FHIR Standard
| ||||
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1from the FHIR Standard | ||||
| Task.intent | required | TaskIntenthttp://hl7.org/fhir/ValueSet/task-intent|4.0.1from the FHIR Standard | ||||
| Task.priority | required | Fixed Value: routinehttp://hl7.org/fhir/ValueSet/request-priority|4.0.1from the FHIR Standard | ||||
| Task.code | preferred | KoppeltaalTaskCode_ValueSethttp://vzvz.nl/fhir/ValueSet/koppeltaal-task-codefrom this IG | ||||
| Task.input.type | example | |||||
| Task.output.type | example |
| Id | Grade | Path(s) | Details | Requirements |
| 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 Task
Summary
Mandatory: 3 elements
Fixed: 1 element
Prohibited: 17 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron
As of 2023-11-02 the way the ActivityDefinition is referenced is changed!
A Task should refer to the ActivityDefinition it instantiates. This provides the possibility to search for Tasks that instantiate a specific instance of an ActivityDefinition, which in turn can be found based on its publisherId.
Using the element instantiatesCanonical does not however allow chaining of the search parameters. Therefore this profile contains an extension instantiates which should hold the reference to the instantiated ActivityDefinition.
The element instantiatesCanonical should not be used for this reference. Receivers of a Task instance can ignore any value in the instantiatesCanonical and should look for the referred ActivityDefinition in the instantiates extension.
KT2_Task.owner determines which actor is the executor of the respective task.
The RelatedPerson can be assigned as the owner of a task either directly or through a CareTeam.
This element is used to indicate the reference of a subtask to the main task.
The main task is assigned to the patient through KT2_Task.owner= Reference (KT2_Patient).
The subtask is created as follows:
KT2_RelatedPerson who assists becomes the Task.owner references the Patient` of the main taskWith the KT2_Task.code element the permission of a KT2_Task can be set to view.
The exact meaning of the view permission can differ per application because authorisations in
Koppeltaal 2.0 are defined and executed by the applications.
This example shows a subtask for the RelatedPerson assigned in the Task of the patient.
{
"resourceType" : "Task",
"meta" : {
"profile" : [
"http://koppeltaal.nl/fhir/StructureDefinition/KT2Task"
]
},
"extension" : [
{
"url" : "http://vzvz.nl/fhir/StructureDefinition/instantiates",
"valueReference" : {
"reference" : "ActivityDefinition/8635519a-3ca5-4dc8-bd07-4ec1e7fefcd5",
"type" : "ActivityDefinition"
}
}
],
"identifier" : [
{
"use" : "official",
"system" : "http:/vzvz.nl/Testtooling",
"value" : "Vragenlijst${IdentifierValue}"
}
],
"description" : "Vul de vragenlijst zo goed mogelijk in. Dit kost ongeveer 10 minuten.",
"partOf" : [{
"reference" : "Task/1f2f427a-d7fd-4b91-809c-f4607365ce73",
"type" : "Task"
}],
"for" : {
"reference" : "Patient/810c315e-4720-4253-8369-1011f87691b6",
"type" : "Patient"
},
"intent" : "order",
"priority" : "routine",
"code" : {
"coding" : [
{
"system" : "http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code",
"code" : "view",
"display" : "This task can be viewed"
}
]
},
"executionPeriod" : {
"start" : "2024-07-20T08:25:05+02:00"
},
"requester" : {
"reference" : "Practitioner/8849c230-5f03-4aab-83a0-8295dfc6000b",
"type" : "Practitioner"
},
"owner" : {
"reference" : "RelatedPerson/355651f0-2b28-4bf7-800d-0bbe4d96d793",
"type" : "RelatedPerson"
},
"status" : "ready",
"authoredOn" : "2024-07-30T08:25:05+02:00",
"lastModified" : "2024-07-30T09:45:05+02:00"
}