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 is a list of identifiers for that person from the domains specified.
MSH-15 | MSH-16 | Immediate ACK | Application Ack |
---|---|---|---|
Blank | Blank | - | RSP^K22^RSP_K22 |
Blank | Blank | - | RSP^K23^RSP_K23 |
Blank | Blank | - | RSP^K25^RSP_K25 |
Blank | Blank | - | RSP^K32^RSP_K32 |
Blank | Blank | - | RSP^K2^4^RSP_K24 |
Blank | Blank | - | RSP^K21^RSP_K21 |
NE | NE | - | - |
NE | NE | - | - |
NE | NE | - | - |
NE | NE | - | - |
NE | NE | - | - |
NE | NE | - | - |
AL, SU, ER | NE | ACK^Q23^ACK | - |
AL, SU, ER | NE | ACK^Q22^ACK | - |
AL, SU, ER | NE | ACK^Q24^ACK | - |
AL, SU, ER | NE | ACK^Q32^ACK | - |
AL, SU, ER | NE | ACK^Q21^ACK | - |
NE | AL, SU, ER | - | RSP^K25^RSP_K25 |
NE | AL, SU, ER | - | RSP^K22^RSP_K22 |
NE | AL, SU, ER | - | RSP^K21^RSP_K21 |
NE | AL, SU, ER | - | RSP^K23^RSP_K23 |
AL, SU, ER | AL, SU, ER | ACK^Q25^ACK | RSP^K25^RSP_K25 |
NE | AL, SU, ER | - | RSP^K24^RSP_K24 |
NE | AL, SU, ER | - | RSP^K32^RSP_K32 |
AL, SU, ER | AL, SU, ER | ACK^Q22^ACK | RSP^K22^RSP_K22 |
AL, SU, ER | AL, SU, ER | ACK^Q21^ACK | RSP^K21^RSP_K21 |
AL, SU, ER | AL, SU, ER | ACK^Q24^ACK | RSP^K24^RSP_K24 |
AL, SU, ER | AL, SU, ER | ACK^Q32^ACK | RSP^K32^RSP_K32 |
AL, SU, ER | AL, SU, ER | ACK^Q23^ACK | RSP^K23^RSP_K23 |
Segment | Cardinality | Implement | Status |
---|---|---|---|
RSP^K23^RSP_K23 | |||
MSH Message Header |
[1..1] | SHALL | |
ARV Access Restriction |
v2.9 | ||
SFT Software Segment |
|||
UAC User Authentication Credential Segment |
[0..1] | ||
MSA Message Acknowledgment |
[1..1] | SHALL | |
ERR Error |
[0..1] | ||
QAK Query Acknowledgment |
[1..1] | SHALL | |
QPD Query Parameter Definition |
[1..1] | SHALL | |
QUERY_RESPONSE | [0..1] | ||
PID Patient Identification |
[1..1] | SHALL | |
DSC Continuation Pointer |
[0..1] |
MSH-15 | MSH-16 | Immediate ACK | Application Ack |
---|---|---|---|
Blank | Blank | - | - |
Blank | Blank | - | - |
NE | NE | - | - |
NE | NE | - | - |
AL, SU, ER | NE | ACK^K24^ACK | - |
AL, SU, ER | NE | ACK^K23^ACK | - |
Following is an example of a Q23/K23 query/response pair of messages. First is the query:
MSH|^~\&|CLINREG|WESTCLIN|HOSPMPI|HOSP|199912121135-0600||QBP^Q23^QBP_Q21|1|D|2.5
QPD|Q23^Get Corresponding IDs^HL7nnnn|111069|112234^^^GOOD HEALTH HOSPITAL|^^^WEST CLINIC~^^^SOUTH LAB|
RCP||I|
This query is asking for identifiers from WEST CLINIC and SOUTH LAB for the person identified with the identifier 112234 from the assigning authority GOOD HEALTH HOSPITAL. Here is a sample response:
MSH|^~\&|HOSPMPI|HOSP|CLINREG|WESTCLIN|199912121135-0600||RSP^K23^RSP_K23|1|D|2.5|
MSA|AA|8699|
QAK|111069|OK|Q23^Get Corresponding IDs^HL7nnnn|1|
QPD|Q23^Get Corresponding IDs^HL7nnn|111069|112234^^^GOOD HEALTH HOSPITAL|^^^WEST CLINIC~^^^SOUTH LAB|
PID|||56321A^^^WEST CLINIC~66532^^^SOUTH LAB||EVERYMAN^ADAM||19630423|M||C|N2378 South Street^^Madison^WI^53711|
Note: that the identifiers returned do not include the GOOD HEALTH HOSPITAL identifier, as it was not specified in the list of WhatDomainsReturned.