Update Valid Domain Patient Exist

Update Valid Domain Patient Exist Test Cases

1. Update Valid Domain Patient Exist

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 accepts an update message (ADT^A08^ADT_A01) that has a valid domain. A valid domain is either PID-3.1 only, PID-3.2 and PID-3.3, or all three valued. The patient with ID TD14415 exists.

We register the patient DIANA TEAGUE in a single domain NIST2010. Then we update the same patient in the same domain. Each time the domain is expressed using one of the valid format. We expect to receive an ACK back with the code AA.


Step 1:

Register patient TEAGUE^DIANA with TD14415^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161016||ADT^A04^ADT_A01|NIST-101101161016351|P|2.3.1
EVN||20101020
PID|||TD14415^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||TEAGUE^DIANA^^^^^L|BISHOP^^^^^^L|19881128|M|||2934 Rogers Street^^CINCINNATI^OH^45202||^PRN^PH^^^513^4879531||||||200-36-9998
PV1||O

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113111104-0500||ACK^A04|c0a802a213afa89c8063|P|2.3.1
    MSA|AA|NIST-101101161016351

Step 2:

Update patient demographics in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161026||ADT^A08^ADT_A01|NIST-101101161026909|P|2.3.1
EVN||20101020
PID|||TD14415^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||TEAGUE^DIANA^^^^^L|BISHOP^^^^^^L|19881128|F|||2934 Rogers Street^^CINCINNATI^OH^45202||^PRN^PH^^^513^4879531||||||200-36-9998
PV1||R

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113111125-0500||ACK^A08|c0a802a213afa8a19653|P|2.3.1
    MSA|AA|NIST-101101161026909

Step 3:

Update patient demographics in domain NIST2010&&

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161037||ADT^A08^ADT_A01|NIST-101101161037467|P|2.3.1
EVN||20101020
PID|||TD14415^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||TEAGUE^DIANA^^^^^L|BISHOP^^^^^^L|19881028|F|||2934 Rogers Street^^CINCINNATI^OH^45202||^PRN^PH^^^513^4879531||||||200-36-9998
PV1||R

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113111202-0500||ACK^A08|c0a802a213afa8aa95a1|P|2.3.1
    MSA|AA|NIST-101101161037467

Step 4:

Update patient demographics in domain &2.16.840.1.113883.3.72.5.9.1&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101161048||ADT^A08^ADT_A01|NIST-101101161048071|P|2.3.1
EVN||20101020
PID|||TD14415^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO||TEAGUE^DIANA^^^^^L|BISHOP^^^^^^L|19881128|F|||12934 Rogers Street^^CINCINNATI^OH^45202||^PRN^PH^^^513^4879531||||||200-36-9998
PV1||R

The response message is:

    MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121113111223-0500||ACK^A08|c0a802a213afa8afe2f1|P|2.3.1
    MSA|AA|NIST-101101161048071



Â