{"action":"closed","issue":{"url":"https://api.github.com/repos/phiaseitz/dataviz-final-project/issues/15","labels_url":"https://api.github.com/repos/phiaseitz/dataviz-final-project/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/phiaseitz/dataviz-final-project/issues/15/comments","events_url":"https://api.github.com/repos/phiaseitz/dataviz-final-project/issues/15/events","html_url":"https://github.com/phiaseitz/dataviz-final-project/issues/15","id":121870528,"number":15,"title":"Rewrite Criteria Data Structure","user":{"login":"ManickYoj","id":2252820,"avatar_url":"https://avatars.githubusercontent.com/u/2252820?v=3","gravatar_id":"","url":"https://api.github.com/users/ManickYoj","html_url":"https://github.com/ManickYoj","followers_url":"https://api.github.com/users/ManickYoj/followers","following_url":"https://api.github.com/users/ManickYoj/following{/other_user}","gists_url":"https://api.github.com/users/ManickYoj/gists{/gist_id}","starred_url":"https://api.github.com/users/ManickYoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManickYoj/subscriptions","organizations_url":"https://api.github.com/users/ManickYoj/orgs","repos_url":"https://api.github.com/users/ManickYoj/repos","events_url":"https://api.github.com/users/ManickYoj/events{/privacy}","received_events_url":"https://api.github.com/users/ManickYoj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phiaseitz/dataviz-final-project/labels/Blocking","name":"Blocking","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"ManickYoj","id":2252820,"avatar_url":"https://avatars.githubusercontent.com/u/2252820?v=3","gravatar_id":"","url":"https://api.github.com/users/ManickYoj","html_url":"https://github.com/ManickYoj","followers_url":"https://api.github.com/users/ManickYoj/followers","following_url":"https://api.github.com/users/ManickYoj/following{/other_user}","gists_url":"https://api.github.com/users/ManickYoj/gists{/gist_id}","starred_url":"https://api.github.com/users/ManickYoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManickYoj/subscriptions","organizations_url":"https://api.github.com/users/ManickYoj/orgs","repos_url":"https://api.github.com/users/ManickYoj/repos","events_url":"https://api.github.com/users/ManickYoj/events{/privacy}","received_events_url":"https://api.github.com/users/ManickYoj/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-12T18:23:37Z","updated_at":"2015-12-15T01:33:03Z","closed_at":"2015-12-15T01:33:03Z","body":"A criterion is the way we evaluate a hospital. High values are ALWAYS better.\r\n\r\nClass Criterion with interface:\r\n```\r\nclass Criteron {\r\n  get name()  // Returns a String, human readable name\r\n  get weight() // Returns a Number, weighting of this criterion\r\n  get normalizedValue() // Returns a Number, the value for display, 0-1\r\n  get components() // Returns an Array, any Criteria that are components of this Criterion\r\n}\r\n```\r\n\r\nThere will be three tiers of Criteria:\r\nTier 1: Category (EG. Quality)\r\nTier 2: Condition (EG. Heart Failure Care)\r\nTier 3: (Optional) Metrics for a tier 2 criterion (EG. Readmission and Mortality)"}}