Describe the bug
When using chained search, none of the prefix codes (eq, ne, gt, lt, ge, le etc.) are working when we do a chained search.
To Reproduce
Steps to reproduce the behavior:
- Create multiple Patient resources (few with birthdate less than 1974-12-25)
- Create a number of DiagnosticReport resources and link these to the Patient resources created in step 13.
- Send the request: https://localhost:44305/fhir/DiagnosticReport?subject:Patient.birthdate=ge1974-12-25
- All the DiagnosticReport resources present in the database are returned
Expected behavior
Only those DiagnosticReport resources should be returned which satisfy the condition: subject:Patient.birthdate=ge1974-12-25
Spark version
- latest version on r4/master branch
Operating system + Database
- OS: Windows 11 Enterprise
- Database: MongoDB