{"action":"created","comment":{"url":"https://api.github.com/repos/openemr/openemr/pulls/comments/208801905","pull_request_review_id":144685382,"id":208801905,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODgwMTkwNQ==","diff_hunk":"@@ -252,388 +253,467 @@ function proc_type_changed() {\n \n     <body class=\"body_top\">\n         <div class= \"container\">\n-        <?php\n-        // If we are saving, then save and close the window.\n-        //\n-        if ($_POST['form_save']) {\n-            $sets =\n-            \"name = \" . invalue('form_name') . \", \" .\n-            \"lab_id = \" . invalue('form_lab_id') . \", \" .\n-            \"procedure_code = \" . invalue('form_procedure_code') . \", \" .\n-            \"procedure_type = \" . invalue('form_procedure_type') . \", \" .\n-            \"body_site = \" . invalue('form_body_site') . \", \" .\n-            \"specimen = \" . invalue('form_specimen') . \", \" .\n-            \"route_admin = \" . invalue('form_route_admin') . \", \" .\n-            \"laterality = \" . invalue('form_laterality') . \", \" .\n-            \"description = \" . invalue('form_description') . \", \" .\n-            \"units = \" . invalue('form_units') . \", \" .\n-            \"`range` = \" . invalue('form_range') . \", \" .\n-            \"standard_code = \" . invalue('form_standard_code') . \", \" .\n-            \"related_code = \" . (isset($_POST['form_diagnosis_code']) ? invalue('form_diagnosis_code') : invalue('form_related_code')) . \", \" .\n-            \"seq = \" . invalue('form_seq');\n+            <?php\n+            // If we are saving, then save and close the window.\n+            //\n+            if ($_POST['form_save']) {\n+                $p_procedure_code = invalue('form_procedure_code');\n+                \n+                if ($_POST['form_procedure_type'] == 'grp') {\n+                    $p_procedure_code = \"''\";\n+                }\n+                \n+                $sets =\n+                \"name = \" . invalue('form_name') . \", \" .\n+                \"lab_id = \" . invalue('form_lab_id') . \", \" .\n+                \"procedure_code = $p_procedure_code, \" .\n+                \"procedure_type = \" . invalue('form_procedure_type') . \", \" .\n+                \"body_site = \" . invalue('form_body_site') . \", \" .\n+                \"specimen = \" . invalue('form_specimen') . \", \" .\n+                \"route_admin = \" . invalue('form_route_admin') . \", \" .\n+                \"laterality = \" . invalue('form_laterality') . \", \" .\n+                \"description = \" . invalue('form_description') . \", \" .\n+                \"units = \" . invalue('form_units') . \", \" .\n+                \"`range` = \" . invalue('form_range') . \", \" .\n+                \"standard_code = \" . invalue('form_standard_code') . \", \" .\n+                \"related_code = \" . (isset($_POST['form_diagnosis_code']) ? invalue('form_diagnosis_code') : invalue('form_related_code')) . \", \" .\n+                \"seq = \" . invalue('form_seq');\n+\n+                if ($typeid) {\n+                    sqlStatement(\"UPDATE procedure_type SET $sets WHERE procedure_type_id = '$typeid'\");\n+                    // Get parent ID so we can refresh the tree view.\n+                    $row = sqlQuery(\"SELECT parent FROM procedure_type WHERE \" .\n+                        \"procedure_type_id = '$typeid'\");\n+                    $parent = $row['parent'];\n+                } else {\n+                    $newid = sqlInsert(\"INSERT INTO procedure_type SET parent = '$parent', $sets\");\n+                    // $newid is not really used in this script\n+                }\n+            } elseif ($_POST['form_delete']) {\n+                if ($typeid) {\n+                    // Get parent ID so we can refresh the tree view after deleting.\n+                    $row = sqlQuery(\"SELECT parent FROM procedure_type WHERE \" .\n+                        \"procedure_type_id = '$typeid'\");\n+                    $parent = $row['parent'];\n+                    recursiveDelete($typeid);\n+                }\n+            }\n \n-            if ($typeid) {\n-                sqlStatement(\"UPDATE procedure_type SET $sets WHERE procedure_type_id = '$typeid'\");\n-                // Get parent ID so we can refresh the tree view.\n-                $row = sqlQuery(\"SELECT parent FROM procedure_type WHERE \" .\n-                    \"procedure_type_id = '$typeid'\");\n-                $parent = $row['parent'];\n-            } else {\n-                $newid = sqlInsert(\"INSERT INTO procedure_type SET parent = '$parent', $sets\");\n-                // $newid is not really used in this script\n+            if ($_POST['form_save'] || $_POST['form_delete']) {\n+                // Find out if this parent still has any children.\n+                $trow = sqlQuery(\"SELECT procedure_type_id FROM procedure_type WHERE parent = '$parent' LIMIT 1\");\n+                // Close this window and redisplay the updated list.\n+                echo \"<script language='JavaScript'>\\n\";\n+                if ($info_msg) {\n+                    echo \" alert('$info_msg');\\n\";\n+                }\n+\n+                echo \" window.close();\\n\";\n+                echo \" if (opener.refreshFamily) opener.refreshFamily($parent,'true');\\n\";\n+                echo \"</script></body></html>\\n\";\n+                exit();\n             }\n-        } elseif ($_POST['form_delete']) {\n+\n             if ($typeid) {\n-                // Get parent ID so we can refresh the tree view after deleting.\n-                $row = sqlQuery(\"SELECT parent FROM procedure_type WHERE \" .\n-                    \"procedure_type_id = '$typeid'\");\n-                $parent = $row['parent'];\n-                recursiveDelete($typeid);\n-            }\n-        }\n-\n-        if ($_POST['form_save'] || $_POST['form_delete']) {\n-            // Find out if this parent still has any children.\n-            $trow = sqlQuery(\"SELECT procedure_type_id FROM procedure_type WHERE parent = '$parent' LIMIT 1\");\n-            // Close this window and redisplay the updated list.\n-            echo \"<script language='JavaScript'>\\n\";\n-            if ($info_msg) {\n-                echo \" alert('$info_msg');\\n\";\n+                $row = sqlQuery(\"SELECT * FROM procedure_type WHERE procedure_type_id = '$typeid'\");\n             }\n-\n-            echo \" window.close();\\n\";\n-            echo \" if (opener.refreshFamily) opener.refreshFamily($parent,'true');\\n\";\n-            echo \"</script></body></html>\\n\";\n-            exit();\n-        }\n-\n-        if ($typeid) {\n-            $row = sqlQuery(\"SELECT * FROM procedure_type WHERE procedure_type_id = '$typeid'\");\n-        }\n-        $info_icon_title = xl(\"Click to reveal more information\");\n-        ?>\n-        <div class=\"row\">\n-            <form method='post' name='theform' class=\"form-horizontal\"\n-                action='types_edit.php?typeid=<?php echo $typeid ?>&parent=<?php echo $parent ?>'>\n-                <!-- no restoreSession() on submit because session data are not relevant -->\n-                <fieldset>\n-                    <legend name=\"form_legend\" id=\"form_legend\"><?php echo xlt('Enter Details'); ?>   <i id='enter_details' class='fa fa-info-circle oe-text-black oe-superscript enter-details-tooltip' aria-hidden='true'></i></legend>\n-                     <div class=\"col-xs-12\">\n-                        <div class=\"clearfix\">\n-                            <div class=\"col-sm-12 label-div\">\n-                                <label class=\"control-label \" for=\"form_procedure_type\"><?php echo xlt('Procedure Tier'); ?>:</label> <a href=\"#procedure_type_info\"  class=\"info-anchor icon-tooltip\"  data-toggle=\"collapse\" ><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+            $info_icon_title = xl(\"Click to reveal more information\");\n+            ?>\n+            <div class=\"row\">\n+                <div class=\"col-sm-12\">\n+                    <form method='post' name='theform' class=\"form-horizontal\"\n+                        action='types_edit.php?typeid=<?php echo $typeid ?>&parent=<?php echo $parent ?>'>\n+                        <!-- no restoreSession() on submit because session data are not relevant -->\n+                        <fieldset>\n+                            <legend name=\"form_legend\" id=\"form_legend\"><?php echo xlt('Enter Details'); ?>   <i id='enter_details' class='fa fa-info-circle oe-text-black oe-superscript enter-details-tooltip' aria-hidden='true'></i></legend>\n+                            <div class=\"row\" >\n+                                <div class=\"col-sm-12\">\n+                                    <div class=\"clearfix\">\n+                                        <div class=\"col-sm-12 label-div\">\n+                                            <label class=\"control-label\" for=\"form_procedure_type\"><?php echo xlt('Procedure Tier'); ?>:</label> <a href=\"#procedure_type_info\"  class=\"info-anchor icon-tooltip\"  data-toggle=\"collapse\" ><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                                        </div>\n+                                        <div class=\"col-sm-12\">\n+                                            <?php\n+                                            $ordd = $ordtype ? $ordtype : $row['procedure_type'];\n+                                            echo generate_select_list(\n+                                                'form_procedure_type',\n+                                                'proc_type',\n+                                                $ordd,\n+                                                xl('The type of this entity'),\n+                                                ' ',\n+                                                \"$disabled\",\n+                                                'proc_type_changed()'\n+                                            );\n+                                            ?>\n+                                        </div>\n+                                    </div>\n+                                    <div id=\"procedure_type_info\" class=\"collapse\">\n+                                        <a href=\"#procedure_type_info\" data-toggle=\"collapse\" class=\"oe-pull-away\"><i class=\"fa fa-times oe-help-x\" aria-hidden=\"true\"></i></a>\n+                                        <p><?php echo xlt(\"In order to properly store and retrieve test results and place new orders, tests/orders have to be setup in \n+                                            a hierarchical manner\");?>.</p>\n+                                        <p><?php echo xlt(\"Group - First tier - For a group of tests e.g. Organ/Disease Panel\");?></p>\n+                                        <p><?php echo xlt(\"Procedure Type - Second Tier - For a Test containing a collection of tests e.g. Electrolyte Panel\");?></p>\n+                                        <p><?php echo xlt(\"Discrete Result - Third Tier - The actual test names to hold the results returned Na, K, Cl, CO2 and Default Units, Default Range etc\");?></p>\n+                                        <p><?php echo xlt(\"Recommendation - Optional\");?></p>\n+                                        <p><?php echo xlt(\"For single tests: Group >Procedure Type > Discrete results\");?></p>\n+                                        <p><?php echo xlt(\"Group - Individual Tests\");?></p>\n+                                        <p><?php echo xlt(\"Procedure Order - Serum Uric Acid\");?></p>\n+                                        <p><?php echo xlt(\"Discrete Result - Serum Uric Acid - will hold the returned result value\");?></p>\n+                                        <p><?php echo xlt(\"The difference between the two is that for a panel of tests that are ordered together the individual tests are represented by Discrete Result only and these tests cannot be ordered separately unless they have also been setup as single tests\");?></p>\n+                                        <p><?php echo xlt(\"For Custom Groups: Custom Favorite Group > Custom Favorite Item > Discrete results\");?> <i class=\"fa fa-exclamation-circle oe-text-red\" aria-hidden=\"true\"></i>&nbsp;<strong><?php echo xlt(\"New in openEMR ver 5.0.2 \"); ?></strong></p>\n+                                        <p><?php echo xlt(\"As the fist step choose Group or Custom Favorite Group, as the case may be, as the Top Level Tier 1 and fill in the required details\");?></p>\n+                                        <p><?php echo xlt(\"For detailed instructions close the 'Enter Details' pop-up and click on the Help icon on the main form. \");?><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></p>\n+                                    </div>\n+                                </div>\n                             </div>\n-                            <div class=\"col-sm-12\">\n-                                <?php\n-                                $ordd = $ordtype ? $ordtype : $row['procedure_type'];\n-                                echo generate_select_list(\n-                                    'form_procedure_type',\n-                                    'proc_type',\n-                                    $ordd,\n-                                    xl('The type of this entity'),\n-                                    ' ',\n-                                    \"$disabled\",\n-                                    'proc_type_changed()'\n-                                );\n-                                ?>\n+                            <div class=\"row\">\n+                                <div class=\"col-sm-12\">\n+                                    <div class=\"clearfix\">\n+                                        <div class=\"col-sm-12 label-div\">\n+                                            <label class=\"control-label\" for=\"form_name\"><?php echo xlt('Name'); ?>:</label><a href=\"#name_info\" class=\"icon-tooltip\" data-toggle=\"collapse\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                                        </div>\n+                                        <div class=\"col-sm-12\">\n+                                            <input type='text' name='form_name' id='form_name 'maxlength='63'\n+                                                value='<?php echo htmlspecialchars($row['name'], ENT_QUOTES); ?>'\n+                                                title='<?php echo xlt('Your name for this category, procedure or result'); ?>'\n+                                                 class='form-control'>\n+                                        </div>\n+                                    </div>\n+                                    <div id=\"name_info\" class=\"collapse\">\n+                                        <a href=\"#name_info\" data-toggle=\"collapse\" class=\"oe-pull-away\"><i class=\"fa fa-times oe-help-x\" aria-hidden=\"true\"></i></a>\n+                                        <p><?php echo xlt(\"Name for this Category, Procedure or Result\");?></p>\n+                                    </div>\n+                                </div>\n                             </div>\n-                        </div>\n-                        <div id=\"procedure_type_info\" class=\"collapse\">\n-                            <a href=\"#procedure_type_info\" data-toggle=\"collapse\" class=\"pull-right\"><i class=\"fa fa-times\" style=\"color:gray\" aria-hidden=\"true\"></i></a>\n-                            <p><?php echo xlt(\"In order to properly store and retrieve test results and place new orders, tests/orders have to be setup in \n-                                a hierarchical manner\");?>.</p>\n-                            <p><?php echo xlt(\"Group - First tier - For a group of tests e.g. Organ/Disease Panel\");?></p>\n-                            <p><?php echo xlt(\"Procedure Type - Second Tier - For a Test containing a collection of tests e.g. Electrolyte Panel\");?></p>\n-                            <p><?php echo xlt(\"Discrete Result - Third Tier - The actual test names to hold the results returned Na, K, Cl, CO2 and Default Units, Default Range etc\");?></p>\n-                            <p><?php echo xlt(\"Recommendation - Optional\");?></p>\n-                            <p><?php echo xlt(\"For single tests: Group >Procedure Type > Discrete results\");?></p>\n-                            <p><?php echo xlt(\"Group - Individual Tests\");?></p>\n-                            <p><?php echo xlt(\"Procedure Order - Serum Uric Acid\");?></p>\n-                            <p><?php echo xlt(\"Discrete Result - Serum Uric Acid - will hold the returned result value\");?></p>\n-                            <p><?php echo xlt(\"The difference between the two is that for a panel of tests that are ordered together the individual tests are represented by Discrete Result only and these tests cannot be ordered separately unless they have also been setup as single tests\");?></p>\n-                            <p><?php echo xlt(\"As the fist step choose Group as the Top Level Tier 1 and fill in the required details\");?></p>\n-                            <p><?php echo xlt(\"For detailed instructions close the 'Enter Details' popup and click on the Help icon on the main form. \");?><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></p>\n-                        </div>\n-                    </div>\n-                    <div class=\"col-xs-12\">\n-                        <div class=\"clearfix\">\n-                            <div class=\"col-sm-12 label-div\">\n-                                <label class=\"control-label\" for=\"form_name\"><?php echo xlt('Name'); ?>:</label><a href=\"#name_info\" class=\"icon-tooltip\" data-toggle=\"collapse\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                            <div class=\"row\">\n+                                <div class=\"col-sm-12\">\n+                                    <div class=\"clearfix\">\n+                                        <div class=\"col-sm-12 label-div\">\n+                                            <label class=\"control-label\" for=\"form_description\"><?php echo xlt('Description'); ?>:</label><a href=\"#description_info\" class=\"icon-tooltip\" data-toggle=\"collapse\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                                        </div>\n+                                        <div class=\"col-sm-12\">\n+                                            <input type='text' name='form_description' id='form_description'\n+                                                maxlength='255'\n+                                                value='<?php echo htmlspecialchars($row['description'], ENT_QUOTES); ?>'\n+                                                title='<?php echo xlt('Description of this procedure or result code'); ?>'\n+                                                class='form-control'>\n+                                        </div>\n+                                    </div>\n+                                    <div id=\"description_info\" class=\"collapse\">\n+                                        <a href=\"#description_info\" data-toggle=\"collapse\" class=\"oe-pull-away\"><i class=\"fa fa-times oe-help-x\" aria-hidden=\"true\"></i></a>\n+                                        <p><?php echo xlt(\"A short description of this procedure or result code\");?></p>\n+                                    </div>\n+                                </div>\n                             </div>\n-                            <div class=\"col-sm-12\">\n-                                <input type='text' name='form_name' id='form_name 'maxlength='63'\n-                                    value='<?php echo htmlspecialchars($row['name'], ENT_QUOTES); ?>'\n-                                    title='<?php echo xlt('Your name for this category, procedure or result'); ?>'\n-                                     class='form-control'>\n+                            <div class=\"row\">\n+                                <div class=\"col-sm-12\">\n+                                    <div class=\"clearfix\">\n+                                        <div class=\"col-sm-12 label-div\">\n+                                            <label class=\"control-label\" for=\"form_seq\"><?php echo xlt('Sequence'); ?>:</label><a href=\"#sequence_info\" class=\"icon-tooltip\" data-toggle=\"collapse\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                                        </div>\n+                                        <div class=\"col-sm-12\">\n+                                            <input type='text' name='form_seq' id=='form_seq' maxlength='11'\n+                                                value='<?php echo $row['seq'] + 0; ?>'\n+                                                title='<?php echo xla('Relative ordering of this entity'); ?>'\n+                                                class='form-control'>\n+                                        </div>\n+                                    </div>\n+                                    <div id=\"sequence_info\" class=\"collapse\">\n+                                        <a href=\"#sequence_info\" data-toggle=\"collapse\" class=\"oe-pull-away\"><i class=\"fa fa-times oe-help-x\" aria-hidden=\"true\"></i></a>\n+                                        <p><?php echo xlt(\"The order in which the Category, Procedure or Result appears\");?></p>\n+                                        <p><?php echo xlt(\"If value is left as zero, will be sorted alphabetically\");?></p>\n+                                    </div>\n+                                </div>\n                             </div>\n-                        </div>\n-                        <div id=\"name_info\" class=\"col-sm-12 collapse\">\n-                            <a href=\"#name_info\" data-toggle=\"collapse\" class=\"pull-right\"><i class=\"fa fa-times\" style=\"color:gray\" aria-hidden=\"true\"></i></a>\n-                            <p><?php echo xlt(\"Name for this Category, Procedure or Result\");?></p>\n-                        </div>\n-                    </div>\n-                    <div class=\"col-xs-12\">\n-                        <div class=\"clearfix\">\n-                            <div class=\"col-sm-12 label-div\">\n-                                <label class=\"control-label\" for=\"form_description\"><?php echo xlt('Description'); ?>:</label><a href=\"#description_info\" class=\"icon-tooltip\" data-toggle=\"collapse\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                            <div class=\"row\">\n+                                <div class=\"col-sm-12 ordonly  fgponly foronly\">\n+                                    <div class=\"clearfix\">\n+                                        <div class=\"col-sm-12 label-div\">\n+                                            <label class=\"control-label\" for=\"form_lab_id\"><?php echo xlt('Order From'); ?>:</label><a href=\"#order_info\" class=\"icon-tooltip\" data-toggle=\"collapse\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i></a>\n+                                        </div>\n+                                        <div class=\"col-sm-12\">\n+                                            <?php\n+                                            if ($ordtype == 'for') {\n+                                                //$title = xl('This Custom Favorite item can only be sent to the displayed lab, the one that was chosen in the Custom Favorite Group');\n+                                                $ord_disabled = 'disabled';\n+                                            } elseif ($ordtype == 'fgp') {\n+                                                //$title = xl('You cannot edit the already chosen lab, if sending to different lab delete entry and create a new one');\n+                                                $ord_disabled = 'disabled';\n+                                            } else {\n+                                                $title = xl('The entity performing this procedure');\n+                                                $ord_disabled = '';\n+                                            }\n+                                            ?>\n+                                            <select name='form_lab_id' id='form_lab_id' class='form-control <?php echo $ord_disabled ;?>'\n+                                                title='<?php echo attr($title); ?>'>\n+                                                <?php\n+                                                if ($ordtype) {\n+                                                    $ppres = sqlStatement(\"SELECT ppid, name FROM procedure_providers WHERE ppid = $labid \" . \"ORDER BY name, ppid\");","path":"interface/orders/types_edit.php","position":359,"original_position":359,"commit_id":"40cb549dcdd37bb8b58f224187be8eea067fcf69","original_commit_id":"40cb549dcdd37bb8b58f224187be8eea067fcf69","user":{"login":"bradymiller","id":278968,"node_id":"MDQ6VXNlcjI3ODk2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/278968?v=4","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":"need to use sql binding on this:\r\n```\r\n$ppres = sqlStatement(\"SELECT ppid, name FROM procedure_providers WHERE ppid = ? ORDER BY name, ppid\", array($labid));\r\n```","created_at":"2018-08-09T04:15:07Z","updated_at":"2018-08-09T04:15:07Z","html_url":"https://github.com/openemr/openemr/pull/1789#discussion_r208801905","pull_request_url":"https://api.github.com/repos/openemr/openemr/pulls/1789","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openemr/openemr/pulls/comments/208801905"},"html":{"href":"https://github.com/openemr/openemr/pull/1789#discussion_r208801905"},"pull_request":{"href":"https://api.github.com/repos/openemr/openemr/pulls/1789"}}},"pull_request":{"url":"https://api.github.com/repos/openemr/openemr/pulls/1789","id":206622592,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NjIyNTky","html_url":"https://github.com/openemr/openemr/pull/1789","diff_url":"https://github.com/openemr/openemr/pull/1789.diff","patch_url":"https://github.com/openemr/openemr/pull/1789.patch","issue_url":"https://api.github.com/repos/openemr/openemr/issues/1789","number":1789,"state":"open","locked":false,"title":"Corrected Restyled Procedures - Part 2","user":{"login":"zbig01","id":12654295,"node_id":"MDQ6VXNlcjEyNjU0Mjk1","avatar_url":"https://avatars1.githubusercontent.com/u/12654295?v=4","gravatar_id":"","url":"https://api.github.com/users/zbig01","html_url":"https://github.com/zbig01","followers_url":"https://api.github.com/users/zbig01/followers","following_url":"https://api.github.com/users/zbig01/following{/other_user}","gists_url":"https://api.github.com/users/zbig01/gists{/gist_id}","starred_url":"https://api.github.com/users/zbig01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbig01/subscriptions","organizations_url":"https://api.github.com/users/zbig01/orgs","repos_url":"https://api.github.com/users/zbig01/repos","events_url":"https://api.github.com/users/zbig01/events{/privacy}","received_events_url":"https://api.github.com/users/zbig01/received_events","type":"User","site_admin":false},"body":"made needed changes to types.php, rtl changes and themes updated\r\naccordingly\r\n\r\nbelow added by bradymiller:\r\nUp for grabs demo for this PR is here: https://www.open-emr.org/wiki/index.php/Development_Demo#Beta_-_Up_For_Grabs_Demo","created_at":"2018-08-07T08:44:18Z","updated_at":"2018-08-09T04:15:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76f1c4a036366766da5146de88666c5bc00b0fed","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":433468182,"node_id":"MDU6TGFiZWw0MzM0NjgxODI=","url":"https://api.github.com/repos/openemr/openemr/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openemr/openemr/pulls/1789/commits","review_comments_url":"https://api.github.com/repos/openemr/openemr/pulls/1789/comments","review_comment_url":"https://api.github.com/repos/openemr/openemr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openemr/openemr/issues/1789/comments","statuses_url":"https://api.github.com/repos/openemr/openemr/statuses/40cb549dcdd37bb8b58f224187be8eea067fcf69","head":{"label":"zbig01:zbig01-go-37","ref":"zbig01-go-37","sha":"40cb549dcdd37bb8b58f224187be8eea067fcf69","user":{"login":"zbig01","id":12654295,"node_id":"MDQ6VXNlcjEyNjU0Mjk1","avatar_url":"https://avatars1.githubusercontent.com/u/12654295?v=4","gravatar_id":"","url":"https://api.github.com/users/zbig01","html_url":"https://github.com/zbig01","followers_url":"https://api.github.com/users/zbig01/followers","following_url":"https://api.github.com/users/zbig01/following{/other_user}","gists_url":"https://api.github.com/users/zbig01/gists{/gist_id}","starred_url":"https://api.github.com/users/zbig01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbig01/subscriptions","organizations_url":"https://api.github.com/users/zbig01/orgs","repos_url":"https://api.github.com/users/zbig01/repos","events_url":"https://api.github.com/users/zbig01/events{/privacy}","received_events_url":"https://api.github.com/users/zbig01/received_events","type":"User","site_admin":false},"repo":{"id":82410111,"node_id":"MDEwOlJlcG9zaXRvcnk4MjQxMDExMQ==","name":"openemr","full_name":"zbig01/openemr","owner":{"login":"zbig01","id":12654295,"node_id":"MDQ6VXNlcjEyNjU0Mjk1","avatar_url":"https://avatars1.githubusercontent.com/u/12654295?v=4","gravatar_id":"","url":"https://api.github.com/users/zbig01","html_url":"https://github.com/zbig01","followers_url":"https://api.github.com/users/zbig01/followers","following_url":"https://api.github.com/users/zbig01/following{/other_user}","gists_url":"https://api.github.com/users/zbig01/gists{/gist_id}","starred_url":"https://api.github.com/users/zbig01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbig01/subscriptions","organizations_url":"https://api.github.com/users/zbig01/orgs","repos_url":"https://api.github.com/users/zbig01/repos","events_url":"https://api.github.com/users/zbig01/events{/privacy}","received_events_url":"https://api.github.com/users/zbig01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zbig01/openemr","description":"Official OpenEMR repository","fork":true,"url":"https://api.github.com/repos/zbig01/openemr","forks_url":"https://api.github.com/repos/zbig01/openemr/forks","keys_url":"https://api.github.com/repos/zbig01/openemr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zbig01/openemr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zbig01/openemr/teams","hooks_url":"https://api.github.com/repos/zbig01/openemr/hooks","issue_events_url":"https://api.github.com/repos/zbig01/openemr/issues/events{/number}","events_url":"https://api.github.com/repos/zbig01/openemr/events","assignees_url":"https://api.github.com/repos/zbig01/openemr/assignees{/user}","branches_url":"https://api.github.com/repos/zbig01/openemr/branches{/branch}","tags_url":"https://api.github.com/repos/zbig01/openemr/tags","blobs_url":"https://api.github.com/repos/zbig01/openemr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zbig01/openemr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zbig01/openemr/git/refs{/sha}","trees_url":"https://api.github.com/repos/zbig01/openemr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zbig01/openemr/statuses/{sha}","languages_url":"https://api.github.com/repos/zbig01/openemr/languages","stargazers_url":"https://api.github.com/repos/zbig01/openemr/stargazers","contributors_url":"https://api.github.com/repos/zbig01/openemr/contributors","subscribers_url":"https://api.github.com/repos/zbig01/openemr/subscribers","subscription_url":"https://api.github.com/repos/zbig01/openemr/subscription","commits_url":"https://api.github.com/repos/zbig01/openemr/commits{/sha}","git_commits_url":"https://api.github.com/repos/zbig01/openemr/git/commits{/sha}","comments_url":"https://api.github.com/repos/zbig01/openemr/comments{/number}","issue_comment_url":"https://api.github.com/repos/zbig01/openemr/issues/comments{/number}","contents_url":"https://api.github.com/repos/zbig01/openemr/contents/{+path}","compare_url":"https://api.github.com/repos/zbig01/openemr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zbig01/openemr/merges","archive_url":"https://api.github.com/repos/zbig01/openemr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zbig01/openemr/downloads","issues_url":"https://api.github.com/repos/zbig01/openemr/issues{/number}","pulls_url":"https://api.github.com/repos/zbig01/openemr/pulls{/number}","milestones_url":"https://api.github.com/repos/zbig01/openemr/milestones{/number}","notifications_url":"https://api.github.com/repos/zbig01/openemr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zbig01/openemr/labels{/name}","releases_url":"https://api.github.com/repos/zbig01/openemr/releases{/id}","deployments_url":"https://api.github.com/repos/zbig01/openemr/deployments","created_at":"2017-02-18T19:15:18Z","updated_at":"2018-08-07T08:43:37Z","pushed_at":"2018-08-09T02:07:33Z","git_url":"git://github.com/zbig01/openemr.git","ssh_url":"git@github.com:zbig01/openemr.git","clone_url":"https://github.com/zbig01/openemr.git","svn_url":"https://github.com/zbig01/openemr","homepage":"http://open-emr.org/","size":408101,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openemr:master","ref":"master","sha":"4850ff9274bcd12d48d909152d1238d73fa3eabf","user":{"login":"openemr","id":283089,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MzA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/283089?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnk2Nzk1ODQ=","name":"openemr","full_name":"openemr/openemr","owner":{"login":"openemr","id":283089,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MzA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/283089?v=4","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":"OpenEMR is the most popular open source electronic health records and medical practice management solution. ONC certified with international usage, OpenEMR's goal is a superior alternative to its proprietary counterparts.","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":"2018-08-08T11:56:03Z","pushed_at":"2018-08-09T02:07:35Z","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":406767,"stargazers_count":808,"watchers_count":808,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":663,"mirror_url":null,"archived":false,"open_issues_count":222,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":663,"open_issues":222,"watchers":808,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openemr/openemr/pulls/1789"},"html":{"href":"https://github.com/openemr/openemr/pull/1789"},"issue":{"href":"https://api.github.com/repos/openemr/openemr/issues/1789"},"comments":{"href":"https://api.github.com/repos/openemr/openemr/issues/1789/comments"},"review_comments":{"href":"https://api.github.com/repos/openemr/openemr/pulls/1789/comments"},"review_comment":{"href":"https://api.github.com/repos/openemr/openemr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openemr/openemr/pulls/1789/commits"},"statuses":{"href":"https://api.github.com/repos/openemr/openemr/statuses/40cb549dcdd37bb8b58f224187be8eea067fcf69"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bradymiller"}}