Feed Check PID Test

Feed Check PID Test Cases

1. Feed Check PID A01

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 a feed message (ADT^A01^ADT_A01) that specifies the assigning authority of the patient identifier incorrectly. The PIX Manager shall only accept an assigning authority with values populated in PID-3.4.1, PID-3.4.2 and PID-3.4.3, or all three components.

We register the same patient ROBERT JOHNSTON with ID RJ-438 in the domain NIST2010 but the domain is expressed using an invalid format. The PIX Manager is expected to return an ACK with the code AE or AR.

Step 1:

Register patient JOHNSTON^ROBERT with RJ-438^^^&2.16.840.1.113883.3.72.5.9.1&

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160358||ADT^A01^ADT_A01|NIST-101101160358190|P|2.3.1|
EVN||20101020|
PID|||RJ-438^^^&2.16.840.1.113883.3.72.5.9.1||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185|
PV1||I|

The response message is:

MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109130536-0500||
ACK^A01|c0a802a213ae65932563|P|2.3.1
MSA|AE|NIST-101101160358190
ERR|PID^1^3^204&Unknown Key Identifier

Step 2:

Register patient JOHNSTON^ROBERT with RJ-438^^^&&ISO

MSH|^~\\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160409||ADT^A01^ADT_A01|NIST-101101160409732|P|2.3.1|
EVN||20101020|
PID|||RJ-438^^^&&ISO||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185|
PV1||I|

The response message is:

MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109130557-0500||ACK^A01|c0a802a213ae659851c3|P|2.3.1
MSA|AE|NIST-101101160409732
ERR|PID^1^3^204&Unknown Key Identifier

2. Feed Check PID A04

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 a feed message (ADT^A04^ADT_A01) that specifies the assigning authority of the patient identifier incorrectly. The PIX Manager shall only accept an assigning authority with values populated in PID-3.4.1, PID-3.4.2 and PID-3.4.3, or all three components.

We register the same patient ROBERT JOHNSTON with ID RJ-438 in the domain NIST2010 but the domain is expressed using an invalid format. The PIX Manager is expected to return an ACK with the code AE or AR.

Step 1:

Register patient JOHNSTON^ROBERT with RJ-438^^^&2.16.840.1.113883.3.72.5.9.1&

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160420||ADT^A04^ADT_A01|NIST-101101160420696|P|2.3.1|
EVN||20101020|
PID|||RJ-438^^^&2.16.840.1.113883.3.72.5.9.1||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185|
PV1||O|

The response message is:

MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109130640-0500||ACK^A04|c0a802a213ae65a2dac3|P|2.3.1
MSA|AE|NIST-101101160420696
ERR|PID^1^3^204&Unknown Key Identifier

Step 2:

Register patient JOHNSTON^ROBERT with RJ-438^^^&&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160431||ADT^A04^ADT_A01|NIST-101101160431597|P|2.3.1|
EVN||20101020|
PID|||RJ-438^^^&&ISO||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185|
PV1||O|

The response message is:

MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109130707-0500||ACK^A04|c0a802a213ae65a951b3|P|2.3.1
MSA|AE|NIST-101101160431597
ERR|PID^1^3^204&Unknown Key Identifier

3. Feed Check PID A05

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 a feed message (ADT^A05^ADT_A01) that specifies the assigning authority of the patient identifier incorrectly. The PIX Manager shall only accept an assigning authority with values populated in PID-3.4.1, PID-3.4.2 and PID-3.4.3, or all three components.

We register the same patient ROBERT JOHNSTON with ID RJ-438 in the domain NIST2010 but the domain is expressed using an invalid format. The PIX Manager is expected to return an ACK with the code AE or AR.

Step 1:

Register patient JOHNSTON^ROBERT with RJ-438^^^&2.16.840.1.113883.3.72.5.9.1&

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160442||ADT^A05^ADT_A01|NIST-101101160442327|P|2.3.1
EVN||20101020|
PID|||RJ-438^^^&2.16.840.1.113883.3.72.5.9.1||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185|
PV1||P|

The response message is:

MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109130751-0500||ACK^A05|c0a802a213ae65b43e43|P|2.3.1
MSA|AE|NIST-101101160442327
ERR|PID^1^3^204&Unknown Key Identifier

 

Step 2:

Register patient JOHNSTON^ROBERT with RJ-438^^^&&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160453||ADT^A05^ADT_A01|NIST-101101160453134|P|2.3.1|
EVN||20101020|
PID|||RJ-438^^^&&ISO||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185|
PV1||P|

The response message is:

MSH|^~\&|MESA_XREF|XYZ_HOSPITAL|NIST_SENDER|NIST|20121109130820-0500||ACK^A05|c0a802a213ae65bb2e33|P|2.3.1
MSA|AE|NIST-101101160453134
ERR|PID^1^3^204&Unknown Key Identifier

Â