HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

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:

MSH-9NMQ^N01^NMQ_N01
  1. MSH-9.1NMQmessage code: what kind of message this is
  2. MSH-9.2N01trigger event: what happened in the real world: application management query message
  3. MSH-9.3NMQ_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.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
QRY_WITH_DETAILa group of 2 segments, repeated togetherO0..1
QRDin QRY_WITH_DETAILR1..1
QRFin QRY_WITH_DETAILO0..1
CLOCK_AND_STATISTICSa group of 3 segments, repeated togetherR1..*
NCKO0..1
NSTO0..1
NSCO0..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.

EventNameStructure
N01Application Management Query MessageNMQ_N01