{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/intervention-engine/ie/pulls/21","id":43332124,"html_url":"https://github.com/intervention-engine/ie/pull/21","diff_url":"https://github.com/intervention-engine/ie/pull/21.diff","patch_url":"https://github.com/intervention-engine/ie/pull/21.patch","issue_url":"https://api.github.com/repos/intervention-engine/ie/issues/21","number":21,"state":"closed","locked":false,"title":"Switching the risk service handler to be based on FHIR subscriptions","user":{"login":"eedrummer","id":17500,"avatar_url":"https://avatars.githubusercontent.com/u/17500?v=3","gravatar_id":"","url":"https://api.github.com/users/eedrummer","html_url":"https://github.com/eedrummer","followers_url":"https://api.github.com/users/eedrummer/followers","following_url":"https://api.github.com/users/eedrummer/following{/other_user}","gists_url":"https://api.github.com/users/eedrummer/gists{/gist_id}","starred_url":"https://api.github.com/users/eedrummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eedrummer/subscriptions","organizations_url":"https://api.github.com/users/eedrummer/orgs","repos_url":"https://api.github.com/users/eedrummer/repos","events_url":"https://api.github.com/users/eedrummer/events{/privacy}","received_events_url":"https://api.github.com/users/eedrummer/received_events","type":"User","site_admin":false},"body":"This gets rid of the hard coded risk service. When desired resources\r\nchange, the application will now loop through the Subscription\r\nresource and send a notification to the endpoint of anyone registered\r\nas a \"rest-hook\"","created_at":"2015-08-25T20:25:25Z","updated_at":"2015-09-01T18:10:55Z","closed_at":"2015-09-01T18:10:54Z","merged_at":"2015-09-01T18:10:54Z","merge_commit_sha":"e61f1186bd027f4c2eccefbfaceff3c11af50702","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intervention-engine/ie/pulls/21/commits","review_comments_url":"https://api.github.com/repos/intervention-engine/ie/pulls/21/comments","review_comment_url":"https://api.github.com/repos/intervention-engine/ie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intervention-engine/ie/issues/21/comments","statuses_url":"https://api.github.com/repos/intervention-engine/ie/statuses/bb1dde757f5ca6c8fe491bd5949ea32ca8c0bec9","head":{"label":"intervention-engine:subscription","ref":"subscription","sha":"bb1dde757f5ca6c8fe491bd5949ea32ca8c0bec9","user":{"login":"intervention-engine","id":9937125,"avatar_url":"https://avatars.githubusercontent.com/u/9937125?v=3","gravatar_id":"","url":"https://api.github.com/users/intervention-engine","html_url":"https://github.com/intervention-engine","followers_url":"https://api.github.com/users/intervention-engine/followers","following_url":"https://api.github.com/users/intervention-engine/following{/other_user}","gists_url":"https://api.github.com/users/intervention-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/intervention-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intervention-engine/subscriptions","organizations_url":"https://api.github.com/users/intervention-engine/orgs","repos_url":"https://api.github.com/users/intervention-engine/repos","events_url":"https://api.github.com/users/intervention-engine/events{/privacy}","received_events_url":"https://api.github.com/users/intervention-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":28101159,"name":"ie","full_name":"intervention-engine/ie","owner":{"login":"intervention-engine","id":9937125,"avatar_url":"https://avatars.githubusercontent.com/u/9937125?v=3","gravatar_id":"","url":"https://api.github.com/users/intervention-engine","html_url":"https://github.com/intervention-engine","followers_url":"https://api.github.com/users/intervention-engine/followers","following_url":"https://api.github.com/users/intervention-engine/following{/other_user}","gists_url":"https://api.github.com/users/intervention-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/intervention-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intervention-engine/subscriptions","organizations_url":"https://api.github.com/users/intervention-engine/orgs","repos_url":"https://api.github.com/users/intervention-engine/repos","events_url":"https://api.github.com/users/intervention-engine/events{/privacy}","received_events_url":"https://api.github.com/users/intervention-engine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intervention-engine/ie","description":"Intervention Engine specific GoLang software.","fork":false,"url":"https://api.github.com/repos/intervention-engine/ie","forks_url":"https://api.github.com/repos/intervention-engine/ie/forks","keys_url":"https://api.github.com/repos/intervention-engine/ie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intervention-engine/ie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intervention-engine/ie/teams","hooks_url":"https://api.github.com/repos/intervention-engine/ie/hooks","issue_events_url":"https://api.github.com/repos/intervention-engine/ie/issues/events{/number}","events_url":"https://api.github.com/repos/intervention-engine/ie/events","assignees_url":"https://api.github.com/repos/intervention-engine/ie/assignees{/user}","branches_url":"https://api.github.com/repos/intervention-engine/ie/branches{/branch}","tags_url":"https://api.github.com/repos/intervention-engine/ie/tags","blobs_url":"https://api.github.com/repos/intervention-engine/ie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intervention-engine/ie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intervention-engine/ie/git/refs{/sha}","trees_url":"https://api.github.com/repos/intervention-engine/ie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intervention-engine/ie/statuses/{sha}","languages_url":"https://api.github.com/repos/intervention-engine/ie/languages","stargazers_url":"https://api.github.com/repos/intervention-engine/ie/stargazers","contributors_url":"https://api.github.com/repos/intervention-engine/ie/contributors","subscribers_url":"https://api.github.com/repos/intervention-engine/ie/subscribers","subscription_url":"https://api.github.com/repos/intervention-engine/ie/subscription","commits_url":"https://api.github.com/repos/intervention-engine/ie/commits{/sha}","git_commits_url":"https://api.github.com/repos/intervention-engine/ie/git/commits{/sha}","comments_url":"https://api.github.com/repos/intervention-engine/ie/comments{/number}","issue_comment_url":"https://api.github.com/repos/intervention-engine/ie/issues/comments{/number}","contents_url":"https://api.github.com/repos/intervention-engine/ie/contents/{+path}","compare_url":"https://api.github.com/repos/intervention-engine/ie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intervention-engine/ie/merges","archive_url":"https://api.github.com/repos/intervention-engine/ie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intervention-engine/ie/downloads","issues_url":"https://api.github.com/repos/intervention-engine/ie/issues{/number}","pulls_url":"https://api.github.com/repos/intervention-engine/ie/pulls{/number}","milestones_url":"https://api.github.com/repos/intervention-engine/ie/milestones{/number}","notifications_url":"https://api.github.com/repos/intervention-engine/ie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intervention-engine/ie/labels{/name}","releases_url":"https://api.github.com/repos/intervention-engine/ie/releases{/id}","created_at":"2014-12-16T18:50:13Z","updated_at":"2015-05-13T13:28:13Z","pushed_at":"2015-09-01T18:10:55Z","git_url":"git://github.com/intervention-engine/ie.git","ssh_url":"git@github.com:intervention-engine/ie.git","clone_url":"https://github.com/intervention-engine/ie.git","svn_url":"https://github.com/intervention-engine/ie","homepage":null,"size":697,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"intervention-engine:master","ref":"master","sha":"ab819a51ac76b9c79d0537e5f64a5c756b6113e1","user":{"login":"intervention-engine","id":9937125,"avatar_url":"https://avatars.githubusercontent.com/u/9937125?v=3","gravatar_id":"","url":"https://api.github.com/users/intervention-engine","html_url":"https://github.com/intervention-engine","followers_url":"https://api.github.com/users/intervention-engine/followers","following_url":"https://api.github.com/users/intervention-engine/following{/other_user}","gists_url":"https://api.github.com/users/intervention-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/intervention-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intervention-engine/subscriptions","organizations_url":"https://api.github.com/users/intervention-engine/orgs","repos_url":"https://api.github.com/users/intervention-engine/repos","events_url":"https://api.github.com/users/intervention-engine/events{/privacy}","received_events_url":"https://api.github.com/users/intervention-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":28101159,"name":"ie","full_name":"intervention-engine/ie","owner":{"login":"intervention-engine","id":9937125,"avatar_url":"https://avatars.githubusercontent.com/u/9937125?v=3","gravatar_id":"","url":"https://api.github.com/users/intervention-engine","html_url":"https://github.com/intervention-engine","followers_url":"https://api.github.com/users/intervention-engine/followers","following_url":"https://api.github.com/users/intervention-engine/following{/other_user}","gists_url":"https://api.github.com/users/intervention-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/intervention-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intervention-engine/subscriptions","organizations_url":"https://api.github.com/users/intervention-engine/orgs","repos_url":"https://api.github.com/users/intervention-engine/repos","events_url":"https://api.github.com/users/intervention-engine/events{/privacy}","received_events_url":"https://api.github.com/users/intervention-engine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intervention-engine/ie","description":"Intervention Engine specific GoLang software.","fork":false,"url":"https://api.github.com/repos/intervention-engine/ie","forks_url":"https://api.github.com/repos/intervention-engine/ie/forks","keys_url":"https://api.github.com/repos/intervention-engine/ie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intervention-engine/ie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intervention-engine/ie/teams","hooks_url":"https://api.github.com/repos/intervention-engine/ie/hooks","issue_events_url":"https://api.github.com/repos/intervention-engine/ie/issues/events{/number}","events_url":"https://api.github.com/repos/intervention-engine/ie/events","assignees_url":"https://api.github.com/repos/intervention-engine/ie/assignees{/user}","branches_url":"https://api.github.com/repos/intervention-engine/ie/branches{/branch}","tags_url":"https://api.github.com/repos/intervention-engine/ie/tags","blobs_url":"https://api.github.com/repos/intervention-engine/ie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intervention-engine/ie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intervention-engine/ie/git/refs{/sha}","trees_url":"https://api.github.com/repos/intervention-engine/ie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intervention-engine/ie/statuses/{sha}","languages_url":"https://api.github.com/repos/intervention-engine/ie/languages","stargazers_url":"https://api.github.com/repos/intervention-engine/ie/stargazers","contributors_url":"https://api.github.com/repos/intervention-engine/ie/contributors","subscribers_url":"https://api.github.com/repos/intervention-engine/ie/subscribers","subscription_url":"https://api.github.com/repos/intervention-engine/ie/subscription","commits_url":"https://api.github.com/repos/intervention-engine/ie/commits{/sha}","git_commits_url":"https://api.github.com/repos/intervention-engine/ie/git/commits{/sha}","comments_url":"https://api.github.com/repos/intervention-engine/ie/comments{/number}","issue_comment_url":"https://api.github.com/repos/intervention-engine/ie/issues/comments{/number}","contents_url":"https://api.github.com/repos/intervention-engine/ie/contents/{+path}","compare_url":"https://api.github.com/repos/intervention-engine/ie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intervention-engine/ie/merges","archive_url":"https://api.github.com/repos/intervention-engine/ie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intervention-engine/ie/downloads","issues_url":"https://api.github.com/repos/intervention-engine/ie/issues{/number}","pulls_url":"https://api.github.com/repos/intervention-engine/ie/pulls{/number}","milestones_url":"https://api.github.com/repos/intervention-engine/ie/milestones{/number}","notifications_url":"https://api.github.com/repos/intervention-engine/ie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intervention-engine/ie/labels{/name}","releases_url":"https://api.github.com/repos/intervention-engine/ie/releases{/id}","created_at":"2014-12-16T18:50:13Z","updated_at":"2015-05-13T13:28:13Z","pushed_at":"2015-09-01T18:10:55Z","git_url":"git://github.com/intervention-engine/ie.git","ssh_url":"git@github.com:intervention-engine/ie.git","clone_url":"https://github.com/intervention-engine/ie.git","svn_url":"https://github.com/intervention-engine/ie","homepage":null,"size":697,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intervention-engine/ie/pulls/21"},"html":{"href":"https://github.com/intervention-engine/ie/pull/21"},"issue":{"href":"https://api.github.com/repos/intervention-engine/ie/issues/21"},"comments":{"href":"https://api.github.com/repos/intervention-engine/ie/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/intervention-engine/ie/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/intervention-engine/ie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intervention-engine/ie/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/intervention-engine/ie/statuses/bb1dde757f5ca6c8fe491bd5949ea32ca8c0bec9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cmoesel","id":2278253,"avatar_url":"https://avatars.githubusercontent.com/u/2278253?v=3","gravatar_id":"","url":"https://api.github.com/users/cmoesel","html_url":"https://github.com/cmoesel","followers_url":"https://api.github.com/users/cmoesel/followers","following_url":"https://api.github.com/users/cmoesel/following{/other_user}","gists_url":"https://api.github.com/users/cmoesel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmoesel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmoesel/subscriptions","organizations_url":"https://api.github.com/users/cmoesel/orgs","repos_url":"https://api.github.com/users/cmoesel/repos","events_url":"https://api.github.com/users/cmoesel/events{/privacy}","received_events_url":"https://api.github.com/users/cmoesel/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":221,"deletions":108,"changed_files":7}}