An insulin delivery event that is not associated with a basal or bolus, usually logged as a contextual event on a CGM receiver or BG meter.
The actual dose of insulin, consisting of:
total- total insulin dose delivered (independent ofcorrection+food-active)active- active insulin, i.e., insulin on boardcorrection- insulin to bring the person with diabetes to their target BGfood- insulin to "cover" food inputunits- units for dose, currently onlyUnitsare used
A formulation consists of a name (e.g. "My custom mix") and either an array of compounds (objects with amounts), or a simple formulation:
actingType- can be rapid, short, intermediate or longbrand- optional text field with the brand, e.g. "Humalog"concentration- value in units/mL
There is an optional site text field (0-100 characters) to describe where injection was taken.
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
An object representing an Insulin Dose
A string ID. Added to each event during data processing in the Tidepool Uploader or upon ingestion by the platform data ingestion service.
{
"type": "insulin",
"clockDriftOffset": 0,
"conversionOffset": 0,
"createdTime": "2025-05-14T08:17:13.453Z",
"deviceId": "DevId0987654321",
"deviceTime": "2025-05-14T18:17:08",
"guid": "96013c51-c2f5-4557-ad0b-479151cf0512",
"id": "6e3ea4734056463f84f6be47621d21d7",
"time": "2025-05-14T08:17:08.453Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId",
"dose": {
"units": "Units",
"total": 250,
"food": 250,
"correction": -250,
"active": 250
},
"formulation": {
"compounds": [
{
"amount": 0.1
}
],
"name": "string"
},
"site": "string"
}