A pump settings override is used to temporarily override certain current pump settings for a temporary event.
The physicalActivity
override would typically be used before, during, and/or after physical exercise to account for blood glucose level changes during exercise. For example, raising the blood glucose target for running.
The preprandial
override would typically be used before eating and might decrease the blood glucose target range prior to eating.
The preset
override indicates that this override can be found in the overridePresets
of the related pumpSettings
. In this case, the overridePreset
field should match one of the keys in the overridePresets
map of the related pump settings. The remainder of the fields should match those of the matching override preset.
The sleep
override would typically be used while sleeping. This override might increase the blood glucose target range while sleeping to reduce risk of hypoglycemia overnight.
Finally the custom
override is one that does not match any of the other override types.
An array of annotations.
An array of associations for the resource.
Clock drift offset, expressed as milliseconds.
Conversion offset, expressed as milliseconds.
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
Globally unique to device and repeatable with each upload, e.g. device make and model with serial number
Revision history of the event
Location information associated with the resource. One or both of name
and gps
must be specified.
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
An array of 1 to 100 notes.
External origin information for the source of the resource.
Grab bag field for data that isn't yet part of the data model. The maximum size is 4K bytes.
An array of tags.
A string timezone name from the IANA timezone database
Time zone offset, expressed as positive or negative number of minutes from UTC.
Data type
An upload identifier; this field should be the uploadId of the corresponding upload record
Blood glucose target values, in mg/dL
A string ID. Added to each event during data processing in the Tidepool Uploader or upon ingestion by the platform data ingestion service.
The pumpSettingsOverride
sub-type of device event represents a user temporarily overriding certain insulin pump settings. This might be temporarily adjusting the blood glucose target range before a meal or during exercise.
The pump settings override can be one of several types: physicalActivity
, preprandial
, preset
, sleep
, and custom
.
The override matches one found in the override presets map of the related pump settings. The value of this field must match one of the keys in the overridePresets
map in the related pumpSettings
. The overrideType
must be preset
.
The method indicates how the preset was enabled, if known. It can be one of automatic
or manual
. An automatic
method indicates that some automated system (typically non-human) enabled the preset while a manual
method indicates the preset was enabled manually (typically human).
--
The duration
the override is enabled for. When the override is first enabled the duration
field can indicate how long the override is expected to be enabled for. Once the override is disabled the duration
field should be updated to indicate the actual duration is was enable for. In this case, if the duration is less than what was expected, the expectedDuration
field should be specified. If the override is enable indefinitely (meaning that there is no planned time to disable) then the duration
field should not be specified until after the override is disabled. The duration
is milliseconds.
Once the override is disabled, if the actual duration is less than the initial expected duration, then the expectedDuration
field should be specified and the duration
field updated to the actual duration. The expectedDuration
is milliseconds.
The blood glucose target range in effect while the override is enabled. Not specified means no change.
The basal rate scale factor in effect while the override is enabled. This is a percentage of the active basal rate found in the basal rate schedule of the related pumpSettings
. A value of 1.0 means 100% (i.e. unchanged). Not specified means no change.
The carbohydrate ratio scale factor in effect while the override is enabled. This is a percentage of the active carbohydrate ratio found in the carbohydrate ratio schedule of the related pumpSettings
. A value of 1.0 means 100% (i.e. unchanged). Not specified means no change.
The insulin sensitivity scale factor in effect while the override is enabled. This is a percentage of the active insulin sensitivity found in the insulin sensitivity schedule of the related pumpSettings
. A value of 1.0 means 100% (i.e. unchanged). Not specified means no change.
{
"id": "bfc3e597e16c436a94a03d7fd095a774",
"time": "2017-02-06T02:37:46Z",
"type": "deviceEvent",
"subType": "pumpSettingsOverride",
"overrideType": "preset",
"overridePreset": "Running",
"method": "manual",
"duration": 2700000,
"expectedDuration": 7200000,
"bgTarget": {
"high": 160,
"low": 150
},
"basalRateScaleFactor": 0.8,
"carbRatioScaleFactor": 1.25,
"insulinSensitivityScaleFactor": 1.25,
"units": {
"bg": "mg/dL"
},
"uploadId": "0d92d5c1c22117a18f3620b9e24d3c06"
}