openemr_lab_trends
Retrieve longitudinal lab trends for a patient including A1c, LDL, and eGFR over a specified lookback window to monitor chronic disease progression.
Instructions
Return longitudinal lab trajectories for a patient (A1c, LDL, eGFR).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"patient_id": "<patient_id>"
},
"name": "openemr_lab_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | Yes | OpenEMR patient ID | |
| metrics | No | Metrics to return (default: all) | |
| window_months | No | Lookback window in months (default 24) |