Repository navigation
Replies: 1 comment
|
Thanks, and sorry this went unanswered for so long. I've replied on the issue, #1367, where the plan is. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
My son is on a ketogenic diet as treatment for drug-resistant epilepsy, supervised by his neurologist. We measure with a Keto-Mojo meter, which takes a drop of blood and reports glucose and beta-hydroxybutyrate (BHB) ketones, and computes GKI from them:
GKI = glucose (mmol/L) / ketones (mmol/L)[glucose in mg/dL: (mg/dL / 18) / mmol/L]
This isn't hypothetical plumbing: Cronometer already imports blood glucose and blood ketones from a Keto-Mojo account and computes GKI from them itself. The numbers and the ratio are proven; what's missing is having them here, next to the vitals and the medication history.
What already works
Glucose is a built-in measurement type and accepts MANUAL readings, so the glucometer side is fine today. Ketones can be forced into a custom metric. But a custom metric is "a series of numbers" with no formula, so GKI has to be typed in by hand as a third value — and once typed, it can silently drift from the glucose and ketone readings it came from.
Proposal (deliberately small)
ketones(BHB, mmol/L) measurement type. Manual entry is enough for me; if some device speaks it later, the source field is already there.gkivalue computed from those readings (same timestamp, or the nearest glucose within a short window), shown on the chart and in the day view, rather than stored as a hand-typed number.Paths that already exist (so this isn't asking for a new integration)
Any of those can feed this later; none of them is needed for the small change above. I'd rather have the metric and the derived ratio first, and the pipe second.
Why it matters
Adherence to ketogenic therapy is a treatment variable, not a wellness score: the ratio and the ketone readings are what the neurologist adjusts. Seeing those next to vitals — and, in the other thread, next to seizure frequency — is the question every follow-up starts with.
Out of scope (not asking for these)
If the two readings and the ratio could land as one small change, it would carry most of the value on its own, without waiting for the seizure diary.
A note on how this was written: I'm Polish-speaking and worked this out in Polish, then used an AI assistant to structure and translate it into English — safer than a translator losing terms like beta-hydroxybutyrate. The setup, the meter and the measurements are ours.
All reactions