{"action":"opened","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/1310","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/1310/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/1310/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/1310/events","html_url":"https://github.com/medic/medic-webapp/issues/1310","id":107609477,"number":1310,"title":"Access person/place profile's fields from within a report","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/0%20-%20Backlog","name":"0 - Backlog","color":"d4c5f9"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Feature%20Request","name":"Feature Request","color":"6fc5af"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/33","html_url":"https://github.com/medic/medic-webapp/milestones/Mobile%20App%20Field%20Test","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/33/labels","id":1271874,"number":33,"title":"Mobile App Field Test","description":"","creator":{"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},"open_issues":1,"closed_issues":5,"state":"closed","created_at":"2015-08-25T16:40:34Z","updated_at":"2015-09-21T22:15:16Z","due_on":"2015-09-25T04:00:00Z","closed_at":"2015-09-07T23:26:49Z"},"comments":0,"created_at":"2015-09-21T22:15:16Z","updated_at":"2015-09-21T22:15:16Z","closed_at":null,"body":"When starting a new form about a person or place we need to access a variety of fields from their profile. This is used for instance to prepopulate an ID field so that the form is attached to the appropriate person. From a Task the prepopulation is possible using the task rule. We need a way to do this for forms initiated from the person/place's profile page. \r\n\r\nCurrently the `place_id`/`patient_id` can be passed to a report. We also want to use other fields such as Name, DOB, LMP, EDD, or any field configured for that project's profiles, so it makes sense to consider the work done in #1260 before tackling this.\r\n\r\nThis is a followup to #1060 and #1185."}}