Comments (1)
The fetch next/previous page methods work, but there is no method for draining all the pages. I wrote a quick-and-dirty recursive function to do this in my sample app (https://github.com/smart-on-fhir/bp-centiles-app/blob/f55cc937f7a5fd1360eff8e17eef484313dffd95/js/load-fhir-data.js#L107), but it should be a client lib function. Perhaps we can have two method variants - one which drains all pages and then resolves the resultant dataset (not sure if it makes sense though given the potential for endless draining), and one like Josh suggests which uses a consume function provided by the caller.
from fhir.js.
Related Issues (20)
- NPM version last published 2 years ago? HOT 1
- Middleware Error Trace Produced In Docker HOT 1
- Failed to parse request body as JSON resource HOT 1
- MedicationRequest not listed in patient targets
- npm still says the latest version is 0.0.20
- fhir.d.ts is not included in the npm package HOT 1
- More documentation on others methods HOT 2
- Wrong separator for multi-valued arguments
- Problem with fhir.d.ts declaration file HOT 1
- Internet Explorer 9, JS-Error when executing search
- wrong $OR-Handling on first Level
- $below Operator is missing
- Interceptor feature
- ResourceName Type in fhir.d.ts has syntax error
- Support for aborting queries
- Missing maintainers? HOT 2
- Create operation is not working
- Filter on two resources in one request on google FHIR
- Search with pagination
- Still a maintained project?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhir.js.