Update Check PID
Update Check PID Test Cases
1. Update Check PID
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 a invalid domain. An invalid domain is either PID-3.2 only or PID-3.3 only valued.
We register the patient CHRISTOPHER ERVIN in a single domain NIST2010. Then we update the same patient in the same domain but the domain is expressed using one of the invalid format. We expect to receive and ACK back with the code AE or AR.
Â
Step 1:
Register patient ERVIN^CHRISTOPHER with EC-015236^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160902||ADT^A04^ADT_A01|NIST-101101160902493|P|2.3.1 EVN||20101020 PID|||EC-015236^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||ERVIN^CHRISTOPHER^^^^^L|PEREZ^^^^^^L|19650109|M|||2452 Emma Street^^COTTON CENTER^TX^79021||^PRN^PH^^^806^8791233||||||462-92-4841 PV1||O
The response message is:
MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113101242-0500||ACK^A04|c0a802a213afa5459d13|P|2.3.1 MSA|AA|NIST-101101160902493
Step 2:
Update patient demographics in domain &2.16.840.1.113883.3.72.5.9.1&
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160913||ADT^A08^ADT_A01|NIST-101101160913020|P|2.3.1 EVN||20101020 PID|||EC-015236^^^&2.16.840.1.113883.3.72.5.9.1||ERVIN^CHRISTOPHER^^^^^L|PEREZ^^^^^^L|19650109|M|||2452 Emma Street^^COTTON CENTER^TX^79021||^PRN^PH^^^806^8791233||||||462-92-4841 PV1||R
The response message is:
MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113101311-0500||ACK^A08|c0a802a213afa54c96c3|P|2.3.1 MSA|AE|NIST-101101160913020 ERR|PID^1^3^204&Unknown Key Identifier
Step 3:
Update patient demographics in domain &&ISO
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160923||ADT^A08^ADT_A01|NIST-101101160923515|P|2.3.1 EVN||20101020 PID|||EC-015236^^^&&ISO||ERVIN^CHRISTOPHER^^^^^L|PEREZ^^^^^^L|19650109|M|||2452 Emma Street^^COTTON CENTER^TX^79021||^PRN^PH^^^806^8791233||||||462-92-4841 PV1||R
The response message is:
MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113101343-0500||ACK^A08|c0a802a213afa5547441|P|2.3.1 MSA|AE|NIST-101101160923515 ERR|PID^1^3^204&Unknown Key Identifier
Â