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

18.4.167 QBP/RSP - query by parameter/segment pattern response (events vary) (5.4.1)

Segment Cardinality Implement Status
QBP^Q11^QBP_Q11
MSH

Message Header

[1..1] SHALL
ARV

Access Restriction

 
UAC

User Authentication Credential Segment

[0..1]  
QPD

Query Parameter Definition

[1..1] SHALL
QBP [0..1]  
Hxx

any HL7 segment

[0..1]  
RCP

Response Control Parameter

[1..1] SHALL
DSC

Continuation Pointer

[0..1]  

 

QBP_Q11

MSH-15 MSH-16 Immediate ACK Application Ack
Blank Blank - RSP^K11^RSP_K11
Blank Blank - RSP^Znn^RSP_Znn
Blank Blank - RSP^K31^RSP_K31
NE AL - RSP^K11^RSP_K11
NE AL - RSP^Znn^RSP_Znn
NE NE - -
AL, SU, ER AL ACK^Q11^ACK RSP^K11^RSP_K11
AL, SU, ER AL ACK^Znn^ACK RSP^Znn^RSP_Znn
AL, SU, ER NE ACK^Q31^ACK -
NE AL, SU, ER - RSP^K31^RSP_K31
AL, SU, ER AL, SU, ER ACK^Q31^ACK RSP^K31^RSP_K31
We need some ER7 examples...
We need some XML examples...

The QBP_Q11 structure supports a Segment Pattern Response and contains the MSH, QPD, RCP, and DSC segments. Its default trigger event is Q11. A standard or site-defined query may use this trigger event or may specify a unique trigger event value in its Query Profile. If a unique trigger event value is chosen for a site-defined query, that value SHALL begin with Z.

Segment Cardinality Implement Status
RSP^K11^RSP_K11
MSH

Message Header

[1..1] SHALL
SFT

Software Segment

 
MSA

Message Acknowledgment

[1..1] SHALL
ERR

Error

 
QAK

Query Acknowledgment

[1..1] SHALL
QPD

Query Parameter Definition

[1..1] SHALL
SEGMENT_PATTERN [0..1]  
Hxx

any HL7 segment

[1..1] SHALL
DSC

Continuation Pointer

[0..1]  

 

RSP_K11

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

The RSP_K11 supports a Segment Pattern Response to the QBP and contains the MSH, MSA, ERR, QAK, QPD, variable content segments, and the DSC. Its default trigger event is K11. A standard or site-defined response may use this trigger event or may specify a unique trigger event value in its Query Profile. If a unique trigger event value is chosen for a site-defined response, that value SHALL begin with Z.

Note on QBP: Query By Example variant: The query by example is an extension of Query by Parameter (QBP) in which search parameters are passed by sending them in the segment which naturally carries them. A Query Profile which uses this variant SHALL replace the ellipses in the input QBP_Q11 grammar above, with the specific segments that it accepts.
Note: The indicated trigger events are the default values for MSH-9-2-Trigger event. Standard and site-defined queries may use these trigger events or may specify unique trigger event values in their Query Profiles. Unique trigger event values for site-defined queries SHALL begin with Z.
Note on RSP: The Query Profile for each QBP/RSP pair shall specify an explicit segment pattern grammar in place of the ellipses shown above in the RSP_K11 grammar.