{"action":"opened","issue":{"url":"https://api.github.com/repos/department-of-veterans-affairs/SCIInterim/issues/294","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/SCIInterim/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/SCIInterim/issues/294/comments","events_url":"https://api.github.com/repos/department-of-veterans-affairs/SCIInterim/issues/294/events","html_url":"https://github.com/department-of-veterans-affairs/SCIInterim/issues/294","id":100149750,"number":294,"title":"Remove EpisodeOfCareModel and stop using Multiple Table Inheritance.","user":{"login":"awong-dev","id":144579,"avatar_url":"https://avatars.githubusercontent.com/u/144579?v=3","gravatar_id":"","url":"https://api.github.com/users/awong-dev","html_url":"https://github.com/awong-dev","followers_url":"https://api.github.com/users/awong-dev/followers","following_url":"https://api.github.com/users/awong-dev/following{/other_user}","gists_url":"https://api.github.com/users/awong-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/awong-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awong-dev/subscriptions","organizations_url":"https://api.github.com/users/awong-dev/orgs","repos_url":"https://api.github.com/users/awong-dev/repos","events_url":"https://api.github.com/users/awong-dev/events{/privacy}","received_events_url":"https://api.github.com/users/awong-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T19:35:53Z","updated_at":"2015-08-10T19:35:53Z","closed_at":null,"body":"Removes the act_as gem.  Have Patient contain a has_many relation to each of the various episodes of care.\r\n\r\nInitially, MTI was used because there was an incorrect assumption that there might be common fields in the episodes of care. This is false.\r\n\r\nThe only commonality was that each had a concept of a episode of care date. Using MTI to solve that is overkill.\r\n\r\nInstead, we should just have a virtual accessor in Patient that sorts everything by date."}}