Self-Monitored Blood Glucose (smbg)

Jump to...(notable fields on this type)

NB: All fields are required unless otherwise noted.

Jump to example JSON:

type

[ingestion, storage, client] The string smbg.

QUICK SUMMARY
Required:
    jellyfish: yes
    platform: yes

This is the Tidepool data type for traditional fingerstick blood glucose meter data. smbg is an abbreviation of 'self-monitored blood glucose' and contrasts with cbg, abbreviating 'continuous blood glucose'. cbg is the Tidepool data type for continuous glucose monitor (CGM) sensor data.


subType

This field is optional.

[ingestion, storage, client] String value encoding additional information about the source of the blood glucose value.

QUICK SUMMARY
Required:
    jellyfish: no (optional)
    platform: no (optional)
Range: Must be one of:
    `manual`
    `linked`

subType appears on blood glucose values that are not being read directly from a traditional fingerstick blood glucose meter, but rather from another data source such as an insulin pump.

The value manual indicates that the blood glucose value was manually entered by a user (and is thus, of course, subject to human error).

The value linked indicates that the blood glucose value was transferred from a blood glucose meter to the pump directly via some sort of data transfer or pairing mechanism. If the blood glucose meter in question is also supported by the Tidepool uploader, duplicate records may exist: both read directly from the meter and pulled in as subType: 'linked' records from the insulin pump.


units

[ingestion] One of two string values: mg/dL or mmol/L.

[storage, client] The string mmol/L.

See units for further explanation of blood glucose units.

QUICK SUMMARY
Required:
    jellyfish: yes
    platform: yes
Range: Must be one of:
    `mg/dL`
    `mmol/L`

value

[ingestion] Blood glucose value in either mg/dL (integer) or mmol/L (float), with appropriately matching units field.

[storage, client] Blood glucose value in mmol/L (float, potentially unrounded), with appropriately matching units field.

QUICK SUMMARY
Required:
    jellyfish: yes
    platform: yes
Numerical type:
    mg/dL: Integer value representing a `mg/dL` value.
    mmol/L: Floating point value representing a `mmol/L` value.
Range:
    mg/dL:
        min: 0
        max: 1000
    mmol/L:
        min: 0.0
        max: 55.0

clockDriftOffset

See common fields.


conversionOffset

See common fields.


deviceId

See common fields.


deviceTime

See common fields.


time

See common fields.


timezoneOffset

See common fields.


uploadId

See common fields.


_active

See common fields.


_groupId

See common fields.


_schemaVersion

See common fields.


_version

See common fields.


createdTime

See common fields.


guid

See common fields.


id

See common fields.


example (client)

{
    "type": "smbg",
    "subType": "linked",
    "units": "mmol/L",
    "value": 13.044257778957004,
    "clockDriftOffset": 0,
    "conversionOffset": 0,
    "deviceId": "DevId0987654321",
    "deviceTime": "2016-06-13T19:05:45",
    "guid": "e98c9666-83eb-44d7-84f2-b974fe8710cb",
    "id": "44d0336b10b54a4eb23f8bf82a9f391b",
    "time": "2016-06-14T02:05:45.958Z",
    "timezoneOffset": -420,
    "uploadId": "SampleUploadId"
}

example (ingestion)

{
    "type": "smbg",
    "subType": "manual",
    "units": "mg/dL",
    "value": 226,
    "clockDriftOffset": 0,
    "conversionOffset": 0,
    "deviceId": "DevId0987654321",
    "deviceTime": "2016-06-13T19:05:45",
    "time": "2016-06-14T02:05:45.959Z",
    "timezoneOffset": -420,
    "uploadId": "SampleUploadId"
}

example (storage)

{
    "type": "smbg",
    "subType": "linked",
    "units": "mmol/L",
    "value": 3.0529113950750433,
    "_active": true,
    "_groupId": "abcdef",
    "_schemaVersion": 0,
    "_version": 0,
    "clockDriftOffset": 0,
    "conversionOffset": 0,
    "createdTime": "2016-06-14T02:05:50.959Z",
    "deviceId": "DevId0987654321",
    "deviceTime": "2016-06-13T19:05:45",
    "guid": "86638a5e-3e92-4442-b9f9-2e18ea1114de",
    "id": "7ce31ed344524075ab28a671e5e1d7a9",
    "time": "2016-06-14T02:05:45.959Z",
    "timezoneOffset": -420,
    "uploadId": "SampleUploadId"
}

results matching ""

    No results matching ""