OpenHumansDataTools
OpenHumansDataTools copied to clipboard
Insulin totals script
Working on a new script to calculate total daily and hourly insulin usage for different studies.
- Would like hourly insulin totals as well as 24hr (TDD)
Script should:
- Look at actual enacted/set temp basal rate and duration
- Look at actual enacted/reported bolus
- May need to fill in the gaps of in between temp basals by calculating baselines from Profile or somehow pulling from other reports in the reason field