Q21

Q21 Get Person Demographics

Returns demographics information for a specified person

This query/response is designed for interaction between a client system and an MPI (Master Person Index). The query consists of an identifier for a person, and the response of the demographics for that person.

Following is an example of a Q21/K21 query/response pair of messages. First is the query:

Query/Response Flow

Query Message
QBP^Q21
QBP_Q21
Response Message
RSP^K21
RSP_K21

Input Fields

QPD
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
PersonIdentifier
Patient Identifier List
CXR1250SYPID-3
2
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
13 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
MSA
R1
ERR
O1
QAK
R1
QPD
R1
QUERY_RESPONSE
O1
PID
R1
PD1
O1
ARV
O*
NK1
O*
QRI
R1
DSC
O1

Query Properties

Query Type
Query