angelsix / blueberry

The new diabetes app
106 stars 34 forks source link

IDEA: Insulin Page #16

Open angelsix opened 5 years ago

angelsix commented 5 years ago

To help with historical data, as well as future predictions, it will be important to monitor and log insulin injections.

I have no knowledge at all in this area so this page and requirements I will need help from the community to scope this page out into a full feature we can implement

10

DicksHalfwayInn commented 5 years ago

In the settings page, the user could select the types of insulin they take. I don't know how many different types of insulin intake there are, but at the very least there are injections and pills. The user could toggle the different types of insulin intake to be on or off, that way, when they get to the insulin page, it wouldn't ask them to input injection quantity if they don't inject, or pill quantity if they don't take pills

Robert-git-hub commented 5 years ago

So there are two types of insulin - long(slow) acting and short(fast) acting. If it is insulin pump then only short acting, but this is for future. There is some ultra fast acting insulin as well, what that means is that it starts working almost instantly and peaks in 1.5 hours, whereas usual short acting insulin starts in some 15 minutes from taking and peaks in two hours, that's why visually short acting insulin line is two hours in length, this is most common (it can be 1.5 or 2 or 2.5 hours depending on your insulin brand). Then it is time to check your blood sugar level to see if you injected enough or too much of insulin to deal with the carbs you had. At this stage diet is very important, because if you had really fat food, it is not absorbed fully yet, so readings will not be accurate, that is why it is better to eat low fat diet. Long acting insulin is background insulin, so it is injected at the same time once in 24 hours. Some long acting insulin brands last for 12 hours. If it is insulin pump, then some dose of short acting insulin is injected every hour, this is how pancreas (organ that produce insulin) work in real life.