Skip to content

Prefix codes eq, ne, gt, lt, ge, le are not working in chained search. #552

@indiwarjha

Description

@indiwarjha

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:

  1. Create multiple Patient resources (few with birthdate less than 1974-12-25)
  2. Create a number of DiagnosticReport resources and link these to the Patient resources created in step 13.
  3. Send the request: https://localhost:44305/fhir/DiagnosticReport?subject:Patient.birthdate=ge1974-12-25
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions