{"action":"created","comment":{"url":"https://api.github.com/repos/all-of-us/workbench/pulls/comments/206689494","pull_request_review_id":142145407,"id":206689494,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjY4OTQ5NA==","diff_hunk":"@@ -0,0 +1,37 @@\n+COUNT GENERATION\n+\n+This document describes what counts are generated for each of the data domains\n+","path":"api/db-cdr/generate-cdr/README.md","position":4,"original_position":4,"commit_id":"e1d100c8b4e20de828c4352dac5deddd64751b0b","original_commit_id":"e1d100c8b4e20de828c4352dac5deddd64751b0b","user":{"login":"biopete","id":7596004,"node_id":"MDQ6VXNlcjc1OTYwMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7596004?v=4","gravatar_id":"","url":"https://api.github.com/users/biopete","html_url":"https://github.com/biopete","followers_url":"https://api.github.com/users/biopete/followers","following_url":"https://api.github.com/users/biopete/following{/other_user}","gists_url":"https://api.github.com/users/biopete/gists{/gist_id}","starred_url":"https://api.github.com/users/biopete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biopete/subscriptions","organizations_url":"https://api.github.com/users/biopete/orgs","repos_url":"https://api.github.com/users/biopete/repos","events_url":"https://api.github.com/users/biopete/events{/privacy}","received_events_url":"https://api.github.com/users/biopete/received_events","type":"User","site_admin":false},"body":"Please add bit about source concepts and count values. definition of count value and source count value like so: \r\nMost EHR data in OMOP has two concepts associated with it , the source concept and the standard concept that source maps to.  So we calculate two counts for each concept \r\ncountValue is the number of distinct patients that had that concept or some concept that mapped to it. \r\nsourceCountValue is the number of distinct patients that had that concept as real ehr data.\r\nIn the case of source concepts that always map to a standard concept, the countValue would be zero. In that case we set countValue to the sourceCountValue as it is more userfriendly in apis and front end development. \r\nFor standard concepts , the count value will be much more than the sourceCountValue in general. \r\n\r\nThat's a start :) ","created_at":"2018-07-31T21:27:39Z","updated_at":"2018-07-31T21:28:50Z","html_url":"https://github.com/all-of-us/workbench/pull/1054#discussion_r206689494","pull_request_url":"https://api.github.com/repos/all-of-us/workbench/pulls/1054","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/comments/206689494"},"html":{"href":"https://github.com/all-of-us/workbench/pull/1054#discussion_r206689494"},"pull_request":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1054"}}},"pull_request":{"url":"https://api.github.com/repos/all-of-us/workbench/pulls/1054","id":204928469,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0OTI4NDY5","html_url":"https://github.com/all-of-us/workbench/pull/1054","diff_url":"https://github.com/all-of-us/workbench/pull/1054.diff","patch_url":"https://github.com/all-of-us/workbench/pull/1054.patch","issue_url":"https://api.github.com/repos/all-of-us/workbench/issues/1054","number":1054,"state":"open","locked":false,"title":"Srushti gangireddy/physical measurements [risk=low]","user":{"login":"SrushtiGangireddy","id":21062724,"node_id":"MDQ6VXNlcjIxMDYyNzI0","avatar_url":"https://avatars1.githubusercontent.com/u/21062724?v=4","gravatar_id":"","url":"https://api.github.com/users/SrushtiGangireddy","html_url":"https://github.com/SrushtiGangireddy","followers_url":"https://api.github.com/users/SrushtiGangireddy/followers","following_url":"https://api.github.com/users/SrushtiGangireddy/following{/other_user}","gists_url":"https://api.github.com/users/SrushtiGangireddy/gists{/gist_id}","starred_url":"https://api.github.com/users/SrushtiGangireddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrushtiGangireddy/subscriptions","organizations_url":"https://api.github.com/users/SrushtiGangireddy/orgs","repos_url":"https://api.github.com/users/SrushtiGangireddy/repos","events_url":"https://api.github.com/users/SrushtiGangireddy/events{/privacy}","received_events_url":"https://api.github.com/users/SrushtiGangireddy/received_events","type":"User","site_admin":false},"body":"1. Added queries to generate measurement counts data needed.\r\n2. Added queries to generate the survey demographic data.\r\n3. Added MeasurementAnalysis and surveydemographicanalysis apis.","created_at":"2018-07-30T21:00:09Z","updated_at":"2018-07-31T21:28:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90e5afc68d94f1addba73197ff721a448e6fee13","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/all-of-us/workbench/pulls/1054/commits","review_comments_url":"https://api.github.com/repos/all-of-us/workbench/pulls/1054/comments","review_comment_url":"https://api.github.com/repos/all-of-us/workbench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/all-of-us/workbench/issues/1054/comments","statuses_url":"https://api.github.com/repos/all-of-us/workbench/statuses/e1d100c8b4e20de828c4352dac5deddd64751b0b","head":{"label":"all-of-us:SrushtiGangireddy/Physical_Measurements","ref":"SrushtiGangireddy/Physical_Measurements","sha":"e1d100c8b4e20de828c4352dac5deddd64751b0b","user":{"login":"all-of-us","id":22846942,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODQ2OTQy","avatar_url":"https://avatars0.githubusercontent.com/u/22846942?v=4","gravatar_id":"","url":"https://api.github.com/users/all-of-us","html_url":"https://github.com/all-of-us","followers_url":"https://api.github.com/users/all-of-us/followers","following_url":"https://api.github.com/users/all-of-us/following{/other_user}","gists_url":"https://api.github.com/users/all-of-us/gists{/gist_id}","starred_url":"https://api.github.com/users/all-of-us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/all-of-us/subscriptions","organizations_url":"https://api.github.com/users/all-of-us/orgs","repos_url":"https://api.github.com/users/all-of-us/repos","events_url":"https://api.github.com/users/all-of-us/events{/privacy}","received_events_url":"https://api.github.com/users/all-of-us/received_events","type":"Organization","site_admin":false},"repo":{"id":95247186,"node_id":"MDEwOlJlcG9zaXRvcnk5NTI0NzE4Ng==","name":"workbench","full_name":"all-of-us/workbench","owner":{"login":"all-of-us","id":22846942,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODQ2OTQy","avatar_url":"https://avatars0.githubusercontent.com/u/22846942?v=4","gravatar_id":"","url":"https://api.github.com/users/all-of-us","html_url":"https://github.com/all-of-us","followers_url":"https://api.github.com/users/all-of-us/followers","following_url":"https://api.github.com/users/all-of-us/following{/other_user}","gists_url":"https://api.github.com/users/all-of-us/gists{/gist_id}","starred_url":"https://api.github.com/users/all-of-us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/all-of-us/subscriptions","organizations_url":"https://api.github.com/users/all-of-us/orgs","repos_url":"https://api.github.com/users/all-of-us/repos","events_url":"https://api.github.com/users/all-of-us/events{/privacy}","received_events_url":"https://api.github.com/users/all-of-us/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/all-of-us/workbench","description":"All of Us Researcher Workbench","fork":false,"url":"https://api.github.com/repos/all-of-us/workbench","forks_url":"https://api.github.com/repos/all-of-us/workbench/forks","keys_url":"https://api.github.com/repos/all-of-us/workbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/all-of-us/workbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/all-of-us/workbench/teams","hooks_url":"https://api.github.com/repos/all-of-us/workbench/hooks","issue_events_url":"https://api.github.com/repos/all-of-us/workbench/issues/events{/number}","events_url":"https://api.github.com/repos/all-of-us/workbench/events","assignees_url":"https://api.github.com/repos/all-of-us/workbench/assignees{/user}","branches_url":"https://api.github.com/repos/all-of-us/workbench/branches{/branch}","tags_url":"https://api.github.com/repos/all-of-us/workbench/tags","blobs_url":"https://api.github.com/repos/all-of-us/workbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/all-of-us/workbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/all-of-us/workbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/all-of-us/workbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/all-of-us/workbench/statuses/{sha}","languages_url":"https://api.github.com/repos/all-of-us/workbench/languages","stargazers_url":"https://api.github.com/repos/all-of-us/workbench/stargazers","contributors_url":"https://api.github.com/repos/all-of-us/workbench/contributors","subscribers_url":"https://api.github.com/repos/all-of-us/workbench/subscribers","subscription_url":"https://api.github.com/repos/all-of-us/workbench/subscription","commits_url":"https://api.github.com/repos/all-of-us/workbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/all-of-us/workbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/all-of-us/workbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/all-of-us/workbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/all-of-us/workbench/contents/{+path}","compare_url":"https://api.github.com/repos/all-of-us/workbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/all-of-us/workbench/merges","archive_url":"https://api.github.com/repos/all-of-us/workbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/all-of-us/workbench/downloads","issues_url":"https://api.github.com/repos/all-of-us/workbench/issues{/number}","pulls_url":"https://api.github.com/repos/all-of-us/workbench/pulls{/number}","milestones_url":"https://api.github.com/repos/all-of-us/workbench/milestones{/number}","notifications_url":"https://api.github.com/repos/all-of-us/workbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/all-of-us/workbench/labels{/name}","releases_url":"https://api.github.com/repos/all-of-us/workbench/releases{/id}","deployments_url":"https://api.github.com/repos/all-of-us/workbench/deployments","created_at":"2017-06-23T18:44:24Z","updated_at":"2018-07-31T15:06:50Z","pushed_at":"2018-07-31T20:20:56Z","git_url":"git://github.com/all-of-us/workbench.git","ssh_url":"git@github.com:all-of-us/workbench.git","clone_url":"https://github.com/all-of-us/workbench.git","svn_url":"https://github.com/all-of-us/workbench","homepage":"","size":176872,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":3,"open_issues":7,"watchers":7,"default_branch":"master"}},"base":{"label":"all-of-us:master","ref":"master","sha":"334e569f67d6878122ffd8579950931a20c5262b","user":{"login":"all-of-us","id":22846942,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODQ2OTQy","avatar_url":"https://avatars0.githubusercontent.com/u/22846942?v=4","gravatar_id":"","url":"https://api.github.com/users/all-of-us","html_url":"https://github.com/all-of-us","followers_url":"https://api.github.com/users/all-of-us/followers","following_url":"https://api.github.com/users/all-of-us/following{/other_user}","gists_url":"https://api.github.com/users/all-of-us/gists{/gist_id}","starred_url":"https://api.github.com/users/all-of-us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/all-of-us/subscriptions","organizations_url":"https://api.github.com/users/all-of-us/orgs","repos_url":"https://api.github.com/users/all-of-us/repos","events_url":"https://api.github.com/users/all-of-us/events{/privacy}","received_events_url":"https://api.github.com/users/all-of-us/received_events","type":"Organization","site_admin":false},"repo":{"id":95247186,"node_id":"MDEwOlJlcG9zaXRvcnk5NTI0NzE4Ng==","name":"workbench","full_name":"all-of-us/workbench","owner":{"login":"all-of-us","id":22846942,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODQ2OTQy","avatar_url":"https://avatars0.githubusercontent.com/u/22846942?v=4","gravatar_id":"","url":"https://api.github.com/users/all-of-us","html_url":"https://github.com/all-of-us","followers_url":"https://api.github.com/users/all-of-us/followers","following_url":"https://api.github.com/users/all-of-us/following{/other_user}","gists_url":"https://api.github.com/users/all-of-us/gists{/gist_id}","starred_url":"https://api.github.com/users/all-of-us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/all-of-us/subscriptions","organizations_url":"https://api.github.com/users/all-of-us/orgs","repos_url":"https://api.github.com/users/all-of-us/repos","events_url":"https://api.github.com/users/all-of-us/events{/privacy}","received_events_url":"https://api.github.com/users/all-of-us/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/all-of-us/workbench","description":"All of Us Researcher Workbench","fork":false,"url":"https://api.github.com/repos/all-of-us/workbench","forks_url":"https://api.github.com/repos/all-of-us/workbench/forks","keys_url":"https://api.github.com/repos/all-of-us/workbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/all-of-us/workbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/all-of-us/workbench/teams","hooks_url":"https://api.github.com/repos/all-of-us/workbench/hooks","issue_events_url":"https://api.github.com/repos/all-of-us/workbench/issues/events{/number}","events_url":"https://api.github.com/repos/all-of-us/workbench/events","assignees_url":"https://api.github.com/repos/all-of-us/workbench/assignees{/user}","branches_url":"https://api.github.com/repos/all-of-us/workbench/branches{/branch}","tags_url":"https://api.github.com/repos/all-of-us/workbench/tags","blobs_url":"https://api.github.com/repos/all-of-us/workbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/all-of-us/workbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/all-of-us/workbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/all-of-us/workbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/all-of-us/workbench/statuses/{sha}","languages_url":"https://api.github.com/repos/all-of-us/workbench/languages","stargazers_url":"https://api.github.com/repos/all-of-us/workbench/stargazers","contributors_url":"https://api.github.com/repos/all-of-us/workbench/contributors","subscribers_url":"https://api.github.com/repos/all-of-us/workbench/subscribers","subscription_url":"https://api.github.com/repos/all-of-us/workbench/subscription","commits_url":"https://api.github.com/repos/all-of-us/workbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/all-of-us/workbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/all-of-us/workbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/all-of-us/workbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/all-of-us/workbench/contents/{+path}","compare_url":"https://api.github.com/repos/all-of-us/workbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/all-of-us/workbench/merges","archive_url":"https://api.github.com/repos/all-of-us/workbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/all-of-us/workbench/downloads","issues_url":"https://api.github.com/repos/all-of-us/workbench/issues{/number}","pulls_url":"https://api.github.com/repos/all-of-us/workbench/pulls{/number}","milestones_url":"https://api.github.com/repos/all-of-us/workbench/milestones{/number}","notifications_url":"https://api.github.com/repos/all-of-us/workbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/all-of-us/workbench/labels{/name}","releases_url":"https://api.github.com/repos/all-of-us/workbench/releases{/id}","deployments_url":"https://api.github.com/repos/all-of-us/workbench/deployments","created_at":"2017-06-23T18:44:24Z","updated_at":"2018-07-31T15:06:50Z","pushed_at":"2018-07-31T20:20:56Z","git_url":"git://github.com/all-of-us/workbench.git","ssh_url":"git@github.com:all-of-us/workbench.git","clone_url":"https://github.com/all-of-us/workbench.git","svn_url":"https://github.com/all-of-us/workbench","homepage":"","size":176872,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":3,"open_issues":7,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1054"},"html":{"href":"https://github.com/all-of-us/workbench/pull/1054"},"issue":{"href":"https://api.github.com/repos/all-of-us/workbench/issues/1054"},"comments":{"href":"https://api.github.com/repos/all-of-us/workbench/issues/1054/comments"},"review_comments":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1054/comments"},"review_comment":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1054/commits"},"statuses":{"href":"https://api.github.com/repos/all-of-us/workbench/statuses/e1d100c8b4e20de828c4352dac5deddd64751b0b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"biopete"}}