tidepool-org / hub

[DEPRECATED] Central storage for Tidepool planning and issue tracking.
2 stars 2 forks source link

Events like Cannula Prime or Suspend should be displayed in Blip #42

Open brandonarbiter opened 10 years ago

brandonarbiter commented 10 years ago

This issue was requested by @HowardLook to reflect a past functionality whereby key insulin pump events are highlighted in Blip.

kentquirk commented 10 years ago

I reworded this; issues should be worded either as "something is happening but shouldn't be" or "something should be happening but isn't".

cheddar commented 10 years ago

As suggested by @HowardLook and @cmakler I'm attaching a list of the event types from Howard's data that we currently ignore:

These are ordered by the number of times they occur in the data.

2359 UnabsorbedInsulin
2199 SensorCal
 756 BGReceived
 709 AlarmSensor
 557 BGBayer
 231 ResultDailyTotal
 148 SensorPacket
 146 CalBGForGH
 141 SensorTimestamp
 119 SensorCalFactor
  86 GlucoseSensorDataLow
  82 SensorWeakSignal
  76 Prime
  72 Rewind
  54 CurrentRemoteControlID
  54 CurrentParadigmLinkID
  49 SensorStatus
  45 GlucoseSensorDataHigh
  42 JournalEntryPumpLowReservoir
  38 SensorSync
  35 ChangeTimeGH
  35 ChangeBatteryEnableGH
  35 ChangeBatteryEnable
  33 ChangeTime
  29 BolusReminder
  26 CurrentSensorGlucoseLimitProfile
  21 JournalEntryMealMarker
  21 ClearAlarm
  21 AlarmPump
  18 CurrentVariableBolusEnable
  18 CurrentVariableBasalProfilePatternEnable
  18 CurrentTotalYesterday
  18 CurrentTotalToday
  18 CurrentTotalRemaining
  18 CurrentTimeDisplayFormat
  18 CurrentTempBasalType
  18 CurrentTempBasal
  18 CurrentSensorTransmitterID
  18 CurrentSensorRateOfChangeAlertConfig
  18 CurrentSensorPredictiveAlertProfile
  18 CurrentSensorPredictiveAlertPattern
  18 CurrentSensorMissedDataTime
  18 CurrentSensorLowGlucoseSnoozeTime
  18 CurrentSensorHighGlucoseSnoozeTime
  18 CurrentSensorGraphConfig
  18 CurrentSensorGlucoseLimitPattern
  18 CurrentSensorEnable
  18 CurrentSensorCalReminderTime
  18 CurrentSensorCalReminderEnable
  18 CurrentSensorBGUnits
  18 CurrentSensorAutoCalEnable
  18 CurrentSensorAreaUnderCurveConfig
  18 CurrentSensorAlarmSnoozeTime
  18 CurrentSensorAlarmSilenceConfig
  18 CurrentReservoirWarningValueInsulin
  18 CurrentReservoirWarningUnits
  18 CurrentRFEnable
  18 CurrentPumpStatus
  18 CurrentPumpModelNumber
  18 CurrentParadigmLinkEnable
  18 CurrentOtherDeviceMarried
  18 CurrentOtherDeviceEnable
  18 CurrentMaxBolus
  18 CurrentMaxBasal
  18 CurrentKeypadLockedEnable
  18 CurrentInsulinActionCurve
  18 CurrentHistoryPageNumber
  18 CurrentGlucoseHistoryPageNumber
  18 CurrentErrorStatus
  18 CurrentDisplayLanguage
  18 CurrentChildBlockEnable
  18 CurrentCaptureEventEnable
  18 CurrentBolusWizardEnable
  18 CurrentBolusWizardCarbUnits
  18 CurrentBolusWizardBGUnits
  18 CurrentBolusScrollStepSize
  18 CurrentBolusReminderEnable
  18 CurrentBatteryStatus
  18 CurrentBGReminderEnable
  18 CurrentAutoOffDuration
  18 CurrentAudioBolusStep
  18 CurrentAlarmNotifyMode
  18 CurrentAlarmClockEnable
  14 CurrentSavedSettingsTime
  12 JournalEntryPumpLowBattery
  10 CurrentBolusReminderTime
   9 SensorError
   8 ChangeParadigmLinkID
   7 JournalEntryPumpLowReservoirTime
   6 ChangeTimeDisplayFormat
   4 CurrentSensorCalFactor
   4 CurrentLowSuspendLimit
   4 ChangeTempBasalType
   4 ChangeSensorSetupConfig2
   3 ChangeMaxBolus
   3 ChangeBolusReminderEnable
   3 ChangeAudioBolusStepSize
   3 ChangeAudioBolusEnable
   2 JournalEntryInsulinMarker
   2 ChangeVariableBolusEnable
   2 ChangeSensorSetup2
   2 ChangeCaptureEventEnable
   2 ChangeBolusWizardEnable
   2 ChangeBGReminderEnable
   2 ChangeAlarmNotifyMode
   1 SelfTest
   1 JournalEntryPumpWeakBattery
   1 Clear
   1 ChangeBolusReminderTime
cheddar commented 10 years ago

And this is the same thing from Brandon's data

1577 UnabsorbedInsulin
 147 BGReceived
  30 ResultDailyTotal
  20 Prime
  14 JournalEntryPumpLowReservoir
  12 CurrentRemoteControlID
  12 CurrentParadigmLinkID
   6 Rewind
   5 SensorTimestamp
   4 CurrentVariableBolusEnable
   4 CurrentVariableBasalProfilePatternEnable
   4 CurrentTotalYesterday
   4 CurrentTotalToday
   4 CurrentTotalRemaining
   4 CurrentTimeDisplayFormat
   4 CurrentTempBasalType
   4 CurrentTempBasal
   4 CurrentSensorTransmitterID
   4 CurrentSensorRateOfChangeAlertConfig
   4 CurrentSensorPredictiveAlertProfile
   4 CurrentSensorPredictiveAlertPattern
   4 CurrentSensorMissedDataTime
   4 CurrentSensorLowGlucoseSnoozeTime
   4 CurrentSensorHighGlucoseSnoozeTime
   4 CurrentSensorGraphConfig
   4 CurrentSensorGlucoseLimitProfile
   4 CurrentSensorGlucoseLimitPattern
   4 CurrentSensorEnable
   4 CurrentSensorCalReminderTime
   4 CurrentSensorCalReminderEnable
   4 CurrentSensorBGUnits
   4 CurrentSensorAutoCalEnable
   4 CurrentSensorAreaUnderCurveConfig
   4 CurrentSensorAlarmSnoozeTime
   4 CurrentSensorAlarmSilenceConfig
   4 CurrentReservoirWarningValueInsulin
   4 CurrentReservoirWarningUnits
   4 CurrentRFEnable
   4 CurrentPumpStatus
   4 CurrentPumpModelNumber
   4 CurrentParadigmLinkEnable
   4 CurrentOtherDeviceMarried
   4 CurrentOtherDeviceEnable
   4 CurrentMaxBolus
   4 CurrentMaxBasal
   4 CurrentKeypadLockedEnable
   4 CurrentInsulinActionCurve
   4 CurrentHistoryPageNumber
   4 CurrentGlucoseHistoryPageNumber
   4 CurrentErrorStatus
   4 CurrentDisplayLanguage
   4 CurrentChildBlockEnable
   4 CurrentCaptureEventEnable
   4 CurrentBolusWizardEnable
   4 CurrentBolusWizardCarbUnits
   4 CurrentBolusWizardBGUnits
   4 CurrentBolusScrollStepSize
   4 CurrentBolusReminderEnable
   4 CurrentBeepVolume
   4 CurrentBatteryStatus
   4 CurrentBGReminderEnable
   4 CurrentAutoOffDuration
   4 CurrentAudioBolusStep
   4 CurrentAlarmNotifyMode
   4 CurrentAlarmClockEnable
   4 ClearAlarm
   4 AlarmPump
   3 ChangeTimeDisplayFormat
   2 JournalEntryPumpLowBattery
   2 ChangeTimeGH
   2 ChangeTime
   2 ChangeParadigmLinkID
   2 ChangeBatteryEnableGH
   2 ChangeBatteryEnable
   1 SensorStatus
   1 ChangeVariableBolusEnable
   1 ChangeTempBasalType
   1 ChangeMaxBasal
   1 ChangeBolusWizardEnable
cmakler commented 10 years ago

Interesting. I’ll dive into this more later, but off the bat:

1) The “Prime” event seems to me the most important one from a data integrity standpoint and also as a “point of interest” (e.g., set changes are important events to know about).

2) What are the ChangeTime events? Could they affect our UTC discussion?

On Apr 29, 2014, at 5:14 PM, cheddar notifications@github.com wrote:

And this is the same thing from Brandon's data

1577 UnabsorbedInsulin 147 BGReceived 30 ResultDailyTotal 20 Prime 14 JournalEntryPumpLowReservoir 12 CurrentRemoteControlID 12 CurrentParadigmLinkID 6 Rewind 5 SensorTimestamp 4 CurrentVariableBolusEnable 4 CurrentVariableBasalProfilePatternEnable 4 CurrentTotalYesterday 4 CurrentTotalToday 4 CurrentTotalRemaining 4 CurrentTimeDisplayFormat 4 CurrentTempBasalType 4 CurrentTempBasal 4 CurrentSensorTransmitterID 4 CurrentSensorRateOfChangeAlertConfig 4 CurrentSensorPredictiveAlertProfile 4 CurrentSensorPredictiveAlertPattern 4 CurrentSensorMissedDataTime 4 CurrentSensorLowGlucoseSnoozeTime 4 CurrentSensorHighGlucoseSnoozeTime 4 CurrentSensorGraphConfig 4 CurrentSensorGlucoseLimitProfile 4 CurrentSensorGlucoseLimitPattern 4 CurrentSensorEnable 4 CurrentSensorCalReminderTime 4 CurrentSensorCalReminderEnable 4 CurrentSensorBGUnits 4 CurrentSensorAutoCalEnable 4 CurrentSensorAreaUnderCurveConfig 4 CurrentSensorAlarmSnoozeTime 4 CurrentSensorAlarmSilenceConfig 4 CurrentReservoirWarningValueInsulin 4 CurrentReservoirWarningUnits 4 CurrentRFEnable 4 CurrentPumpStatus 4 CurrentPumpModelNumber 4 CurrentParadigmLinkEnable 4 CurrentOtherDeviceMarried 4 CurrentOtherDeviceEnable 4 CurrentMaxBolus 4 CurrentMaxBasal 4 CurrentKeypadLockedEnable 4 CurrentInsulinActionCurve 4 CurrentHistoryPageNumber 4 CurrentGlucoseHistoryPageNumber 4 CurrentErrorStatus 4 CurrentDisplayLanguage 4 CurrentChildBlockEnable 4 CurrentCaptureEventEnable 4 CurrentBolusWizardEnable 4 CurrentBolusWizardCarbUnits 4 CurrentBolusWizardBGUnits 4 CurrentBolusScrollStepSize 4 CurrentBolusReminderEnable 4 CurrentBeepVolume 4 CurrentBatteryStatus 4 CurrentBGReminderEnable 4 CurrentAutoOffDuration 4 CurrentAudioBolusStep 4 CurrentAlarmNotifyMode 4 CurrentAlarmClockEnable 4 ClearAlarm 4 AlarmPump 3 ChangeTimeDisplayFormat 2 JournalEntryPumpLowBattery 2 ChangeTimeGH 2 ChangeTime 2 ChangeParadigmLinkID 2 ChangeBatteryEnableGH 2 ChangeBatteryEnable 1 SensorStatus 1 ChangeVariableBolusEnable 1 ChangeTempBasalType 1 ChangeMaxBasal 1 ChangeBolusWizardEnable — Reply to this email directly or view it on GitHub.

jebeck commented 10 years ago

I am indeed assuming that we will have to "bootstrap" off something like ChangeTime events (assuming that refers to the pump's date/time settings) in order to store in UTC.

cmakler commented 10 years ago

https://trello.com/c/B6B7laHx