Rsp_k23 messages include MSH, MSA, err, qak, qpd, and PID segments. Err and PID are optional.
1. When the MSA has an err, the err segment is filled with detailed information about the error. 2. when MSA is AA and qak is OK, PID is not empty; otherwise, PID should be empty 3. when the MSA has an err, The qak's response status should be AE/AR4. when the wanted return domain in the q23 request message is empty, the patient ID list returned by k23 should not contain the PID-6 in the message returned by pid5. k23 In the request of q23, where the PID-9 is Mother's maiden name and patient alias should be empty; PID-5 that is, the name type code of the 2nd instances of patient name should be S, representing coded pseudo-name to ensure anonymity; correct message: MSH | ^ ~ \ & | Ihe pix manager | uih | nist_hydra_pix_consumer | NIST | 20130810082517 | RSP ^ k23 ^ rsp_k23 | Ihe pix Manager-20130810082517-1 | p | 2.5 | Unicode UTF-8
MSA | AE | NIST-20130810082516
Err | 204 ^ unknownkeyidentifier ^ patient id is not exist | E
Qak | qry12434188486468 | AE
Qpd | q23 ^ Ihe pix query | qry12434188486468 | HC-352 ^ nist2010 & 2.16.840.1.113883.3.72.5.9.1 & ISO | ^ NIST2010-2 & Others & ISO
Error Message 1: MSH | ^ ~ \ & | Ihe pix manager | uih | nist_hydra_pix_consumer | NIST | 20130810082517 | RSP ^ k23 ^ rsp_k23 | Ihe pix Manager-20130810082517-1 | p | 2.5 | Unicode UTF-8
MSA | AE | NIST-20130810082516
Err | 204 ^ unknownkeyidentifier ^ patient id is not exist | E
Qak | qry12434188486468 | AE
Qpd | q23 ^ Ihe pix query | qry12434188486468 | HC-352 ^ nist2010 & 2.16.840.1.113883.3.72.5.9.1 & ISO | ^ NIST2010-2 & Others & ISO
PID | ^ L ~ ^ S | ^ L ~ ^ S | ^ L ~ ^ SError Message 2: MSH | ^ ~ \ & | Ihe pix manager | uih | nist_hydra_pix_consumer | NIST | 20130810082517 | RSP ^ k23 ^ rsp_k23 | Ihe pix Manager-20130810082517-1 | p | 2.5 | Unicode UTF-8
MSA | AE | NIST-20130810082516
Err | 204 ^ unknownkeyidentifier ^ patient id is not exist | E
Qak | qry12434188486468 |
NF
Qpd | q23 ^ Ihe pix query | qry12434188486468 | HC-352 ^ nist2010 & Others & ISO | ^ NIST2010-2 & 2.16.840.1.113883.3.72.5.9.2 & ISO error message 3: MSH | ^ ~ \ & | Ihe pix manager | uih | nist_hydra_pix_consumer | NIST | 20130810082517 |
ACK^ K23 ^ rsp_k23 | Ihe pix Manager-20130810082517-1 | p | 2.5 | Unicode UTF-8
MSA | AE | NIST-20130810082516
Err | 204 ^ unknownkeyidentifier ^ patient id is not exist | E
Qak | qry12434188486468 | AE
Qpd | q23 ^ Ihe pix query | qry12434188486468 | HC-352 ^ nist2010 & 2.16.840.1.113883.3.72.5.9.1 & ISO | ^ NIST2010-2 & Others & ISO