$buf2 = $enc_obj->ungroupProcedures($group_nr); $enc_obj->deleteEncounterDRGGroup($item); header("location:{$thisfile}?sid={$sid}&lang={$lang}&pn={$pn}&opnr={$opnr}&group_nr=0&edit={$edit}&is_discharged={$is_discharged}&ln={$ln}&fn={$fn}&dept_nr={$dept_nr}&oprm={$oprm}&display={$display}"); exit; } $non_grouped = false; if (!isset($group_nr)) { $group_nr = 0; } # Get the patient`s basic data if ($enc =& $enc_obj->getBasic4Data()) { $encounter = $enc->FetchRow(); # Get the internal drg groups for the encounter $drg_rows =& $enc_obj->InternDRGGroups(); # Check for non grouped entries if ($enc_obj->nongroupedDiagnosisExists()) { $non_grouped = true; } elseif ($enc_obj->nongroupedProcedureExists()) { $non_grouped = true; } } # Preload the icon images $img_delete = createComIcon($root_path, 'delete2.gif', '0', 'right', TRUE); ?> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd"> <?php html_rtl($lang); ?> <HEAD> <?php echo setCharSet();