Koppeltaal 2.0 Implementation Guide (Full Documentation)
0.16.5 - ci-build Netherlands flag

Koppeltaal 2.0 Implementation Guide (Full Documentation) - Local Development build (v0.16.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: KT2_DeletePendingTask

Official URL: http://koppeltaal.nl/fhir/StructureDefinition/KT2DeletePendingTask Version: 0.16.5
Draft as of 2026-07-09 Computable Name: KT2_DeletePendingTask

Copyright/Legal: VZVZ

The KT2_DeletePendingTask profile represents the announcement that a patient's data within the Koppeltaal service is scheduled for definitive deletion. When the grace period starts, the Koppeltaal service creates one Task per (Patient × participating application); the Task is server-owned but readable by participating applications and carries the server-owned kt2-delete-flow security label (meta.security). The target application responds through the native Task lifecycle: on-hold as a temporary emergency brake and accepted as green light. The Task resides in the Patient compartment and is removed together with the Patient. See the page Opschoning Patient-data.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, kt2-dpt-status-reason, kt2-dpt-delete-flow-marker, kt2-dpt-grace-deadline
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:resource-origin 0..1 Reference(KT2_Device) Extension
URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... statusReason Σ 0..1 CodeableConcept Reason for the emergency brake when `status = on-hold`
Binding: Koppeltaal Delete Hold Reason (required)
.... coding Σ 1..1 Coding Code defined by a terminology system
..... display Σ 0..1 string Human-readable description of the emergency-brake reason
... intent Σ 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.
Fixed Value: order
... code Σ 1..1 CodeableConcept Type of the announcement Task
Binding: Koppeltaal Task Code (required)
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: delete-pending
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... for Σ 1..1 Reference(KT2_Patient) The Patient whose data is scheduled for deletion
... authoredOn C 1..1 dateTime Moment of the announcement; the grace period starts here
... requester Σ 1..1 Reference(KT2_Device) The Koppeltaal service announcing the deletion
... owner Σ 1..1 Reference(KT2_Device) The target application this announcement is directed at
... restriction 1..1 BackboneElement Constraints on fulfillment tasks
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... period 1..1 Period When fulfillment sought
..... end ΣC 1..1 dateTime Grace deadline: the planned moment of definitive deletion

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.status Base required Koppeltaal Delete Pending Task Status 📦0.16.5 This IG
Task.statusReason Base required Koppeltaal Delete Hold Reason 📦0.16.5 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.code Base required Koppeltaal Task Code 📦0.16.5 This IG
Task.input.type Base example Not State Unknown
Task.output.type Base example Not State Unknown

Constraints

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
kt2-dpt-delete-flow-marker error Task The Task must carry the server-owned kt2-delete-flow security label, because that marker is what grants applications access to the deletion flow meta.security.where(system = 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label' and code = 'kt2-delete-flow').exists()
kt2-dpt-grace-deadline error Task The grace deadline must lie after the announcement, since the grace period starts at authoredOn restriction.period.end > authoredOn
kt2-dpt-status-reason error Task statusReason is mandatory when status is on-hold and must be absent for every other status (status = 'on-hold' implies statusReason.exists()) and (statusReason.exists() implies status = 'on-hold')

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: kt2-dpt-status-reason, kt2-dpt-delete-flow-marker, kt2-dpt-grace-deadline
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:resource-origin 0..1 Reference(KT2_Device) Extension
URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin
... instantiatesUri 0..0 Formal definition of task
... basedOn 0..0 Request fulfilled by this task
... status 1..1 code draft | requested | received | accepted | +
Binding: Koppeltaal Delete Pending Task Status (required)
... statusReason 0..1 CodeableConcept Reason for the emergency brake when `status = on-hold`
Binding: Koppeltaal Delete Hold Reason (required)
.... coding 1..1 Coding Code defined by a terminology system
..... display 0..1 string Human-readable description of the emergency-brake reason
.... text 0..0 Plain text representation of the concept
... businessStatus 0..0 E.g. "Specimen collected", "IV prepped"
... intent 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... code 1..1 CodeableConcept Type of the announcement Task
Binding: Koppeltaal Task Code (required)
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: delete-pending
... description 0..0 Human-readable explanation of task
... focus 0..0 What task is acting on
... for 1..1 Reference(KT2_Patient) The Patient whose data is scheduled for deletion
... encounter 0..0 Healthcare event during which this task originated
... authoredOn 1..1 dateTime Moment of the announcement; the grace period starts here
... requester 1..1 Reference(KT2_Device) The Koppeltaal service announcing the deletion
... performerType 0..0 Requested performer
... owner 1..1 Reference(KT2_Device) The target application this announcement is directed at
... location 0..0 Where task occurs
... reasonCode 0..0 Why task is needed
... reasonReference 0..0 Why task is needed
... insurance 0..0 Associated insurance coverage
... note 0..0 Comments made about the task
... relevantHistory 0..0 Key events in history of the Task
... restriction 1..1 BackboneElement Constraints on fulfillment tasks
.... period 1..1 Period When fulfillment sought
..... end 1..1 dateTime Grace deadline: the planned moment of definitive deletion
... input 0..0 Information used to perform task
... output 0..0 Information produced as part of task

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.status Base required Koppeltaal Delete Pending Task Status 📦0.16.5 This IG
Task.statusReason Base required Koppeltaal Delete Hold Reason 📦0.16.5 This IG
Task.code Base required Koppeltaal Task Code 📦0.16.5 This IG

Constraints

Id Grade Path(s) Description Expression
kt2-dpt-delete-flow-marker error Task The Task must carry the server-owned kt2-delete-flow security label, because that marker is what grants applications access to the deletion flow meta.security.where(system = 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label' and code = 'kt2-delete-flow').exists()
kt2-dpt-grace-deadline error Task The grace deadline must lie after the announcement, since the grace period starts at authoredOn restriction.period.end > authoredOn
kt2-dpt-status-reason error Task statusReason is mandatory when status is on-hold and must be absent for every other status (status = 'on-hold' implies statusReason.exists()) and (statusReason.exists() implies status = 'on-hold')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, kt2-dpt-status-reason, kt2-dpt-delete-flow-marker, kt2-dpt-grace-deadline
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:resource-origin 0..1 Reference(KT2_Device) Extension
URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Task Instance Identifier
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... partOf Σ 0..* Reference(Task) Composite task
... status ?!Σ 1..1 code draft | requested | received | accepted | +
Binding: Koppeltaal Delete Pending Task Status (required)
... statusReason Σ 0..1 CodeableConcept Reason for the emergency brake when `status = on-hold`
Binding: Koppeltaal Delete Hold Reason (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 0..1 code Symbol in syntax defined by the system
..... display Σ 0..1 string Human-readable description of the emergency-brake reason
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... intent Σ 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.
Fixed Value: order
... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code Σ 1..1 CodeableConcept Type of the announcement Task
Binding: Koppeltaal Task Code (required)
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: delete-pending
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... for Σ 1..1 Reference(KT2_Patient) The Patient whose data is scheduled for deletion
... executionPeriod Σ 0..1 Period Start and end time of execution
... authoredOn C 1..1 dateTime Moment of the announcement; the grace period starts here
... lastModified ΣC 0..1 dateTime Task Last Modified Date
... requester Σ 1..1 Reference(KT2_Device) The Koppeltaal service announcing the deletion
... owner Σ 1..1 Reference(KT2_Device) The target application this announcement is directed at
... restriction 1..1 BackboneElement Constraints on fulfillment tasks
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... repetitions 0..1 positiveInt How many times to repeat
.... period 1..1 Period When fulfillment sought
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... start ΣC 0..1 dateTime Starting time with inclusive boundary
..... end ΣC 1..1 dateTime Grace deadline: the planned moment of definitive deletion
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Task.status Base required Koppeltaal Delete Pending Task Status 📦0.16.5 This IG
Task.statusReason Base required Koppeltaal Delete Hold Reason 📦0.16.5 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.priority Base required Request priority 📍4.0.1 FHIR Std.
Task.code Base required Koppeltaal Task Code 📦0.16.5 This IG
Task.input.type Base example Not State Unknown
Task.output.type Base example Not State Unknown

Constraints

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
kt2-dpt-delete-flow-marker error Task The Task must carry the server-owned kt2-delete-flow security label, because that marker is what grants applications access to the deletion flow meta.security.where(system = 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label' and code = 'kt2-delete-flow').exists()
kt2-dpt-grace-deadline error Task The grace deadline must lie after the announcement, since the grace period starts at authoredOn restriction.period.end > authoredOn
kt2-dpt-status-reason error Task statusReason is mandatory when status is on-hold and must be absent for every other status (status = 'on-hold' implies statusReason.exists()) and (statusReason.exists() implies status = 'on-hold')

This structure is derived from Task

Summary

Mandatory: 8 elements(1 nested mandatory element)
Fixed: 1 element
Prohibited: 17 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, kt2-dpt-status-reason, kt2-dpt-delete-flow-marker, kt2-dpt-grace-deadline
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:resource-origin 0..1 Reference(KT2_Device) Extension
URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... statusReason Σ 0..1 CodeableConcept Reason for the emergency brake when `status = on-hold`
Binding: Koppeltaal Delete Hold Reason (required)
.... coding Σ 1..1 Coding Code defined by a terminology system
..... display Σ 0..1 string Human-readable description of the emergency-brake reason
... intent Σ 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.
Fixed Value: order
... code Σ 1..1 CodeableConcept Type of the announcement Task
Binding: Koppeltaal Task Code (required)
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: delete-pending
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... for Σ 1..1 Reference(KT2_Patient) The Patient whose data is scheduled for deletion
... authoredOn C 1..1 dateTime Moment of the announcement; the grace period starts here
... requester Σ 1..1 Reference(KT2_Device) The Koppeltaal service announcing the deletion
... owner Σ 1..1 Reference(KT2_Device) The target application this announcement is directed at
... restriction 1..1 BackboneElement Constraints on fulfillment tasks
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... period 1..1 Period When fulfillment sought
..... end ΣC 1..1 dateTime Grace deadline: the planned moment of definitive deletion

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.status Base required Koppeltaal Delete Pending Task Status 📦0.16.5 This IG
Task.statusReason Base required Koppeltaal Delete Hold Reason 📦0.16.5 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.code Base required Koppeltaal Task Code 📦0.16.5 This IG
Task.input.type Base example Not State Unknown
Task.output.type Base example Not State Unknown

Constraints

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
kt2-dpt-delete-flow-marker error Task The Task must carry the server-owned kt2-delete-flow security label, because that marker is what grants applications access to the deletion flow meta.security.where(system = 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label' and code = 'kt2-delete-flow').exists()
kt2-dpt-grace-deadline error Task The grace deadline must lie after the announcement, since the grace period starts at authoredOn restriction.period.end > authoredOn
kt2-dpt-status-reason error Task statusReason is mandatory when status is on-hold and must be absent for every other status (status = 'on-hold' implies statusReason.exists()) and (statusReason.exists() implies status = 'on-hold')

Differential View

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: kt2-dpt-status-reason, kt2-dpt-delete-flow-marker, kt2-dpt-grace-deadline
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:resource-origin 0..1 Reference(KT2_Device) Extension
URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin
... instantiatesUri 0..0 Formal definition of task
... basedOn 0..0 Request fulfilled by this task
... status 1..1 code draft | requested | received | accepted | +
Binding: Koppeltaal Delete Pending Task Status (required)
... statusReason 0..1 CodeableConcept Reason for the emergency brake when `status = on-hold`
Binding: Koppeltaal Delete Hold Reason (required)
.... coding 1..1 Coding Code defined by a terminology system
..... display 0..1 string Human-readable description of the emergency-brake reason
.... text 0..0 Plain text representation of the concept
... businessStatus 0..0 E.g. "Specimen collected", "IV prepped"
... intent 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... code 1..1 CodeableConcept Type of the announcement Task
Binding: Koppeltaal Task Code (required)
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: delete-pending
... description 0..0 Human-readable explanation of task
... focus 0..0 What task is acting on
... for 1..1 Reference(KT2_Patient) The Patient whose data is scheduled for deletion
... encounter 0..0 Healthcare event during which this task originated
... authoredOn 1..1 dateTime Moment of the announcement; the grace period starts here
... requester 1..1 Reference(KT2_Device) The Koppeltaal service announcing the deletion
... performerType 0..0 Requested performer
... owner 1..1 Reference(KT2_Device) The target application this announcement is directed at
... location 0..0 Where task occurs
... reasonCode 0..0 Why task is needed
... reasonReference 0..0 Why task is needed
... insurance 0..0 Associated insurance coverage
... note 0..0 Comments made about the task
... relevantHistory 0..0 Key events in history of the Task
... restriction 1..1 BackboneElement Constraints on fulfillment tasks
.... period 1..1 Period When fulfillment sought
..... end 1..1 dateTime Grace deadline: the planned moment of definitive deletion
... input 0..0 Information used to perform task
... output 0..0 Information produced as part of task

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.status Base required Koppeltaal Delete Pending Task Status 📦0.16.5 This IG
Task.statusReason Base required Koppeltaal Delete Hold Reason 📦0.16.5 This IG
Task.code Base required Koppeltaal Task Code 📦0.16.5 This IG

Constraints

Id Grade Path(s) Description Expression
kt2-dpt-delete-flow-marker error Task The Task must carry the server-owned kt2-delete-flow security label, because that marker is what grants applications access to the deletion flow meta.security.where(system = 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label' and code = 'kt2-delete-flow').exists()
kt2-dpt-grace-deadline error Task The grace deadline must lie after the announcement, since the grace period starts at authoredOn restriction.period.end > authoredOn
kt2-dpt-status-reason error Task statusReason is mandatory when status is on-hold and must be absent for every other status (status = 'on-hold' implies statusReason.exists()) and (statusReason.exists() implies status = 'on-hold')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, kt2-dpt-status-reason, kt2-dpt-delete-flow-marker, kt2-dpt-grace-deadline
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:resource-origin 0..1 Reference(KT2_Device) Extension
URL: http://koppeltaal.nl/fhir/StructureDefinition/resource-origin
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Task Instance Identifier
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... partOf Σ 0..* Reference(Task) Composite task
... status ?!Σ 1..1 code draft | requested | received | accepted | +
Binding: Koppeltaal Delete Pending Task Status (required)
... statusReason Σ 0..1 CodeableConcept Reason for the emergency brake when `status = on-hold`
Binding: Koppeltaal Delete Hold Reason (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 0..1 code Symbol in syntax defined by the system
..... display Σ 0..1 string Human-readable description of the emergency-brake reason
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... intent Σ 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.
Fixed Value: order
... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code Σ 1..1 CodeableConcept Type of the announcement Task
Binding: Koppeltaal Task Code (required)
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: delete-pending
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... for Σ 1..1 Reference(KT2_Patient) The Patient whose data is scheduled for deletion
... executionPeriod Σ 0..1 Period Start and end time of execution
... authoredOn C 1..1 dateTime Moment of the announcement; the grace period starts here
... lastModified ΣC 0..1 dateTime Task Last Modified Date
... requester Σ 1..1 Reference(KT2_Device) The Koppeltaal service announcing the deletion
... owner Σ 1..1 Reference(KT2_Device) The target application this announcement is directed at
... restriction 1..1 BackboneElement Constraints on fulfillment tasks
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... repetitions 0..1 positiveInt How many times to repeat
.... period 1..1 Period When fulfillment sought
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... start ΣC 0..1 dateTime Starting time with inclusive boundary
..... end ΣC 1..1 dateTime Grace deadline: the planned moment of definitive deletion
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Task.status Base required Koppeltaal Delete Pending Task Status 📦0.16.5 This IG
Task.statusReason Base required Koppeltaal Delete Hold Reason 📦0.16.5 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.priority Base required Request priority 📍4.0.1 FHIR Std.
Task.code Base required Koppeltaal Task Code 📦0.16.5 This IG
Task.input.type Base example Not State Unknown
Task.output.type Base example Not State Unknown

Constraints

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
kt2-dpt-delete-flow-marker error Task The Task must carry the server-owned kt2-delete-flow security label, because that marker is what grants applications access to the deletion flow meta.security.where(system = 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label' and code = 'kt2-delete-flow').exists()
kt2-dpt-grace-deadline error Task The grace deadline must lie after the announcement, since the grace period starts at authoredOn restriction.period.end > authoredOn
kt2-dpt-status-reason error Task statusReason is mandatory when status is on-hold and must be absent for every other status (status = 'on-hold' implies statusReason.exists()) and (statusReason.exists() implies status = 'on-hold')

This structure is derived from Task

Summary

Mandatory: 8 elements(1 nested mandatory element)
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