Feed Valid Domain Test

Feed Valid Domain Test Cases

1. Feed Valid Domain A01

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:

The purpose of this test is to check that a PIX Manager accepts a feed message (ADT^A01^ADT_A01) that has a correctly specified assigning authority domain for the patient"s identifier. Valid combinations of the patient"s identifier assigning authority subcomponents include either the first subcomponent (Namespace ID), the second (Universal ID) and the third (Universal ID Type), or all three.        

When the PIX Manager is sent a message where the domain is populated with only the first subcomponent (Namespace ID), the PIX Manager shall populate the second (Universal ID) and the third (Universal ID Type) subcomponents in subsequent transactions.        

When the PIX Manager is sent a message where the domain is populated with only the second (Universal ID) and the third (Universal ID Type) subcomponents, the PIX Manager shall populate the first subcomponent (Namespace ID) in subsequent transactions.

Test Steps Description:

Step 1: The patient WILLIE MUSTO with ID 14583058 in the domain NIST2010 is registered with all three assigning authority components NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO populated. The PIX Manager is expected to return an ACK with the code AA.        

Step 2: The same patient WILLIE MUSTO with ID WM-9037-93299 in a different domain NIST2010-2 is registered with only the first subcomponent NIST2010-2&& populated. The PIX Manager is expected to return an ACK with the code AA.        

Step 3: A query is made with WILLIE MUSTO with ID 14583058 in domain NIST2010 requesting his patient ID in domain NIST2010-2. The PIX Manager is expected to return a query response in which the patient WILLIE MUSTO ID is found in domain NIST2010-2. The PIX manager is also expected to fill in the second (PID.3.4.2) and third (PID.3.4.3) subcomponents in the patient''s identifier assigning authority.        

Step 4: The patient WILLIE MUSTO with ID WMUSTO-0001 in the domain NIST2010-3 is registered with &2.16.840.1.113883.3.72.5.9.3&ISO populated. The PIX Manager is expected to return an ACK with the code AA.        

Step 5: A query is made with WILLIE MUSTO with ID 14583058 in domain NIST2010 requesting his patient ID in domain NIST2010-3. The PIX Manager is expected to return a query response in which the patient WILLIE MUSTO ID is found in domain NIST2010-3. The PIX manager is expected to fill in the first (PID.3.4.1) subcomponent in the patient"s identifier assigning authority.       

Step 1:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160641||ADT^A01^ADT_A01|NIST-101101160641914|P|2.3.1
EVN||20101020
PID|||14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109091652-0500||ACK^A01|c0a802a213ae587cb833|P|2.3.1
    MSA|AA|NIST-101101160641914

Step 2:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160654||ADT^A01^ADT_A01|NIST-101101160654284|P|2.3.1
EVN||20101020
PID|||WM-9037-93299^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109091744-0500||ACK^A01|c0a802a213ae58896fd3|P|2.3.1
    MSA|AA|NIST-101101160654284

Step 3:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160655||QBP^Q23^QBP_Q21|NIST-101101160655565|P|2.5
QPD|IHE PIX Query|QRY124518648946312|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^&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|20121109091818-0500||RSP^K23^RSP_K23|c0a802a213ae5891b1e1|P|2.5
    MSA|AA|NIST-101101160655565
    QAK|QRY124518648946312|OK
    QPD|IHE PIX Query|QRY124518648946312|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^&2.16.840.1.113883.3.72.5.9.2&ISO
    PID|||WM-9037-93299^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO^PI||~^^^^^^S

Step 4:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160705||ADT^A01^ADT_A01|NIST-101101160705951|P|2.3.1
EVN||20101020
PID|||WMUSTO-0001^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109091915-0500||ACK^A01|c0a802a213ae589f80f1|P|2.3.1
    MSA|AA|NIST-101101160705951

Step 5:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160707||QBP^Q23^QBP_Q21|NIST-101101160707216|P|2.5
QPD|IHE PIX Query|QRY124518648946313|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-3
RCP|I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109091943-0500||RSP^K23^RSP_K23|c0a802a213ae58a642f3|P|2.5
    MSA|AA|NIST-101101160707216
    QAK|QRY124518648946313|OK
    QPD|IHE PIX Query|QRY124518648946313|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-3
    PID|||WMUSTO-0001^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO^PI||~^^^^^^S


2. Feed Valid Domain A04

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:

The purpose of this test is to check that a PIX Manager accepts a feed message (ADT^A04^ADT_A01) that has a correctly specified assigning authority domain for the patient"s identifier. Valid combinations of the patient"s identifier assigning authority subcomponents include either the first subcomponent (Namespace ID), the second (Universal ID) and the third (Universal ID Type), or all three.

When the PIX Manager is sent a message where the domain is populated with only the first subcomponent (Namespace ID), the PIX Manager shall populate the second (Universal ID) and the third (Universal ID Type) subcomponents in subsequent transactions.

When the PIX Manager is sent a message where the domain is populated with only the second (Universal ID) and the third (Universal ID Type) subcomponents, the PIX Manager shall populate the first subcomponent (Namespace ID) in subsequent transactions.

Test Steps Description:

Step 1: The patient WILLIE MUSTO with ID 14583058 in the domain NIST2010 is registered with all three assigning authority components NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO populated. The PIX Manager is expected to return an ACK with the code AA.

Step 2: The same patient WILLIE MUSTO with ID WM-9037-93299 in a different domain NIST2010-2 is registered with only the first subcomponent NIST2010-2&& populated. The PIX Manager is expected to return an ACK with the code AA.

Step 3: A query is made with WILLIE MUSTO with ID 14583058 in domain NIST2010 requesting his patient ID in domain NIST2010-2. The PIX Manager is expected to return a query response in which the patient WILLIE MUSTO ID is found in domain NIST2010-2. The PIX manager is also expected to fill in the second (PID.3.4.2) and third (PID.3.4.3) subcomponents in the patient''s identifier assigning authority.

Step 4: The patient WILLIE MUSTO with ID WMUSTO-0001 in the domain NIST2010-3 is registered with &2.16.840.1.113883.3.72.5.9.3&ISO populated. The PIX Manager is expected to return an ACK with the code AA.

Step 5: A query is made with WILLIE MUSTO with ID 14583058 in domain NIST2010 requesting his patient ID in domain NIST2010-3. The PIX Manager is expected to return a query response in which the patient WILLIE MUSTO ID is found in domain NIST2010-3. The PIX manager is expected to fill in the first (PID.3.4.1) subcomponent in the patient"s identifier assigning authority.


Step 1:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160720||ADT^A04^ADT_A01|NIST-101101160720116|P|2.3.1
EVN||20101020
PID|||14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109093133-0500||ACK^A04|c0a802a213ae5953b423|P|2.3.1
    MSA|AA|NIST-101101160720116

Step 2:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160731||ADT^A04^ADT_A01|NIST-101101160731002|P|2.3.1
EVN||20101020
PID|||WM-9037-93299^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109093252-0500||ACK^A04|c0a802a213ae5966e8d3|P|2.3.1
    MSA|AA|NIST-101101160731002

Step 3:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160732||QBP^Q23^QBP_Q21|NIST-101101160732252|P|2.5
QPD|IHE PIX Query|QRY124518648946312|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^&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|20121109093313-0500||RSP^K23^RSP_K23|c0a802a213ae596c3bb1|P|2.5
    MSA|AA|NIST-101101160732252
    QAK|QRY124518648946312|OK
    QPD|IHE PIX Query|QRY124518648946312|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^&2.16.840.1.113883.3.72.5.9.2&ISO
    PID|||WM-9037-93299^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO^PI||~^^^^^^S

Step 4:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160742||ADT^A04^ADT_A01|NIST-101101160742669|P|2.3.1
EVN||20101020
PID|||WMUSTO-0001^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109093351-0500||ACK^A04|c0a802a213ae59758171|P|2.3.1
    MSA|AA|NIST-101101160742669

Step 5:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160743||QBP^Q23^QBP_Q21|NIST-101101160743934|P|2.5
QPD|IHE PIX Query|QRY124518648946313|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-3
RCP|I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109093413-0500||RSP^K23^RSP_K23|c0a802a213ae597adc83|P|2.5
    MSA|AA|NIST-101101160743934
    QAK|QRY124518648946313|OK
    QPD|IHE PIX Query|QRY124518648946313|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-3
    PID|||WMUSTO-0001^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO^PI||~^^^^^^S


3. Feed Valid Domain A05

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:

The purpose of this test is to check that a PIX Manager accepts a feed message (ADT^A05^ADT_A01) that has a correctly specified assigning authority domain for the patient"s identifier. Valid combinations of the patient"s identifier assigning authority subcomponents include either the first subcomponent (Namespace ID), the second (Universal ID) and the third (Universal ID Type), or all three.

When the PIX Manager is sent a message where the domain is populated with only the first subcomponent (Namespace ID), the PIX Manager shall populate the second (Universal ID) and the third (Universal ID Type) subcomponents in subsequent transactions.

When the PIX Manager is sent a message where the domain is populated with only the second (Universal ID) and the third (Universal ID Type) subcomponents, the PIX Manager shall populate the first subcomponent (Namespace ID) in subsequent transactions.

Test Steps Description:

Step 1: The patient WILLIE MUSTO with ID 14583058 in the domain NIST2010 is registered with all three assigning authority components NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO populated. The PIX Manager is expected to return an ACK with the code AA.

Step 2: The same patient WILLIE MUSTO with ID WM-9037-93299 in a different domain NIST2010-2 is registered with only the first subcomponent NIST2010-2&& populated. The PIX Manager is expected to return an ACK with the code AA.

Step 3: A query is made with WILLIE MUSTO with ID 14583058 in domain NIST2010 requesting his patient ID in domain NIST2010-2. The PIX Manager is expected to return a query response in which the patient WILLIE MUSTO ID is found in domain NIST2010-2. The PIX manager is also expected to fill in the second (PID.3.4.2) and third (PID.3.4.3) subcomponents in the patient''s identifier assigning authority.

Step 4: The patient WILLIE MUSTO with ID WMUSTO-0001 in the domain NIST2010-3 is registered with &2.16.840.1.113883.3.72.5.9.3&ISO populated. The PIX Manager is expected to return an ACK with the code AA.

Step 5: A query is made with WILLIE MUSTO with ID 14583058 in domain NIST2010 requesting his patient ID in domain NIST2010-3. The PIX Manager is expected to return a query response in which the patient WILLIE MUSTO ID is found in domain NIST2010-3. The PIX manager is expected to fill in the first (PID.3.4.1) subcomponent in the patient"s identifier assigning authority.


Step 1:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160754||ADT^A05^ADT_A01|NIST-101101160754757|P|2.3.1
EVN||20101020
PID|||14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||P

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109094718-0500||ACK^A05|c0a802a213ae5a3a7ce3|P|2.3.1
    MSA|AA|NIST-101101160754757

Step 2:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160805||ADT^A05^ADT_A01|NIST-101101160805440|P|2.3.1
EVN||20101020
PID|||WM-9037-93299^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||P

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109094740-0500||ACK^A05|c0a802a213ae5a3fd103|P|2.3.1
    MSA|AA|NIST-101101160805440

Step 3:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160806||QBP^Q23^QBP_Q21|NIST-101101160806705|P|2.5
QPD|IHE PIX Query|QRY124518648946312|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^&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|20121109094816-0500||RSP^K23^RSP_K23|c0a802a213ae5a48a971|P|2.5
    MSA|AA|NIST-101101160806705
    QAK|QRY124518648946312|OK
    QPD|IHE PIX Query|QRY124518648946312|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^&2.16.840.1.113883.3.72.5.9.2&ISO
    PID|||WM-9037-93299^^^NIST2010-2&2.16.840.1.113883.3.72.5.9.2&ISO^PI||~^^^^^^S

Step 4:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160817||ADT^A05^ADT_A01|NIST-101101160817044|P|2.3.1
EVN||20101020
PID|||WMUSTO-0001^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO||MUSTO^WILLIE^^^^^L|BROWN^^^^^^L|19670217|M|||2516 Maxwell Farm Road^^HARRISONBURG^VA^22801||^PRN^PH^^^540^2084880||||||691-01-6885
PV1||P

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109094848-0500||ACK^A05|c0a802a213ae5a508471|P|2.3.1
    MSA|AA|NIST-101101160817044

Step 5:

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160818||QBP^Q23^QBP_Q21|NIST-101101160818528|P|2.5
QPD|IHE PIX Query|QRY124518648946313|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-3
RCP|I

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109094913-0500||RSP^K23^RSP_K23|c0a802a213ae5a5670c3|P|2.5
    MSA|AA|NIST-101101160818528
    QAK|QRY124518648946313|OK
    QPD|IHE PIX Query|QRY124518648946313|14583058^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO|^^^NIST2010-3
    PID|||WMUSTO-0001^^^NIST2010-3&2.16.840.1.113883.3.72.5.9.3&ISO^PI||~^^^^^^S