{"action":"created","comment":{"url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/comments/28892627","id":28892627,"diff_hunk":"@@ -31,9 +36,33 @@\n         return '#';\n       }\n     };\n+\n+    this.updateCategory = function(key, physicianId) {\n+      var category, physician;\n+\n+      physician = physicians.find(physicianId);\n+      if (key === 'attendingPhysicianId') {","path":"src/js/controllers/PagesController.js","position":30,"original_position":30,"commit_id":"d56ede20bd59a60beb38da6c887dff00fadc2c7a","original_commit_id":"d56ede20bd59a60beb38da6c887dff00fadc2c7a","user":{"login":"michaelwehrley","id":526136,"avatar_url":"https://avatars.githubusercontent.com/u/526136?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwehrley","html_url":"https://github.com/michaelwehrley","followers_url":"https://api.github.com/users/michaelwehrley/followers","following_url":"https://api.github.com/users/michaelwehrley/following{/other_user}","gists_url":"https://api.github.com/users/michaelwehrley/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwehrley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwehrley/subscriptions","organizations_url":"https://api.github.com/users/michaelwehrley/orgs","repos_url":"https://api.github.com/users/michaelwehrley/repos","events_url":"https://api.github.com/users/michaelwehrley/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwehrley/received_events","type":"User","site_admin":false},"body":"good idea.","created_at":"2015-04-22T16:58:39Z","updated_at":"2015-04-22T16:58:39Z","html_url":"https://github.com/cbitstech/ed_navigator_app/pull/7#discussion_r28892627","pull_request_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/comments/28892627"},"html":{"href":"https://github.com/cbitstech/ed_navigator_app/pull/7#discussion_r28892627"},"pull_request":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7","id":33824507,"html_url":"https://github.com/cbitstech/ed_navigator_app/pull/7","diff_url":"https://github.com/cbitstech/ed_navigator_app/pull/7.diff","patch_url":"https://github.com/cbitstech/ed_navigator_app/pull/7.patch","issue_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/7","number":7,"state":"open","locked":false,"title":"Allow User to Select Physicians","user":{"login":"michaelwehrley","id":526136,"avatar_url":"https://avatars.githubusercontent.com/u/526136?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwehrley","html_url":"https://github.com/michaelwehrley","followers_url":"https://api.github.com/users/michaelwehrley/followers","following_url":"https://api.github.com/users/michaelwehrley/following{/other_user}","gists_url":"https://api.github.com/users/michaelwehrley/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwehrley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwehrley/subscriptions","organizations_url":"https://api.github.com/users/michaelwehrley/orgs","repos_url":"https://api.github.com/users/michaelwehrley/repos","events_url":"https://api.github.com/users/michaelwehrley/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwehrley/received_events","type":"User","site_admin":false},"body":"Allow User to Select Physicians\r\n\r\n* Add images of physicians.\r\n* Update directive to reload every time page is routed.\r\n* Add Physician factory.\r\n* Update payload with new physician attributes.\r\n* added physician collections and views\r\n* Add Page Controller specs.\r\n* Update package.json.\r\n\r\n[Finishes: #92143176]","created_at":"2015-04-22T04:06:02Z","updated_at":"2015-04-22T16:58:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"287f18e76fb244ddb0bb5d83757e77a97fe19490","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7/commits","review_comments_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7/comments","review_comment_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/7/comments","statuses_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/statuses/d56ede20bd59a60beb38da6c887dff00fadc2c7a","head":{"label":"cbitstech:msw_92143176_physician_selection","ref":"msw_92143176_physician_selection","sha":"d56ede20bd59a60beb38da6c887dff00fadc2c7a","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":32894972,"name":"ed_navigator_app","full_name":"cbitstech/ed_navigator_app","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/ed_navigator_app","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/ed_navigator_app","forks_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/forks","keys_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/teams","hooks_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/events","assignees_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/tags","blobs_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/languages","stargazers_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/subscription","commits_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/merges","archive_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/downloads","issues_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/releases{/id}","created_at":"2015-03-25T22:36:49Z","updated_at":"2015-04-20T15:32:04Z","pushed_at":"2015-04-22T04:06:02Z","git_url":"git://github.com/cbitstech/ed_navigator_app.git","ssh_url":"git@github.com:cbitstech/ed_navigator_app.git","clone_url":"https://github.com/cbitstech/ed_navigator_app.git","svn_url":"https://github.com/cbitstech/ed_navigator_app","homepage":null,"size":396,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"cbitstech:master","ref":"master","sha":"59b84ca8bc41df2ae756cc3183458cf28a163cc7","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":32894972,"name":"ed_navigator_app","full_name":"cbitstech/ed_navigator_app","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/ed_navigator_app","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/ed_navigator_app","forks_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/forks","keys_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/teams","hooks_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/events","assignees_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/tags","blobs_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/languages","stargazers_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/subscription","commits_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/merges","archive_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/downloads","issues_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/ed_navigator_app/releases{/id}","created_at":"2015-03-25T22:36:49Z","updated_at":"2015-04-20T15:32:04Z","pushed_at":"2015-04-22T04:06:02Z","git_url":"git://github.com/cbitstech/ed_navigator_app.git","ssh_url":"git@github.com:cbitstech/ed_navigator_app.git","clone_url":"https://github.com/cbitstech/ed_navigator_app.git","svn_url":"https://github.com/cbitstech/ed_navigator_app","homepage":null,"size":396,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7"},"html":{"href":"https://github.com/cbitstech/ed_navigator_app/pull/7"},"issue":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/7"},"comments":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/cbitstech/ed_navigator_app/statuses/d56ede20bd59a60beb38da6c887dff00fadc2c7a"}}}}