{"action":"closed","number":31,"pull_request":{"url":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/31","id":51790528,"html_url":"https://github.com/AMPATH/etl-rest-server/pull/31","diff_url":"https://github.com/AMPATH/etl-rest-server/pull/31.diff","patch_url":"https://github.com/AMPATH/etl-rest-server/pull/31.patch","issue_url":"https://api.github.com/repos/AMPATH/etl-rest-server/issues/31","number":31,"state":"closed","locked":false,"title":"AA-337:Adding gender,","user":{"login":"kimaina","id":10988005,"avatar_url":"https://avatars.githubusercontent.com/u/10988005?v=3","gravatar_id":"","url":"https://api.github.com/users/kimaina","html_url":"https://github.com/kimaina","followers_url":"https://api.github.com/users/kimaina/followers","following_url":"https://api.github.com/users/kimaina/following{/other_user}","gists_url":"https://api.github.com/users/kimaina/gists{/gist_id}","starred_url":"https://api.github.com/users/kimaina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimaina/subscriptions","organizations_url":"https://api.github.com/users/kimaina/orgs","repos_url":"https://api.github.com/users/kimaina/repos","events_url":"https://api.github.com/users/kimaina/events{/privacy}","received_events_url":"https://api.github.com/users/kimaina/received_events","type":"User","site_admin":false},"body":"age,\r\nday(encounter_datetime) as day,\r\nweek(encounter_datetime) as week,\r\nmonth(encounter_datetime) as month,\r\nyear(encounter_datetime) as year,\r\ncount(distinct if(arv_start_date is not null,person_id,null) as on_arvs","created_at":"2015-11-25T12:54:34Z","updated_at":"2015-11-26T15:14:00Z","closed_at":"2015-11-26T15:14:00Z","merged_at":"2015-11-26T15:14:00Z","merge_commit_sha":"cdff3228276c31df98e4cd5e961ddd77e6df0230","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/31/commits","review_comments_url":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/31/comments","review_comment_url":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AMPATH/etl-rest-server/issues/31/comments","statuses_url":"https://api.github.com/repos/AMPATH/etl-rest-server/statuses/7a6d9d7835fa6463286d7a1283494a936cc8633d","head":{"label":"kimaina:AA-337","ref":"AA-337","sha":"7a6d9d7835fa6463286d7a1283494a936cc8633d","user":{"login":"kimaina","id":10988005,"avatar_url":"https://avatars.githubusercontent.com/u/10988005?v=3","gravatar_id":"","url":"https://api.github.com/users/kimaina","html_url":"https://github.com/kimaina","followers_url":"https://api.github.com/users/kimaina/followers","following_url":"https://api.github.com/users/kimaina/following{/other_user}","gists_url":"https://api.github.com/users/kimaina/gists{/gist_id}","starred_url":"https://api.github.com/users/kimaina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimaina/subscriptions","organizations_url":"https://api.github.com/users/kimaina/orgs","repos_url":"https://api.github.com/users/kimaina/repos","events_url":"https://api.github.com/users/kimaina/events{/privacy}","received_events_url":"https://api.github.com/users/kimaina/received_events","type":"User","site_admin":false},"repo":{"id":44727289,"name":"etl-rest-server","full_name":"kimaina/etl-rest-server","owner":{"login":"kimaina","id":10988005,"avatar_url":"https://avatars.githubusercontent.com/u/10988005?v=3","gravatar_id":"","url":"https://api.github.com/users/kimaina","html_url":"https://github.com/kimaina","followers_url":"https://api.github.com/users/kimaina/followers","following_url":"https://api.github.com/users/kimaina/following{/other_user}","gists_url":"https://api.github.com/users/kimaina/gists{/gist_id}","starred_url":"https://api.github.com/users/kimaina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimaina/subscriptions","organizations_url":"https://api.github.com/users/kimaina/orgs","repos_url":"https://api.github.com/users/kimaina/repos","events_url":"https://api.github.com/users/kimaina/events{/privacy}","received_events_url":"https://api.github.com/users/kimaina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kimaina/etl-rest-server","description":"This project hosts scripts to generate flat tables used for reporting purposes.","fork":true,"url":"https://api.github.com/repos/kimaina/etl-rest-server","forks_url":"https://api.github.com/repos/kimaina/etl-rest-server/forks","keys_url":"https://api.github.com/repos/kimaina/etl-rest-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kimaina/etl-rest-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kimaina/etl-rest-server/teams","hooks_url":"https://api.github.com/repos/kimaina/etl-rest-server/hooks","issue_events_url":"https://api.github.com/repos/kimaina/etl-rest-server/issues/events{/number}","events_url":"https://api.github.com/repos/kimaina/etl-rest-server/events","assignees_url":"https://api.github.com/repos/kimaina/etl-rest-server/assignees{/user}","branches_url":"https://api.github.com/repos/kimaina/etl-rest-server/branches{/branch}","tags_url":"https://api.github.com/repos/kimaina/etl-rest-server/tags","blobs_url":"https://api.github.com/repos/kimaina/etl-rest-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kimaina/etl-rest-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kimaina/etl-rest-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/kimaina/etl-rest-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kimaina/etl-rest-server/statuses/{sha}","languages_url":"https://api.github.com/repos/kimaina/etl-rest-server/languages","stargazers_url":"https://api.github.com/repos/kimaina/etl-rest-server/stargazers","contributors_url":"https://api.github.com/repos/kimaina/etl-rest-server/contributors","subscribers_url":"https://api.github.com/repos/kimaina/etl-rest-server/subscribers","subscription_url":"https://api.github.com/repos/kimaina/etl-rest-server/subscription","commits_url":"https://api.github.com/repos/kimaina/etl-rest-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/kimaina/etl-rest-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/kimaina/etl-rest-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/kimaina/etl-rest-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/kimaina/etl-rest-server/contents/{+path}","compare_url":"https://api.github.com/repos/kimaina/etl-rest-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kimaina/etl-rest-server/merges","archive_url":"https://api.github.com/repos/kimaina/etl-rest-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kimaina/etl-rest-server/downloads","issues_url":"https://api.github.com/repos/kimaina/etl-rest-server/issues{/number}","pulls_url":"https://api.github.com/repos/kimaina/etl-rest-server/pulls{/number}","milestones_url":"https://api.github.com/repos/kimaina/etl-rest-server/milestones{/number}","notifications_url":"https://api.github.com/repos/kimaina/etl-rest-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kimaina/etl-rest-server/labels{/name}","releases_url":"https://api.github.com/repos/kimaina/etl-rest-server/releases{/id}","created_at":"2015-10-22T06:48:23Z","updated_at":"2015-10-22T06:48:24Z","pushed_at":"2015-11-26T15:12:48Z","git_url":"git://github.com/kimaina/etl-rest-server.git","ssh_url":"git@github.com:kimaina/etl-rest-server.git","clone_url":"https://github.com/kimaina/etl-rest-server.git","svn_url":"https://github.com/kimaina/etl-rest-server","homepage":null,"size":3404,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AMPATH:master","ref":"master","sha":"00da4ad8af14dd08ae7359c06d03e68daaf30c47","user":{"login":"AMPATH","id":1184260,"avatar_url":"https://avatars.githubusercontent.com/u/1184260?v=3","gravatar_id":"","url":"https://api.github.com/users/AMPATH","html_url":"https://github.com/AMPATH","followers_url":"https://api.github.com/users/AMPATH/followers","following_url":"https://api.github.com/users/AMPATH/following{/other_user}","gists_url":"https://api.github.com/users/AMPATH/gists{/gist_id}","starred_url":"https://api.github.com/users/AMPATH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMPATH/subscriptions","organizations_url":"https://api.github.com/users/AMPATH/orgs","repos_url":"https://api.github.com/users/AMPATH/repos","events_url":"https://api.github.com/users/AMPATH/events{/privacy}","received_events_url":"https://api.github.com/users/AMPATH/received_events","type":"Organization","site_admin":false},"repo":{"id":43415940,"name":"etl-rest-server","full_name":"AMPATH/etl-rest-server","owner":{"login":"AMPATH","id":1184260,"avatar_url":"https://avatars.githubusercontent.com/u/1184260?v=3","gravatar_id":"","url":"https://api.github.com/users/AMPATH","html_url":"https://github.com/AMPATH","followers_url":"https://api.github.com/users/AMPATH/followers","following_url":"https://api.github.com/users/AMPATH/following{/other_user}","gists_url":"https://api.github.com/users/AMPATH/gists{/gist_id}","starred_url":"https://api.github.com/users/AMPATH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMPATH/subscriptions","organizations_url":"https://api.github.com/users/AMPATH/orgs","repos_url":"https://api.github.com/users/AMPATH/repos","events_url":"https://api.github.com/users/AMPATH/events{/privacy}","received_events_url":"https://api.github.com/users/AMPATH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AMPATH/etl-rest-server","description":"This project hosts scripts to generate flat tables used for reporting purposes.","fork":false,"url":"https://api.github.com/repos/AMPATH/etl-rest-server","forks_url":"https://api.github.com/repos/AMPATH/etl-rest-server/forks","keys_url":"https://api.github.com/repos/AMPATH/etl-rest-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AMPATH/etl-rest-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AMPATH/etl-rest-server/teams","hooks_url":"https://api.github.com/repos/AMPATH/etl-rest-server/hooks","issue_events_url":"https://api.github.com/repos/AMPATH/etl-rest-server/issues/events{/number}","events_url":"https://api.github.com/repos/AMPATH/etl-rest-server/events","assignees_url":"https://api.github.com/repos/AMPATH/etl-rest-server/assignees{/user}","branches_url":"https://api.github.com/repos/AMPATH/etl-rest-server/branches{/branch}","tags_url":"https://api.github.com/repos/AMPATH/etl-rest-server/tags","blobs_url":"https://api.github.com/repos/AMPATH/etl-rest-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AMPATH/etl-rest-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AMPATH/etl-rest-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/AMPATH/etl-rest-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AMPATH/etl-rest-server/statuses/{sha}","languages_url":"https://api.github.com/repos/AMPATH/etl-rest-server/languages","stargazers_url":"https://api.github.com/repos/AMPATH/etl-rest-server/stargazers","contributors_url":"https://api.github.com/repos/AMPATH/etl-rest-server/contributors","subscribers_url":"https://api.github.com/repos/AMPATH/etl-rest-server/subscribers","subscription_url":"https://api.github.com/repos/AMPATH/etl-rest-server/subscription","commits_url":"https://api.github.com/repos/AMPATH/etl-rest-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/AMPATH/etl-rest-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/AMPATH/etl-rest-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/AMPATH/etl-rest-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/AMPATH/etl-rest-server/contents/{+path}","compare_url":"https://api.github.com/repos/AMPATH/etl-rest-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AMPATH/etl-rest-server/merges","archive_url":"https://api.github.com/repos/AMPATH/etl-rest-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AMPATH/etl-rest-server/downloads","issues_url":"https://api.github.com/repos/AMPATH/etl-rest-server/issues{/number}","pulls_url":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls{/number}","milestones_url":"https://api.github.com/repos/AMPATH/etl-rest-server/milestones{/number}","notifications_url":"https://api.github.com/repos/AMPATH/etl-rest-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AMPATH/etl-rest-server/labels{/name}","releases_url":"https://api.github.com/repos/AMPATH/etl-rest-server/releases{/id}","created_at":"2015-09-30T06:27:56Z","updated_at":"2015-09-30T06:29:13Z","pushed_at":"2015-11-26T15:13:59Z","git_url":"git://github.com/AMPATH/etl-rest-server.git","ssh_url":"git@github.com:AMPATH/etl-rest-server.git","clone_url":"https://github.com/AMPATH/etl-rest-server.git","svn_url":"https://github.com/AMPATH/etl-rest-server","homepage":null,"size":3408,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":0,"forks":7,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/31"},"html":{"href":"https://github.com/AMPATH/etl-rest-server/pull/31"},"issue":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/issues/31"},"comments":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/AMPATH/etl-rest-server/statuses/7a6d9d7835fa6463286d7a1283494a936cc8633d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Werick","id":2598734,"avatar_url":"https://avatars.githubusercontent.com/u/2598734?v=3","gravatar_id":"","url":"https://api.github.com/users/Werick","html_url":"https://github.com/Werick","followers_url":"https://api.github.com/users/Werick/followers","following_url":"https://api.github.com/users/Werick/following{/other_user}","gists_url":"https://api.github.com/users/Werick/gists{/gist_id}","starred_url":"https://api.github.com/users/Werick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Werick/subscriptions","organizations_url":"https://api.github.com/users/Werick/orgs","repos_url":"https://api.github.com/users/Werick/repos","events_url":"https://api.github.com/users/Werick/events{/privacy}","received_events_url":"https://api.github.com/users/Werick/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":3,"changed_files":1}}