LoopKit / Loop

An automated insulin delivery app for iOS, built on LoopKit
https://loopdocs.org
Other
1.51k stars 1.3k forks source link

Therapy settings | Basal rates and insulin sensitivity history #2234

Open nadavv opened 1 month ago

nadavv commented 1 month ago

Hi dear developers,

Changing basal rates in the therapy settings is something I do once in a while. I usually look at my cgm data, i.e. 30 days overview, and bring up or bring down the basal rate for a time slot. I might also change the time slots themselves to better suit to the cgm data I inspect. The problem is, I don't remember what I changed last, and I don't know when I did it. Have I already changed the basal 7 days ago? Was the change I did last night after an annoying hypo (or hyper) a reckless and wrong change?

I would like to have a clear history of the basal rates that were last changed. It would look like a list of charts. The chart would look like the basal rates table itself - rows of timeslots and basal rate (u/hr), and the list would hold these tables with timestamps. This way I can look at the differences between different basal therapies I recently had.

An alternative I considered would be to take a screenshot every time I do any change to the basal rate treatment.

The history of the insulin sensitivity is also something that would help, in exactly the same way and reasoning.

Thanks a lot in advance Nadav

marionbarker commented 1 month ago

Great request. I'm not sure if anyone will work on this for Loop. (Takes someone with skill and time to prepare the code.) But there are 2 ways to get the capability now.

Options 1 - Use released code

Option 2 - Use a Customization

Stampertina commented 1 month ago

Those are great solutions- thanks, Marion. Thanks for explaining them. Nadav, your idea for screenshots is a good one. I do that on my son's Loop phone for any settings changes and send it to my phone. It's easy to keep track of that way. I have also used a spreadsheet in the past for all of the settings, but did not keep up with that.

nadavv commented 1 month ago

Thanks for your replies and ideas.