Stream: hapi
Topic: search count max
Eric Haas (Jun 30 2016 at 16:54):
James , It looks like the _count maxes out at 50 and the link to the next page defaults to 10 is that right? I'm trying to find an example of a medicationStatement that references a Medication and I don't know how to search for that directly so Im using xpath on the returned bundle to find it. So I want BIG bundles...
James Agnew (Jul 04 2016 at 21:51):
Hi Eric- Yeah, per the FHIR rules the server is allowed to return a smaller page size than the client asked for, but not more. HAPI is configurable as to what the maximum page size is and I guess the setting on our public server is 50. That does seem a bit small now that I think about it.. I'll increase to 500
James Agnew (Jul 04 2016 at 22:14):
Yeah, HAPI has a configurable maximum page size and the page size is set kind of artificially low on our test server. I should increase that to 500 really, I guess I will do that.
That said... there appear to be exactly zero MedicationStatement resources that have medication references on my server: http://fhirtest.uhn.ca/baseDstu3/MedicationStatement?medication:missing=false
Last updated: Apr 12 2022 at 19:14 UTC