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

Patient $everything operation with _offset query parameter throws exception #6070

Closed
volodymyr-korzh opened this issue Jul 2, 2024 · 0 comments · Fixed by #6085
Closed
Assignees

Comments

@volodymyr-korzh
Copy link
Collaborator

$everything operation with _offset query parameter throws exception.

Steps to reproduce:

  1. Create Patient.
  2. Create 50+ Observations with reference to patient from step 1 (subject.reference = "Patient/123").
  3. Register ForceOffsetSearchModeInterceptor
  4. Execute $everything operation on patient instance or on patient type:
    GET http://localhost:8000/Patient/1353/$everything or GET http://localhost:8000/Patient/$everything
  5. From response above, use execute next link e. g. : http://localhost:8000/Patient/$everything?_count=30&_offset=90
  6. See error: HAPI-1106: Everything operation does not support offset searching

Expected behaviour
After executing next link, offset should be applied to response without exception.

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 a pull request may close this issue.

1 participant