Feature request: Menu setting "Enable simple bolus calculator"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 40/100
Research direction
Start by tracing the Preferences > Overview > Advanced settings entry point and the bolus calculator menu behavior. Verify how the current tick selections are initialized and persisted, then make the requested toggle open the calculator with all ticks off without remembering those selections; done means the existing default remains unchanged when the toggle is off.
Written by the indexing model from the issue text.
Description
TL;DR Add an optional setting "Enable simple bolus calculator" to have the bolus calculator open without any ticks (BG, Trend, IOB, COB) set by default
Problem description:
Many people have day-to-day varying insulin needs (e.g. growth periods, hormonal, sickness) that are not well captured by current sensitivity detection. One way out is to adapt the profile manually as soon as a pattern appears. This is often not possible, in particular for children with less experienced caregivers during most of the day.
One consequence of a badly matched profile is an accumulation of IOB (positive in the case of insulin resistance or negative in the case of increased sensitivity). When using the bolus calculator in such a situation, the wrongly accumulated IOB/COB makes matters worse when bolusing more insulin is given at times of sensitivity and less is given at times of resistance. A practical solution is to manually remove all ticks of the bolus calculator and only consider carb input for bolusing.
While experienced users can do this easily, we have found it impossible to teach this to our 8 year old or her caregivers. This has repeatedly caused hypos or hypers. To make things worse - after removing ticks once, the bolus calculator currently defaults to opening with only an IOB tick that is not matched with a BG and COB tick. In the case of resistance, this makes the bolus suggestion too small by an even bigger margin and contributes to lasting highs.
Proposed solution:
A “simple bolus calculator” option in the bolus calculator menu settings that makes the bolus calculator open with all ticks OFF by default. This, in many situations would be a better and safer option than the current default behavior, at least for children in an out-of-home-setting and others with frequently varying insulin needs who rely on the bolus calculator.
Proposed implementation:
Menu:
In the menu Preferences > Overview > Advanced settings add the following toggle switch:
Enable simple bolus calculator
Use this setting to open the bolus calculator with all ticks OFF by default. Default bolus suggestions will only be based on carb input. BG, trend, IOB and COB information can be added into the bolus suggestion manually.
Behavior:
When setting is off (default): ticks in calculator have current behavior
When setting is checked: calculator opens with no ticks checked. Any ticks placed will not be remembered for the next use of the bolus calculator
Additional comment:
I cannot help with the implementation in the code, but I would be happy to contribute in any other way. It’s a feature that would make our life easier and having our kid in school considerably safer, and enable bigger independence from the “master caregiver”. Thank you for considering!
Magdalena ( discord Magdalena#1674 , using dev & dynISF + so grateful it exists!)
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 6.4k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 19
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nightscout/AndroidAPS
-
enhancement for_discussion
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nightscout/AndroidAPS#5057 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
nightscout/AndroidAPS#5142 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
nightscout/AndroidAPS#5140 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
nightscout/AndroidAPS#5132 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
nightscout/AndroidAPS#5121 · 4 comments ·
All issues in nightscout/AndroidAPS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ankidroid/Anki-Android#21942 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
libre-tube/LibreTube#8781 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MetrolistGroup/Metrolist#4396 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100