{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/comments/219318869","pull_request_review_id":157467824,"id":219318869,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTMxODg2OQ==","diff_hunk":"@@ -0,0 +1,35 @@\n+package org.openmrs.module.emrapi.extension.html;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+import org.openmrs.api.context.Context;\n+import org.openmrs.module.Extension;\n+import org.openmrs.module.ModuleUtil;\n+import org.openmrs.module.web.extension.AdministrationSectionExt;\n+import org.openmrs.util.OpenmrsConstants;\n+\n+public class AdminList extends AdministrationSectionExt {\n+\t\t\n+\tprivate static final String DIAGNOSIS_MIGRATION_LEAST_SUPPORTED_VERSION = \"2.2.0\";\n+\t\t\t\n+\t@Override\n+\tpublic Map<String, String> getLinks() {\n+\t\tMap<String, String> links = new HashMap<String, String>();\n+\t\t\n+\t\tif (ModuleUtil.compareVersion(OpenmrsConstants.OPENMRS_VERSION, DIAGNOSIS_MIGRATION_LEAST_SUPPORTED_VERSION) >= 0) {\n+\t\t\tlinks.put(\"module/emrapi/MigrateDiagnosis.form\", Context.getMessageSourceService().getMessage(\"emrapi.migrateDiagnosis.migrateDiagnosisLink.name\"));\n+\t\t}\n+\t\treturn links;\n+\t}\n+\n+\t@Override\n+\tpublic String getTitle() {\n+\t\treturn Context.getMessageSourceService().getMessage(\"emrapi.title\");","path":"omod/src/main/java/org/openmrs/module/emrapi/extension/html/AdminList.java","position":28,"original_position":28,"commit_id":"fcc04238e1bd996e3d81597944e227a0f9d19866","original_commit_id":"fcc04238e1bd996e3d81597944e227a0f9d19866","user":{"login":"dkayiwa","id":1390773,"node_id":"MDQ6VXNlcjEzOTA3NzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1390773?v=4","gravatar_id":"","url":"https://api.github.com/users/dkayiwa","html_url":"https://github.com/dkayiwa","followers_url":"https://api.github.com/users/dkayiwa/followers","following_url":"https://api.github.com/users/dkayiwa/following{/other_user}","gists_url":"https://api.github.com/users/dkayiwa/gists{/gist_id}","starred_url":"https://api.github.com/users/dkayiwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkayiwa/subscriptions","organizations_url":"https://api.github.com/users/dkayiwa/orgs","repos_url":"https://api.github.com/users/dkayiwa/repos","events_url":"https://api.github.com/users/dkayiwa/events{/privacy}","received_events_url":"https://api.github.com/users/dkayiwa/received_events","type":"User","site_admin":false},"body":"Did you test and confirm what you are saying?","created_at":"2018-09-20T21:09:52Z","updated_at":"2018-09-20T21:09:52Z","html_url":"https://github.com/openmrs/openmrs-module-emrapi/pull/153#discussion_r219318869","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/comments/219318869"},"html":{"href":"https://github.com/openmrs/openmrs-module-emrapi/pull/153#discussion_r219318869"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153"}},"in_reply_to_id":219317209},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153","id":213510123,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNTEwMTIz","html_url":"https://github.com/openmrs/openmrs-module-emrapi/pull/153","diff_url":"https://github.com/openmrs/openmrs-module-emrapi/pull/153.diff","patch_url":"https://github.com/openmrs/openmrs-module-emrapi/pull/153.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues/153","number":153,"state":"open","locked":false,"title":"Trunk-5342 : Migrating Encounter Diagnosis data to the new encounter_diagnosis table prior platform 2.2.","user":{"login":"samuelmale","id":26084581,"node_id":"MDQ6VXNlcjI2MDg0NTgx","avatar_url":"https://avatars0.githubusercontent.com/u/26084581?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelmale","html_url":"https://github.com/samuelmale","followers_url":"https://api.github.com/users/samuelmale/followers","following_url":"https://api.github.com/users/samuelmale/following{/other_user}","gists_url":"https://api.github.com/users/samuelmale/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelmale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelmale/subscriptions","organizations_url":"https://api.github.com/users/samuelmale/orgs","repos_url":"https://api.github.com/users/samuelmale/repos","events_url":"https://api.github.com/users/samuelmale/events{/privacy}","received_events_url":"https://api.github.com/users/samuelmale/received_events","type":"User","site_admin":false},"body":"Ticket : https://issues.openmrs.org/browse/TRUNK-5342\r\nAdded support for Migrating Encounter Diagnosis data to their new table.\r\nThis is only possible if one is running platform 2.2.","created_at":"2018-09-06T06:39:55Z","updated_at":"2018-09-20T21:09:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c04b6386604a1686caabbe314025e51cf2919d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues/153/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/statuses/fcc04238e1bd996e3d81597944e227a0f9d19866","head":{"label":"samuelmale:TRUNK-5342","ref":"TRUNK-5342","sha":"fcc04238e1bd996e3d81597944e227a0f9d19866","user":{"login":"samuelmale","id":26084581,"node_id":"MDQ6VXNlcjI2MDg0NTgx","avatar_url":"https://avatars0.githubusercontent.com/u/26084581?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelmale","html_url":"https://github.com/samuelmale","followers_url":"https://api.github.com/users/samuelmale/followers","following_url":"https://api.github.com/users/samuelmale/following{/other_user}","gists_url":"https://api.github.com/users/samuelmale/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelmale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelmale/subscriptions","organizations_url":"https://api.github.com/users/samuelmale/orgs","repos_url":"https://api.github.com/users/samuelmale/repos","events_url":"https://api.github.com/users/samuelmale/events{/privacy}","received_events_url":"https://api.github.com/users/samuelmale/received_events","type":"User","site_admin":false},"repo":{"id":146748767,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY3NDg3Njc=","name":"openmrs-module-emrapi","full_name":"samuelmale/openmrs-module-emrapi","private":false,"owner":{"login":"samuelmale","id":26084581,"node_id":"MDQ6VXNlcjI2MDg0NTgx","avatar_url":"https://avatars0.githubusercontent.com/u/26084581?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelmale","html_url":"https://github.com/samuelmale","followers_url":"https://api.github.com/users/samuelmale/followers","following_url":"https://api.github.com/users/samuelmale/following{/other_user}","gists_url":"https://api.github.com/users/samuelmale/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelmale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelmale/subscriptions","organizations_url":"https://api.github.com/users/samuelmale/orgs","repos_url":"https://api.github.com/users/samuelmale/repos","events_url":"https://api.github.com/users/samuelmale/events{/privacy}","received_events_url":"https://api.github.com/users/samuelmale/received_events","type":"User","site_admin":false},"html_url":"https://github.com/samuelmale/openmrs-module-emrapi","description":"Higher-level APIs to support building EMR functionality in OpenMRS, to supplement the data-level APIs in the OpenMRS core.","fork":true,"url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi","forks_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/forks","keys_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/teams","hooks_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/hooks","issue_events_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/issues/events{/number}","events_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/events","assignees_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/assignees{/user}","branches_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/branches{/branch}","tags_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/tags","blobs_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/statuses/{sha}","languages_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/languages","stargazers_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/stargazers","contributors_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/contributors","subscribers_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/subscribers","subscription_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/subscription","commits_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/contents/{+path}","compare_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/merges","archive_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/downloads","issues_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/issues{/number}","pulls_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/pulls{/number}","milestones_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/milestones{/number}","notifications_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/labels{/name}","releases_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/releases{/id}","deployments_url":"https://api.github.com/repos/samuelmale/openmrs-module-emrapi/deployments","created_at":"2018-08-30T12:49:05Z","updated_at":"2018-08-30T12:49:08Z","pushed_at":"2018-09-20T13:26:43Z","git_url":"git://github.com/samuelmale/openmrs-module-emrapi.git","ssh_url":"git@github.com:samuelmale/openmrs-module-emrapi.git","clone_url":"https://github.com/samuelmale/openmrs-module-emrapi.git","svn_url":"https://github.com/samuelmale/openmrs-module-emrapi","homepage":null,"size":2553,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openmrs:master","ref":"master","sha":"6b80476e45696e793c37996d3d60b0bdd6388df9","user":{"login":"openmrs","id":860776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MDc3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/860776?v=4","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":9158616,"node_id":"MDEwOlJlcG9zaXRvcnk5MTU4NjE2","name":"openmrs-module-emrapi","full_name":"openmrs/openmrs-module-emrapi","private":false,"owner":{"login":"openmrs","id":860776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2MDc3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/860776?v=4","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},"html_url":"https://github.com/openmrs/openmrs-module-emrapi","description":"Higher-level APIs to support building EMR functionality in OpenMRS, to supplement the data-level APIs in the OpenMRS core.","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi","forks_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/deployments","created_at":"2013-04-01T23:55:31Z","updated_at":"2018-07-03T15:10:24Z","pushed_at":"2018-09-20T13:26:45Z","git_url":"git://github.com/openmrs/openmrs-module-emrapi.git","ssh_url":"git@github.com:openmrs/openmrs-module-emrapi.git","clone_url":"https://github.com/openmrs/openmrs-module-emrapi.git","svn_url":"https://github.com/openmrs/openmrs-module-emrapi","homepage":null,"size":2542,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":102,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153"},"html":{"href":"https://github.com/openmrs/openmrs-module-emrapi/pull/153"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues/153"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-module-emrapi/statuses/fcc04238e1bd996e3d81597944e227a0f9d19866"}},"author_association":"NONE"}}
{"actor":{"display_login":"dkayiwa"}}