{"action":"created","issue":{"url":"https://api.github.com/repos/openaps/oref0/issues/419","repository_url":"https://api.github.com/repos/openaps/oref0","labels_url":"https://api.github.com/repos/openaps/oref0/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/openaps/oref0/issues/419/comments","events_url":"https://api.github.com/repos/openaps/oref0/issues/419/events","html_url":"https://github.com/openaps/oref0/issues/419","id":213496519,"number":419,"title":"Ignore bolus wizard carb entry without a bolus","user":{"login":"scottleibrand","id":6982790,"avatar_url":"https://avatars2.githubusercontent.com/u/6982790?v=3","gravatar_id":"","url":"https://api.github.com/users/scottleibrand","html_url":"https://github.com/scottleibrand","followers_url":"https://api.github.com/users/scottleibrand/followers","following_url":"https://api.github.com/users/scottleibrand/following{/other_user}","gists_url":"https://api.github.com/users/scottleibrand/gists{/gist_id}","starred_url":"https://api.github.com/users/scottleibrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottleibrand/subscriptions","organizations_url":"https://api.github.com/users/scottleibrand/orgs","repos_url":"https://api.github.com/users/scottleibrand/repos","events_url":"https://api.github.com/users/scottleibrand/events{/privacy}","received_events_url":"https://api.github.com/users/scottleibrand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-11T02:00:37Z","updated_at":"2017-06-28T19:07:25Z","closed_at":null,"body":"Per https://github.com/openaps/oref0/issues/387, many people are seeing double carb entries as a result of canceling the bolus wizard after entering carbs, taking too long to complete the bolus wizard, or similar. This presents a safety issue with AMA, as it may high temp too aggressively if COB is too high. In order to operate safely in all situations, oref0 should ignore any carbs entered without a corresponding bolus. This will require that any carb treatments entered on the pump be accompanied by at least a minimum-sized bolus (0.025U or 0.1U depending on the pump) to be considered by AMA. Carb-only treatments could still be entered via the NS API. "},"comment":{"url":"https://api.github.com/repos/openaps/oref0/issues/comments/311757580","html_url":"https://github.com/openaps/oref0/issues/419#issuecomment-311757580","issue_url":"https://api.github.com/repos/openaps/oref0/issues/419","id":311757580,"user":{"login":"scottleibrand","id":6982790,"avatar_url":"https://avatars2.githubusercontent.com/u/6982790?v=3","gravatar_id":"","url":"https://api.github.com/users/scottleibrand","html_url":"https://github.com/scottleibrand","followers_url":"https://api.github.com/users/scottleibrand/followers","following_url":"https://api.github.com/users/scottleibrand/following{/other_user}","gists_url":"https://api.github.com/users/scottleibrand/gists{/gist_id}","starred_url":"https://api.github.com/users/scottleibrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottleibrand/subscriptions","organizations_url":"https://api.github.com/users/scottleibrand/orgs","repos_url":"https://api.github.com/users/scottleibrand/repos","events_url":"https://api.github.com/users/scottleibrand/events{/privacy}","received_events_url":"https://api.github.com/users/scottleibrand/received_events","type":"User","site_admin":false},"created_at":"2017-06-28T19:07:25Z","updated_at":"2017-06-28T19:07:25Z","body":"It looks like this would probably be best done in https://github.com/openaps/oref0/blob/dev/lib/bolus.js once we get our heads around that code..."}}
{"actor":{"display_login":"scottleibrand"}}