{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/comments/56241015","id":56241015,"diff_hunk":"@@ -538,4 +538,38 @@ public RadiologyReport getActiveRadiologyReportByRadiologyOrder(RadiologyOrder r\n \t\t}\n \t\treturn null;\n \t}\n+\t\n+\t/**\n+\t * @see RadiologyService#getCompletedOrdersWithNoRadiologyReport()\n+\t */\n+\t@Transactional(readOnly = true)\n+\t@Override\n+\tpublic List<RadiologyOrder> getCompletedOrdersWithNoRadiologyReport() {\n+\t\tList<RadiologyOrder> radiologyOrders = new ArrayList();","path":"api/src/main/java/org/openmrs/module/radiology/impl/RadiologyServiceImpl.java","position":11,"original_position":11,"commit_id":"dc024726ddf4e69e73ead560f571e3265d4ff069","original_commit_id":"dc024726ddf4e69e73ead560f571e3265d4ff069","user":{"login":"teleivo","id":4661144,"avatar_url":"https://avatars.githubusercontent.com/u/4661144?v=3","gravatar_id":"","url":"https://api.github.com/users/teleivo","html_url":"https://github.com/teleivo","followers_url":"https://api.github.com/users/teleivo/followers","following_url":"https://api.github.com/users/teleivo/following{/other_user}","gists_url":"https://api.github.com/users/teleivo/gists{/gist_id}","starred_url":"https://api.github.com/users/teleivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teleivo/subscriptions","organizations_url":"https://api.github.com/users/teleivo/orgs","repos_url":"https://api.github.com/users/teleivo/repos","events_url":"https://api.github.com/users/teleivo/events{/privacy}","received_events_url":"https://api.github.com/users/teleivo/received_events","type":"User","site_admin":false},"body":"Same here, create a dao method where you use hibernate to do this. Use hibernate criteria to construct a query.","created_at":"2016-03-15T21:08:14Z","updated_at":"2016-03-15T21:08:14Z","html_url":"https://github.com/openmrs/openmrs-module-radiology/pull/186#discussion_r56241015","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/comments/56241015"},"html":{"href":"https://github.com/openmrs/openmrs-module-radiology/pull/186#discussion_r56241015"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186","id":62942234,"html_url":"https://github.com/openmrs/openmrs-module-radiology/pull/186","diff_url":"https://github.com/openmrs/openmrs-module-radiology/pull/186.diff","patch_url":"https://github.com/openmrs/openmrs-module-radiology/pull/186.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues/186","number":186,"state":"open","locked":false,"title":"rad115","user":{"login":"jakob-fiegerl","id":8776368,"avatar_url":"https://avatars.githubusercontent.com/u/8776368?v=3","gravatar_id":"","url":"https://api.github.com/users/jakob-fiegerl","html_url":"https://github.com/jakob-fiegerl","followers_url":"https://api.github.com/users/jakob-fiegerl/followers","following_url":"https://api.github.com/users/jakob-fiegerl/following{/other_user}","gists_url":"https://api.github.com/users/jakob-fiegerl/gists{/gist_id}","starred_url":"https://api.github.com/users/jakob-fiegerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakob-fiegerl/subscriptions","organizations_url":"https://api.github.com/users/jakob-fiegerl/orgs","repos_url":"https://api.github.com/users/jakob-fiegerl/repos","events_url":"https://api.github.com/users/jakob-fiegerl/events{/privacy}","received_events_url":"https://api.github.com/users/jakob-fiegerl/received_events","type":"User","site_admin":false},"body":"added order filter to view orders which are ready for reporting, updated datatables, added childrows for more information about the order\r\n\r\nIssue:\r\nhttps://issues.openmrs.org/browse/RAD-115?jql=project%20%3D%20RAD%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC%2C%20key%20DESC","created_at":"2016-03-15T17:08:42Z","updated_at":"2016-03-15T21:08:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b92c28519db0cd96c1e13fd504080f70a600c994","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues/186/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/statuses/dc024726ddf4e69e73ead560f571e3265d4ff069","head":{"label":"jakob-fiegerl:rad115","ref":"rad115","sha":"dc024726ddf4e69e73ead560f571e3265d4ff069","user":{"login":"jakob-fiegerl","id":8776368,"avatar_url":"https://avatars.githubusercontent.com/u/8776368?v=3","gravatar_id":"","url":"https://api.github.com/users/jakob-fiegerl","html_url":"https://github.com/jakob-fiegerl","followers_url":"https://api.github.com/users/jakob-fiegerl/followers","following_url":"https://api.github.com/users/jakob-fiegerl/following{/other_user}","gists_url":"https://api.github.com/users/jakob-fiegerl/gists{/gist_id}","starred_url":"https://api.github.com/users/jakob-fiegerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakob-fiegerl/subscriptions","organizations_url":"https://api.github.com/users/jakob-fiegerl/orgs","repos_url":"https://api.github.com/users/jakob-fiegerl/repos","events_url":"https://api.github.com/users/jakob-fiegerl/events{/privacy}","received_events_url":"https://api.github.com/users/jakob-fiegerl/received_events","type":"User","site_admin":false},"repo":{"id":53933688,"name":"openmrs-module-radiology","full_name":"jakob-fiegerl/openmrs-module-radiology","owner":{"login":"jakob-fiegerl","id":8776368,"avatar_url":"https://avatars.githubusercontent.com/u/8776368?v=3","gravatar_id":"","url":"https://api.github.com/users/jakob-fiegerl","html_url":"https://github.com/jakob-fiegerl","followers_url":"https://api.github.com/users/jakob-fiegerl/followers","following_url":"https://api.github.com/users/jakob-fiegerl/following{/other_user}","gists_url":"https://api.github.com/users/jakob-fiegerl/gists{/gist_id}","starred_url":"https://api.github.com/users/jakob-fiegerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakob-fiegerl/subscriptions","organizations_url":"https://api.github.com/users/jakob-fiegerl/orgs","repos_url":"https://api.github.com/users/jakob-fiegerl/repos","events_url":"https://api.github.com/users/jakob-fiegerl/events{/privacy}","received_events_url":"https://api.github.com/users/jakob-fiegerl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jakob-fiegerl/openmrs-module-radiology","description":"OpenMRS Radiology Module with dcm4chee","fork":true,"url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology","forks_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/forks","keys_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/teams","hooks_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/hooks","issue_events_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/issues/events{/number}","events_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/events","assignees_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/assignees{/user}","branches_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/branches{/branch}","tags_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/tags","blobs_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/git/refs{/sha}","trees_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/statuses/{sha}","languages_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/languages","stargazers_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/stargazers","contributors_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/contributors","subscribers_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/subscribers","subscription_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/subscription","commits_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/commits{/sha}","git_commits_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/git/commits{/sha}","comments_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/comments{/number}","issue_comment_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/issues/comments{/number}","contents_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/contents/{+path}","compare_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/merges","archive_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/downloads","issues_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/issues{/number}","pulls_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/pulls{/number}","milestones_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/milestones{/number}","notifications_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/labels{/name}","releases_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/releases{/id}","deployments_url":"https://api.github.com/repos/jakob-fiegerl/openmrs-module-radiology/deployments","created_at":"2016-03-15T10:01:46Z","updated_at":"2016-03-15T10:01:47Z","pushed_at":"2016-03-15T16:52:56Z","git_url":"git://github.com/jakob-fiegerl/openmrs-module-radiology.git","ssh_url":"git@github.com:jakob-fiegerl/openmrs-module-radiology.git","clone_url":"https://github.com/jakob-fiegerl/openmrs-module-radiology.git","svn_url":"https://github.com/jakob-fiegerl/openmrs-module-radiology","homepage":null,"size":70561,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openmrs:master","ref":"master","sha":"d93185835d8dde8f574c8417587a0f741e6915cb","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":13028147,"name":"openmrs-module-radiology","full_name":"openmrs/openmrs-module-radiology","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-module-radiology","description":"OpenMRS Radiology Module with dcm4chee","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-module-radiology","forks_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-module-radiology/deployments","created_at":"2013-09-23T06:03:47Z","updated_at":"2016-03-06T23:36:44Z","pushed_at":"2016-03-15T17:08:42Z","git_url":"git://github.com/openmrs/openmrs-module-radiology.git","ssh_url":"git@github.com:openmrs/openmrs-module-radiology.git","clone_url":"https://github.com/openmrs/openmrs-module-radiology.git","svn_url":"https://github.com/openmrs/openmrs-module-radiology","homepage":null,"size":70991,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":1,"forks":24,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186"},"html":{"href":"https://github.com/openmrs/openmrs-module-radiology/pull/186"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues/186"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-module-radiology/statuses/dc024726ddf4e69e73ead560f571e3265d4ff069"}}}}