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
Expected behavior
When there isn't a next page, no next link should be generated. As-is, my implementation saves some CPU cycles by using _total=none, but then loses some CPU cycles by making an additional, unnecessary web request because it doesn't know we are done after the first call.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using _total=none, a "next" link is generated when there isn't a "next" page
Environment
Main (4.9.0-SNAPSHOT)
To Reproduce
Steps to reproduce the behavior:
$ curl -k -u 'fhiruser:change-password' 'https://localhost:9443/fhir-server/api/v4/Encounter?_count=1000&type:in=http://ibm.com/health/ValueSet/wh-cohorting-synthea-encounters&subject:Patient=17a5e657590-cfaa4225-b98a-4f84-9a67-a3aff9da8ca3'
$ curl -k -u 'fhiruser:change-password' 'https://localhost:9443/fhir-server/api/v4/Encounter?_count=1000&type:in=http://ibm.com/health/ValueSet/wh-cohorting-synthea-encounters&subject:Patient=17a5e657590-cfaa4225-b98a-4f84-9a67-a3aff9da8ca3&_total=none'
Expected behavior
When there isn't a next page, no next link should be generated. As-is, my implementation saves some CPU cycles by using _total=none, but then loses some CPU cycles by making an additional, unnecessary web request because it doesn't know we are done after the first call.
The text was updated successfully, but these errors were encountered: