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

Paging does not follow FHIR's default usage #4

Open
trobanga opened this issue May 29, 2024 · 0 comments
Open

Paging does not follow FHIR's default usage #4

trobanga opened this issue May 29, 2024 · 0 comments

Comments

@trobanga
Copy link

We are using HAPI FHIR's IGenericClient to fetch all consents of a domain

Bundle fetchAllConsentsForDomain() {
    Parameters inParams = new Parameters();
    inParams.addParameter().setName("domain").setValue(new StringType("MII"));

    return client
        .operation()
        .onServer()
        .named("allConsentsForDomain")
        .withParameters(inParams)
        .returnResourceType(Bundle.class)
        .execute();
  }

but the resulting Bundle does not contain a LINK_NEXT field, thus Bundle nextbundle = client.loadPage().next(outerBundle).execute(); does not work.

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

No branches or pull requests

1 participant