{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2500","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2500/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2500/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2500/events","html_url":"https://github.com/medic/medic-webapp/issues/2500","id":165297448,"number":2500,"title":"Decide how \"send to everyone\" is supposed to work","user":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/v0.4%20Compatibility","name":"v0.4 Compatibility","color":"bfd4f2"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/v0.4%20features%20in%202.x","name":"v0.4 features in 2.x","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"abbyad","id":789512,"avatar_url":"https://avatars.githubusercontent.com/u/789512?v=3","gravatar_id":"","url":"https://api.github.com/users/abbyad","html_url":"https://github.com/abbyad","followers_url":"https://api.github.com/users/abbyad/followers","following_url":"https://api.github.com/users/abbyad/following{/other_user}","gists_url":"https://api.github.com/users/abbyad/gists{/gist_id}","starred_url":"https://api.github.com/users/abbyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbyad/subscriptions","organizations_url":"https://api.github.com/users/abbyad/orgs","repos_url":"https://api.github.com/users/abbyad/repos","events_url":"https://api.github.com/users/abbyad/events{/privacy}","received_events_url":"https://api.github.com/users/abbyad/received_events","type":"User","site_admin":false},"assignees":[{"login":"abbyad","id":789512,"avatar_url":"https://avatars.githubusercontent.com/u/789512?v=3","gravatar_id":"","url":"https://api.github.com/users/abbyad","html_url":"https://github.com/abbyad","followers_url":"https://api.github.com/users/abbyad/followers","following_url":"https://api.github.com/users/abbyad/following{/other_user}","gists_url":"https://api.github.com/users/abbyad/gists{/gist_id}","starred_url":"https://api.github.com/users/abbyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbyad/subscriptions","organizations_url":"https://api.github.com/users/abbyad/orgs","repos_url":"https://api.github.com/users/abbyad/repos","events_url":"https://api.github.com/users/abbyad/events{/privacy}","received_events_url":"https://api.github.com/users/abbyad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-07-13T11:21:34Z","updated_at":"2016-07-13T21:28:37Z","closed_at":null,"body":"In 0.4 you could send an SMS to \"everyone\", where everyone meant all CHWs under the particular thing you were referencing (eg a district).\r\n\r\nMy question to someone, maybe @abbyad, is: how should we implement this in 2.x? Should we basically do the same thing 0.4 does, except explicitly filter out contacts that we know are patients are not CHWs? Do we actually know which is which (ie can we differentiate between a patient and a CHW in a useful way)?"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/232492341","html_url":"https://github.com/medic/medic-webapp/issues/2500#issuecomment-232492341","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/2500","id":232492341,"user":{"login":"diannakane","id":1675870,"avatar_url":"https://avatars.githubusercontent.com/u/1675870?v=3","gravatar_id":"","url":"https://api.github.com/users/diannakane","html_url":"https://github.com/diannakane","followers_url":"https://api.github.com/users/diannakane/followers","following_url":"https://api.github.com/users/diannakane/following{/other_user}","gists_url":"https://api.github.com/users/diannakane/gists{/gist_id}","starred_url":"https://api.github.com/users/diannakane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diannakane/subscriptions","organizations_url":"https://api.github.com/users/diannakane/orgs","repos_url":"https://api.github.com/users/diannakane/repos","events_url":"https://api.github.com/users/diannakane/events{/privacy}","received_events_url":"https://api.github.com/users/diannakane/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T21:28:37Z","updated_at":"2016-07-13T21:28:37Z","body":"The piece I was addressing was Stefan's comment about distinguishing\nbetween patients and CHWs. It's necessary to figure that out for mobile\nprojects on v2, but that's not the explicit goal of this milestone so I\ndidn't know if we should address it here or elsewhere.\n\nIn our mockups for updated Contacts, we include a form question that asks\nwhat \"type\" of person this is to distinguish between staff, e.g. CHW,\npharmacist, nurse, etc. Could that be applied to patients and used in\ndistinguishing them?\n\nCan we restrict \"send to everyone\" to certain place levels, \"only this\nplace\" or \"all places of this type\" (such as clinics)? If so, I can work on\ndefining the options and language for this.\n\n\nOn Wed, Jul 13, 2016 at 2:15 PM, Stefan du Fresne <notifications@github.com>\nwrote:\n\n> Talking to @garethbowen <https://github.com/garethbowen>, it sounds like\n> we may need some kind of \"mode\" flag:\n>\n>    - You're in 0.4 mode, we support sending SMS to everyone below a\n>    certain place\n>    - You're in 2.x mode, we no longer support this (as it would send SMS\n>    to patients).\n>\n> *(FWIW Gareth also believes there is no way to tell a CHW from a Patient\n> right now)*\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/medic/medic-webapp/issues/2500#issuecomment-232489148>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/ABmSXrfanku79mVKxE1cqR84tA_V_Sjcks5qVVWDgaJpZM4JLUPm>\n> .\n>\n\n\n\n-- \nP.S. Join our community. Sign up for Medic Mobile's newsletter\n<http://medicmobile.us8.list-manage.com/track/click?u=e5b07d2afb4b273eaff8e3c53&id=a3129fc799&e=c511575255>\n.\n\n\nDianna Kane | Senior Designer\nMedic Mobile <http://www.medicmobile.org/> +1 216 262 2204\n@*M*edic <http://www.twitter.com/medic> Facebook\n<https://www.facebook.com/MedicMobile> @diannakane\n"}}
{"actor":{"display_login":"diannakane"}}