{"action":"created","comment":{"url":"https://api.github.com/repos/all-of-us/workbench/pulls/comments/204078223","pull_request_review_id":139099207,"id":204078223,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDA3ODIyMw==","diff_hunk":"@@ -143,6 +169,28 @@ public void findCriteriaByTypeAndSubtypeOrderByNameAsc() throws Exception {\n     assertEquals(demoCriteria1a, demoList.get(1));\n   }\n \n+  @Test\n+  public void findDrugBrandOrIngrediantByName() throws Exception {","path":"api/src/test/java/org/pmiops/workbench/cdr/dao/CriteriaDaoTest.java","position":null,"original_position":75,"commit_id":"2fb34146e259ce300bd68899fb89f0c3c088d7c7","original_commit_id":"f12c4eeb2f533d08ae317dfb85b78493de9b833e","user":{"login":"freemabd1","id":30186906,"node_id":"MDQ6VXNlcjMwMTg2OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/30186906?v=4","gravatar_id":"","url":"https://api.github.com/users/freemabd1","html_url":"https://github.com/freemabd1","followers_url":"https://api.github.com/users/freemabd1/followers","following_url":"https://api.github.com/users/freemabd1/following{/other_user}","gists_url":"https://api.github.com/users/freemabd1/gists{/gist_id}","starred_url":"https://api.github.com/users/freemabd1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freemabd1/subscriptions","organizations_url":"https://api.github.com/users/freemabd1/orgs","repos_url":"https://api.github.com/users/freemabd1/repos","events_url":"https://api.github.com/users/freemabd1/events{/privacy}","received_events_url":"https://api.github.com/users/freemabd1/received_events","type":"User","site_admin":false},"body":"done.","created_at":"2018-07-20T15:15:37Z","updated_at":"2018-07-20T15:16:18Z","html_url":"https://github.com/all-of-us/workbench/pull/1032#discussion_r204078223","pull_request_url":"https://api.github.com/repos/all-of-us/workbench/pulls/1032","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/comments/204078223"},"html":{"href":"https://github.com/all-of-us/workbench/pull/1032#discussion_r204078223"},"pull_request":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1032"}},"in_reply_to_id":204067442},"pull_request":{"url":"https://api.github.com/repos/all-of-us/workbench/pulls/1032","id":202864727,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyODY0NzI3","html_url":"https://github.com/all-of-us/workbench/pull/1032","diff_url":"https://github.com/all-of-us/workbench/pull/1032.diff","patch_url":"https://github.com/all-of-us/workbench/pull/1032.patch","issue_url":"https://api.github.com/repos/all-of-us/workbench/issues/1032","number":1032,"state":"open","locked":false,"title":"[RW-982][RW-987][RW-984][risk=no] API calls for meds search","user":{"login":"freemabd1","id":30186906,"node_id":"MDQ6VXNlcjMwMTg2OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/30186906?v=4","gravatar_id":"","url":"https://api.github.com/users/freemabd1","html_url":"https://github.com/freemabd1","followers_url":"https://api.github.com/users/freemabd1/followers","following_url":"https://api.github.com/users/freemabd1/following{/other_user}","gists_url":"https://api.github.com/users/freemabd1/gists{/gist_id}","starred_url":"https://api.github.com/users/freemabd1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freemabd1/subscriptions","organizations_url":"https://api.github.com/users/freemabd1/orgs","repos_url":"https://api.github.com/users/freemabd1/repos","events_url":"https://api.github.com/users/freemabd1/events{/privacy}","received_events_url":"https://api.github.com/users/freemabd1/received_events","type":"User","site_admin":false},"body":"We have 4 api calls for meds search\r\n1) call to load the med ingredients tree\r\n2) call to find autocomplete results in search box\r\n3) call to find ingredients if a brand is selected\r\n4) call to get participant count for the meds selected","created_at":"2018-07-20T14:24:21Z","updated_at":"2018-07-20T15:16:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f37aca58241f6f825f6326ac5646fa5747c6a43","assignee":null,"assignees":[],"requested_reviewers":[{"login":"osgsusan","id":7048072,"node_id":"MDQ6VXNlcjcwNDgwNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/7048072?v=4","gravatar_id":"","url":"https://api.github.com/users/osgsusan","html_url":"https://github.com/osgsusan","followers_url":"https://api.github.com/users/osgsusan/followers","following_url":"https://api.github.com/users/osgsusan/following{/other_user}","gists_url":"https://api.github.com/users/osgsusan/gists{/gist_id}","starred_url":"https://api.github.com/users/osgsusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osgsusan/subscriptions","organizations_url":"https://api.github.com/users/osgsusan/orgs","repos_url":"https://api.github.com/users/osgsusan/repos","events_url":"https://api.github.com/users/osgsusan/events{/privacy}","received_events_url":"https://api.github.com/users/osgsusan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/all-of-us/workbench/pulls/1032/commits","review_comments_url":"https://api.github.com/repos/all-of-us/workbench/pulls/1032/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/1032/comments","statuses_url":"https://api.github.com/repos/all-of-us/workbench/statuses/2fb34146e259ce300bd68899fb89f0c3c088d7c7","head":{"label":"all-of-us:freemabd1/RW-982","ref":"freemabd1/RW-982","sha":"2fb34146e259ce300bd68899fb89f0c3c088d7c7","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":null,"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-20T13:49:20Z","pushed_at":"2018-07-20T15:11:53Z","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":null,"size":161345,"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":4,"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":4,"watchers":7,"default_branch":"master"}},"base":{"label":"all-of-us:master","ref":"master","sha":"c88dfc062046037f3732cc7d1530778ec72bbb62","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":null,"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-20T13:49:20Z","pushed_at":"2018-07-20T15:11:53Z","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":null,"size":161345,"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":4,"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":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1032"},"html":{"href":"https://github.com/all-of-us/workbench/pull/1032"},"issue":{"href":"https://api.github.com/repos/all-of-us/workbench/issues/1032"},"comments":{"href":"https://api.github.com/repos/all-of-us/workbench/issues/1032/comments"},"review_comments":{"href":"https://api.github.com/repos/all-of-us/workbench/pulls/1032/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/1032/commits"},"statuses":{"href":"https://api.github.com/repos/all-of-us/workbench/statuses/2fb34146e259ce300bd68899fb89f0c3c088d7c7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"freemabd1"}}