Feed Unknown Domain Test

Feed Unknown Domain Test Cases

1. Feed Unknown Domain A01

Pre-condition:

No precondition for this test

Description:

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

The patient SARAH ROGERS with ID SR00064 in the unknown domain UNKNOWNDOMAIN. The PIX Manager is expected to return an ACK with the code AE or AR.

 

Step 1:

PIX feed to create one patient from domain UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160503||ADT^A01^ADT_A01|NIST-101101160503833|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||I|

The response message is:

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

Step 2:

PIX feed to create one patient from domain UNKNOWNDOMAIN

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160514||ADT^A01^ADT_A01|NIST-101101160514516|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^UNKNOWNDOMAIN||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||I|

The response message is:

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

Step 3:

PIX feed to create one patient from domain 2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160525||ADT^A01^ADT_A01|NIST-101101160525355|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^&2.16.840.1.113883.3.72.5.9.99&ISO||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||I|

The response message is:

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


2. Feed Unknown Domain A04

Pre-condition:

No precondition for this test

Description:

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

The patient SARAH ROGERS with ID SR00064 in the unknown domain UNKNOWNDOMAIN. The PIX Manager is expected to return an ACK with the code AE or AR.


Step 1:

PIX feed to create one patient from domain UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160536||ADT^A04^ADT_A01|NIST-101101160535990|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||O|

The response message is:

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

Step 2:

PIX feed to create one patient from domain UNKNOWNDOMAIN

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160546||ADT^A04^ADT_A01|NIST-101101160546626|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^UNKNOWNDOMAIN||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||O|

The response message is:

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

Step 3:

PIX feed to create one patient from domain 2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160557||ADT^A04^ADT_A01|NIST-101101160557200|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^&2.16.840.1.113883.3.72.5.9.99&ISO||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||O|

The response message is:

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

3. Feed Unknown Domain A05

Pre-condition:

No precondition for this test

Description:

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

The patient SARAH ROGERS with ID SR00064 in the unknown domain UNKNOWNDOMAIN. The PIX Manager is expected to return an ACK with the code AE or AR.


Step 1:

PIX feed to create one patient from domain UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160607||ADT^A05^ADT_A01|NIST-101101160607820|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^UNKNOWNDOMAIN&2.16.840.1.113883.3.72.5.9.99&ISO||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||P|

The response message is:

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

 

Step 2:

PIX feed to create one patient from domain UNKNOWNDOMAIN

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160618||ADT^A05^ADT_A01|NIST-101101160618425|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^UNKNOWNDOMAIN||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||P|

The response message is:

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


Step 3:

PIX feed to create one patient from domain 2.16.840.1.113883.3.72.5.9.99&ISO

MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101101160629||ADT^A05^ADT_A01|NIST-101101160629123|P|2.3.1|
EVN||20101020|
PID|||SR00064^^^&2.16.840.1.113883.3.72.5.9.99&ISO||ROGERS^SARAH^^^^^L|BUSCH^^^^^^L|19590110|F|||2912 Fantages Way^^SHERMAN MILLS^ME^04776||^PRN^PH^^^207^7384120||||||006-28-2170|
PV1||P|

The response message is:

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