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 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 the status of a pump.
This is the Tidepool data type to represent the pump status at a given point in time.
The basal delivery status of the pump, if known. The basal delivery status contains the following fields:
- State
- Time
- Dose
The state of the basal delivery status. One of cancelingTemporary
, initiatingTemporary
, resuming
, scheduled
, suspended
, suspending
, or temporary
.
The time of the scheduled
or suspended
basal delivery status. Only specify if state is scheduled
or suspended
.
The dose of the temporary
basal delivery status. Only specify if state is temporary
. Includes the following fields:
The start time of the temporary basal dose.
The end time of the temporary basal dose.
The rate of the temporary basal dose.
The current amount delivered of the temporary basal dose.
The battery status of the pump, if known. The battery status contains the following fields:
- Time
- State
- Remaining
- Units
The time of the battery status, if known.
The state of the battery status, if known. One of charging
, full
, or unplugged
.
The remaining amount of battery. For units of percent
, can be in range of 0.0
(empty) to 1.0
(full).
The units for the remaining amount of battery, if known. One of percent
.
The bolus delivery status of the pump, if known. The bolus delivery status contains the following fields:
- State
- Dose
The state of the bolus delivery status. One of canceling
, delivering
, initiating
, or none
.
The dose of the delivering
bolus delivery status. Only specify if state is delivering
. Includes the following fields:
The start time of the delivering bolus dose.
The intended amount of the delivering bolus dose.
The current amount delivered of the delivering bolus dose.
The reservoir status of the pump, if known. The reservoir status contains the following fields:
- Time
- Remaining
- Units
The time of the reservoir status, if known.
The remaining amount of insulin in the reservoir.
The units for the remaining amount of insulin in the reservoir. One of Units
.
{
"id": "02ccebd2affc472d9b296d4f1f800dfd",
"time": "2018-05-14T08:17:07.560Z",
"type": "pumpStatus",
"basalDelivery": {
"state": "temporary",
"dose": {
"startTime": "2018-05-14T08:12:02.154Z",
"endTime": "2018-05-14T08:12:32.154Z",
"rate": 1.25,
"amountDelivered": 0.35
}
},
"battery": {
"time": "2018-05-14T08:17:05.421Z",
"state": "charging",
"remaining": 0.75,
"units": "percent"
},
"bolusDelivery": {
"state": "delivering",
"dose": {
"startTime": "2018-05-14T08:17:01.482Z",
"amount": 4.55,
"amountDelivered": 1.65
}
},
"reservoir": {
"time": "2018-05-14T08:17:03.689Z",
"remaining": 156,
"units": "Units"
},
"uploadId": "0d92d5c1c22117a18f3620b9e24d3c06"
}