Newest first by clinical time, in v1's envelope {items, total, page, pageSize, totalPages} with nest's nextCursor. from, to and code (comma-separated) filter as in v1; category (comma-separated) keeps the readings carrying any of those FHIR category codes. With from, a reading whose clinical time is more than an hour ahead of when it was stored is not found: the read skips the storage older than that, so it never waits on it. pageSize defaults to 10; above 200 it needs both from and to, and then reaches 10000. A page may start at most 10000 rows in; walk further with cursor.
Each item is a flat timeline entry (code, valueNumber, observedAt, category, valueSampledData, components, effectiveStart, effectiveEnd, deviceId, …) with v1's _id, id, patient, valueQuantity and createdAt beside it. fields=code,valueNumber returns exactly those keys instead.
Archived readings. Readings stored more than 28 days ago move to the archive. A window with from that reaches them reads them back: they are filtered, ordered, counted in total and paged with cursor or page exactly as the readings still in the database, merged with them. Without from, the list holds the readings still in the database.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||