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
Integer value representing milliseconds
Integer value representing milliseconds
Floating point value rounded to the appropriate significant figures for the device's precision.
Floating point value rounded to the appropriate significant figures for the device's precision.
Floating point value rounded to the appropriate significant figures for the device's precision.
Floating point value rounded to the appropriate significant figures for the device's precision.
A string ID. Added to each event during data processing in the Tidepool Uploader or upon ingestion by the platform data ingestion service.
This is the sub-type of bolus event that represents a bolus insulin dose programmed to deliver part of the dose immediatley (a normal bolus) and the remainder delivered evenly over a duration of time (an extended bolus). Essentially, this sub-type is a combination of both normal and extended boluses.
Most insulin pumps ask the user to divide the normal and extended portions of a combination bolus by percentage of the total insulin dose. Tidepool does not save this percentage directly but it can be worked out by looking at the appropriate combination and sum of values (e.g. normal, extended, expected normal and expected extended fields).
{
"type": "bolus",
"subType": "dual/square",
"normal": 6.25,
"extended": 5.75,
"expectedExtended": 8.625,
"duration": 23400000,
"expectedDuration": 35100000,
"clockDriftOffset": 0,
"conversionOffset": 0,
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:07",
"guid": "dc114f19-74fe-4075-9676-38faec7cf0cc",
"id": "d184a41eaf984afcbe553071f80bcdec",
"time": "2018-05-14T08:17:07.035Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
}
{
"type": "bolus",
"subType": "dual/square",
"normal": 9.25,
"extended": 5.5,
"expectedExtended": 8.25,
"duration": 57600000,
"expectedDuration": 86400000,
"clockDriftOffset": 0,
"conversionOffset": 0,
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:07",
"time": "2018-05-14T08:17:07.035Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
}
{
"type": "bolus",
"subType": "dual/square",
"normal": 2.25,
"extended": 9.5,
"expectedExtended": 14.25,
"duration": 48600000,
"expectedDuration": 72900000,
"_active": true,
"_groupId": "abcdef",
"_schemaVersion": 0,
"_version": 0,
"clockDriftOffset": 0,
"conversionOffset": 0,
"createdTime": "2018-05-14T08:17:12.035Z",
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:07",
"guid": "cf850a7a-1f28-4bbc-8a56-36cbe0326f20",
"id": "4f8b8b133b22401aa1f281be9eb954ad",
"time": "2018-05-14T08:17:07.035Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
}