<div class="titleCell clinical-header-senreshead">Senior Resident/Head:</div> </div> <div class="clinical-row"> <div class="contentCell clinical-cont-ric"> <input type="text" name="resident-in-charge" id="resident-in-charge" class="c-text" style="width: 240px;"/> </div> <div class="contentCell clinical-cont-medspec"> <input type="text" name="med-spec" id="med-spec" class="c-text" style="width: 245px;"/> </div> <div class="contentCell clinical-cont-senreshead"> <input type="text" name="sen-res-head" id="sen-res-head" class="c-text" style="width: 245px;"/> </div> </div> </div> <?php if (checkPriviledgeBilling($_SESSION['uid']) === false) { ?> <div class="sheet-holder"> <div class="clinical-row"> <div class="contentCell clinical-content-submit"> <input type="hidden" name="pid" id="pid" value="<?php echo $pid; ?> "/> <input type="hidden" name="rid" id="rid" value="<?php echo $rid; ?> "/> <input type="hidden" name="aid" id="aid" value="<?php echo $aid; ?>
<?php include 'init.php'; if (!logged_in()) { header('Location: index.php'); exit; } if (!isset($_GET["type"]) || !isset($_GET["pid"]) || !isset($_GET["loc"]) || empty($_GET["type"]) || empty($_GET["pid"]) || empty($_GET["loc"]) || checkPID($_GET["pid"]) === false || checkPriviledgeBilling($_SESSION['uid']) === true) { header("Location: pagenotfound.php"); exit; } $type = $_GET["type"]; $pid = $_GET["pid"]; $loc = $_GET["loc"]; if (isset($type) || !empty($type)) { switch ($type) { case 'edit': switch ($loc) { case 'pt': $rid = ""; break; case 'rec': if (!isset($_GET["rid"]) || empty($_GET["rid"]) || checkRecord($pid, $_GET["rid"]) === false) { header("Location: pagenotfound.php"); exit; } else { $rid = $_GET["rid"]; } } break; case 'delete':