Delete EHR by id
Deletes the EHR identified by ehr_id.
All resources associated with or owned by the specified EHR (such as COMPOSITION, EHR_STATUS, ITEM_TAG, CONTRIBUTION, and their historical versions) will also be permanently and physically deleted, in compliance with applicable data protection regulations (e.g., the GDPR in the European Union).
The server may execute this operation asynchronously (e.g. in batches), in which case returns status 202 Accepted.
If the deletion is processed synchronously and completes successfully, the server returns status 204 No Content.
- Type: stringFormat: uuidehr
_id requiredEHR identifier taken from EHR.ehr_id.value.
- 202
202 Acceptedis returned when the requested operation has been accepted for processing, but processing has not been completed or may not have started (i.e. when requests are processed asynchronously). - 204
- 404
curl https://openEHRSys.example.com/v1/admin/ehr/7d44b88c-4199-4bad-97dc-d78268e01398 \
--request DELETE