} switch ($mode) { case 'delete': if ($DRG_obj->deleteProcedure($itemx)) { header($saved_header); exit; } break; case 'update_stat': if ($DRG_obj->setProcedureCategory($pn, $itemx, $val)) { header($saved_header); exit; } break; case 'update_loc': if ($DRG_obj->setProcedureLocalization($itemx, $val)) { header($saved_header); exit; } break; } // end of switch if (!isset($group_nr)) { $group_nr = 0; } if (!isset($opnr)) { $opnr = 0; } if ($display == 'composite') { $drg =& $DRG_obj->ProcedureCodes($group_nr); } else {