Api referenceApiOperationsSlimThresholdSlim/Threshold/Patient

Remove a patient vital threshold

  • Sandbox: available
  • Staging: available
  • Production: unknown
DELETE
/v1/slim/threshold/patient/{patientId}/vitals/{code}

Removes one resident's threshold for a single vital code in Signals, so that code no longer alerts for the resident.

Auth: Bearer token. The caller must be a practitioner, an admin, a super admin, or hold the "System Owner" access policy. The access policy must grant Goal:update (an admin or super admin who holds no access policy skips this check). Scope: The resident must be in the caller's project (from the token) or one of its sub-projects; otherwise 404.

Behaviour

  • Answers 204 with no body once Signals confirms the removal. A 502 means Signals did not confirm; the call is safe to repeat.
  • Codes the threshold routes own (for example SpO₂ and pulse rate) are refused with 400.
  • code must be 1 to 64 characters from letters, digits, ., _ and -.

Example

curl -X DELETE 'https://api.sandbox.ovok.com/v1/slim/threshold/patient/c3499c27-2973-0a7f-807e-fb8676a92dcb/vitals/59408-5' \  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'

Authorization

bearer
headerAuthorizationBearer <JWT>

Path Parameters

patientId*string

The resident, as a Medplum Patient.id.

code*string

The vital code, as the device sends it (e.g. LOINC 59408-5). Checked by the service.

Response Body

Signals confirmed the removal.

Example Request
curl -X DELETE 'https://api.sandbox.ovok.com/v1/slim/threshold/patient/string/vitals/string'
Example Response
Empty