Query Case 1: Data Found

Query Case 1 Data Found Test Cases

1. Data Found

Pre-condition:

The PIX Manager is configured to handle these domains:

NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO

NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO

NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO


Description:

Test case ITI-9-Query-Case1-Data-Found covers the PIX Query Case 1. One patient (ALPHA) is registered in three different domains. Three registration messages are sent to a Cross Reference Manager. A PIX Query is sent to resolve a reference to ALPHA in a specific domain (NIST2010-2). Patient ALPHA should be found. Another PIX Query is sent to resolve a reference to ALPHA in two different domains (NIST2010-2 and NIST2010-3). Patient ALPHA should be found in those two domains. Another PIX Query is sent to resolve a reference to ALPHA in all domains. Patient ALPHA should be found in two domains (NIST2010-2 and NIST2010-3).

Test Steps Description:

Step 1: The NIST PIX Source sends a registration message (ADT^A04) to register patient ALAN ALPHA in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO. Patient ID is PIX10501. Your PIX Manager shall register the patient and send a correct ACK message back.

Step 2: The NIST PIX Source sends a registration message (ADT^A04) to register patient ALAN ALPHA in domain NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO. Patient ID is XYZ10501. Your PIX Manager shall register the patient and send a correct ACK message back.

Step 3: The NIST PIX Source sends a registration message (ADT^A04) to register patient ALAN ALPHA in domain NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO. Patient ID is ABC10501. Your PIX Manager shall register the patient and send a correct ACK message back.

Step 4: The NIST PIX Consumer sends a query message (QBP^Q23) to ask for ALAN ALPHA''s ID in domain NIST2010-2&2.16.840.1.113883.3.72.5.9.1&ISO using his id PIX10501 in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO. Your PIX Manager shall answer correctly to the query with ALAN ALPHA''s ID XYZ10501 in domain NIST2010-2&2.16.840.1.113883.3.72.5.9.1&ISO.

Step 5: The NIST PIX Consumer sends a query message (QBP^Q23) to ask for ALAN ALPHA''s ID in domain NIST2010-2&2.16.840.1.113883.3.72.5.9.1&ISO and NIST2010-3&2.16.840.1.113883.3.72.5.9.1&ISO using his id PIX10501 in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO. Your PIX Manager shall answer correctly to the query with ALAN ALPHA''s ID XYZ10501 and ABC10501 in domain NIST2010-2&2.16.840.1.113883.3.72.5.9.1&ISO and NIST2010-3&2.16.840.1.113883.3.72.5.9.1&ISO.

Step 6: The NIST PIX Consumer sends a query message (QBP^Q23) to ask for ALAN ALPHA''s ID in all domains using his id PIX10501 in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO. Your PIX Manager shall answer correctly to the query with ALAN ALPHA''s ID XYZ10501 and ABC10501 in domain NIST2010-2&2.16.840.1.113883.3.72.5.9.1&ISO and NIST2010-3&2.16.840.1.113883.3.72.5.9.1&ISO.


Step 1:

Register Patient ALPHA^ALAN with ID PIX10515 in domain NIST2010

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161134||ADT^A04^ADT_A01|NIST-101101161134113|P|2.3.1
EVN||20101020
PID|||PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||ALPHA^ALAN^^^^^L|HOUSE^^^^^^L|19690908|M|||338 Apple Lane^^LITTLETON^IL^61452||^PRN^PH^^^309^2576057||||||357-56-4113
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109151853-0500||ACK^A04|c0a802a213ae6d339fe3|P|2.3.1
    MSA|AA|NIST-101101161134113

Step 2:

Register Patient ALPHA^ALAN with ID XYZ10515 in domain NIST2010-2

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161145||ADT^A04^ADT_A01|NIST-101101161144999|P|2.3.1
EVN||20101020
PID|||XYZ10501^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO||ALPHA^ALAN^^^^^L|HOUSE^^^^^^L|19690908|M|||338 Apple Lane^^LITTLETON^IL^61452||^PRN^PH^^^309^2576057||||||357-56-4113
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109151919-0500||ACK^A04|c0a802a213ae6d3a03b3|P|2.3.1
    MSA|AA|NIST-101101161144999

Step 3:

Register Patient ALPHA^ALAN with ID ABC10515 in domain NIST2010-3

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161155||ADT^A04^ADT_A01|NIST-101101161155901|P|2.3.1
EVN||20101020
PID|||ABC10501^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO||ALPHA^ALAN^^^^^L|HOUSE^^^^^^L|19690908|M|||338 Apple Lane^^LITTLETON^IL^61452||^PRN^PH^^^309^2576057||||||357-56-4113
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109151943-0500||ACK^A04|c0a802a213ae6d3fc721|P|2.3.1
    MSA|AA|NIST-101101161155901

Step 4:

Query for corresponding ids in NIST2010-2 for the patient with ID PIX10501 in domain NIST2010

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161157||QBP^Q23^QBP_Q21|NIST-101101161157166|P|2.5
QPD|IHE PIX Query|QRY1248968460880|PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO
RCP|I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121112102427-0500||RSP^K23^RSP_K23|c0a802a213af538bc4a1|P|2.5
    MSA|AA|NIST-101101161157166
    QAK|QRY1248968460880|OK
    QPD|IHE PIX Query|QRY1248968460880|PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO
    PID|||XYZ10501^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO^PI||~^^^^^^S

Step 5:

Query for corresponding ids in NIST2010-2 and NIST2010-3 for the patient with ID PIX10501 in domain NIST2010

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161158||QBP^Q23^QBP_Q21|NIST-101101161158306|P|2.5
QPD|IHE PIX Query|QRY124895648648|PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO~^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO
RCP|I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121112102513-0500||RSP^K23^RSP_K23|c0a802a213af53971ab3|P|2.5
    MSA|AA|NIST-101101161158306
    QAK|QRY124895648648|OK
    QPD|IHE PIX Query|QRY124895648648|PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO~^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO
    PID|||XYZ10501^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO^PI~ABC10501^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO^PI||~^^^^^^S

 

Step 6:

Query for corresponding ids in all domains for the patient with ID PIX10501 in domain NIST2010

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161159||QBP^Q23^QBP_Q21|NIST-101101161159430|P|2.5
QPD|IHE PIX Query|QRY1243359573282|PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO
RCP|I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121112102559-0500||RSP^K23^RSP_K23|c0a802a213af53a25003|P|2.5
    MSA|AA|NIST-101101161159430
    QAK|QRY1243359573282|OK
    QPD|IHE PIX Query|QRY1243359573282|PIX10501^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO
    PID|||XYZ10501^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO^PI~ABC10501^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO^PI||~^^^^^^S