Update Unknown Domain

Update Unknown Domain Test Cases

1. Update Unknown Domain

Pre-condition:

The PIX Manager is configured to handle these domains:

NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO

Description:

The purpose of this test is to check that a PIX Manager does not accept an update message (ADT^A08^ADT_A01) that has an unknown domain. An unknown domain is a valid domain but it is not recognized by the PIX Manager.

We register the patient THOMPSON MONICA in a single domain NIST2010. Then we update the same patient in an unknown domain. We expect to receive an ACK back with the code AE or AR.

 

Step 1:

Register patient THOMPSON^MONICA with TM111025^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160934||ADT^A04^ADT_A01|NIST-101101160934088|P|2.3.1
EVN||20101020
PID|||TM111025^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||THOMPSON^MONICA^^^^^L|HOLMQUIST^^^^^^L|19730208|F|||4709 McDonald Avenue^^MAITLAND^FL^32751||^PRN^PH^^^407^8856248||||||846-42-6989
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113104006-0500||ACK^A04|c0a802a213afa6d6e623|P|2.3.1
    MSA|AA|NIST-101101160934088

Step 2:

Update patient demographics in domain UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160944||ADT^A08^ADT_A01|NIST-101101160944662|P|2.3.1
EVN||20101020
PID|||TM111025^^^UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO||THOMPSON^MONICA^^^^^L|HOLMQUIST^^^^^^L|19730208|F|||4709 McDonald Avenue^^MAITLAND^FL^32751||^PRN^PH^^^407^8856248||||||846-42-6989
PV1||R

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113104030-0500||ACK^A08|c0a802a213afa6dcb5e3|P|2.3.1
    MSA|AE|NIST-101101160944662
    ERR|PID^1^3^204&Unknown Key Identifier

Step 3:

Update patient demographics in domain UNKNOWNDOMAIN&&

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160955||ADT^A08^ADT_A01|NIST-101101160955142|P|2.3.1
EVN||20101020
PID|||TM111025^^^UNKNOWNDOMAIN||THOMPSON^MONICA^^^^^L|HOLMQUIST^^^^^^L|19730208|F|||4709 McDonald Avenue^^MAITLAND^FL^32751||^PRN^PH^^^407^8856248||||||846-42-6989
PV1||R

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113104054-0500||ACK^A08|c0a802a213afa6e2b3e1|P|2.3.1
    MSA|AE|NIST-101101160955142
    ERR|PID^1^3^204&Unknown Key Identifier

Step 4:

Update patient demographics in domain &2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161005||ADT^A08^ADT_A01|NIST-101101161005715|P|2.3.1
EVN||20101020
PID|||TM111025^^^&2.16.840.1.113883.3.72.5.9.99&ISO||THOMPSON^MONICA^^^^^L|HOLMQUIST^^^^^^L|19730208|F|||4709 McDonald Avenue^^MAITLAND^FL^32751||^PRN^PH^^^407^8856248||||||846-42-6989
PV1||R

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113104128-0500||ACK^A08|c0a802a213afa6eadeb1|P|2.3.1
    MSA|AE|NIST-101101161005715
    ERR|PID^1^3^204&Unknown Key Identifier



Â