DOCUMENT_STATUS_INVALID
Document status update invalid: what the DOCUMENT_STATUS_INVALID error means and how to fix it.
HTTP 422. Problem type: https://docs.ovok.com/errors/document-status-invalid.
What this means
POST /fhir/R4/DocumentReference/<id>/$update-metadata was not sent as ISiK defines it. The body is not a Parameters resource, holds a parameter other than docStatus or none, or docStatus is not a composition status. Nothing was written.
Troubleshooting
- Send
{ "resourceType": "Parameters", "parameter": [{ "name": "docStatus", "valueCode": "final" }] }. - Use one of
preliminary,final,amendedandentered-in-errorasvalueCode. - Change any other metadata by sending a new document that
replacesthis one.
Retry safely
Safe to send again once the body is corrected; a refused update writes nothing.
If the problem persists
Share the HTTP status, problem type, request path, response timestamp and traceId with your administrator or support contact. Remove access tokens, provider secrets and patient data first. The Error responses guide explains the response fields, and the machine-code registry lists every endpoint-specific type.
Last updated on