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.
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) |