{"action":"closed","issue":{"url":"https://api.github.com/repos/openhealthcare/elcid/issues/528","labels_url":"https://api.github.com/repos/openhealthcare/elcid/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/openhealthcare/elcid/issues/528/comments","events_url":"https://api.github.com/repos/openhealthcare/elcid/issues/528/events","html_url":"https://github.com/openhealthcare/elcid/issues/528","id":54702681,"number":528,"title":"All new patients appear on FDR including undischarged ones - whose Final Diagnosis can not be confirmed","user":{"login":"michaeledwardmarks","id":4578105,"avatar_url":"https://avatars.githubusercontent.com/u/4578105?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeledwardmarks","html_url":"https://github.com/michaeledwardmarks","followers_url":"https://api.github.com/users/michaeledwardmarks/followers","following_url":"https://api.github.com/users/michaeledwardmarks/following{/other_user}","gists_url":"https://api.github.com/users/michaeledwardmarks/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeledwardmarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeledwardmarks/subscriptions","organizations_url":"https://api.github.com/users/michaeledwardmarks/orgs","repos_url":"https://api.github.com/users/michaeledwardmarks/repos","events_url":"https://api.github.com/users/michaeledwardmarks/events{/privacy}","received_events_url":"https://api.github.com/users/michaeledwardmarks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openhealthcare/elcid/labels/Blocked","name":"Blocked","color":"e11d21"},{"url":"https://api.github.com/repos/openhealthcare/elcid/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/openhealthcare/elcid/labels/elCID%20Test","name":"elCID Test","color":"0052cc"},{"url":"https://api.github.com/repos/openhealthcare/elcid/labels/Priority%200","name":"Priority 0","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"davidmiller","id":17229,"avatar_url":"https://avatars.githubusercontent.com/u/17229?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmiller","html_url":"https://github.com/davidmiller","followers_url":"https://api.github.com/users/davidmiller/followers","following_url":"https://api.github.com/users/davidmiller/following{/other_user}","gists_url":"https://api.github.com/users/davidmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmiller/subscriptions","organizations_url":"https://api.github.com/users/davidmiller/orgs","repos_url":"https://api.github.com/users/davidmiller/repos","events_url":"https://api.github.com/users/davidmiller/events{/privacy}","received_events_url":"https://api.github.com/users/davidmiller/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/openhealthcare/elcid/milestones/22","html_url":"https://github.com/openhealthcare/elcid/milestones/0.5","labels_url":"https://api.github.com/repos/openhealthcare/elcid/milestones/22/labels","id":1098833,"number":22,"title":"0.5","description":null,"creator":{"login":"GabPoll","id":4605661,"avatar_url":"https://avatars.githubusercontent.com/u/4605661?v=3","gravatar_id":"","url":"https://api.github.com/users/GabPoll","html_url":"https://github.com/GabPoll","followers_url":"https://api.github.com/users/GabPoll/followers","following_url":"https://api.github.com/users/GabPoll/following{/other_user}","gists_url":"https://api.github.com/users/GabPoll/gists{/gist_id}","starred_url":"https://api.github.com/users/GabPoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabPoll/subscriptions","organizations_url":"https://api.github.com/users/GabPoll/orgs","repos_url":"https://api.github.com/users/GabPoll/repos","events_url":"https://api.github.com/users/GabPoll/events{/privacy}","received_events_url":"https://api.github.com/users/GabPoll/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":2,"state":"open","created_at":"2015-05-06T16:01:09Z","updated_at":"2015-06-15T01:54:04Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-01-18T17:10:34Z","updated_at":"2015-06-15T01:54:04Z","closed_at":"2015-06-15T01:54:04Z","body":"Two linked issues:\n\nAs soon as you Add a new patient \n- Regardless of what list you are added to all new patients appear on the FDR (including Micro, OPAT etc) immediately following adding them\n\n- For Patients appearing on FDR this way the Final Diagnosis can not be confirmed until the patient is discharged \n\n- Once you discharge a patient then you can confirm the Diagnosis. \n\nFor example\n- Add patient on Micro-Haem\n- They appear on FDR (if you don't apply a team filter)\n- You can not set discharge diagnosis\n- Go back to list and discharge patient\n- They are still on FDR (unfiltered)\n- You can now set/confirm the discharge diagnosis\n\n- [ ] Only Tropical / ID-Inpatients / Immune-Inpatients should appear on the FDR\n- [x] You should not appear on the FDR until you have been discharged"}}