{"action":"opened","number":539,"pull_request":{"url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/539","id":75881039,"html_url":"https://github.com/HospitalRun/hospitalrun-frontend/pull/539","diff_url":"https://github.com/HospitalRun/hospitalrun-frontend/pull/539.diff","patch_url":"https://github.com/HospitalRun/hospitalrun-frontend/pull/539.patch","issue_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/539","number":539,"state":"open","locked":false,"title":"added feature #460 option to create a new visit on the creation of a …","user":{"login":"omoabobade","id":2308151,"avatar_url":"https://avatars.githubusercontent.com/u/2308151?v=3","gravatar_id":"","url":"https://api.github.com/users/omoabobade","html_url":"https://github.com/omoabobade","followers_url":"https://api.github.com/users/omoabobade/followers","following_url":"https://api.github.com/users/omoabobade/following{/other_user}","gists_url":"https://api.github.com/users/omoabobade/gists{/gist_id}","starred_url":"https://api.github.com/users/omoabobade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omoabobade/subscriptions","organizations_url":"https://api.github.com/users/omoabobade/orgs","repos_url":"https://api.github.com/users/omoabobade/repos","events_url":"https://api.github.com/users/omoabobade/events{/privacy}","received_events_url":"https://api.github.com/users/omoabobade/received_events","type":"User","site_admin":false},"body":"Fixes #46 .\r\n\r\n**Changes proposed in this pull request:**\r\n- added a checkbox with property \"createOutpatientVisit\" to the add patient form\r\n- the checkbox is uncheck by default\r\n- added property \"createOutpatientVisit\" in the patient model\r\n- added a check to see if checkbox is checked then add new visit and redirect to new visit page\r\n\r\n\r\n*Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Thanks! (you can delete this text)*\r\n\r\ncc @HospitalRun/core-maintainers\r\n\r\n…new Patient","created_at":"2016-06-30T20:00:18Z","updated_at":"2016-06-30T20:00:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/539/commits","review_comments_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/539/comments","review_comment_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/539/comments","statuses_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/statuses/1b3593478c92c62edd46ee0e71f735f8d43dc381","head":{"label":"omoabobade:feature-#460","ref":"feature-#460","sha":"1b3593478c92c62edd46ee0e71f735f8d43dc381","user":{"login":"omoabobade","id":2308151,"avatar_url":"https://avatars.githubusercontent.com/u/2308151?v=3","gravatar_id":"","url":"https://api.github.com/users/omoabobade","html_url":"https://github.com/omoabobade","followers_url":"https://api.github.com/users/omoabobade/followers","following_url":"https://api.github.com/users/omoabobade/following{/other_user}","gists_url":"https://api.github.com/users/omoabobade/gists{/gist_id}","starred_url":"https://api.github.com/users/omoabobade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omoabobade/subscriptions","organizations_url":"https://api.github.com/users/omoabobade/orgs","repos_url":"https://api.github.com/users/omoabobade/repos","events_url":"https://api.github.com/users/omoabobade/events{/privacy}","received_events_url":"https://api.github.com/users/omoabobade/received_events","type":"User","site_admin":false},"repo":{"id":59893370,"name":"hospitalrun-frontend","full_name":"omoabobade/hospitalrun-frontend","owner":{"login":"omoabobade","id":2308151,"avatar_url":"https://avatars.githubusercontent.com/u/2308151?v=3","gravatar_id":"","url":"https://api.github.com/users/omoabobade","html_url":"https://github.com/omoabobade","followers_url":"https://api.github.com/users/omoabobade/followers","following_url":"https://api.github.com/users/omoabobade/following{/other_user}","gists_url":"https://api.github.com/users/omoabobade/gists{/gist_id}","starred_url":"https://api.github.com/users/omoabobade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omoabobade/subscriptions","organizations_url":"https://api.github.com/users/omoabobade/orgs","repos_url":"https://api.github.com/users/omoabobade/repos","events_url":"https://api.github.com/users/omoabobade/events{/privacy}","received_events_url":"https://api.github.com/users/omoabobade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omoabobade/hospitalrun-frontend","description":"Ember front end for HospitalRun","fork":true,"url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend","forks_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/forks","keys_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/teams","hooks_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/hooks","issue_events_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/events","assignees_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/tags","blobs_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/languages","stargazers_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/stargazers","contributors_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/contributors","subscribers_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/subscribers","subscription_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/subscription","commits_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/merges","archive_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/downloads","issues_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/labels{/name}","releases_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/omoabobade/hospitalrun-frontend/deployments","created_at":"2016-05-28T12:23:35Z","updated_at":"2016-05-28T12:23:37Z","pushed_at":"2016-06-30T19:47:19Z","git_url":"git://github.com/omoabobade/hospitalrun-frontend.git","ssh_url":"git@github.com:omoabobade/hospitalrun-frontend.git","clone_url":"https://github.com/omoabobade/hospitalrun-frontend.git","svn_url":"https://github.com/omoabobade/hospitalrun-frontend","homepage":"http://hospitalrun.io/","size":93934,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HospitalRun:master","ref":"master","sha":"a34991f8b874cf9066de3c9380fbca85b1fa466a","user":{"login":"HospitalRun","id":6797041,"avatar_url":"https://avatars.githubusercontent.com/u/6797041?v=3","gravatar_id":"","url":"https://api.github.com/users/HospitalRun","html_url":"https://github.com/HospitalRun","followers_url":"https://api.github.com/users/HospitalRun/followers","following_url":"https://api.github.com/users/HospitalRun/following{/other_user}","gists_url":"https://api.github.com/users/HospitalRun/gists{/gist_id}","starred_url":"https://api.github.com/users/HospitalRun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HospitalRun/subscriptions","organizations_url":"https://api.github.com/users/HospitalRun/orgs","repos_url":"https://api.github.com/users/HospitalRun/repos","events_url":"https://api.github.com/users/HospitalRun/events{/privacy}","received_events_url":"https://api.github.com/users/HospitalRun/received_events","type":"Organization","site_admin":false},"repo":{"id":18224920,"name":"hospitalrun-frontend","full_name":"HospitalRun/hospitalrun-frontend","owner":{"login":"HospitalRun","id":6797041,"avatar_url":"https://avatars.githubusercontent.com/u/6797041?v=3","gravatar_id":"","url":"https://api.github.com/users/HospitalRun","html_url":"https://github.com/HospitalRun","followers_url":"https://api.github.com/users/HospitalRun/followers","following_url":"https://api.github.com/users/HospitalRun/following{/other_user}","gists_url":"https://api.github.com/users/HospitalRun/gists{/gist_id}","starred_url":"https://api.github.com/users/HospitalRun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HospitalRun/subscriptions","organizations_url":"https://api.github.com/users/HospitalRun/orgs","repos_url":"https://api.github.com/users/HospitalRun/repos","events_url":"https://api.github.com/users/HospitalRun/events{/privacy}","received_events_url":"https://api.github.com/users/HospitalRun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HospitalRun/hospitalrun-frontend","description":"Ember front end for HospitalRun","fork":false,"url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend","forks_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/forks","keys_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/teams","hooks_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/hooks","issue_events_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/events","assignees_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/tags","blobs_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/languages","stargazers_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/stargazers","contributors_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/contributors","subscribers_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/subscribers","subscription_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/subscription","commits_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/merges","archive_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/downloads","issues_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/labels{/name}","releases_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/deployments","created_at":"2014-03-28T20:04:58Z","updated_at":"2016-06-30T18:40:44Z","pushed_at":"2016-06-30T11:04:09Z","git_url":"git://github.com/HospitalRun/hospitalrun-frontend.git","ssh_url":"git@github.com:HospitalRun/hospitalrun-frontend.git","clone_url":"https://github.com/HospitalRun/hospitalrun-frontend.git","svn_url":"https://github.com/HospitalRun/hospitalrun-frontend","homepage":"http://hospitalrun.io/","size":94306,"stargazers_count":1729,"watchers_count":1729,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":353,"mirror_url":null,"open_issues_count":128,"forks":353,"open_issues":128,"watchers":1729,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/539"},"html":{"href":"https://github.com/HospitalRun/hospitalrun-frontend/pull/539"},"issue":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/539"},"comments":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/issues/539/comments"},"review_comments":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/539/comments"},"review_comment":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/pulls/539/commits"},"statuses":{"href":"https://api.github.com/repos/HospitalRun/hospitalrun-frontend/statuses/1b3593478c92c62edd46ee0e71f735f8d43dc381"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"omoabobade"}}