Z77
Tabular Patient List
To find patient records that closely (as specified by the Client) match a set of input criteria using a specified algorithm.
Query/Response Flow
Input Fields
QBE
QPD
Message Structures
6 segments
R RequiredO Optional Choice
MSH
R1QPD
R1QBP
O1Zxx
O1RDF
O1RCP
R1DSC
O18 segments
R RequiredO Optional Choice
MSH
R1MSA
R1ERR
O1QAK
R1QPD
R1ROW_DEFINITION
O1RDF
R1RDT
O*DSC
O1Query Properties
Query Mode
BothQuery Type
QueryQuery Characteristics
Query By Example: passes algorithm data via QBP segment and patient match information via PID segment.Only PID fields listed in the QBE Input Parameter Specification may be populated to be matched against. Fields not populated will be considered as matc
Response Characteristics
Response returns requested columns from the Virtual Table. If no columns were requested, all columns are returned.
Response Control Parameters (RCP)
| Seq | Name | Component | Type | Len | Description |
|---|---|---|---|---|---|
| 1 | Query Priority | - | ID | 1 | (D)eferred or (I)mmediate. Default is I. |
| 2 | Quantity Limited Request | - | CQ | 10 | - |
| 3 | Quantity Limited Request | Quantity | NM | - | Number of units (specified by the following component) that will be returned in each increment of the response. If no value is given, the entire response will be returned in a single increment. |
| 4 | Quantity Limited Request | Units | CE | - | CHaracters, LInes, PaGes, or RecorDs. Default is LI. |
| 5 | Response Modality | Units | CE | 60 | Real time or Batch. Default is R. |
| 6 | Sort-by Field | Units | SRT | 256 | - |
| 7 | Sort-by Field | Sort-by Field | ST | - | Segment field name of an output column by which the response may be sorted. Must contain a Y in the Sort column of the output specification table. |
| 8 | Sort-by Field | Sequencing | ID | - | As specified in HL7 Table 0397- Sequencing. Default is Ascending. |