ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

ORL^O22 — General Laboratory Order Response

Application reply from the LIS to a lab order OML^O21. ORL answers on content (assays accepted or rejected), distinct from the technical ACK that answers on delivery.

Purpose

When the EHR sends an OML^O21 (General Laboratory Order), the LIS replies ORL^O22 after business validation: assay codes present in catalogue, consistent specimen, prescriber rights, fasting conditions. The ORL carries an MSA AA (accepted), AE (application error) or AR (rejected), and an updated ORC with the LIS-allocated filler order number.

Segment structure

Structure ORL_O22: MSH, MSA, [ERR], [PID, [PV1]], ORC, OBR, [NTE], [SPM].

SegmentRole
MSAMessage Acknowledgment — AA / AE / AR.
ERRError — application error detail.
ORCCommon Order — status (IP, CA, RP, UA), allocated LIS #.
OBRObservation Request — accepted or rejected assay.
SPMSpecimen — confirmation of expected specimen.

Real-world example — acceptance

LIS accepts a CBC requested by the EHR:

plaintext orl-o22-accept.hl7
MSH|^~\&|LIS|LAB01|EHR|HOSP01|20260518161000||ORL^O22^ORL_O22|ORL22001|P|2.5.1|||AL|NE
MSA|AA|OML21999
PID|1||MR550321^^^HOSP^MR||TEISSIER^LUCAS^^^MR.||19920215|M
ORC|OK|ORD20260518777|LAB20260518017||IP|||20260518160000|||DR_CARRE^Carre^Aline
OBR|1|ORD20260518777|LAB20260518017|CBC^Complete Blood Count^L|||20260518155000||||||||SER||||LAB20260518017||||LAB||F

Error case — unknown assay code

plaintext orl-o22-error.hl7
MSH|^~\&|LIS|LAB01|EHR|HOSP01|20260518161000||ORL^O22^ORL_O22|ORL22002|P|2.5.1|||AL|NE
MSA|AE|OML21998|Unknown assay code
ERR|^^^207&Unknown assay code: 999XYZ&HL70357
ORC|UA|ORD20260518778|LAB20260518018||IP
OBR|1|ORD20260518778|LAB20260518018|999XYZ^Unknown code^L

Common errors

  • MSA AA + ORC UA: inconsistency — if an assay is rejected, the MSA should be AE/AR.
  • ERR without HL7 Table 0357: the EHR cannot react intelligently to the error code.
  • Empty ORC-3 (Filler Order Number): the EHR loses traceability of the allocated LIS #.
  • Late asynchronous reply: some EHR time out at 30 s default.
  • OML^O21 — General Laboratory Order (trigger).
  • ORU^R01 — subsequent results.
  • OUL^R21 — unsolicited results.
  • ORM^O01 — generic equivalent (legacy).