Constructing rsp_k23 messages in HL7 v2.x

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.