예제 #1
0
    $noheader = false;
    # Enable the redirect
    $target = 'ops301';
    $element = 'ops_code';
    $element_related = 'related_ops';
    $itemselector = 'ops';
    $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