When utilizing the fetchAll function on an instance of an FHIR Client (specifically HAPI FHIR server), my current goal is to gather all observations with a specific LOINC code.
My understanding is that a request is made to the server prompting it to generate a bundle with observations matching the LOINC code (this search process seems to be managed server side). The outcomes are subsequently returned, but the server only provides 20 results at once. With approximately 14,000 observations in total, it takes around 2 minutes to receive the nearly 700 bundles from the server (I'm using Chrome which has a limit of 6 connections to the server -- other browsers have similar limitations).
If possible, I am interested in expediting this type of request. Is there a way to achieve faster results? I believe there might be a method to configure the bundles so they include 500 items each; does anyone know how to execute this through a search parameter?
Appreciate any insights or suggestions!