Q32

Q32 Find Candidates with Visit Information

Returns list of candidates matching demographic and/or visit data specified by the input parameters.

This query/response is designed for interaction between a client system and an MPI (Master Person Index). The query consists of a set of demographic and/or visit attribute values for a person, and the response is the list of candidates considered by the MPI to match that set.

Each returned person, specified by a PID segment and by a PV1 segment containing information about the current visit, can also have an optional QRI - Query Response Instance segment containing information about the quality of the match.

Query/Response Flow

Query Message
QBP^Q32
QBP_Q21
Response Message
RSP^K32
RSP_K25

Input Fields

QPD
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
Demographics / Visit Fields
QIPR*--
2
SearchConfidenceThreshold
NMO1--
3
AlgorithmName
STO1--
4
AlgorithmVersion
STO1--
5
AlgorithmDescription
STO1--
6
WhatDomainsReturned
Patient Identifier List
CXO*--PID-3

Message Structures

6 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
QPD
R1
RCP
R1
DSC
O1
19 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
MSA
R1
ERR
O*
QAK
R1
QPD
R1
RCP
R1
STAFF
R*
STF
R1
PRA
O*
ORG
O*
AFF
O*
LAN
O*
EDU
O*
CER
O*
NK1
O*
PRT
O*
ROL
deprecatedO*
DSC
O1