NMR: Application management response message
This page lists the structures and trigger events NMR defines, taken from the standard. The written commentary that theADT page carries has not been written for NMR.
Recognising NMR messages
NMR announces itself in MSH-9 like this:
NMR^N01^NMR_N01- MSH-9.1
NMRmessage 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
NMR_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
NMR takes 1 structure.
NMR_N01: Application Management Query Message
Sent when one thing happens: N01: Application Management Query Message.
You must always send: MSH, MSA. 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..* | |
| MSA | R | 1..1 | |
| ERR | O | 0..* | |
| QRD | O | 0..1 | |
| CLOCK_AND_STATS_WITH_NOTES_ALT | a group of 3 segments, repeated together | R | 1..* |
| CLOCK | a group of 2 segments, repeated together | O | 0..1 |
| NCKin CLOCK | R | 1..1 | |
| NTEin CLOCK | O | 0..* | |
| APP_STATS | a group of 2 segments, repeated together | O | 0..1 |
| NSTin APP_STATS | R | 1..1 | |
| NTEin APP_STATS | O | 0..* | |
| APP_STATUS | a group of 2 segments, repeated together | O | 0..1 |
| NSCin APP_STATUS | R | 1..1 | |
| NTEin APP_STATUS | O | 0..* |
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 4 such groups: CLOCK_AND_STATS_WITH_NOTES_ALT, CLOCK, APP_STATS, APP_STATUS.
Trigger events
The trigger event is the real-world thing that made the message get sent. NMR defines 1.
| Event | Name | Structure |
|---|---|---|
| N01 | Application Management Query Message | NMR_N01 |