nightscout / Trio

MIT License
45 stars 125 forks source link

Lyumjev U200 #262

Closed misterizzz closed 1 month ago

misterizzz commented 1 month ago

An option with adjusted dosing for the omnipod dash for Lyumjev U200 would be very helpful

JeremyStorring commented 1 month ago

Hello @misterizzz, can you please use the following template?

## Is your feature request related to a problem? Please describe.
*Provide a clear and concise description of the problem. Explain how this issue affects your experience with the Trio app and any specific scenarios where it occurs.*

## Describe the solution you'd like
*Detail the desired change or feature you'd like to see implemented in the Trio app. Be specific about how this solution would improve your experience and address the problem described above.*

## Describe alternatives you've considered
*List and describe any alternative solutions or features you've considered that could also address the problem. Explain why you believe the proposed solution is the best option.*

## Additional context
*Include any other context, screenshots, or relevant information that might help in understanding the issue or the proposed solution. If applicable, describe any previous discussions or decisions that relate to this feature request.*

## Technical Details
*If applicable, provide any technical details or considerations that might impact the implementation of this feature. This could include dependencies, potential risks, or required changes to existing functionalities.*

## User Impact
*(Optional) Describe the impact of this issue on your use of the Trio app. Include any specific examples or data that demonstrate how widespread or severe the problem is.*

Thank you!

LiroyvH commented 1 month ago

I wrote a lengthy feature request for that for iAPS:

Working with U-200 I started wondering if it'd be worthwile to implement different insulin strengths. You keep the same settings/profiles in iAPS and you bolus and log the same amounts of insulin and carbs, but the system will: a.) when set to U-200 mode reduce the insulin output on the pump by 50% relative to U-100 and b.) for U-400 it will reduce it by 75% relative to U-100, and c.) it will also have to multiply the remaining amount of units available in the reservoir. (Eg: Omnipod Dash that starts counting down from 50U would show 100U instead when on U-200 mode)

So what you see as the user is when you want X amount of units: you always get that exact same amount of units regardless of the insulin strength; also in reports and Nightscout. 1U is always 1U - we're using the unit as the standard for measurement rather than how many units per ml were in the pen and are now in your pump. As such, we just ensure the amount of millilitres required to deliver that amount of units are reduced in the background to account for the pump only 'speaking' U-100. On the pump itself, if it has a display, this will confusingly looks like reducing "units", but we're just compensating for its dumbness. (Eg; if we want 2U on U-200 mode: we tell the U-200 filled pump, which always thinks it has U-100 in it, to inject "1U" to compensate for the higher insulin strength. And 2U/hr of basal will be set to 1U/hr on the pump.)

The reasoning behind it is that this leads to:

Possible negative effects I honestly couldn't directly find any, especially as Eli Lily chose the exact same strategy with their pens. (Reduce output in millilitres, rather than making the user reduce their number of units - they chose to use the unit as the standard rather than the units per ml as well.) The current negatives are you have to maually change profile and manually remember it and the nightscout, AT and AS data get's "tainted" when you switch insulins. If it's as easy as switching in-app from U-100 to U-200 when you switch insulin type: that's easier and probably safer.

There are some caveats, however, such as:

Thank you for your consideration and thanks in advance to everyone providing input/suggestions/feedback on this.

(Copied from: https://github.com/Artificial-Pancreas/iAPS/issues/178)

Sjoerd-Bo3 commented 1 month ago

@LiroyvH Is it okay that I paste this in the original message? Or a new issue? So it is clearer in the opening comment?

LiroyvH commented 1 month ago

@Sjoerd-Bo3 I'd be happy to open a new one, but it won't directly conform to the template. (I mean... it pretty much adresses everything that's asked, just not in that exact order :P)

Sjoerd-Bo3 commented 1 month ago

@LiroyvH Making a new one is fine by me. You don't have to align with the template. But if you would:

Is your feature request related to a problem? Please describe.

Currently, Trio does not support different insulin strengths (U-200, U-400), which means users need to manually adjust their profiles and settings when switching from U-100 insulin. This can lead to confusion, inaccuracies in insulin delivery, and inconsistent data in Nightscout and other reports.

Describe the solution you'd like

Implement support for different insulin strengths (U-200, U-400) in the Trio app. The system should automatically adjust insulin delivery based on the selected insulin strength while keeping user settings and profiles consistent. Specifically:

So what you see as the user is when you want X amount of units: you always get that exact same amount of units regardless of the insulin strength; also in reports and Nightscout. 1U is always 1U - we're using the unit as the standard for measurement rather than how many units per ml were in the pen and are now in your pump. As such, we just ensure the amount of millilitres required to deliver that amount of units are reduced in the background to account for the pump only 'speaking' U-100. On the pump itself, if it has a display, this will confusingly look like reducing "units", but we're just compensating for its dumbness. (Eg; if we want 2U on U-200 mode: we tell the U-200 filled pump, which always thinks it has U-100 in it, to inject "1U" to compensate for the higher insulin strength. And 2U/hr of basal will be set to 1U/hr on the pump.)

Describe alternatives you've considered

1. Manually changing profiles and settings when switching insulin strengths, which is prone to error and increases user burden. 2. Continuing to use U-100 insulin, which may not be feasible for all users due to availability or specific medical needs.

Additional context

This feature ensures consistency and accuracy in insulin delivery and reporting across different insulin strengths. It aligns with how Eli Lilly pens manage higher potency insulin, ensuring user settings remain the same while adjusting the insulin delivery in the background. Key benefits include:

The reasoning behind it is that this leads to:

Possible negative effects:

Technical Details

This feature involves adjusting the Trio app’s insulin delivery calculations and display settings based on the selected insulin strength. It also requires clear documentation and in-app warnings to inform users about the adjusted delivery rates on the pump.

User Impact

Medium – This feature will improve the ease of use and accuracy of insulin delivery for users switching between different insulin strengths.

LiroyvH commented 1 month ago

@Sjoerd-Bo3 So it doesn't have to align with the template, as long as it does actually align with the template. Right. :P Alright, I used your example and made a couple of modifications. I very much preferred the order in which I wrote things in my original submission, but alas: it is what it is. :) Created as issue #264! :)

Sjoerd-Bo3 commented 1 month ago

Ooh no it doesn't have too! But your request had, wishes challenges and why tangled into each other. That reads not so nice if you want to implement. It's nice as a story but not point wise for a solution. If you know what I mean. For sure my piece wasn't 100% complete I agree on that.