You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our SQL queries can return a single resource id more than once.
During the "async" cached path, we track every prior id in a search result, and discard duplicates.
But during _offset queries, or when a client uses the _total=accurate parameter, this de-duplication does not happen.
This problem shows up as a few bug reports reporting either short pages, duplicate results, or incorrect totals.
Steps to reproduce the behavior:
Create 5 Patients
Create 20 Observations for each patient with code=sample
Our SQL queries can return a single resource id more than once.
During the "async" cached path, we track every prior id in a search result, and discard duplicates.
But during _offset queries, or when a client uses the _total=accurate parameter, this de-duplication does not happen.
This problem shows up as a few bug reports reporting either short pages, duplicate results, or incorrect totals.
Steps to reproduce the behavior:
_has:Observation:patient:code=sample&_offset=0&_count=5
Expected behavior
all 5 patients in the bundle.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: