TEST: OHIE-CR-14-HL7v2
Patient Demographics Query – Query by date of birth
This test ensures that the recipient supports the semantics of date matching and approximate matches by date range. This test case will query for an exact date of birth as provided in an admit message, and a fuzzy date of birth (year, and year/month).
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 date of birth precise to the year in which a patient’s date of birth falls.
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 date of birth precise to the month in which the patient’s date of birth falls.
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 patient’s date of birth falls.
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 date of birth precise to the year in which the patient’s date of birth does not fall.
Expected Behaviour
Receiver responds with an AA
Receiver indicates no records found with QAK of NF
Receiver sends no PID segments
Last updated