Stream: smart
Topic: fhir-client.js
Michael van der Zel (Dec 28 2016 at 09:08):
Hi. I want to disable paging when querying for resources e.g. StructureDefinitions. How do I do that... or can fhir-client.js handle pageing automatically for me? Can someone point me to the specs? Thanks!
Michael van der Zel (Dec 28 2016 at 13:06):
Never mind. Found it. Added ?_count=<pagesize>
Brian Postlethwaite (Dec 31 2016 at 06:24):
Just remember that a server can inflict its own default paging on you (mine defaults to 20, and has a maximum of 400 in its default installation - all my public servers)
Michael van der Zel (Dec 31 2016 at 09:14):
Makes sense. Than part of my question remains. Does fhir-client.js somehow automatically fetch other pages?
Josh Mandel (Dec 31 2016 at 18:03):
The fetchAll
function will (or drain
). But if you just execute a search, no.
Last updated: Apr 12 2022 at 19:14 UTC