The Query Profile always shows a response grammar. If the query response is segment pattern, the response grammar should specify the segments, order, optionality, and repetition as do message specifications within the HL7 Standard.
Segment | Cardinality | Implement | Status |
---|---|---|---|
RTB^Znn^RTB_Knn | |||
MSH Message Header |
[1..1] | SHALL | |
SFT Software Segment |
|||
UAC User Authentication Credential Segment |
[0..1] | ||
MSA Message Acknowledgment |
[1..1] | SHALL | |
ERR Error |
[0..1] | ||
QAK Query Acknowledgment |
[1..1] | SHALL | |
QPD Query Parameter Definition |
[1..1] | SHALL | |
Hxx any HL7 segment |
[1..1] | SHALL | |
DSC Continuation Pointer |
[0..1] |
MSH-15 | MSH-16 | Immediate ACK | Application Ack |
---|
Response Grammar: This and the following column specify the HL7 code name and full name of each segment returned in the response. Braces specify that the segment or segment group is repeatable; brackets specify the optionality of the segment or segment group.
For Query Profiles published in the HL7 Standard, the Response Grammar table includes the Query Profile ID in parentheses in the upper left-hand cell. This allows the table to be imported automatically into the HL7 database.
Message Description: The full text name of the segment.
Group Control: The name of a segment group.
Comment: Specifies in English: 1) the opening or closing of a segment group, and 2) the relevance of the segment in a Hit Count. (Only positive value is noted.)
Support Indicator: Allows the Server to indicate: 1) whether an optional segment or segment group will be supported, or 2) that the segment or segment group is dependent on an input parameter. The default understanding is that if the Server knows the information, it will be sent.
Sec Ref: Specifies where in the standard further information about the segment can be found.