mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
The server already computes the clinical glucose panel (TIR / GMI / estimated A1C / mean / CV%) by the one literature-locked engine the insights panel and coach consume, but nothing surfaced it in the export. Render it as a dedicated PDF table after the vitals section and emit it as FHIR Observations (LOINC-coded where a term exists; CV% under a survey text-only concept). Both gate on the panel carrying readings, which the aggregator already zeroes when the glucose module is off — so a disabled module emits no glucose panel. The spot-reading caveat rides along when the readings are sparse. Adds clinical glucose-panel keys across all locales and PDF + FHIR tests.