description: '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.' package_name: koppeltaalv2.00 derivation: constraint name: KT2_DeletePendingTask type: Task elements: restriction: index: 27 elements: period: index: 28 elements: end: {short: 'Grace deadline: the planned moment of definitive deletion', index: 29} required: [end] required: [period] description: {index: 13} performerType: {index: 19} insurance: {index: 24} instantiatesUri: {index: 2} relevantHistory: {index: 26} encounter: {index: 16} reasonCode: {index: 22} statusReason: short: Reason for the emergency brake when `status = on-hold` binding: {strength: required, valueSet: 'http://vzvz.nl/fhir/ValueSet/koppeltaal-delete-hold-reason'} index: 6 elements: coding: index: 7 elements: display: {short: Human-readable description of the emergency-brake reason, index: 8} text: {index: 9} required: [coding] authoredOn: {short: Moment of the announcement; the grace period starts here, index: 17} output: {index: 31} businessStatus: {index: 10} note: {index: 25} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: resource-origin: match: {url: null} schema: {type: Extension, url: 'http://koppeltaal.nl/fhir/StructureDefinition/resource-origin', index: 1} min: 0 max: 1 for: type: Reference short: The Patient whose data is scheduled for deletion refers: ['http://koppeltaal.nl/fhir/StructureDefinition/KT2Patient'] index: 15 requester: type: Reference short: The Koppeltaal service announcing the deletion refers: ['http://koppeltaal.nl/fhir/StructureDefinition/KT2Device'] index: 18 status: binding: {strength: required, valueSet: 'http://vzvz.nl/fhir/ValueSet/koppeltaal-delete-pending-task-status'} index: 5 groupIdentifier: {index: 4} code: short: Type of the announcement Task binding: {strength: required, valueSet: 'http://vzvz.nl/fhir/ValueSet/koppeltaal-task-code'} pattern: type: CodeableConcept value: coding: - {code: delete-pending, system: 'http://vzvz.nl/fhir/CodeSystem/koppeltaal-task-code'} index: 12 intent: pattern: {type: Code, value: order} index: 11 focus: {index: 14} input: {index: 30} basedOn: {index: 3} location: {index: 21} owner: type: Reference short: The target application this announcement is directed at refers: ['http://koppeltaal.nl/fhir/StructureDefinition/KT2Device'] index: 20 reasonReference: {index: 23} package_version: 0.16.6 extensions: resource-origin: {url: 'http://koppeltaal.nl/fhir/StructureDefinition/resource-origin', min: 0, max: 1, type: Extension, index: 1} class: profile kind: resource url: http://koppeltaal.nl/fhir/StructureDefinition/KT2DeletePendingTask base: http://hl7.org/fhir/StructureDefinition/Task version: 0.16.6 required: [owner, authoredOn, requester, restriction, for, code]