FHIR: return a list of patient resource based on last -


need advice , you!

two questions.

  1. how can retrieve list of patient resources 30 _counts , sorted last modified date? don't have searching parameters such identifier, family , given;

  2. 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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -