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
The id
of the status
event logically connected with this event.
A string ID. Added to each event during data processing in the Tidepool Uploader or upon ingestion by the platform data ingestion service.
A reservoir change event represents a recent change or refill of the insulin reservoir. Conventional insulin pumps refer to this as a "rewind" event, whereas an Insulet OmniPod system will call this a "deactivation" event.
The optional payload object should include device-specific and event-specific information that is being interpreted more generally as a reservoir change and/or may be desirable for auditing user and device behavior and performance.
This event often implies a suspension of insulin delivery. If the device data includes a reservoir change (rewind or deactivation) event but does not include separate indication of insulin delivery suspension, a status event should be uploaded to Platform to record the suspension of insulin delivery. This event should include relevant information from the reservoir change event (e.g. timestamp and log index) and get embedded into the reservoir change event to provide an audit trail of the user's data and to preserve the close connection between the stored events.
See linking events for additional details regarding inter-event linking in the Tidepool platform.
{
"type": "deviceEvent",
"subType": "reservoirChange",
"status": "e0c1998c36d643d49d09047833064314",
"clockDriftOffset": 0,
"conversionOffset": 0,
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:08",
"guid": "075b8a5e-4404-4987-8df8-54d2fed20c09",
"id": "8ce74bae4d294f058bbf96102b6b44f9",
"time": "2018-05-14T08:17:08.453Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
}
{
"type": "deviceEvent",
"subType": "reservoirChange",
"status": {
"type": "deviceEvent",
"subType": "status",
"status": "suspended",
"duration": 64800000,
"expectedDuration": 77760000,
"reason": {
"suspended": "manual",
"resumed": "manual"
},
"clockDriftOffset": 0,
"conversionOffset": 0,
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:08",
"time": "2018-05-14T08:17:08.453Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
},
"clockDriftOffset": 0,
"conversionOffset": 0,
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:08",
"time": "2018-05-14T08:17:08.453Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
}
{
"type": "deviceEvent",
"subType": "reservoirChange",
"status": "e50c3da3a35e47f2a8ef769406a0805d",
"_active": true,
"_groupId": "abcdef",
"_schemaVersion": 0,
"_version": 0,
"clockDriftOffset": 0,
"conversionOffset": 0,
"createdTime": "2018-05-14T08:17:13.453Z",
"deviceId": "DevId0987654321",
"deviceTime": "2018-05-14T18:17:08",
"guid": "96013c51-c2f5-4557-ad0b-479151cf0512",
"id": "6e3ea4734056463f84f6be47621d21d7",
"time": "2018-05-14T08:17:08.453Z",
"timezoneOffset": 600,
"uploadId": "SampleUploadId"
}