Closed benispeti closed 2 years ago
hey, I think it's a bug which was done on purpose (previously our FHIR server used to return next links that were "relative" to base url, but not to hostname). I will try to fix it today.
Hey @mkizesov! Do you have any update on this?
I could get a configuration on our FHIR server to get back the next URLs relative to the base URL. I close this ticket.
Hey! I'm trying to use fhirpy's fetch_all() function to collect all resources and iterate through all pages.
This is the Base URL of the FHIR server I'm using and the FHIR client configuration:
Example request to get Observations using fetch_all():
From the FHIR server I get back the next URL in the following form. This is a relative URL to the host name, but not relative to the BASE_URL.
Is this form of next URL supported by fhirpy's fetch_all() somehow? I can't make it work and I'm getting an error during fetch_all(). Thanks!