Pagination

All top-level resources support pagination. All Find methods return a list of results as well as pagination information. There is a limit of at most 100 results returned per query.

{
  "count": 123,
  "next": "https://sandbox.elationemr.com/api/2.0/allergies/?limit=10&offset=10",
  "previous": "https://sandbox.elationemr.com/api/2.0/allergies/?limit=10",
  "results": [
    { ... },
    { ... },
    { ... }
  ]
}

The count field specifies the total number in the complete result set. The next and previous fields specify the url of the next and previous page respectively. The results field is the current page within the complete result set.

🚧

Cursor-based pagination support is coming soon

We understand the weakness of "index"-based pagination when underlying result set changes. We are working hard to support cursor-based pagination in the near future!