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

Fix Inconsistent Paged Results on Disjunctive FHIR Searches #324

Closed
alexanderkiel opened this issue Feb 18, 2021 · 0 comments
Closed

Fix Inconsistent Paged Results on Disjunctive FHIR Searches #324

alexanderkiel opened this issue Feb 18, 2021 · 0 comments
Assignees
Labels
bug Something isn't working module:db
Milestone

Comments

@alexanderkiel
Copy link
Member

On FHIR Searches like [base]/Condition?code=A,B, Blaze would return some resources more than once.

The paging algorithm uses the query param __page-id to identify the ID of the resource at the top of the next page. This algorithm works if the resources are returned in increasing ID-order. But at disjunctive searches, the resources are ordered by value first and ID second. For the above query, the Condition with code A and ID 1 will be ordered before the Condition with code B and ID 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:db
Projects
None yet
Development

No branches or pull requests

1 participant