openemr_health_trajectory
Aggregate patient lab, vital, and questionnaire trends to detect clinical drift and generate alerts.
Instructions
Aggregate all metric trajectories (labs, vitals, questionnaires) and compute clinical drift alerts for a patient.
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_health_trajectory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | Yes | OpenEMR patient ID | |
| window_months | No | Lookback window in months (default 24) | |
| metrics | No | Subset of metrics to include (default: all) |