Exemple #1
0
}
switch ($mode) {
    case 'delete':
        if ($DRG_obj->deleteDiagnosis($itemx)) {
            header($saved_header);
            exit;
        }
        break;
    case 'update_stat':
        if ($DRG_obj->setDiagnosisCategory($pn, $itemx, $val)) {
            header($saved_header);
            exit;
        }
        break;
    case 'update_loc':
        if ($DRG_obj->setDiagnosisLocalization($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->DiagnosisCodes($group_nr);
} else {