NMQ: Application management query message
This page lists the structures and trigger events NMQ defines, taken from the standard. The written commentary that theADT page carries has not been written for NMQ.
Recognising NMQ messages
NMQ announces itself in MSH-9 like this:
NMQ^N01^NMQ_N01- MSH-9.1
NMQmessage code: what kind of message this is - MSH-9.2
N01trigger event: what happened in the real world: application management query message - MSH-9.3
NMQ_N01message 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
NMQ takes 1 structure.
NMQ_N01: Application Management Query Message
Sent when one thing happens: N01: Application Management Query Message.
You must always send: MSH. Everything else is optional, or required only inside a group you chose to send.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| SFT | O | 0..* | |
| QRY_WITH_DETAIL | a group of 2 segments, repeated together | O | 0..1 |
| QRDin QRY_WITH_DETAIL | R | 1..1 | |
| QRFin QRY_WITH_DETAIL | O | 0..1 | |
| CLOCK_AND_STATISTICS | a group of 3 segments, repeated together | R | 1..* |
| NCK | O | 0..1 | |
| NST | O | 0..1 | |
| NSC | O | 0..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 2 such groups: QRY_WITH_DETAIL, CLOCK_AND_STATISTICS.
Trigger events
The trigger event is the real-world thing that made the message get sent. NMQ defines 1.
| Event | Name | Structure |
|---|---|---|
| N01 | Application Management Query Message | NMQ_N01 |