visit the hl7 website The Demo site for our new HL7 Version 2+ (plus) Standard

18.4.142.1 Query grammar (5.3.2.3)

The Query Profile shows a query grammar. This is a brief model of the segments used in the query message.

Segment Cardinality Implement Status
QBP^Znn^QBP_Qnn
MSH

Message Header

[1..1] SHALL
SFT

Software Segment

 
QPD

Query Parameter Definition

[1..1] SHALL
RDF

Table Row Definition

[0..1]  
RCP

Response Control Parameter

[1..1] SHALL
DSC

Continuation Pointer

[0..1]  

 

QBP_Qnn

MSH-15 MSH-16 Immediate ACK Application Ack
Blank Blank - RTB^Znn^RTB_Knn
NE AL - RTB^Znn^RTB_Knn
AL, SU, ER AL ACK^Znn^ACK RTB^Znn^RTB_Knn
We need some ER7 examples...
We need some XML examples...

Query Grammar: This and the following column specify the HL7 code name and full name of each segment sent in the query. Braces specify that the segment or segment group is repeatable; brackets specify the optionality of the segment or segment group.

Section Reference: Specifies where in the standard further information about the segment can be found.

When the Query by Example variant is used, the Query Grammar shows the segments that may be used to transmit parameters and the order in which they appear. Segments used to transmit parameters are always sent immediately following the QPD segment.