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:
| status | retired |
| status | off |
| status | inactive |
| status | completed|cancelled|failed|rejected |
| active | false |
| active | false |
| active | false |
| status | inactive |
| 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
Name | Type | Description |
---|---|---|
<Resource>* | String | The resource type, e.g:
|
<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