PDQ Query Case3

Pdq Query Case3


Pre-condition:

The PDQ Supplier is configured to send and receive demographics in a single domain: NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO

 

Description:

Test case ITI-21-Query-Case3 covers the PDQ Query Case 3. The NIST PDQ Consumer will query your PDQ Supplier using an unknown domain in field QPD-8 (What domains returned).


Test Steps Description:

Step 1 : The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patients with a patient name NXEAL using UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO in QPD-8. Your PDQ Supplier shall send an ERR segment for the domain that was not recognized.

       

Step 1:

Query for demographics with criteria PID-5.1.1=NXEAL using UNKNOWNDOMAIN in QPD-

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161404||QBP^Q22^QBP_Q21|NIST-101101161404422|D|2.5
QPD|IHE PDQ Query|QRY121548499947|@PID.5.1.1^NXEAL|||||^^^UNKNOWNDOMAIN
RCP|I

The response message is:

    MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115133657-0500||RSP^K22^RSP_K21|c0a802a213b055c106b3|P|2.5
    MSA|AE|NIST-101101161404422
    ERR||QPD^1^8^1|204^Unknown Key Identifier|E
    QAK|QRY121548499947|AE
    QPD|IHE PDQ Query|QRY121548499947|@PID.5.1.1^NXEAL|||||^^^UNKNOWNDOMAIN