clinical-reasoning icon indicating copy to clipboard operation
clinical-reasoning copied to clipboard

subjectProvider not getting paged links

Open Capt-Mac opened this issue 4 months ago • 0 comments

When evaluate-measure is run in hapi-fhir-jpastarter we are noticing that the call for all subjects is cutting off on the paging limit of the server and not getting all subjects avaialble

this is the code that it is hitting in R4RepositorySubjectProvider:

BundleMappingIterable<>(repository, bundle, x -> x.getResource() .getIdElement() .toUnqualifiedVersionless() .getValue()) .toStream();

This creates a scenario where users are limited to the population sizes that can be queried

Steps to reproduce:

  1. Run $evaluate-measure with subject parameter empty for all subjects where population is > paging limit of returned search bundle. Our use case was quering >50 subjects

Observed results: evaluate-measure subject population is 50

Expected results: evaluate-measure subject population > 50

Capt-Mac avatar Mar 01 '24 14:03 Capt-Mac