HL7_REJECTED
Hospital system rejected the message: what the HL7_REJECTED error means and how to fix it.
HTTP 502. Problem type: https://docs.ovok.com/errors/hl7-rejected.
What this means
The hospital system received the HL7 message and refused it: its acknowledgement was not an accept (AA or CA), or was not an HL7 message at all. You see this in the connection's delivery log, not in a user request.
Troubleshooting
- Ask the hospital's interface analyst for the reason their system gave for the refusal. It is in their logs, with the message's control id (MSH-10), which is the Observation's id.
- Agree the fix with them: most refusals are a patient the hospital cannot match, or a code or field their system expects differently.
- Fix the data or mapping, then resend the reading if it matters. Ovok retries for about 34 minutes, but the same message is refused the same way.
Retry safely
Retrying is safe. A resent reading carries the same control id, so the hospital can drop a repeat.
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