HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

OSQ: Query response for order status

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

Recognising OSQ messages

OSQ announces itself in MSH-9 like this:

MSH-9OSQ^Q06^OSQ_Q06
  1. MSH-9.1OSQmessage code: what kind of message this is
  2. MSH-9.2Q06trigger event: what happened in the real world: query response for order status
  3. MSH-9.3OSQ_Q06message 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

OSQ takes 1 structure.

OSQ_Q06: query response for order status

Sent when one thing happens: Q06: query response for order status.

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

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
QRDR1..1
QRFO0..1
DSCO0..1

Trigger events

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

EventNameStructure
Q06query response for order statusOSQ_Q06