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

  1. Send { "resourceType": "Parameters", "parameter": [{ "name": "docStatus", "valueCode": "final" }] }.
  2. Use one of preliminary, final, amended and entered-in-error as valueCode.
  3. Change any other metadata by sending a new document that replaces this 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

On this page