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-9
OSQ^Q06^OSQ_Q06- MSH-9.1
OSQmessage code: what kind of message this is - MSH-9.2
Q06trigger event: what happened in the real world: query response for order status - MSH-9.3
OSQ_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.
Trigger events
The trigger event is the real-world thing that made the message get sent. OSQ defines 1.
| Event | Name | Structure |
|---|---|---|
| Q06 | query response for order status | OSQ_Q06 |