Esempio n. 1
0
 /**
  * Setup/initialize Phing environment from commandline args.
  *
  * @param  array $args commandline args passed to phing shell.
  *
  * @throws ConfigurationException
  *
  * @return void
  */
 public function execute($args)
 {
     self::$definedProps = new Properties();
     $this->searchForThis = null;
     // 1) First handle any options which should always
     // Note: The order in which these are executed is important (if multiple of these options are specified)
     if (in_array('-help', $args) || in_array('-h', $args)) {
         $this->printUsage();
         return;
     }
     if (in_array('-version', $args) || in_array('-v', $args)) {
         $this->printVersion();
         return;
     }
     if (in_array('-diagnostics', $args)) {
         Diagnostics::doReport(new PrintStream(self::$out));
         return;
     }
     // 2) Next pull out stand-alone args.
     // Note: The order in which these are executed is important (if multiple of these options are specified)
     if (false !== ($key = array_search('-quiet', $args, true)) || false !== ($key = array_search('-q', $args, true))) {
         self::$msgOutputLevel = Project::MSG_WARN;
         unset($args[$key]);
     }
     if (false !== ($key = array_search('-emacs', $args, true)) || false !== ($key = array_search('-e', $args, true))) {
         $this->emacsMode = true;
         unset($args[$key]);
     }
     if (false !== ($key = array_search('-verbose', $args, true))) {
         self::$msgOutputLevel = Project::MSG_VERBOSE;
         unset($args[$key]);
     }
     if (false !== ($key = array_search('-debug', $args, true))) {
         self::$msgOutputLevel = Project::MSG_DEBUG;
         unset($args[$key]);
     }
     if (false !== ($key = array_search('-silent', $args, true)) || false !== ($key = array_search('-S', $args, true))) {
         $this->silent = true;
         unset($args[$key]);
     }
     // 3) Finally, cycle through to parse remaining args
     //
     $keys = array_keys($args);
     // Use keys and iterate to max(keys) since there may be some gaps
     $max = $keys ? max($keys) : -1;
     for ($i = 0; $i <= $max; $i++) {
         if (!array_key_exists($i, $args)) {
             // skip this argument, since it must have been removed above.
             continue;
         }
         $arg = $args[$i];
         if ($arg == "-logfile") {
             try {
                 // see: http://phing.info/trac/ticket/65
                 if (!isset($args[$i + 1])) {
                     $msg = "You must specify a log file when using the -logfile argument\n";
                     throw new ConfigurationException($msg);
                 } else {
                     $logFile = new PhingFile($args[++$i]);
                     $out = new FileOutputStream($logFile);
                     // overwrite
                     self::setOutputStream($out);
                     self::setErrorStream($out);
                     self::$isLogFileUsed = true;
                 }
             } catch (IOException $ioe) {
                 $msg = "Cannot write on the specified log file. Make sure the path exists and you have write permissions.";
                 throw new ConfigurationException($msg, $ioe);
             }
         } elseif ($arg == "-buildfile" || $arg == "-file" || $arg == "-f") {
             if (!isset($args[$i + 1])) {
                 $msg = "You must specify a buildfile when using the -buildfile argument.";
                 throw new ConfigurationException($msg);
             } else {
                 $this->buildFile = new PhingFile($args[++$i]);
             }
         } elseif ($arg == "-listener") {
             if (!isset($args[$i + 1])) {
                 $msg = "You must specify a listener class when using the -listener argument";
                 throw new ConfigurationException($msg);
             } else {
                 $this->listeners[] = $args[++$i];
             }
         } elseif (StringHelper::startsWith("-D", $arg)) {
             // Evaluating the property information //
             // Checking whether arg. is not just a switch, and next arg. does not starts with switch identifier
             if ('-D' == $arg && !StringHelper::startsWith('-', $args[$i + 1])) {
                 $name = $args[++$i];
             } else {
                 $name = substr($arg, 2);
             }
             $value = null;
             $posEq = strpos($name, "=");
             if ($posEq !== false) {
                 $value = substr($name, $posEq + 1);
                 $name = substr($name, 0, $posEq);
             } elseif ($i < count($args) - 1 && !StringHelper::startsWith("-D", $args[$i + 1])) {
                 $value = $args[++$i];
             }
             self::$definedProps->setProperty($name, $value);
         } elseif ($arg == "-logger") {
             if (!isset($args[$i + 1])) {
                 $msg = "You must specify a classname when using the -logger argument";
                 throw new ConfigurationException($msg);
             } else {
                 $this->loggerClassname = $args[++$i];
             }
         } elseif ($arg == "-inputhandler") {
             if ($this->inputHandlerClassname !== null) {
                 throw new ConfigurationException("Only one input handler class may be specified.");
             }
             if (!isset($args[$i + 1])) {
                 $msg = "You must specify a classname when using the -inputhandler argument";
                 throw new ConfigurationException($msg);
             } else {
                 $this->inputHandlerClassname = $args[++$i];
             }
         } elseif ($arg == "-propertyfile") {
             if (!isset($args[$i + 1])) {
                 $msg = "You must specify a filename when using the -propertyfile argument";
                 throw new ConfigurationException($msg);
             } else {
                 $p = new Properties();
                 $p->load(new PhingFile($args[++$i]));
                 foreach ($p->getProperties() as $prop => $value) {
                     $this->setProperty($prop, $value);
                 }
             }
         } elseif ($arg == "-longtargets") {
             self::$definedProps->setProperty('phing.showlongtargets', 1);
         } elseif ($arg == "-projecthelp" || $arg == "-targets" || $arg == "-list" || $arg == "-l" || $arg == "-p") {
             // set the flag to display the targets and quit
             $this->projectHelp = true;
         } elseif ($arg == "-find") {
             // eat up next arg if present, default to build.xml
             if ($i < count($args) - 1) {
                 $this->searchForThis = $args[++$i];
             } else {
                 $this->searchForThis = self::DEFAULT_BUILD_FILENAME;
             }
         } elseif (substr($arg, 0, 1) == "-") {
             // we don't have any more args
             self::printUsage();
             self::$err->write(PHP_EOL);
             throw new ConfigurationException("Unknown argument: " . $arg);
         } else {
             // if it's no other arg, it may be the target
             array_push($this->targets, $arg);
         }
     }
     // if buildFile was not specified on the command line,
     if ($this->buildFile === null) {
         // but -find then search for it
         if ($this->searchForThis !== null) {
             $this->buildFile = $this->_findBuildFile(self::getProperty("user.dir"), $this->searchForThis);
         } else {
             $this->buildFile = new PhingFile(self::DEFAULT_BUILD_FILENAME);
         }
     }
     try {
         // make sure buildfile (or buildfile.dist) exists
         if (!$this->buildFile->exists()) {
             $distFile = new PhingFile($this->buildFile->getAbsolutePath() . ".dist");
             if (!$distFile->exists()) {
                 throw new ConfigurationException("Buildfile: " . $this->buildFile->__toString() . " does not exist!");
             }
             $this->buildFile = $distFile;
         }
         // make sure it's not a directory
         if ($this->buildFile->isDirectory()) {
             throw new ConfigurationException("Buildfile: " . $this->buildFile->__toString() . " is a dir!");
         }
     } catch (IOException $e) {
         // something else happened, buildfile probably not readable
         throw new ConfigurationException("Buildfile: " . $this->buildFile->__toString() . " is not readable!");
     }
     $this->readyToRun = true;
 }
error_reporting(E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR);
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, '/');
        $GLOBAL_CONFIG=array();
        $glob_obj=new GlobalConfig($GLOBAL_CONFIG);
        $glob_obj->getConfig('patient_%');
        switch ($enc_obj->EncounterClass())
        {
        case '1': $full_en = ($pn + $GLOBAL_CONFIG['patient_inpatient_nr_adder']);
        break;
        case '2': $full_en = ($pn + $GLOBAL_CONFIG['patient_outpatient_nr_adder']);
        break;
        default: $full_en = ($pn + $GLOBAL_CONFIG['patient_inpatient_nr_adder']);
        }
        */
        $full_en = $pn;
        $result = $enc_obj->encounter;
        include_once $root_path . 'include/care_api_classes/class_diagnostics.php';
        $diag_obj_rad = new Diagnostics();
        $diag_obj_rad->useRadioRequestTable();
    } else {
        $edit = 0;
        $mode = "";
        $pn = "";
    }
}
if (!isset($dept_nr) or $dept_nr == '') {
    $dept_nr = $data['dept_nr'];
}
if (!isset($mode)) {
    $mode = "";
}
switch ($mode) {
    case 'save':
}
function rx()
{
    global $edit;
    if ($edit) {
        return 'onClick="javascript:pullRosebar(this)"></a>';
    } else {
        return '>';
    }
}
require_once $root_path . 'include/care_api_classes/class_notes_nursing.php';
include_once $root_path . 'include/care_api_classes/class_person.php';
include_once $root_path . 'include/care_api_classes/class_diagnostics.php';
$pobj = new Person();
$pid = $pobj->GetPidFromEncounter($pn);
$diag_obj = new Diagnostics();
$batch_no = $diag_obj->GetRadiologyBatchNo($pn);
echo '<table   cellpadding="0" cellspacing=0 border="0" >' . '' . '<tr bgcolor="#696969"><td colspan="3" align="Right" style="padding-top:7px; padding-bottom:2px;"><nobr>';
echo '<input  style="width:220px; overflow:hidden; float:left; margin:0px 0px 7px 6px;"
type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/registration_admission/show_appointment.php' . URL_REDIRECT_APPEND . '$sid=' . $SID . '&pid=' . $pid . '&encounter=' . '&pn=' . $pn . '&lang=en&ntid=false&externalcall=true&help_site=patient_charts&target=search&1=1&backpath=' . urlencode($_SERVER["PHP_SELF"] . URL_APPEND . '&pn=' . $pn . '&edit=1') . '\'" value="' . $LDAppointments . '">' . '' . '<input  style="width:220px; overflow:hidden; float:right; margin:0px 0px 7px 6px;" type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/registration_admission/show_prescription.php' . URL_REDIRECT_APPEND . '$sid=' . $SID . '&pn=' . $pn . '&lang=en&ntid=false&externalcall=true&help_site=patient_charts&target=search&1=1&prescrServ=&backpath=' . urlencode($_SERVER["PHP_SELF"] . URL_APPEND . '&pn=' . $pn . '&edit=1') . '\'" value="' . $LDPrescrWithoutServices . '">' . '' . '
			 </nobr></td></tr>' . '';
echo '<tr bgcolor="#696969"><td colspan="3" align="Right" style="padding-top:7px; padding-bottom:2px;"><nobr>' . '<input  style="width:220px; overflow:hidden; float:left; margin:0px 0px 7px 6px;"
type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/nursing/nursing-station-patientdaten-doconsil-chemlabor.php' . URL_REDIRECT_APPEND . '&station=' . $station . '&pn=' . $pn . '&user_origin=' . $user_origin . '&target=chemlabor&noresize=1&edit=' . $edit . '\'" value="' . $LDLabRequest . '">' . '' . '<input  style="width:220px; overflow:hidden; float:right; margin:0px 0px 7px 6px;" type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/registration_admission/show_prescription.php' . URL_REDIRECT_APPEND . '$sid=' . $SID . '&pn=' . $pn . '&lang=en&ntid=false&externalcall=true&help_site=patient_charts&target=search&1=1&prescrServ=serv&backpath=' . urlencode($_SERVER["PHP_SELF"] . URL_APPEND . '&pn=' . $pn . '&edit=1') . '\'" value="' . $LDServices . '">' . '' . '
			 </nobr></td></tr>' . '';
echo '<tr bgcolor="#696969"><td colspan="3" align="Right" style="padding-top:7px; padding-bottom:2px;"><nobr>' . '<input style="width:220px; overflow:hidden; float:right; margin:0px 0px 7px 6px;" type="button" onClick="window.location.href=\'' . $root_path . 'modules/registration_admission/show_prescription.php' . URL_REDIRECT_APPEND . '$sid=' . $SID . '&pn=' . $pn . '&lang=en&ntid=false&externalcall=true&help_site=patient_charts&target=search&1=1&prescrServ=proc&backpath=' . urlencode($_SERVER["PHP_SELF"] . URL_APPEND . '&pn=' . $pn . '&edit=1') . '\'" value="' . $LDProcedures . '">' . '' . '<input  style="width:220px; overflow:hidden; float:left; margin:0px 0px 7px 6px;" type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/laboratory/labor_datalist_noedit.php' . URL_REDIRECT_APPEND . '&station=' . $station . '&pn=' . $pn . '&user_origin=' . $user_origin . '&edit=' . $edit . '\'" value="' . $LDLabReports . '">' . '' . '
			 </nobr></td></tr>' . '';
echo '<tr bgcolor="#696969" ><td colspan="3" align="Right" style="padding-top:7px; padding-bottom:2px;" ><nobr>' . '<input style="width:220px; overflow:hidden; float:right; margin:0px 0px 7px 6px;" type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/nursing/nursing-station-patientdaten-doconsil-radio.php' . URL_REDIRECT_APPEND . '&station=' . $station . '&pn=' . $pn . '&user_origin=' . $user_origin . '&target=radio&noresize=1&edit=' . $edit . '\'" value="' . $LDRadioRequest . '">' . '' . '<input  style="width:220px; overflow:hidden; float:left; margin:0px 0px 7px 6px;"
	type="button" onClick="window.location.href=\'' . $root_path . 'modules/diagnostics_tz/icd10_quicklist.php?sid=' . $sid . '&encounter=' . $pn . '&lang=en&ntid=false&externalcall=true&target=search&1=1&ispopup=true&backpath_diag=' . urlencode($_SERVER["PHP_SELF"] . URL_APPEND . '&pn=' . $pn) . '\'" value="' . $LDDiagnoses . '">' . '' . '
			 </nobr></td></tr>' . '';
echo '<tr bgcolor="#696969" ><td colspan="3" align="Right" style="padding-top:7px; padding-bottom:2px;" ><nobr>' . '<input style="width:220px; overflow:hidden; float:right; margin:0px 0px 7px 6px;" type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/laboratory/labor_test_findings_radio.php' . URL_REDIRECT_APPEND . '&station=' . $station . '&pn=' . $pn . '&subtarget=radio&batch_nr=' . $batch_no . '&user_origin=' . $user_origin . '&edit=' . $edit . '\'" value="' . $LDRadioReport . '">' . '' . '<input  style="width:220px; display:none; overflow:hidden; float:left; margin:0px 0px 7px 6px;"
	type="button" onClick="javascript:window.location.href=\'' . $root_path . 'modules/registration_admission/show_notes.php' . URL_REDIRECT_APPEND . '&sid=' . $sid . '&pid=' . $pid . '&pn=' . $pn . '&lang=en&ntid=false&externalcall=true&help_site=patient_charts&target=search&backpath=' . urlencode($_SERVER["PHP_SELF"] . URL_APPEND . '&sid=' . $sid . '&pn=' . $pn . '&edit=1') . '\'" value="' . $LDNotesReports . '">' . '' . '' . '<input style="width:220px; float:left; overflow:hidden; margin:0px 0px 9px 6px;" type = "button" value = "' . $LDNotesReports . '" onClick="window.location.href=\'../../modules/dental/gui_patient_history.php?sid=' . $sid . '&ntid=false&lang=en&pid=' . $pid . '&encounter=' . $pn . '&frm=chart\'">' . '' . '
Esempio n. 5
0
//error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
require './roots.php';
require $root_path . 'include/inc_environment_global.php';
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2005 Robert Meggle based on the development of Elpidio Latorilla (2002,2003,2004,2005)
* elpidio@care2x.org, meggle@merotech.de
*
* See the file "copy_notice.txt" for the licence notice
*/
require_once $root_path . 'include/care_api_classes/class_tz_diagnostics.php';
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)) {
$lab_obj = new Lab();
/* Check for the patietn number = $pn. If available get the patients data, otherwise set edit to 0 */
if (isset($pn) && $pn) {
    include_once $root_path . 'include/care_api_classes/class_encounter.php';
    $enc_obj = new Encounter();
    if ($enc_obj->loadEncounterData($pn)) {
        $edit = true;
        $full_en = $pn;
        $_SESSION['sess_en'] = $pn;
        $_SESSION['sess_full_en'] = $full_en;
        include_once $root_path . 'include/care_api_classes/class_tz_drugsandservices.php';
        $drg_obj = new DrugsAndServices();
        include_once $root_path . 'include/care_api_classes/class_diagnostics.php';
        $diag_obj = new Diagnostics();
        $diag_obj->useChemLabRequestTable();
        $diag_obj_sub = new Diagnostics();
        $diag_obj_sub->useChemLabRequestSubTable();
    } else {
        $edit = 0;
        $mode = '';
        $pn = '';
    }
}
if (!isset($mode)) {
    $mode = '';
}
$coreObj = new Core();
switch ($mode) {
    case 'save':
        if (prepareTestElements()) {
            //$data['batch_nr']=$batch_nr;
<?php

require_once $root_path . 'include/care_api_classes/class_tz_diagnostics.php';
$diagnostic_obj = new Diagnostics();
$diagnostic_obj->loadEncounterData($pn);
$encounter_arr = $diagnostic_obj->getLoadedEncounterData();
$diagnostic_obj->Display_chartfolder_Diagnoses($pid);
Esempio n. 8
0
        $sTemp = $sTemp . '<input type="radio" name="relart" value="' . $dis_type['nr'] . '"';
        if ($init) {
            $sTemp = $sTemp . ' checked';
            $init = 0;
        }
        $sTemp = $sTemp . '>';
        if (isset(${$dis_type}['LD_var']) && !empty(${$dis_type}['LD_var'])) {
            $sTemp = $sTemp . ${$dis_type}['LD_var'];
        } else {
            $sTemp = $sTemp . $dis_type['name'];
        }
        $sTemp = $sTemp . '<br>';
    }
}
$smarty->assign('sDischargeTypes', $sTemp);
$obj_diag = new Diagnostics();
$case_arr = $obj_diag->GetAllCasesFromPIDbyDate($enc_obj->PID());
$smarty->assign('LDNotes', $LDLastDiagnosis);
while (list($x, $v) = each($case_arr)) {
    $case_data = $obj_diag->GetCase($x);
    $case_list = $case_list . '<b>' . date('Y-m-d', $case_data['timestamp']) . ':</b> ' . $v . ' - ' . $obj_diag->get_icd10_description_from_code($v) . '<br>';
    if ($casecount++ > 3) {
        break;
    }
}
if (!$case_list) {
    $case_list = $LDNoDiagnosesAvailable;
}
$smarty->assign('diagnosis', nl2br($case_list));
$smarty->assign('LDNurse', $LDNurse);
$smarty->assign('encoder', $encoder);
Esempio n. 9
0
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2005 Robert Meggle based on the development of Elpidio Latorilla (2002,2003,2004,2005)
* elpidio@care2x.org, meggle@merotech.de
*
* See the file "copy_notice.txt" for the licence notice
*/
//define('NO_2LEVEL_CHK',1);
//require($root_path.'include/inc_front_chain_lang.php');
$lang_tables[] = 'diagnoses_ICD10.php';
require $root_path . 'include/inc_front_chain_lang.php';
//Load the diagnstics-class:
require_once $root_path . 'include/care_api_classes/class_tz_diagnostics.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>";
}
//if ($mode=="search") {
if (!empty($keyword)) {
    if ($search_mode == "fuzzy") {
Esempio n. 10
0
<?php

error_reporting(E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR);
require './roots.php';
require $root_path . 'include/inc_environment_global.php';
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2005 Robert Meggle based on the development of Elpidio Latorilla (2002,2003,2004,2005)
* elpidio@care2x.org, meggle@merotech.de
*
* See the file "copy_notice.txt" for the licence notice
*/
//define('NO_2LEVEL_CHK',1);
//require($root_path.'include/inc_front_chain_lang.php');
$lang_tables[] = 'diagnoses_ICD10.php';
require $root_path . 'include/inc_front_chain_lang.php';
//Load the diagnstics-class:
require_once $root_path . 'include/care_api_classes/class_tz_diagnostics.php';
$diagnostic_obj = new Diagnostics();
if (!empty($createquicklist)) {
    $quicklist = $diagnostic_obj->AddDiagnosisGroupName($createquicklist);
}
if (!empty($updatequicklist)) {
    $quicklist = $diagnostic_obj->AddDiagnosisListToGroup($updatequicklist, $item_no);
}
if (!empty($deletequicklist)) {
    $diagnostic_obj->DeleteDiagnosisGroup($deletequicklist);
}
require "gui/gui_icd10_manage.php";
Esempio n. 11
0
 /**
  * Execute the task.
  * This delegates to the Diagnostics class.
  * @throws BuildException on error.
  */
 public function main()
 {
     Diagnostics::doReport(new PrintStream(Phing::getOutputStream()));
 }
Esempio n. 12
0
require './roots.php';
require $root_path . 'include/inc_environment_global.php';
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2005 Robert Meggle based on the development of Elpidio Latorilla (2002,2003,2004,2005)
* elpidio@care2x.org, meggle@merotech.de
*
* See the file "copy_notice.txt" for the licence notice
*/
//define('NO_2LEVEL_CHK',1);
//require($root_path.'include/inc_front_chain_lang.php');
$lang_tables[] = 'diagnoses_ICD10.php';
require $root_path . 'include/inc_front_chain_lang.php';
//Load the diagnstics-class:
require_once $root_path . 'include/care_api_classes/class_tz_diagnostics.php';
$diagnostic_obj = new Diagnostics();
/*

 print_r ( $_SESSION );
echo "<br>";
echo "das will ich sehen: ".$_SESSION['sess_full_en'];
*/
if ($todo == 'submit') {
    // Load the visual signalling functions
    include_once $root_path . 'include/inc_visual_signalling_fx.php';
    // Set the visual signal
    setEventSignalColor($_SESSION['sess_en'], SIGNAL_COLOR_QUERY_DOCTOR);
    $diagnostic_obj->EnterNewCase($_POST);
}
require "gui/gui_icd10_diagnose.php";
Esempio n. 13
0
function __autoload($class)
{
    try {
        Library::load($class);
    } catch (Exception $exception) {
        Diagnostics::handleException($exception);
        die('Could not autoload ' . $class);
    }
}