Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When enable_index_contained_resource is set to true, the 'exact:' operator under chain queries is invalid #552

Open
PhilipsYangZeLin opened this issue Jun 19, 2023 · 0 comments

Comments

@PhilipsYangZeLin
Copy link

step 1: Set enable_index_contained_resource to ture
image

step 2: Start the fhir service using the 'mvn - Djetty. port=8080 jetty: run command

step 3: Add a set of basic data for testing, including ServiceRequest resources and Patient resources
image

step 4: Use this URL to execute a query: http:https://localhost:8080/fhir/ServiceRequest?patient.name:exact=Peter&_include=ServiceRequest:subject
image

The patient name of result is 'Peter James' instead of 'Peter'

But when I set 'enable_index_contained_resource' to false, using the same URL query will not yield any results unless I query 'Peter James', which means the' exact 'operator is in effect
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant