New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions: Insulin Treatment Protocols + Reminders #718
Comments
Glad to see other people think the same. Eventually, we want to be able to rely / improve upon and create a better prediction mechanism so we can utilize the sensors to their best of their ability. I'm not sure how the prediction mechanism works, but maybe the system can create averages and correlate them with the information put in, for example, Trebisa 11 units, then it creates an average of blood sugar levels, added physical activities to create a very accurate prediction model based on blood sugar levels in the following month. So, yes, putting the different insulin types is a step towards a very accurate prediction, heck, if we could use Machine Learning (going far perhaps) and get like a big pool of users uploading their data with their full protocols (insulins used, sport activity done, food eaten) we could create something very amazing. |
+1 vote for the insulin types diff |
So, when is this going to be worked? |
#706 also requests this enhancement. |
Reading the Novo page regarding the soon available NovoPen Echo Plus, given here |
Hi To someone in this forum who is familiar in calculating the curve of different insulin profiles and aggregating different profiles:
|
Just to get a clearer picture, is Xdrip going to estimate lows / highs using this supposed formula? Why not just let users input whichever insulin they wish and let them handle all the rest? |
oh yes - the user inputs the type of insulin he has injected and in which dose (done via Home screen and PhoneKeypadInputActivity). |
Can you share @jamorham's calculation scheme here? hopefully he can elaborate ... |
OK; now it's getting mathematically....
BUT this doesn't tell me anything who to handle other insulin profiles and how to combine simultaneous injections of diverged insulin types. |
OK; as no one replies to my thoughts i will start implementing curves like those in the picture provided by @ANDREAPIPPI and simply add the IOB and activity for a given time slice. |
after some google'ing around i found out that all insulin profiles (except the composition insulin types) can be approximated to just one kind of curve:
Now its just mathematics (i wrote a short maxima script to calculate a dedictated insulin profile) NOW we can define "onset", "t1", "t2" and "t3" for all required insulin profiles and we will have a calculation schema for xdrip+ The only problem left is how to handle composite insulin profiles as there are so much diverse products on the market we can't add them to a static insulin profiles list...... |
after implementing the new prediction algorithm in xdrip+ i found a serious issue: the predictions weren't correct. Insulin activity seems always to low. |
Hi gruoner. |
Sounds very promising, keep up the good work. |
Hi Pippo, we use a G6 and had some tests last few days. Now i'm pretty satisfied of the results.
I've checked in the code to my already opened pull request #973 but Travis is failing because of a failed :app:connectedAndroidTest. Maybe someone can help.... |
Hi gruoner. |
OK; so until someone requests a dedicated sensitivity calculation we will start the tests with the original one. |
Hi gruoner. |
Hi pippo
No, the pull request is still pending ..... but you can merge the more-insulin branch to your own repo or directly check out the branch and compile it yourself....
As i‘m ooO i can send you an actual unsigned auf apk by the end of tomorrow. Just let me know.....
Cheers
Am 07.09.19 um 14:01 schrieb ANDREAPIPPI
… Hi gruoner.
Could you please tell me if your improvement #718 has been issued in tonight's 20190907-66c8a5a.apk?
Thank you very much.
Pippo :-)
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#718 (comment)
|
Hi gruoner, thank you for the quick reply and the offer, but I'm absolutely out with this job, I'm unable to do anything you suggest, so I'm obliged to wait for a "ready to install" apk release. |
Hi Pippo that's a really good point - as we are using a G6 we don't even really need such calibration points but when we want to calibrate (for whatever reason) we have to find a time period where BG line is mostly flat. So people who rely on such calibrations to get a valuable CGM whey would find such an alarm type very helpful. Is there still an issue open for such requirements / wishes? bye |
Hi gruoner. |
Hi gruoner. Pippo :-) |
Hi. Pippo :-) |
Duplicate: #531 |
I think the capability to add multiple insulin types already has been added to xDrip. |
Hi,
Currently, there's only an option for putting one type of insulin, but if we allow for more, we can make xdrip predict blood sugars better. For example, there's a difference between Actrapid which is a regular and Humalog/Novorapid, which is a fast acting insulin.
Also, I always seem to get stuck without any sensors (libre system), due to the fact it doesn't give out any reminders / warning on the last day, for example.
On the reader itself, on the last day, it reminds you with every check (if I remember correctly, it's been awhile) on the last day. Maybe we can copy that feature in as well.
Just a thought,
thanks :)
The text was updated successfully, but these errors were encountered: