Esempio n. 1
0
}
$toggle = 0;
$thisfile = basename($_SERVER['PHP_SELF']);
if (isset($mode) && $mode == 'delete' && $item) {
    $buf = $enc_obj->ungroupDiagnoses($group_nr);
    $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 
Esempio n. 2
0
    $hidselector = 'ops_px';
    $lastindex = $last_ops_index;
    include $root_path . 'include/inc_drg_entry_save.php';
    if ($linebuf == '') {
        header("location:{$thisfile}?sid={$sid}&lang={$lang}&saveok=1&pn={$pn}&opnr={$opnr}&ln={$ln}&fn={$fn}&bd={$bd}&group_nr={$group_nr}&dept_nr={$dept_nr}&oprm={$oprm}&y={$y}&m={$m}&d={$d}&display={$display}&target={$target}");
        exit;
    }
} elseif (isset($group_nr) && $group_nr) {
    /* Load related codes */
    $diag_obj =& $DRG_obj->RelatedDiagnoses($group_nr);
    $proc_obj =& $DRG_obj->RelatedProcedures($group_nr);
}
# Load the date formatter
include_once $root_path . 'include/inc_date_format_functions.php';
# Get the patient`s basic data
if ($enc =& $DRG_obj->getBasic4Data()) {
    $encounter = $enc->FetchRow();
}
?>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
<?php 
html_rtl($lang);
?>
<HEAD>
<?php 
echo setCharSet();
?>
 <TITLE><?php 
echo "{$LDPossibleCodes}";
?>
</TITLE>