Q22

Q22 Find Candidates

Returns list of candidates matching demographic 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 demographics 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, can also have an optional QRI - Query Response Instance segment containing information about the quality of the match.

Query/Response Flow

Query Message
QBP^Q22
QBP_Q21
Response Message
RSP^K22
RSP_K22

Input Fields

QPD
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
DemographicsFields
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
12 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
MSA
R1
ERR
O1
QAK
R1
QPD
R1
QUERY_RESPONSE
O*
PID
R1
PD1
O1
NK1
O*
QRI
O1
DSC
O1

Query Properties

Query Type
Query