TEST: OHIE-CR-15-HL7v2
Patient Demographics Query – Query by multiple demographics fields
This test ensures that the recipient of the query can perform a query on a series of demographics fields. The test harness will perform a query on a series of combinations of parameters such as name + gender, name + date of birth, gender + date of birth.
References
Pre-Conditions / Setup
Setup the receiver such that OID 2.16.840.1.113883.3.72.5.9.1 has assigning authority of TEST which can be assigned from TEST_HARNESS
Ensure that the following patient is registered in the receiver (can be done with the ADT message provided). Name: Jennifer Jones, id: RJ-439^^^TEST, gender: F, dob: 1984-01-25
Test Step 1:
Test harness sends a query with patient’s name and gender which results in a match.
Expected Behaviour
Receiver responds with an AA
Receiver indicates records found with QAK of OK
Receiver sends exactly one PID segment with identifier RJ-439 in domain TEST in PID-3
Test Step 2:
Test harness sends a query with fuzzy date of birth and patient’s name which results in a match.
Expected Behaviour
Receiver responds with an AA
Receiver indicates records found with QAK of OK
Receiver sends exactly one PID segment with identifier RJ-439 in domain TEST in PID-3
Test Step 3:
Test harness sends a query with date of birth precise to the day in which a gender which results in a match.
Expected Behaviour
Receiver responds with an AA
Receiver indicates records found with QAK of OK
Receiver sends exactly one PID segment with identifier RJ-439 in domain TEST in PID-3
Test Step 4:
Test harness sends a query with patient’s name and gender which results in no match.
Expected Behaviour
Receiver responds with an AA
Receiver indicates no records found with QAK of NF
Receiver sends no PID segments
Test Step 5:
Test harness sends a query with fuzzy date of birth and patient’s name which results in no match.
Expected Behaviour
Receiver responds with an AA
Receiver indicates no records found with QAK of NF
Receiver sends no PID segments
Last updated