QSB: Create subscription
This page lists the structures and trigger events QSB defines, taken from the standard. The written commentary that theADT page carries has not been written for QSB.
Recognising QSB messages
QSB announces itself in MSH-9 like this:
QSB^Q16^QSB_Q16- MSH-9.1
QSBmessage code: what kind of message this is - MSH-9.2
Q16trigger event: what happened in the real world: create subscription - MSH-9.3
QSB_Q16message 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
QSB takes 1 structure.
QSB_Q16: Create subscription
2 different trigger events send this structure:
The segments below are the same for all 2. HL7 varies the meaning, not the shape: there is no separate QSB_Z83 layout. What changes is MSH-9, which tells the receiver which of the 2 happened and therefore what to do with the message.
You must always send: MSH, QPD, RCP. 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. QSB defines 2.