{"action":"closed","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/1266","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/1266/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/1266/events","html_url":"https://github.com/medic/medic-webapp/issues/1266","id":104961239,"number":1266,"title":"Submit reports related to a person or place","user":{"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},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/1%20-%20Scheduled","name":"1 - Scheduled","color":"bfd4f2"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/UI/UX","name":"UI/UX","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/34","html_url":"https://github.com/medic/medic-webapp/milestones/Iteration%202015-37:%20Contacts%20reorganization,%20contact-specific%20tasks,%20Enketo%20in%20right%20pane","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/34/labels","id":1294424,"number":34,"title":"Iteration 2015-37: Contacts reorganization, contact-specific tasks, Enketo in right pane","description":"","creator":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":30,"state":"open","created_at":"2015-09-07T23:16:28Z","updated_at":"2015-09-21T04:43:49Z","due_on":"2015-09-21T07:00:00Z","closed_at":null},"comments":5,"created_at":"2015-09-04T20:04:13Z","updated_at":"2015-09-21T04:43:49Z","closed_at":"2015-09-21T04:43:49Z","body":"We want to submit reports about a person (eg new pregnancy), or about a place (eg household survey). Currently, followup reports are based on `patient_id`, which is created with a registration form but has no connection to our new contacts.\r\n\r\nWe likely need to assign people and places a unique ID, and given that contact creation can happen offline, this ID probably needs to be a UUID. This ID could then be discreetly passed to any task and report related to the place/person, and submitted reports would then be associated to the contact.\r\n\r\nReports submitted about a person or place would then be shown on their profile, as described in #1261 and #1262."}}