{"action":"created","comment":{"url":"https://api.github.com/repos/openemr/openemr/pulls/comments/85062400","pull_request_review_id":5799235,"id":85062400,"diff_hunk":"@@ -409,6 +426,35 @@\n         $(\"#new_note\").submit();\n     }\n });\n+ function gotoReport(doc_id,pname,pid,pubpid,str_dob){\n+\t\tEncounterDateArray=new Array;\n+        CalendarCategoryArray=new Array;\n+        EncounterIdArray=new Array;\n+        Count = 0;\n+\t<?php\n+\t\tif(isset($enc_list) && sqlNumRows($enc_list) >0 ){\n+\t\t\twhile($row = sqlFetchArray($enc_list)){\n+\t?>\n+\t\t\t\t        EncounterIdArray[Count]='<?php echo attr($row['encounter']); ?>';\n+                                        EncounterDateArray[Count]='<?php echo attr(oeFormatShortDate(date(\"Y-m-d\", strtotime($row['date'])))); ?>';\n+                                        CalendarCategoryArray[Count]='<?php echo attr(xl_appt_category($row['pc_catname'])); ?>';\n+                                        Count++;\n+\t<?php\n+\t\t\t}\n+\t\t}\n+\t?>\n+\t$.ajax({\n+\t\ttype:'post',\n+\t\turl:'<?php echo $GLOBALS['webroot'].\"/library/ajax/set_session_ajax.php\";?>',\n+\t\tdata:{set_pid: pid},\n+\t\tasync: false\n+\t});\n+\tparent.left_nav.setPatient(pname,pid,pubpid,window.name,str_dob);\n+\tparent.left_nav.setPatientEncounter(EncounterIdArray,EncounterDateArray,CalendarCategoryArray);\n+\tvar baseurl  = '<?php  echo $GLOBALS['webroot'] . \"/controller.php?document&view\"; ?>';\n+\tvar params   = \"&patient_id=\" + pid + \"&document_id=\" + doc_id + \"&\";\n+\tlocation.href = baseurl + params;","path":"interface/main/messages/messages.php","position":64,"original_position":64,"commit_id":"e67552f1f94bd6eaae86e1e21c3769d21ea37e79","original_commit_id":"e67552f1f94bd6eaae86e1e21c3769d21ea37e79","user":{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false},"body":"This may possibly need a little work after testing (to ensure it works in both frames mode and tabs mode). Will test it after next revision.","created_at":"2016-10-26T07:24:22Z","updated_at":"2016-10-26T07:24:22Z","html_url":"https://github.com/openemr/openemr/pull/328#discussion_r85062400","pull_request_url":"https://api.github.com/repos/openemr/openemr/pulls/328","_links":{"self":{"href":"https://api.github.com/repos/openemr/openemr/pulls/comments/85062400"},"html":{"href":"https://github.com/openemr/openemr/pull/328#discussion_r85062400"},"pull_request":{"href":"https://api.github.com/repos/openemr/openemr/pulls/328"}}},"pull_request":{"url":"https://api.github.com/repos/openemr/openemr/pulls/328","id":90747443,"html_url":"https://github.com/openemr/openemr/pull/328","diff_url":"https://github.com/openemr/openemr/pull/328.diff","patch_url":"https://github.com/openemr/openemr/pull/328.patch","issue_url":"https://api.github.com/repos/openemr/openemr/issues/328","number":328,"state":"open","locked":false,"title":"Mu2 final revision changes - ViSolve","user":{"login":"visolve-openemr","id":1726355,"avatar_url":"https://avatars.githubusercontent.com/u/1726355?v=3","gravatar_id":"","url":"https://api.github.com/users/visolve-openemr","html_url":"https://github.com/visolve-openemr","followers_url":"https://api.github.com/users/visolve-openemr/followers","following_url":"https://api.github.com/users/visolve-openemr/following{/other_user}","gists_url":"https://api.github.com/users/visolve-openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/visolve-openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visolve-openemr/subscriptions","organizations_url":"https://api.github.com/users/visolve-openemr/orgs","repos_url":"https://api.github.com/users/visolve-openemr/repos","events_url":"https://api.github.com/users/visolve-openemr/events{/privacy}","received_events_url":"https://api.github.com/users/visolve-openemr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-25T06:42:11Z","updated_at":"2016-10-26T07:24:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bfed0d7ba9846675490bb5e9c21cefa3370c760","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openemr/openemr/pulls/328/commits","review_comments_url":"https://api.github.com/repos/openemr/openemr/pulls/328/comments","review_comment_url":"https://api.github.com/repos/openemr/openemr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openemr/openemr/issues/328/comments","statuses_url":"https://api.github.com/repos/openemr/openemr/statuses/e67552f1f94bd6eaae86e1e21c3769d21ea37e79","head":{"label":"visolve-openemr:mu2-final-rev-changes","ref":"mu2-final-rev-changes","sha":"e67552f1f94bd6eaae86e1e21c3769d21ea37e79","user":{"login":"visolve-openemr","id":1726355,"avatar_url":"https://avatars.githubusercontent.com/u/1726355?v=3","gravatar_id":"","url":"https://api.github.com/users/visolve-openemr","html_url":"https://github.com/visolve-openemr","followers_url":"https://api.github.com/users/visolve-openemr/followers","following_url":"https://api.github.com/users/visolve-openemr/following{/other_user}","gists_url":"https://api.github.com/users/visolve-openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/visolve-openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visolve-openemr/subscriptions","organizations_url":"https://api.github.com/users/visolve-openemr/orgs","repos_url":"https://api.github.com/users/visolve-openemr/repos","events_url":"https://api.github.com/users/visolve-openemr/events{/privacy}","received_events_url":"https://api.github.com/users/visolve-openemr/received_events","type":"User","site_admin":false},"repo":{"id":10071960,"name":"Openemr_features_enhancements","full_name":"visolve-openemr/Openemr_features_enhancements","owner":{"login":"visolve-openemr","id":1726355,"avatar_url":"https://avatars.githubusercontent.com/u/1726355?v=3","gravatar_id":"","url":"https://api.github.com/users/visolve-openemr","html_url":"https://github.com/visolve-openemr","followers_url":"https://api.github.com/users/visolve-openemr/followers","following_url":"https://api.github.com/users/visolve-openemr/following{/other_user}","gists_url":"https://api.github.com/users/visolve-openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/visolve-openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visolve-openemr/subscriptions","organizations_url":"https://api.github.com/users/visolve-openemr/orgs","repos_url":"https://api.github.com/users/visolve-openemr/repos","events_url":"https://api.github.com/users/visolve-openemr/events{/privacy}","received_events_url":"https://api.github.com/users/visolve-openemr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/visolve-openemr/Openemr_features_enhancements","description":"Mirror of official OpenEMR Sourceforge repository","fork":true,"url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements","forks_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/forks","keys_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/teams","hooks_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/hooks","issue_events_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/issues/events{/number}","events_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/events","assignees_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/assignees{/user}","branches_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/branches{/branch}","tags_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/tags","blobs_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/git/refs{/sha}","trees_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/statuses/{sha}","languages_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/languages","stargazers_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/stargazers","contributors_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/contributors","subscribers_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/subscribers","subscription_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/subscription","commits_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/commits{/sha}","git_commits_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/git/commits{/sha}","comments_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/comments{/number}","issue_comment_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/issues/comments{/number}","contents_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/contents/{+path}","compare_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/merges","archive_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/downloads","issues_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/issues{/number}","pulls_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/pulls{/number}","milestones_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/milestones{/number}","notifications_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/labels{/name}","releases_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/releases{/id}","deployments_url":"https://api.github.com/repos/visolve-openemr/Openemr_features_enhancements/deployments","created_at":"2013-05-15T05:47:05Z","updated_at":"2015-11-15T18:00:05Z","pushed_at":"2016-10-25T09:12:26Z","git_url":"git://github.com/visolve-openemr/Openemr_features_enhancements.git","ssh_url":"git@github.com:visolve-openemr/Openemr_features_enhancements.git","clone_url":"https://github.com/visolve-openemr/Openemr_features_enhancements.git","svn_url":"https://github.com/visolve-openemr/Openemr_features_enhancements","homepage":"http://open-emr.org/","size":271506,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"openemr:master","ref":"master","sha":"1890379f2333a6e247c81649cf2b8e2e416291ab","user":{"login":"openemr","id":283089,"avatar_url":"https://avatars.githubusercontent.com/u/283089?v=3","gravatar_id":"","url":"https://api.github.com/users/openemr","html_url":"https://github.com/openemr","followers_url":"https://api.github.com/users/openemr/followers","following_url":"https://api.github.com/users/openemr/following{/other_user}","gists_url":"https://api.github.com/users/openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openemr/subscriptions","organizations_url":"https://api.github.com/users/openemr/orgs","repos_url":"https://api.github.com/users/openemr/repos","events_url":"https://api.github.com/users/openemr/events{/privacy}","received_events_url":"https://api.github.com/users/openemr/received_events","type":"Organization","site_admin":false},"repo":{"id":679584,"name":"openemr","full_name":"openemr/openemr","owner":{"login":"openemr","id":283089,"avatar_url":"https://avatars.githubusercontent.com/u/283089?v=3","gravatar_id":"","url":"https://api.github.com/users/openemr","html_url":"https://github.com/openemr","followers_url":"https://api.github.com/users/openemr/followers","following_url":"https://api.github.com/users/openemr/following{/other_user}","gists_url":"https://api.github.com/users/openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openemr/subscriptions","organizations_url":"https://api.github.com/users/openemr/orgs","repos_url":"https://api.github.com/users/openemr/repos","events_url":"https://api.github.com/users/openemr/events{/privacy}","received_events_url":"https://api.github.com/users/openemr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openemr/openemr","description":"Mirror of official OpenEMR Sourceforge repository","fork":false,"url":"https://api.github.com/repos/openemr/openemr","forks_url":"https://api.github.com/repos/openemr/openemr/forks","keys_url":"https://api.github.com/repos/openemr/openemr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openemr/openemr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openemr/openemr/teams","hooks_url":"https://api.github.com/repos/openemr/openemr/hooks","issue_events_url":"https://api.github.com/repos/openemr/openemr/issues/events{/number}","events_url":"https://api.github.com/repos/openemr/openemr/events","assignees_url":"https://api.github.com/repos/openemr/openemr/assignees{/user}","branches_url":"https://api.github.com/repos/openemr/openemr/branches{/branch}","tags_url":"https://api.github.com/repos/openemr/openemr/tags","blobs_url":"https://api.github.com/repos/openemr/openemr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openemr/openemr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openemr/openemr/git/refs{/sha}","trees_url":"https://api.github.com/repos/openemr/openemr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openemr/openemr/statuses/{sha}","languages_url":"https://api.github.com/repos/openemr/openemr/languages","stargazers_url":"https://api.github.com/repos/openemr/openemr/stargazers","contributors_url":"https://api.github.com/repos/openemr/openemr/contributors","subscribers_url":"https://api.github.com/repos/openemr/openemr/subscribers","subscription_url":"https://api.github.com/repos/openemr/openemr/subscription","commits_url":"https://api.github.com/repos/openemr/openemr/commits{/sha}","git_commits_url":"https://api.github.com/repos/openemr/openemr/git/commits{/sha}","comments_url":"https://api.github.com/repos/openemr/openemr/comments{/number}","issue_comment_url":"https://api.github.com/repos/openemr/openemr/issues/comments{/number}","contents_url":"https://api.github.com/repos/openemr/openemr/contents/{+path}","compare_url":"https://api.github.com/repos/openemr/openemr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openemr/openemr/merges","archive_url":"https://api.github.com/repos/openemr/openemr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openemr/openemr/downloads","issues_url":"https://api.github.com/repos/openemr/openemr/issues{/number}","pulls_url":"https://api.github.com/repos/openemr/openemr/pulls{/number}","milestones_url":"https://api.github.com/repos/openemr/openemr/milestones{/number}","notifications_url":"https://api.github.com/repos/openemr/openemr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openemr/openemr/labels{/name}","releases_url":"https://api.github.com/repos/openemr/openemr/releases{/id}","deployments_url":"https://api.github.com/repos/openemr/openemr/deployments","created_at":"2010-05-21T19:54:08Z","updated_at":"2016-10-23T08:43:22Z","pushed_at":"2016-10-26T06:47:58Z","git_url":"git://github.com/openemr/openemr.git","ssh_url":"git@github.com:openemr/openemr.git","clone_url":"https://github.com/openemr/openemr.git","svn_url":"https://github.com/openemr/openemr","homepage":"http://open-emr.org/","size":307508,"stargazers_count":307,"watchers_count":307,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":464,"mirror_url":null,"open_issues_count":47,"forks":464,"open_issues":47,"watchers":307,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openemr/openemr/pulls/328"},"html":{"href":"https://github.com/openemr/openemr/pull/328"},"issue":{"href":"https://api.github.com/repos/openemr/openemr/issues/328"},"comments":{"href":"https://api.github.com/repos/openemr/openemr/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/openemr/openemr/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/openemr/openemr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openemr/openemr/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/openemr/openemr/statuses/e67552f1f94bd6eaae86e1e21c3769d21ea37e79"}}}}
{"actor":{"display_login":"bradymiller"}}