Lab Data
The person's lab summary (every biomarker with its readings and range), counts, category scores and pending lab orders.
Get biomarker counts
Totals for a summary header: all biomarkers, how many are in range (latest reading optimal), out of range (latest reading fair or poor) and unclassified (no numeric range).
Get biomarker scores by category
A health score from 0 to 100 for each biomarker, grouped by category.
List pending lab orders
Lab orders placed through the person's clinic that have no result yet, fetched live. When the person's account is not connected to a clinic, the reply is `{ items: [], connected: false }` rather than an error.
Get a pending lab order
The full detail of one pending lab order: its tests and status. Same `connected: false` shape when the person's account is not connected to a clinic.
Get the lab summary
Get all deduplicated lab biomarkers for the patient, with metadata (ranges, category roles, etc.). Returns empty object if no summary exists.
Get the lab summary for a category
Get biomarkers filtered to a specific category (only those with categoryAssignments matching the category).
Get pinned biomarkers with readings
Get deduplicated pinned biomarkers only (subset of all biomarkers the patient has pinned). Matches names case-insensitively against all available biomarkers.