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

Refactoring query builder #77

Merged
merged 7 commits into from
Oct 10, 2024
Merged

Refactoring query builder #77

merged 7 commits into from
Oct 10, 2024

Conversation

tnamli
Copy link
Contributor

@tnamli tnamli commented Oct 10, 2024

The module that converts the FHIR search statements into MongoDB query is optimized for certain use cases especially when resources are queried for multiple references e.g. Observation?patient=Patient/...,.Patient/... --> when too many patient ids given in queries.

In addition, the chain and reverse chain search as well as handling of _list parameter is updated and optimized. Now the mechanism uses MongoDb's aggregation pipeline and $lookup construct.

@tnamli tnamli merged commit 4a7f325 into master Oct 10, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant