{"action":"created","comment":{"url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/comments/127927638","pull_request_review_id":50557329,"id":127927638,"diff_hunk":"@@ -235,13 +237,13 @@ else if((organization.getId() == null || organization.getId().isNull() || organi\n \t\tif(organization.getId() != null)\n \t\t{\n \t\t\tid = this.m_datatypeUtil.formatIdentifier(organization.getId().get(0));\n-\t\t\tLog.debug(String.format(\"Finding organization by id %s\", id));\n+\t\t\tlog.debug(String.format(\"Finding organization by id %s\", id));\n \t\t\tres = this.getOrganizationByExternalId(id);\n \t\t}\n \t\telse if(organization.getName() != null && !organization.getName().isEmpty())","path":"api/src/main/java/org/openmrs/module/shr/cdahandler/processor/util/LocationOrganizationProcessorUtil.java","position":28,"original_position":28,"commit_id":"fd5e3e0f40b38df70c7e92424753ddfec6d3163f","original_commit_id":"fd5e3e0f40b38df70c7e92424753ddfec6d3163f","user":{"login":"areklalo","id":29865902,"avatar_url":"https://avatars3.githubusercontent.com/u/29865902?v=4","gravatar_id":"","url":"https://api.github.com/users/areklalo","html_url":"https://github.com/areklalo","followers_url":"https://api.github.com/users/areklalo/followers","following_url":"https://api.github.com/users/areklalo/following{/other_user}","gists_url":"https://api.github.com/users/areklalo/gists{/gist_id}","starred_url":"https://api.github.com/users/areklalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areklalo/subscriptions","organizations_url":"https://api.github.com/users/areklalo/orgs","repos_url":"https://api.github.com/users/areklalo/repos","events_url":"https://api.github.com/users/areklalo/events{/privacy}","received_events_url":"https://api.github.com/users/areklalo/received_events","type":"User","site_admin":false},"body":"Corrected.","created_at":"2017-07-18T09:37:48Z","updated_at":"2017-07-18T09:37:48Z","html_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler/pull/2#discussion_r127927638","pull_request_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/comments/127927638"},"html":{"href":"https://github.com/SEDISH/openmrs-module-shr-cdahandler/pull/2#discussion_r127927638"},"pull_request":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2","id":130161676,"html_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler/pull/2","diff_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler/pull/2.diff","patch_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler/pull/2.patch","issue_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/2","number":2,"state":"open","locked":false,"title":"#133 Update openmrs-module-shr-cdahandler to OpenMRS v2","user":{"login":"areklalo","id":29865902,"avatar_url":"https://avatars3.githubusercontent.com/u/29865902?v=4","gravatar_id":"","url":"https://api.github.com/users/areklalo","html_url":"https://github.com/areklalo","followers_url":"https://api.github.com/users/areklalo/followers","following_url":"https://api.github.com/users/areklalo/following{/other_user}","gists_url":"https://api.github.com/users/areklalo/gists{/gist_id}","starred_url":"https://api.github.com/users/areklalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areklalo/subscriptions","organizations_url":"https://api.github.com/users/areklalo/orgs","repos_url":"https://api.github.com/users/areklalo/repos","events_url":"https://api.github.com/users/areklalo/events{/privacy}","received_events_url":"https://api.github.com/users/areklalo/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-12T15:01:35Z","updated_at":"2017-07-18T09:37:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce49693ff736cda7a114a48061a23e915d497b66","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2/commits","review_comments_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2/comments","review_comment_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/2/comments","statuses_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/statuses/fd5e3e0f40b38df70c7e92424753ddfec6d3163f","head":{"label":"SEDISH:openmrs_v2.0.5","ref":"openmrs_v2.0.5","sha":"fd5e3e0f40b38df70c7e92424753ddfec6d3163f","user":{"login":"SEDISH","id":26371040,"avatar_url":"https://avatars2.githubusercontent.com/u/26371040?v=4","gravatar_id":"","url":"https://api.github.com/users/SEDISH","html_url":"https://github.com/SEDISH","followers_url":"https://api.github.com/users/SEDISH/followers","following_url":"https://api.github.com/users/SEDISH/following{/other_user}","gists_url":"https://api.github.com/users/SEDISH/gists{/gist_id}","starred_url":"https://api.github.com/users/SEDISH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEDISH/subscriptions","organizations_url":"https://api.github.com/users/SEDISH/orgs","repos_url":"https://api.github.com/users/SEDISH/repos","events_url":"https://api.github.com/users/SEDISH/events{/privacy}","received_events_url":"https://api.github.com/users/SEDISH/received_events","type":"Organization","site_admin":false},"repo":{"id":95668527,"name":"openmrs-module-shr-cdahandler","full_name":"SEDISH/openmrs-module-shr-cdahandler","owner":{"login":"SEDISH","id":26371040,"avatar_url":"https://avatars2.githubusercontent.com/u/26371040?v=4","gravatar_id":"","url":"https://api.github.com/users/SEDISH","html_url":"https://github.com/SEDISH","followers_url":"https://api.github.com/users/SEDISH/followers","following_url":"https://api.github.com/users/SEDISH/following{/other_user}","gists_url":"https://api.github.com/users/SEDISH/gists{/gist_id}","starred_url":"https://api.github.com/users/SEDISH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEDISH/subscriptions","organizations_url":"https://api.github.com/users/SEDISH/orgs","repos_url":"https://api.github.com/users/SEDISH/repos","events_url":"https://api.github.com/users/SEDISH/events{/privacy}","received_events_url":"https://api.github.com/users/SEDISH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler","description":"A CDA handler for the OpenMRS SHR implementation","fork":true,"url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler","forks_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/forks","keys_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/teams","hooks_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/hooks","issue_events_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/events{/number}","events_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/events","assignees_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/assignees{/user}","branches_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/branches{/branch}","tags_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/tags","blobs_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/refs{/sha}","trees_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/statuses/{sha}","languages_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/languages","stargazers_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/stargazers","contributors_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/contributors","subscribers_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/subscribers","subscription_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/subscription","commits_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/commits{/sha}","git_commits_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/commits{/sha}","comments_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/comments{/number}","issue_comment_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/comments{/number}","contents_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/contents/{+path}","compare_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/merges","archive_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/downloads","issues_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues{/number}","pulls_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls{/number}","milestones_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/milestones{/number}","notifications_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/labels{/name}","releases_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/releases{/id}","deployments_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/deployments","created_at":"2017-06-28T12:49:54Z","updated_at":"2017-06-28T12:49:56Z","pushed_at":"2017-07-14T13:29:16Z","git_url":"git://github.com/SEDISH/openmrs-module-shr-cdahandler.git","ssh_url":"git@github.com:SEDISH/openmrs-module-shr-cdahandler.git","clone_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler.git","svn_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler","homepage":null,"size":713,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"SEDISH:master","ref":"master","sha":"1a9a37aa52894d50f06768ca85efed2124a3e89e","user":{"login":"SEDISH","id":26371040,"avatar_url":"https://avatars2.githubusercontent.com/u/26371040?v=4","gravatar_id":"","url":"https://api.github.com/users/SEDISH","html_url":"https://github.com/SEDISH","followers_url":"https://api.github.com/users/SEDISH/followers","following_url":"https://api.github.com/users/SEDISH/following{/other_user}","gists_url":"https://api.github.com/users/SEDISH/gists{/gist_id}","starred_url":"https://api.github.com/users/SEDISH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEDISH/subscriptions","organizations_url":"https://api.github.com/users/SEDISH/orgs","repos_url":"https://api.github.com/users/SEDISH/repos","events_url":"https://api.github.com/users/SEDISH/events{/privacy}","received_events_url":"https://api.github.com/users/SEDISH/received_events","type":"Organization","site_admin":false},"repo":{"id":95668527,"name":"openmrs-module-shr-cdahandler","full_name":"SEDISH/openmrs-module-shr-cdahandler","owner":{"login":"SEDISH","id":26371040,"avatar_url":"https://avatars2.githubusercontent.com/u/26371040?v=4","gravatar_id":"","url":"https://api.github.com/users/SEDISH","html_url":"https://github.com/SEDISH","followers_url":"https://api.github.com/users/SEDISH/followers","following_url":"https://api.github.com/users/SEDISH/following{/other_user}","gists_url":"https://api.github.com/users/SEDISH/gists{/gist_id}","starred_url":"https://api.github.com/users/SEDISH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEDISH/subscriptions","organizations_url":"https://api.github.com/users/SEDISH/orgs","repos_url":"https://api.github.com/users/SEDISH/repos","events_url":"https://api.github.com/users/SEDISH/events{/privacy}","received_events_url":"https://api.github.com/users/SEDISH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler","description":"A CDA handler for the OpenMRS SHR implementation","fork":true,"url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler","forks_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/forks","keys_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/teams","hooks_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/hooks","issue_events_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/events{/number}","events_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/events","assignees_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/assignees{/user}","branches_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/branches{/branch}","tags_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/tags","blobs_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/refs{/sha}","trees_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/statuses/{sha}","languages_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/languages","stargazers_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/stargazers","contributors_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/contributors","subscribers_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/subscribers","subscription_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/subscription","commits_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/commits{/sha}","git_commits_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/git/commits{/sha}","comments_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/comments{/number}","issue_comment_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/comments{/number}","contents_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/contents/{+path}","compare_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/merges","archive_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/downloads","issues_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues{/number}","pulls_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls{/number}","milestones_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/milestones{/number}","notifications_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/labels{/name}","releases_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/releases{/id}","deployments_url":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/deployments","created_at":"2017-06-28T12:49:54Z","updated_at":"2017-06-28T12:49:56Z","pushed_at":"2017-07-14T13:29:16Z","git_url":"git://github.com/SEDISH/openmrs-module-shr-cdahandler.git","ssh_url":"git@github.com:SEDISH/openmrs-module-shr-cdahandler.git","clone_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler.git","svn_url":"https://github.com/SEDISH/openmrs-module-shr-cdahandler","homepage":null,"size":713,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2"},"html":{"href":"https://github.com/SEDISH/openmrs-module-shr-cdahandler/pull/2"},"issue":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/2"},"comments":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/SEDISH/openmrs-module-shr-cdahandler/statuses/fd5e3e0f40b38df70c7e92424753ddfec6d3163f"}}}}
{"actor":{"display_login":"areklalo"}}