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
A simple blood glucose for a dosing decision.
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 Tidepool data type representing a dosing decision.
This is the Tidepool data type to represent a dosing decision.
The reason for the dosing decision. The reason is specific to the client performing the dosing decision.
If the dosing decision is due to an updated carbohydrate entry then this contains the following:
- Time
- Nutrition
The time associated with the original, pre-updated food.
The nutrition associated with the original, pre-updated food.
If the dosing decision is due to a new or updated carbohydrate entry then this contains the following:
- Time
- Nutrition
The time associated with the new or post-updated food.
The nutrition associated with the new or post-updated food.
If the dosing decision is due to a simple bolus requested by the user and the user inputs a self monitored blood glucose then this contains the following:
- Time
- Value
The time associated with the self monitored blood glucose.
The value of the self monitored blood glucose.
The current carbohydrates on board for the dosing decision. Contains the following properties:
- Time
- Amount
The time associated with the carbohydrates on board.
The amount of the carbohydrates on board.
The current insulin on board for the dosing decision. Contains the following properties:
- Time
- Amount
The time associated with the insulin on board.
The amount of the insulin on board.
The blood glucose target schedule used in the dosing decision. See Blood Glucose Target.
An array of historical blood glucose values. The array contain zero to many objects with the following properties:
- Time
- Value
The time of this historical blood glucose.
The value of this historical blood glucose.
An array of forecast blood glucose values. The array contain zero to many objects with the following properties:
- Time
- Value
The time of this forecast blood glucose.
The value of this forecast blood glucose.
The basal recommended by the client. Contains the following field:
- Rate
- Duration
The rate of basal insulin delivery as recommended by the client.
The duration of basal insulin delivery as recommended by the client.
The bolus recommended by the client. Contains the following field:
- Amount
The amount of insulin to bolus as recommended by the client.
The actual bolus requested by the user. Contains the following field:
- Amount
The amount of insulin to bolus as requested by the user.
All warnings that occurred while calculating the dosing decision. The array contains zero to many objects each containing the following properties:
- ID
- Metadata
The identifier of the warning. This is specific to the client making the dosing decision.
Any metadata associated with the warning. This is a dictionary with key and value of strings.
All errors that occurred while calculating the dosing decision. The array contains zero to many objects each containing the following properties:
- ID
- Metadata
The identifier of the error. This is specific to the client making the dosing decision.
Any metadata associated with the error. This is a dictionary with key and value of strings.
The time zone offset in minutes for any schedule specified in the dosing decision (e.g. Blood Glucose Target Schedule).
The units of the dosing decision. Contains the following fields:
- Blood Glucose
- Carbohydrate
- Insulin
The blood glucose units of the dosing decision. Can be one of mg/dL
or mmol/L
.
The carbohydrate units of the dosing decision. Can be one of grams
or exchanges
.
The insulin units of the dosing decision. Can be one of Units
.
{
"id": "02ccebd2affc472d9b296d4f1f800dfd",
"time": "2018-05-14T08:17:07.560Z",
"type": "dosingDecision",
"uploadId": "0d92d5c1c22117a18f3620b9e24d3c06"
"originalFood": {
"time": "2019-08-24T14:15:22Z",
"nutrition": {
"absorptionDuration": 10800,
"carbohydrate": {
"net": 15
}
}
},
"food": {
"time": "2019-08-24T14:15:22Z",
"nutrition": {
"absorptionDuration": 10800,
"carbohydrate": {
"net": 25
}
}
},
"smbg": {
"time": "2019-08-24T14:15:22Z",
"value": 105
},
"carbsOnBoard": {
"time": "2019-08-24T14:15:22Z",
"amount": 18
},
"insulinOnBoard": {
"time": "2019-08-24T14:15:22Z",
"amount": 0.75
},
"bgTargetSchedule": [
{
"high": 180,
"low": 80,
"start": 0
}
],
"bgHistorical": [
{
"time": "2019-08-24T14:15:22Z",
"value": 105
}
],
"bgPredicted": [
{
"time": "2019-08-24T14:15:22Z",
"value": 110
}
],
"recommendedBasal": {
"rate": 1.25,
"duration": 180000
},
"recommendedBolus": {
"amount": 2.5
},
"requestedBolus": {
"amount": 2
},
"warnings": [
{
"id": "unknown",
"metadata": {
"extra": "information"
}
}
],
"errors": [
{
"id": "unknown",
"metadata": {
"extra": "information"
}
}
],
"scheduleTimeZoneOffset": -480,
"units": {
"bg": "mg/dL",
"carb": "grams",
"insulin": "Units"
}
}