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

Query Message
QBP^Z77
QBP_Q13
Response Message
RTB^Z78
RTB_K13

Input Fields

QBE
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
PatientName
PID-5-Patient Name
XPN48S-PID.5
2
DOB
PID-7-Date/time of Birth
TS26S-PID.7
3
Sex
PID-8-Sex
IS1S-PID.8
QPD
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
MessageQueryName
Message Query Name
CER60-
2
QueryTag
Query Tag
STR32-
3
Algorithm
Algorithm
ST48-
4
ConfidenceLevel
Confidence Level
NM8-
VIRTUAL
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
PatientList
PID-3 Patient Identifier List
CXO20SYPID.3
2
PatientName
PID-5 Patient Name
XPN48-PID.5
3
MothersMaidenName
PID-6 Mother's Maiden Name
XPN48-PID.6
4
DOB
PID-7 Date/Time of Birth
TS26-PID.7
5
Sex
PID-8 Sex
IS1-PID.8
6
Race
PID-10 Race
CE80-PID.10

Message Structures

6 segments
R RequiredO Optional Choice
MSH
R1
QPD
R1
QBP
O1
Zxx
O1
RDF
O1
RCP
R1
DSC
O1
8 segments
R RequiredO Optional Choice
MSH
R1
MSA
R1
ERR
O1
QAK
R1
QPD
R1
ROW_DEFINITION
O1
RDF
R1
RDT
O*
DSC
O1

Query Properties

Query Mode
Both
Query Type
Query
Query 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)

SeqNameComponentTypeLenDescription
1Query Priority-ID1(D)eferred or (I)mmediate. Default is I.
2Quantity Limited Request-CQ10-
3Quantity Limited RequestQuantityNM-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.
4Quantity Limited RequestUnitsCE-CHaracters, LInes, PaGes, or RecorDs. Default is LI.
5Response ModalityUnitsCE60Real time or Batch. Default is R.
6Sort-by FieldUnitsSRT256-
7Sort-by FieldSort-by FieldST-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.
8Sort-by FieldSequencingID-As specified in HL7 Table 0397- Sequencing. Default is Ascending.