Delete a Resource
Last updated
Last updated
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:
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.
DELETE
https://fhir-server.koppeltaal.headease.nl/fhir/DEFAULT/<Resource>/<id>
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.
TOP-KT-002a - FHIR Resource Service interacties
Name | Type | Description |
---|---|---|
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
<Resource>*
String
The resource type, e.g:
Patient
<id>*
String
The instance id