* @author Jerry Padgett * @author Brady Miller * @copyright Copyright (c) 2013 Rod Roark * @copyright Copyright (c) 2019 Brady Miller * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 */ require_once("../globals.php"); use OpenEMR\Core\Header; $order = 0 + $_GET['order']; $labid = (int) ($_GET['labid'] ?? null); ////////////////////////////////////////////////////////////////////// // The form was submitted with the selected code type. if (isset($_GET['typeid'])) { $grporders = array(); $typeid = $_GET['typeid'] + 0; $name = ''; if ($typeid) { $ptrow = sqlQuery("SELECT * FROM procedure_type WHERE procedure_type_id = ?", array($typeid)); $name = $ptrow['name']; $proctype = trim($ptrow['procedure_type']); $codes = ($proctype === 'pro') ? '' : $ptrow['related_code']; $transport = trim($ptrow['transport']); $testid = trim($ptrow['procedure_code']); $proctype_name = trim($ptrow['procedure_type_name']); if ($ptrow['procedure_type'] == 'fgp') { $res = sqlStatement("SELECT * FROM procedure_type WHERE parent = ? && procedure_type = 'for' ORDER BY seq, name, procedure_type_id", array($typeid)); while ($row = sqlFetchArray($res)) { $grporders[] = $row; } } } ?> <?php echo xlt('Procedure Picker'); ?>
'>
' /> ' title='' placeholder="…"/>
"; echo " "; echo " \n"; echo " \n"; echo " \n"; echo " "; } ?>
$anchor" . text($itertype) . "$anchor" . text($itercode) . "$anchor" . text($itertext) . "