FHIR: return a list of patient resource based on last -
need advice , you!
two questions.
how can retrieve list of patient resources 30 _counts , sorted last modified date? don't have searching parameters such identifier, family , given;
since application in browser single page application, when user scroll down , first 30 patients have been shown, make call next 30 patients. don't need first 30 patients , want records 31 60. parameters should used in paging search? have "?_count=30&_page=2". similarly, if need page 100, don't want servers sending me first 99 pages.
thanks in advance. autorun
get [baseurl]/patient?_count=30&sort=_lastupdated
the response bundle. @ bundle.link bundle.link.relation of "next". bundle.link.url url use next "page" of content. format of url undefined , server-specific.
be aware _count constrains base resource. if query patient , _revinclude on observation, you'll 30 patients - you'll observations 30 of patients - 10k+ rows in result set - careful _include , _revinclude.
Comments
Post a Comment