tidepool-org/tidepool-org.github.io — pull request #40 by jebeck (2014-12-16 02:19:11+00:00)
Title: draft of additional  codes for  deviceMeta events

Proposed addition to the data model. Let's discuss @brandonarbiter @kentquirk @jh-bate

This is necessary because the two different kinds of "automatic" resumes (after 2 hours of LGS) for Medtronic pumps exhibit *different* behaviors (the `user-accepted` kind *will* resume a temp basal, while the `user-ignored` kind will *not*). In order for a user of our platform to be able to successfully retrospectively audit their data via the Tidepool data format, we *must* distinguish between these two.

That said, I'm not sure this is the best way to do it, although I do think it's simplest. The alternative is to create a new field on LGS suspend events to contain information about whether or not the user "accepted" (i.e., cleared at least one alarm) the LGS suspend or not.