PDQ Query Case2: Data Found Single Domain
Pdq Query Case2: 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-Case2-Data-Found-Single-Domain addresses PDQ Query Case 2. 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. QPD-8 is populated with the domain NIST2010&2.16.840.1.113883.3.72.5.9.1&ISO.
The following queries are tested:
1. Query on the patient ID
2. Query on the patient name
3. Query on the patient name and the date of birth
4. Query on the patient name and the administrative sex
5. Query on the address (street, city, state and zip code)
6. Query on 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 using domain NIST2010 in QPD-8
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152150||QBP^Q22^QBP_Q21|NIST-101103152150738|T|2.5 QPD|IHE PDQ Query|QRY12481848949|@PID.3.1^BL-180|||||^^^NIST2010 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115114112-0500||RSP^K22^RSP_K21|c0a802a213b04f214d93|P|2.5 MSA|AA|NIST-101103152150738 QAK|QRY12481848949|OK||1|1|0 QPD|IHE PDQ Query|QRY12481848949|@PID.3.1^BL-180|||||^^^NIST2010 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 using domain NIST2010 in QPD-8
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152152||QBP^Q22^QBP_Q21|NIST-101103152152016|P|2.5 QPD|IHE PDQ Query|QRY11849105448994|@PID.5.1.1^NXEAL~@PID.5.2^JERMAINO|||||^^^NIST2010 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115114156-0500||RSP^K22^RSP_K21|c0a802a213b04f2c2103|P|2.5 MSA|AA|NIST-101103152152016 QAK|QRY11849105448994|OK||1|1|0 QPD|IHE PDQ Query|QRY11849105448994|@PID.5.1.1^NXEAL~@PID.5.2^JERMAINO|||||^^^NIST2010 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 using domain NIST2010 in QPD-8
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152153||QBP^Q22^QBP_Q21|NIST-101103152153310|D|2.5 QPD|IHE PDQ Query|QRY11011048808|@PID.5.1.1^NXEAL~@PID.7.1^19720306|||||^^^NIST2010 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115114222-0500||RSP^K22^RSP_K21|c0a802a213b04f328ec1|P|2.5 MSA|AA|NIST-101103152153310 QAK|QRY11011048808|OK||1|1|0 QPD|IHE PDQ Query|QRY11011048808|@PID.5.1.1^NXEAL~@PID.7.1^19720306|||||^^^NIST2010 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 using domain NIST2010 in QPD-8
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152154||QBP^Q22^QBP_Q21|NIST-101103152154572|P|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|20121115114242-0500||RSP^K22^RSP_K21|c0a802a213b04f376701|P|2.5 MSA|AA|NIST-101103152154572 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 using domain NIST2010 in QPD-8
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152156||QBP^Q22^QBP_Q21|NIST-101103152156365|T|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|||||^^^NIST2010 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115114305-0500||RSP^K22^RSP_K21|c0a802a213b04f3d0e63|P|2.5 MSA|AA|NIST-101103152156365 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|||||^^^NIST2010 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 using domain NIST2010 in QPD-8
MSH|^~\&|NIST_SENDER^^|NIST^^|NIST_RECEIVER^^|NIST^^|20101103152158||QBP^Q22^QBP_Q21|NIST-101103152158282|P|2.5 QPD|IHE PDQ Query|QRY581897987987897|@PID.18.1^1007240|||||^^^NIST2010 RCP|I
The response message is:
MSH|^~\&|MESA_PD_SUPPLIER|XYZ_HOSPITAL|NIST_SENDER|NIST|20121115114325-0500||RSP^K22^RSP_K21|c0a802a213b04f41e1c3|P|2.5 MSA|AA|NIST-101103152158282 QAK|QRY581897987987897|OK||1|1|0 QPD|IHE PDQ Query|QRY581897987987897|@PID.18.1^1007240|||||^^^NIST2010 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
Â