Delete EHR_STATUS tag by key
Deletes the ITEM_TAG resource(s) identified by key, associated with the target EHR_STATUS
identified by uid_based_id and owned by the EHR identified by ehr_id.
Cadasto exception: the
uid_based_idmust be aversioned_object_uid(HIER_OBJECT_ID). Targeting a specific version with an OBJECT_VERSION_ID is not supported.
- Type: stringrequired
EHR identifier taken from EHR.ehr_id.value.
- Type: string Format: uuidrequired
An identifier in the form of a HIER_OBJECT_ID identifier taken from VERSIONED_OBJECT.uid.value (i.e. a
versioned_object_uid).Cadasto exception: unlike the upstream openEHR ITS-REST specification, Cadasto only accepts the
versioned_object_uidform on/tagsendpoints. Targeting a specific version with an OBJECT_VERSION_ID is not supported — tags are scoped to the versioned object as a whole. - Type: stringrequired
The ITEM_TAG key.
- 204
204 No Contentis returned when the ITEM_TAG list has been successfully replaced and thePreferheader is missing or set toreturn=minimal. - 404
404 Not Foundis returned when an EHR withehr_iddoes not exist, when theuid_based_iddoes not exist, or when the ITEM_TAG identified bykeydoes not exist.
curl https://cataniamc.prod.cadasto.com/openehr/v1/ehr/7d44b88c-4199-4bad-97dc-d78268e01398/ehr_status/8849182c-82ad-4088-a07f-48ead4180515/tags/flag \
--request DELETE