Pdq Query Case1: Data Found Single Domain
1. Data Found Single Domain
Pre-condition:
1. The PDQ Supplier is configured to send and receive demographics in a single domain: NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO
2. The following patients have been loaded into the PDQ Supplier:
JERMAINO NXEAL with ID JN-018
BARBARA LXEIGHTON with ID BL-180
SHAQUILLO NXEAL with ID SN-032
RUTH NXEAL with ID RN-480
DAVID VASXQUEZ with ID DV-301
KATHRINE MARXCHANT with ID KM-375
Description:
Test case ITI-21-Query-Case1-Data-Found-Single-Domain addresses PDQ Query Case 1. You need to have loaded the set of patients indicated in the pre-conditions into your system before running this test. The purpose of the test is to confirm that your PDQ Supplier supports the multiple query parameters.
The following queries are tested:
1. Query for the patient ID
2. Query for the patient name
3. Query for the patient name and the date of birth
4. Query for the patient name and the administrative sex
5. Query for the address (street, city, state and zip code)
6. Query for the patient account number
Test Steps Description:
Step 1: The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patient in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO with a patient ID BL-180. Your PDQ Supplier shall answer correctly to the query with the demographics of patient BARBARA LXEIGHTON in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
Step 2: The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patient in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO with a patient name JERMAINO NXEAL. Your PDQ Supplier shall answer correctly to the query with the demographics of patient JERMAINO NXEAL in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
Step 3: The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patient in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO with a patient name NXEAL and DOB 19720306. Your PDQ Supplier shall answer correctly to the query with the demographics of patient SHAQUILLO NXEAL in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
Step 4: The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patient in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO with a patient name NXEAL and feminine sex. Your PDQ Supplier shall answer correctly to the query with the demographics of patient RUTH NXEAL in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
Step 5: The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patient in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO with a patient living at 4670 Raver Croft Drive HAMPTON, TN 37658. Your PDQ Supplier shall answer correctly to the query with the demographics of patient KATHRINE MARXCHANT in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
Step 6: The NIST PDQ Consumer sends a query message (QBP^Q22) to ask for the demographics of all patient in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO with a patient account number ID 0007240. Your PDQ Supplier shall answer correctly to the query with the demographics of patient DAVID VASXQUEZ in domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
Step 1:
Query for demographics with criteria PID.3.1=BL-180
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152141||QBP^Q22^QBP_Q21|NIST-101103152141480|T|2.5 QPD|IHE PDQ Query|QRY12481848949|@PID.3.1^BL-180 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115105443-0500||RSP^K22^RSP_K21|c0a802a213b04c7878b3|P|2.5 MSA|AA|NIST-101103152141480 QAK|QRY12481848949|OK||1|1|0 QPD|IHE PDQ Query|QRY12481848949|@PID.3.1^BL-180 PID|1||BL-180^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO^PI||LXEIGHTON^BARBARA|BRYANTX|19460717|F|||2674 Farland Avenue^^SAN ANTONIO^TX^78205|||||||2180484|321-48-9511
Step 2:
Query for demographics with criteria PID.5.1.1=NXEAL and PID.5.2=JERMAINO
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152143||QBP^Q22^QBP_Q21|NIST-101103152143584|D|2.5 QPD|IHE PDQ Query|QRY11849105448994|@PID.5.1.1^NXEAL~@PID.5.2^JERMAINO RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115105512-0500||RSP^K22^RSP_K21|c0a802a213b04c7f8093|P|2.5 MSA|AA|NIST-101103152143584 QAK|QRY11849105448994|OK||1|1|0 QPD|IHE PDQ Query|QRY11849105448994|@PID.5.1.1^NXEAL~@PID.5.2^JERMAINO PID|1||JN-018^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO^PI||NXEAL^JERMAINO|HAWKINSX|19781013|M|||3715 Red Hawk Road^^LONGWOOD^FL^32750|||||||2590014|210-78-0118
Step 3:
Query for demographics with criteria PID.5.1.1=NXEAL and PID.7.1=19720306
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152145||QBP^Q22^QBP_Q21|NIST-101103152145143|T|2.5 QPD|IHE PDQ Query|QRY11011048808|@PID.5.1.1^NXEAL~@PID.7.1^19720306 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115105534-0500||RSP^K22^RSP_K21|c0a802a213b04c84d571|P|2.5 MSA|AA|NIST-101103152145143 QAK|QRY11011048808|OK||1|1|0 QPD|IHE PDQ Query|QRY11011048808|@PID.5.1.1^NXEAL~@PID.7.1^19720306 PID|1||SN-032^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO^PI||NXEAL^SHAQUILLO|HAWKINSX|19720306|M|||2169 Warner Street^^BOSTON^MA^2101|||||||2184999|598-99-5899
Step 4:
Query for demographics with criteria PID.5.1.1=NXEAL and PID.8=F
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152146||QBP^Q22^QBP_Q21|NIST-101103152146483|T|2.5 QPD|IHE PDQ Query|QRY12400480880077|@PID.5.1.1^NXEAL~@PID.8^F|||||^^^NIST2010 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115105553-0500||RSP^K22^RSP_K21|c0a802a213b04c8984e1|P|2.5 MSA|AA|NIST-101103152146483 QAK|QRY12400480880077|OK||1|1|0 QPD|IHE PDQ Query|QRY12400480880077|@PID.5.1.1^NXEAL~@PID.8^F|||||^^^NIST2010 PID|1||RN-480^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO^PI||NXEAL^RUTH|HAWKINSX|19361120|F|||2222 Raver Croft Drive^^HAMPTON^TN^37658|||||||1990844|588-97-4411
Step 5:
Query for demographics with criteria PID.11.1.1=4670 Raver Croft Drive and PID.11.3=HAMPTON and PID.11.4=TN and PID.11.5=37658
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152147||QBP^Q22^QBP_Q21|NIST-101103152147917|P|2.5 QPD|IHE PDQ Query|QRY12489878110556|@PID.11.1.1^4670 Raver Croft Drive~@PID.11.3^HAMPTON~@PID.11.4^TN~@PID.11.5^37658 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115105619-0500||RSP^K22^RSP_K21|c0a802a213b04c8fdb93|P|2.5 MSA|AA|NIST-101103152147917 QAK|QRY12489878110556|OK||1|1|0 QPD|IHE PDQ Query|QRY12489878110556|@PID.11.1.1^4670 Raver Croft Drive~@PID.11.3^HAMPTON~@PID.11.4^TN~@PID.11.5^37658 PID|1||KM-375^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO^PI||MARXCHANT^KATHRINE|MCDOWELLX|19421105|F|||4670 Raver Croft Drive^^HAMPTON^TN^37658|||||||1840084|633-00-0104
Step 6:
Query for demographics with criteria PID.18.1=0007240
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152149||QBP^Q22^QBP_Q21|NIST-101103152149242|P|2.5 QPD|IHE PDQ Query|QRY581897987987897|@PID.18.1^1007240 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115105638-0500||RSP^K22^RSP_K21|c0a802a213b04c94a3a3|P|2.5 MSA|AA|NIST-101103152149242 QAK|QRY581897987987897|OK||1|1|0 QPD|IHE PDQ Query|QRY581897987987897|@PID.18.1^1007240 PID|1||DV-301^^^NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO^PI||VASXQUEZ^DAVID|WILSONX|19670305|M|||1589 Brentwood Drive^^HUTTO^TX^78634|||||||1007240|148-81-8414