{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/1211","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/1211/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/1211/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/1211/events","html_url":"https://github.com/medic/medic-webapp/issues/1211","id":103174990,"number":1211,"title":"Render summaries/read-only views for Enketo reports","user":{"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},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/2%20-%20Active%20Work","name":"2 - Active Work","color":"bfd4f2"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/medic/medic-webapp/labels/UI/UX","name":"UI/UX","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/38","html_url":"https://github.com/medic/medic-webapp/milestones/Iteration%202015-43:%20Field%20Test%20Preparation","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/38/labels","id":1365219,"number":38,"title":"Iteration 2015-43: Field Test Preparation","description":"This is the final iteration before our pre-field-test feature freeze.","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":23,"closed_issues":2,"state":"open","created_at":"2015-10-20T01:17:20Z","updated_at":"2015-10-20T14:11:16Z","due_on":"2015-11-02T08:00:00Z","closed_at":null},"comments":6,"created_at":"2015-08-26T05:01:06Z","updated_at":"2015-10-20T14:19:00Z","closed_at":null,"body":"Currently reports submitted via enketo look something like this.\r\n\r\n![enketo-report](https://cloud.githubusercontent.com/assets/2064938/9485861/98660b1e-4c13-11e5-8e8e-6cc09d0d5ccf.png)\r\n\r\nThe problem here is that the code that works out which fields to list is looking up the form definition but it looks up the JSON form definition with the same code as the enketo form definition. We need to update the code to be able to find enketo form definitions so we can render the submitted field values."},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/149581805","html_url":"https://github.com/medic/medic-webapp/issues/1211#issuecomment-149581805","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/1211","id":149581805,"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},"created_at":"2015-10-20T14:19:00Z","updated_at":"2015-10-20T14:19:00Z","body":"As part of this issue we want to show a subset of the XML fields so that the rendered report is a summary, not a list of all the fields. This is important because most of our forms include many calculate fields that we do not want to show.\r\n\r\nIn a call last week we had discussed using an `outputs` group in the model for this purpose; all fields in the `outputs` group would be displayed when rendering the form."}}