Delete a Resource
Do not use deletes
In Koppeltaal, we do not delete resources by default. As an alternative, we mark a resource as being end-of-life. This can be done with the following properties:
ActivityDefinition
status
retired
Endpoint
status
off
Device
status
inactive
Task
status
completed|cancelled|failed|rejected
Patient
active
false
Practitioner
active
false
RelatedPerson
active
false
CareTeam
status
inactive
Subscription
status
off
Logical deletes
Keep in mind that the request below is normally NOT used. Please read the section above.
When an application does get the permission to execute a DELETE
request, the resource will be marked as deleted. When a client requests this resource, the server will respond with a 410 Gone
. However, applications will still be allowed to request older versions via the vread request.
Logical deletion of a specific resource instance
DELETE
https://fhir-server.koppeltaal.headease.nl/fhir/DEFAULT/<Resource>/<id>
Path Parameters
<Resource>*
String
The resource type, e.g:
Patient
<id>*
String
The instance id
Right to be forgotten
In scenarios where users are able to use their right to be forgotten, the deletion of the data should always be done via the domain admin. Some solutions might require a manual delete, and certain solutions might support a DELETE
request with the $expunge
operator.
Topics
TOP-KT-002a - FHIR Resource Service interacties
Last updated