[go: up one dir, main page]

Menu

Commit [r272]  Maximize  Restore  History

+ "tDrugsNames": added the "Duration_Mandatory" boolean field

If it is true, it means the drug duration is fixed and can't be extended. If it is false, the duration can be extended during the night.
This field is used by the horf_measurementscontrol function.
Sometimes you have to take some drugs, i.e. insuline, to control the level of X, i.e. glucose, each Y hours or when you are too high or you need it.
This drug work inside the body for a quantity of time, but this time interval could be extended during the night because from when you take it + the sleep + the next time you take it, more time interval could be elapsed.
The horf_measurementscontrol function needs this field to understand that you didn't forget to take that drug during that quantity of time, but you just slept.

* horf_measurementscontrol: fixed some bugs and added the _ExtendDrugDurationBetweenTwoDaysOfHours optional parameter.
Now it starts to work fine! :)

+ TODO: normal values and intervals for the measurements

matfanjol 2016-02-18

changed /trunk/TODO.txt
changed /trunk/scripts/data/ver0004.sql
changed /trunk/scripts/ver0004.sql