Show estimated HbA1c in mmol/mol (IFCC) alongside % (#25) #27

Merged
willemjan merged 1 commits from dev into main 2026-08-01 21:13:01 +00:00
Owner

Dutch lab results conventionally report HbA1c in mmol/mol rather than DCCT/NGSP %. Adds gmi_mmol_per_mol() using the standard IFCC conversion (Hoelzel et al. 2004) and shows it next to the existing % value on the Samenvatting page and in the PDF summary section. Verified against real production data (6.5% correctly converts to 48 mmol/mol, the well-known diagnostic threshold) and rendered both the dashboard metric and PDF page to confirm formatting. Closes #25.

Dutch lab results conventionally report HbA1c in mmol/mol rather than DCCT/NGSP %. Adds gmi_mmol_per_mol() using the standard IFCC conversion (Hoelzel et al. 2004) and shows it next to the existing % value on the Samenvatting page and in the PDF summary section. Verified against real production data (6.5% correctly converts to 48 mmol/mol, the well-known diagnostic threshold) and rendered both the dashboard metric and PDF page to confirm formatting. Closes #25.
willemjan added 1 commit 2026-08-01 21:12:53 +00:00
Dutch lab results conventionally report HbA1c in mmol/mol rather than
DCCT/NGSP %. Adds gmi_mmol_per_mol() using the standard IFCC conversion
(Hoelzel et al. 2004) and shows it next to the existing % value on the
Samenvatting page and in the PDF summary.

Closes gitea #25.
willemjan merged commit db3204ab58 into main 2026-08-01 21:13:01 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: willemjan/glucose-dashboard#27