HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

OUL: Unsolicited laboratory observation message

This page lists the structures and trigger events OUL defines, taken from the standard. The written commentary that theADT page carries has not been written for OUL.

Recognising OUL messages

OUL announces itself in MSH-9 like this:

MSH-9OUL^R21^OUL_R21
  1. MSH-9.1OULmessage code: what kind of message this is
  2. MSH-9.2R21trigger event: what happened in the real world: unsolicited laboratory observation message
  3. MSH-9.3OUL_R21message structure: which segments to expect, and in what order

How to use these specifications explains MSH-9 in full, with a worked example.

Message structures

OUL takes 4 structures.

OUL_R21: Unsolicited Laboratory Observation Message

Sent when one thing happens: R21: Unsolicited Laboratory Observation Message.

You must always send: MSH, OBR. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
NTEO0..1
PATIENTa group of 3 segments, repeated togetherO0..1
PIDin PATIENTR1..1
PD1in PATIENTO0..1
NTEin PATIENTO0..*
VISITa group of 2 segments, repeated togetherO0..1
PV1in VISITR1..1
PV2in VISITO0..1
ORDER_OBSERVATIONa group of 7 segments, repeated togetherR1..*
CONTAINERa group of 2 segments, repeated togetherO0..1
SACin CONTAINERR1..1
SIDin CONTAINERO0..1
ORCO0..1
OBRR1..1
NTEO0..*
TIMING_QTYa group of 2 segments, repeated togetherO0..*
TQ1in TIMING_QTYR1..1
TQ2in TIMING_QTYO0..*
OBSERVATIONa group of 4 segments, repeated togetherR1..*
OBXO0..1
TCDO0..1
SIDO0..*
NTEO0..*
CTIO0..*
DSCO0..1

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 6 such groups: PATIENT, VISIT, ORDER_OBSERVATION, CONTAINER, TIMING_QTY, OBSERVATION.

OUL_R22: Unsolicited Specimen Oriented Observation Message –

Sent when one thing happens: R22: Unsolicited Specimen Oriented Observation Message –.

You must always send: MSH, SPM, OBR. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
NTEO0..1
PATIENTa group of 3 segments, repeated togetherO0..1
PIDin PATIENTR1..1
PD1in PATIENTO0..1
NTEin PATIENTO0..*
VISITa group of 2 segments, repeated togetherO0..1
PV1in VISITR1..1
PV2in VISITO0..1
SPECIMENa group of 4 segments, repeated togetherR1..*
SPMR1..1
OBXO0..*
CONTAINERa group of 2 segments, repeated togetherO0..*
SACin CONTAINERR1..1
INVin CONTAINERO0..1
ORDERa group of 6 segments, repeated togetherR1..*
OBRR1..1
ORCO0..1
NTEO0..*
TIMING_QTYa group of 2 segments, repeated togetherO0..*
TQ1in TIMING_QTYR1..1
TQ2in TIMING_QTYO0..*
RESULTa group of 4 segments, repeated togetherO0..*
OBXin RESULTR1..1
TCDin RESULTO0..1
SIDin RESULTO0..*
NTEin RESULTO0..*
CTIO0..*
DSCO0..1

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 7 such groups: PATIENT, VISIT, SPECIMEN, CONTAINER, ORDER, TIMING_QTY, RESULT.

OUL_R23

Sent when one thing happens: R23: R23.

You must always send: MSH, SPM, SAC, OBR. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
NTEO0..1
PATIENTa group of 3 segments, repeated togetherO0..1
PIDin PATIENTR1..1
PD1in PATIENTO0..1
NTEin PATIENTO0..*
VISITa group of 2 segments, repeated togetherO0..1
PV1in VISITR1..1
PV2in VISITO0..1
SPECIMENa group of 3 segments, repeated togetherR1..*
SPMR1..1
OBXO0..*
CONTAINERa group of 3 segments, repeated togetherR1..*
SACR1..1
INVO0..1
ORDERa group of 6 segments, repeated togetherR1..*
OBRR1..1
ORCO0..1
NTEO0..*
TIMING_QTYa group of 2 segments, repeated togetherO0..*
TQ1in TIMING_QTYR1..1
TQ2in TIMING_QTYO0..*
RESULTa group of 4 segments, repeated togetherO0..*
OBXin RESULTR1..1
TCDin RESULTO0..1
SIDin RESULTO0..*
NTEin RESULTO0..*
CTIO0..*
DSCO0..1

OUL_R24: Unsolicited Order Oriented Observation Message –

Sent when one thing happens: R24: Unsolicited Order Oriented Observation Message –.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
NTEO0..1
PATIENTa group of 3 segments, repeated togetherO0..1
PIDin PATIENTR1..1
PD1in PATIENTO0..1
NTEin PATIENTO0..*
VISITa group of 2 segments, repeated togetherO0..1
PV1in VISITR1..1
PV2in VISITO0..1
ORDERa group of 7 segments, repeated togetherR1..*
OBRR1..1
ORCO0..1
NTEO0..*
TIMING_QTYa group of 2 segments, repeated togetherO0..*
TQ1in TIMING_QTYR1..1
TQ2in TIMING_QTYO0..*
SPECIMENa group of 3 segments, repeated togetherO0..*
SPMin SPECIMENR1..1
OBXin SPECIMENO0..*
CONTAINERin SPECIMENa group of 2 segments, repeated togetherO0..*
SACin CONTAINERR1..1
INVin CONTAINERO0..1
RESULTa group of 4 segments, repeated togetherO0..*
OBXin RESULTR1..1
TCDin RESULTO0..1
SIDin RESULTO0..*
NTEin RESULTO0..*
CTIO0..*
DSCO0..1

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 7 such groups: PATIENT, VISIT, ORDER, TIMING_QTY, SPECIMEN, CONTAINER, RESULT.

Trigger events

The trigger event is the real-world thing that made the message get sent. OUL defines 4.

EventNameStructure
R21Unsolicited Laboratory Observation MessageOUL_R21
R22Unsolicited Specimen Oriented Observation Message –OUL_R22
R23R23OUL_R23
R24Unsolicited Order Oriented Observation Message –OUL_R24