This is the clinic’s choice, never yours. You cannot ask for it, switch it on, or see beforehand whether it is on. Plan
for both outcomes: an item that waits for review, and an item that is already on the chart.
What the answer looks like
Sending an item is stillPOST, and the answer is still 202 Accepted with a Location header. Read the body, not
the status code. When the clinic accepts automatically, the submission in the body is already decided:
review_statusisconfirmedandresult_record_idis the new record.accepted_automaticallyistrue. It isfalsefor every item a person at the clinic decided, and for an item that is still waiting.- If you send the same item again with the same
Idempotency-Key, you get the same answer back, not a second record.
What the record shows
The allergy, condition, reported medicine or referral you read afterwards carries these fields:
An item accepted automatically is on the chart, and for an allergy or a reported medicine it takes part in the
clinic’s medicine checks. Only its claim to have been checked is different. In FHIR,
verificationStatus reads unconfirmed and an accepted_by extension says why.
What is never automatic
A clinic that switches this on still reviews:- Every change to something already on the chart (
PATCH), including resolving, stopping or ending an item. - Every retraction.
- Every “no known allergies” statement.
- Anything the clinic’s chart would refuse, such as an allergy the patient already has. A duplicate waits for a clinician, who can decline it.
409 submission_not_pending. Send a new item, or ask the clinic.
When it pauses
If you send an unusually large number of items in a short time, the clinic’s automatic acceptance pauses itself for your key or connection. The limit is the clinic’s own and you cannot read it. While it is paused, your items wait for review exactly as before, and nothing resumes by itself. A clinic owner or manager must turn it back on. Expect a first bulk load of history to pause it, and send backfills expecting them to be reviewed.Starts off again
A rolled or replaced key, or a new connection after a revoked one, starts with automatic acceptance off. The clinic must choose it again.Test keys
A test key never reaches a clinic’s real chart and is never accepted automatically.What to build
- Read
review_statusandaccepted_automaticallyin the answer to every send. - Tell a person an item is on a record only when
review_statusisconfirmed. - Show items with
accepted_by: "automatic"and noreviewed_atas not yet reviewed by a clinician. - Treat
reviewed_atandreviewed_by_staff_idas the sign that a clinician has now looked at it. - Do not try to detect the setting by sending a test item to a real patient.