FHIR Chat · Pagination for IBundleProvider · hapi

Stream: hapi

Topic: Pagination for IBundleProvider


view this post on Zulip Saravanan Shanmugam (Oct 03 2018 at 03:38):

we are trying to implement pagination (self, first, next and previous links) for IBundleProvider resources with server side paging (without PagingProvider implementation) and framework is just adding self link. No interface to implement this for IBundleProvider resources. Seeking help if somebody implemented this.

view this post on Zulip Julia Sutula (Sep 30 2019 at 20:19):

Is anyone using HAPI FHIR familiar with updating IBundleProvider so that the paging links are relative urls? I can't seem to find any info around this in the docs.

view this post on Zulip James Agnew (Sep 30 2019 at 22:44):

I don't think it's possible to have relative links automatically added just using the IBundleProvider. You could use a server interceptor to modify the returned Bundle to accomplish this though.


Last updated: Apr 12 2022 at 19:14 UTC