require './roots.php';
require $root_path . 'include/inc_environment_global.php';
$lang_tables[] = 'departments.php';
$lang_tables[] = 'pharmacy.php';
$lang_tables[] = 'diagnoses_ICD10.php';
define('LANG_FILE', 'nursing.php');
//define('LANG_FILE','aufnahme.php');
define('NO_2LEVEL_CHK', 1);
require_once $root_path . 'include/inc_front_chain_lang.php';
include_once $root_path . 'include/care_api_classes/class_mini_dental.php';
include_once $root_path . 'include/care_api_classes/class_radio.php';
include_once $root_path . 'include/care_api_classes/class_multi.php';
require_once $root_path . 'include/care_api_classes/class_tz_diagnostics.php';
//$diagnostic_obj->get_array_search_results($keyword);
$diagnostic_obj = new Diagnostics();
$diagnostic_obj->get_array_search_results($keyword);
$alergic = new dental();
$Radiology = new dental();
$rad_obj = new Radio();
$multi = new multi();
/**
 * If the script call comes from the op module replace the user cookie with the user info from op module
 */
//$db->debug=true;
if (isset($op_shortcut) && $op_shortcut) {
    $_COOKIE['ck_pflege_user' . $sid] = $op_shortcut;
    setcookie('ck_pflege_user' . $sid, $op_shortcut, 0, '/');
    $edit = 1;
} elseif ($_COOKIE['ck_op_pflegelogbuch_user' . $sid]) {
    setcookie('ck_pflege_user' . $sid, $_COOKIE['ck_op_pflegelogbuch_user' . $sid], 0, '/');
    $edit = 1;
Esempio n. 2
0
require_once $root_path . 'include/care_api_classes/class_tz_pharmacy.php';
$debug = FALSE;
$diagnostic_obj = new Diagnostics();
if ($debug) {
    echo $mode . "<br>";
}
if ($debug) {
    echo $keyword . "<br>";
}
if ($debug) {
    echo $show . "<br>";
}
if ($debug) {
    echo $search_mode . "<br>";
}
$product_obj = new Product();
//if ($mode=="search") {
if (!empty($keyword)) {
    if ($keyword == "*") {
        $search_results = $product_obj->get_all_items();
    } else {
        $search_results = $product_obj->get_array_search_results($keyword);
    }
    if ($number_of_search_results = count($rs = $diagnostic_obj->get_array_search_results($keyword))) {
        echo $diagnostic_obj->get_icd10_description_from_array($rs);
    }
}
//}
$debug = TRUE;
$debug ? $db->debug = TRUE : ($db->debug = FALSE);
require "gui/gui_assignments_step1.php";