{"action":"created","comment":{"url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/comments/87672695","pull_request_review_id":8279921,"id":87672695,"diff_hunk":"@@ -0,0 +1,229 @@\n+# Pump Data direct from Medtronic pump\n+\n+## Checklist for Insulin Pump Implementation\n+\n+(Key:\n+\n+ - `[x]` available in data protocol/documented in spec and implemented\n+ - `[-]` available in data protocol/documented in spec but *not* yet implemented\n+ - `[?]` unknown whether available in data protocol/documented in spec; *not* yet implemented\n+ - `*[ ]` TODO: needs implementation!\n+ - `[ ]` unavailable in data protocol and/or not documented in spec and not yet implemented)\n+\n+### Required if Present\n+\n+#### Basals\n+\n+  - `[x]` scheduled basal\n+    - `[x]` basal rate intervals with a start time, duration, and rate delivered\n+    - `[x]` name of basal schedule on each scheduled basal rate interval\n+    - `[ ]` if basal schedule is a single (flat) rate all day, pump records a new basal rate interval every midnight\n+  - `[x]` manual temp basal\n+    - `[x]` basal rate intervals with a start time, duration, and rate delivered\n+    - `[x]` object representing suppressed scheduled basal *for each segment of the basal schedule that the temp basal intersects*\n+  - `[x]` percentage temp basal\n+    - `[x]` basal rate intervals with a start time, duration, percent\n+        - `[ ]` rate provided directly OR\n+        - `[x]` rate computed from percent x suppressed.rate\n+    - `[x]` object representing suppressed scheduled basal *for each segment of the basal schedule that the temp basal intersects*\n+  - `[x]` \"suspended\" basals (see [status - suspends & resumes](#device-events) below)\n+    - `[x]` basal interval with a start time and duration but no rate (b/c suspended)\n+    - `[x]` object representing suppressed scheduled basal *for each segment of the basal schedule that the suspension of insulin delivery intersects*\n+  - `[x]` final (most recent) basal\n+    - `*[-]` basal rate interval with a start time, duration \"guessed\" from settings, rate delivered, and an annotation re: the \"guessed\" duration OR\n+    - `[ ]` basal rate interval with a start time and rate, no (= zero) duration\n+\n+Device-specific? (Add any device-specific notes/additions here.)\n+\n+#### Boluses\n+\n+  - `[x]` normal bolus\n+    - `[x]` amount of insulin delivered\n+    - `[x]` amount of insulin delivery programmed (if differs from actual delivery, in case of bolus interruption, cancellation, etc.)\n+  - `[x]` extended bolus\n+    - `[x]` amount of insulin delivered\n+    - `[x]` duration of insulin delivery\n+    - `[x]` amount of insulin delivery programmed (if differs from actual delivery, in case of bolus interruption, cancellation, etc.)\n+    - `[x]` duration of insulin delivery programmed (if differs from actual duration, in case of bolus interruption, cancellation, etc.)\n+    - `[ ]` extended bolus that crosses midnight is split into two records\n+  - `[x]` combo/dual bolus\n+    - `[x]` amount of insulin delivered - immediate (normal)\n+    - `[x]` amount of insulin delivered - extended\n+    - `[x]` duration of extended insulin delivery\n+    - `[x]` amount of immediate insulin delivery programmed (if differs from actual delivery, in case of bolus interruption, cancellation, etc.)\n+    - `[x]` amount of extended insulin delivery programmed (if differs from actual delivery, in case of bolus interruption, cancellation, etc.)\n+    - `[x]` duration of extended insulin delivery programmed (if differs from actual duration, in case of bolus interruption, cancellation, etc.)\n+    - `[ ]` extended portion of combo bolus that crosses midnight is split into two records\n+  - bolus cancellations/interruptions\n+    - `[x]` represented by a separate event in the device's data log OR\n+    - `[ ]` result in modifications to a bolus event in the device's data log\n+  - `[x]` link to \"wizard\"/calculator entry (via log entry ID or similar)\n+\n+No Tidepool data model yet:\n+\n+  - bolus cancellations/interruptions\n+    - `[ ]` agent/reason for bolus cancellation\n+\n+Device-specific? (Add any device-specific notes/additions here.)\n+\n+#### CBG\n+\n+(See [the CGM checklist](CGMChecklist.md) instead.)\n+\n+#### Device Events\n+\n+  - alarms:\n+    - `[x]` low insulin\n+    - `[ ]` no insulin\n+        - `[ ]` needed to infer a suspend (stoppage of all insulin delivery)\n+    - `[x]` low power\n+    - `[x]` no power\n+        - `[x]` needed to infer a suspend (stoppage of all insulin delivery)\n+    - `[ ]` occlusion\n+        - `[ ]` needed to infer a suspend (stoppage of all insulin delivery)\n+    - `[x]` no delivery\n+        - `[x]` needed to infer a suspend (stoppage of all insulin delivery)\n+    - `[x]` auto-off\n+        - `[x]` needed to infer a suspend (stoppage of all insulin delivery)\n+    - `[?]` over limit (i.e., max bolus exceeded through override)","path":"lib/drivers/docs/medtronic.md","position":88,"original_position":88,"commit_id":"26ab79a29c1a749d1af849b1003c0cc2c47bf88a","original_commit_id":"26ab79a29c1a749d1af849b1003c0cc2c47bf88a","user":{"login":"jebeck","id":1588547,"avatar_url":"https://avatars.githubusercontent.com/u/1588547?v=3","gravatar_id":"","url":"https://api.github.com/users/jebeck","html_url":"https://github.com/jebeck","followers_url":"https://api.github.com/users/jebeck/followers","following_url":"https://api.github.com/users/jebeck/following{/other_user}","gists_url":"https://api.github.com/users/jebeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jebeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebeck/subscriptions","organizations_url":"https://api.github.com/users/jebeck/orgs","repos_url":"https://api.github.com/users/jebeck/repos","events_url":"https://api.github.com/users/jebeck/events{/privacy}","received_events_url":"https://api.github.com/users/jebeck/received_events","type":"User","site_admin":false},"body":"Test ping @eluhrs. See comment above ^","created_at":"2016-11-11T23:04:00Z","updated_at":"2016-11-11T23:04:00Z","html_url":"https://github.com/tidepool-org/chrome-uploader/pull/337#discussion_r87672695","pull_request_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337","_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/comments/87672695"},"html":{"href":"https://github.com/tidepool-org/chrome-uploader/pull/337#discussion_r87672695"},"pull_request":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337"}}},"pull_request":{"url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337","id":93352865,"html_url":"https://github.com/tidepool-org/chrome-uploader/pull/337","diff_url":"https://github.com/tidepool-org/chrome-uploader/pull/337.diff","patch_url":"https://github.com/tidepool-org/chrome-uploader/pull/337.patch","issue_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/337","number":337,"state":"open","locked":false,"title":"Medtronic device settings; comparison tool","user":{"login":"gniezen","id":418233,"avatar_url":"https://avatars.githubusercontent.com/u/418233?v=3","gravatar_id":"","url":"https://api.github.com/users/gniezen","html_url":"https://github.com/gniezen","followers_url":"https://api.github.com/users/gniezen/followers","following_url":"https://api.github.com/users/gniezen/following{/other_user}","gists_url":"https://api.github.com/users/gniezen/gists{/gist_id}","starred_url":"https://api.github.com/users/gniezen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gniezen/subscriptions","organizations_url":"https://api.github.com/users/gniezen/orgs","repos_url":"https://api.github.com/users/gniezen/repos","events_url":"https://api.github.com/users/gniezen/events{/privacy}","received_events_url":"https://api.github.com/users/gniezen/received_events","type":"User","site_admin":false},"body":"- Adds support for providing changes in pump settings over time, including history of changes of bolus wizard settings changes as well as basal schedule changes.\r\n- Includes pump checklist to show what has been completed so far\r\n- Provided a CLI tool to compare JSON output from CareLink driver to that of the new Medtronic driver. This PR also includes changes that were required based on differences surfaced by comparisons using the tool.\r\n\r\nFor more details, see https://trello.com/c/qsKqeuFh and https://trello.com/c/T9jR2zH0. Replaces #336.","created_at":"2016-11-11T15:51:15Z","updated_at":"2016-11-11T23:04:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8dbf8a2317695f0d07a283c5b505d37e990e49d8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/337/comments","statuses_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/statuses/26ab79a29c1a749d1af849b1003c0cc2c47bf88a","head":{"label":"tidepool-org:gniezen/medtronic-differences","ref":"gniezen/medtronic-differences","sha":"26ab79a29c1a749d1af849b1003c0cc2c47bf88a","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":20790599,"name":"chrome-uploader","full_name":"tidepool-org/chrome-uploader","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/chrome-uploader","description":"A Chrome app for uploading diabetes device data to Tidepool's backend","fork":false,"url":"https://api.github.com/repos/tidepool-org/chrome-uploader","forks_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/forks","keys_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/teams","hooks_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/events","assignees_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/tags","blobs_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/subscription","commits_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/merges","archive_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/downloads","issues_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/deployments","created_at":"2014-06-13T03:12:49Z","updated_at":"2016-10-26T08:33:25Z","pushed_at":"2016-11-11T15:51:15Z","git_url":"git://github.com/tidepool-org/chrome-uploader.git","ssh_url":"git@github.com:tidepool-org/chrome-uploader.git","clone_url":"https://github.com/tidepool-org/chrome-uploader.git","svn_url":"https://github.com/tidepool-org/chrome-uploader","homepage":"","size":7219,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":8,"forks":25,"open_issues":8,"watchers":25,"default_branch":"master"}},"base":{"label":"tidepool-org:gniezen/medtronic","ref":"gniezen/medtronic","sha":"4df2223e60bfcb00455433d13956d25fd5ff108d","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":20790599,"name":"chrome-uploader","full_name":"tidepool-org/chrome-uploader","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/chrome-uploader","description":"A Chrome app for uploading diabetes device data to Tidepool's backend","fork":false,"url":"https://api.github.com/repos/tidepool-org/chrome-uploader","forks_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/forks","keys_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/teams","hooks_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/events","assignees_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/tags","blobs_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/subscription","commits_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/merges","archive_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/downloads","issues_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/chrome-uploader/deployments","created_at":"2014-06-13T03:12:49Z","updated_at":"2016-10-26T08:33:25Z","pushed_at":"2016-11-11T15:51:15Z","git_url":"git://github.com/tidepool-org/chrome-uploader.git","ssh_url":"git@github.com:tidepool-org/chrome-uploader.git","clone_url":"https://github.com/tidepool-org/chrome-uploader.git","svn_url":"https://github.com/tidepool-org/chrome-uploader","homepage":"","size":7219,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":8,"forks":25,"open_issues":8,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337"},"html":{"href":"https://github.com/tidepool-org/chrome-uploader/pull/337"},"issue":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/337"},"comments":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/issues/337/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/pulls/337/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/chrome-uploader/statuses/26ab79a29c1a749d1af849b1003c0cc2c47bf88a"}}}}
{"actor":{"display_login":"jebeck"}}