Laboratory IntegrationGuide
Order acknowledgement & result lifecycle
The distinct states between sending an order and releasing a result, and how uncertain deliveries are handled.
On this page
States are not interchangeable
- Transmitted — bytes were sent. Not proof of receipt.
- Commit acknowledged — the receiving system stored the message (HL7 CA). Application acceptance is still pending.
- Application accepted — the laboratory system accepted the order (HL7 AA, or an explicit positive acknowledgement on the Lab Contract).
- Accessioned / specimen accepted — the laboratory assigned an accession and accepted the specimen.
- Result received — preliminary, final, corrected or amended, according to the reported status.
- Released — the laboratory authorized release; only released results reach the Partner API.
- HL7 AE, AR, CE and CR are rejections; CE and CR are never treated as acceptance.
- A corrected or amended result is a new version. Earlier released versions are kept, never overwritten.
- Duplicate result deliveries are deduplicated against the canonical result revision.
Uncertain delivery
Keep the original order and message correlation when investigating. A stuck sending row after a crash is also ambiguous: do not create a new idempotency key or requeue it blindly. Laboratory IT and an authorized operator must confirm the original outcome.
In native REST/FHIR source paths, an order timeout, dropped connection or HTTP error after sending becomes delivery unknown and is not retried automatically. The executable HTTPS/JSON worker still retries classified HTTP, timeout and network failures; it does not provide this same safety guarantee. Preserve the original order and reconcile uncertain outcomes with the laboratory.
Native transports and HTTPS/JSON distinguish provably pre-send failures from possibly delivered orders. After possible delivery, a failed sent-state write is treated as delivery unknown requiring operator reconciliation without automatic resend. Source/isolated testing does not establish a laboratory certification.
Candidate acknowledgement uncertainty
Candidate laboratory HTTP 201 means SENT only, not application ACK. Kit barcode, order ID, panel code, specimen and accession are different correlation identities. Unknown ACK or 409/timeout requires reconciliation without blind resend; unknown finality stays pending/unreleased.
Transport receipt, application ACK and retries
queued → sent (transport receipt) → application_accepted | rejected
└─ timeout / lost response after send → outcome_unknown → reconciliation- Failures before any bytes leave Solia are retried with backoff under the same order identity.
- After a send, a timeout is never retried automatically. Where the laboratory supports a read-back, Solia checks using the same identity; otherwise an operator confirms with the laboratory and records the decision.
- An explicit resend is only performed after that decision and keeps the original identity, so the laboratory can deduplicate.