- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / medocs / medocs_start.php
blobe59cd60b718e167603b20ab5946d29b991222dfb
1 <?php
2 //error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
3 require('./roots.php');
4 require($root_path.'include/inc_environment_global.php');
5 /**
6 * CARE2X Integrated Hospital Information System Deployment 2.2 - 2006-07-10
7 * GNU General Public License
8 * Copyright 2002,2003,2004,2005,2006 Elpidio Latorilla
9 * elpidio@care2x.org,
11 * See the file "copy_notice.txt" for the licence notice
15 define('LANG_FILE','aufnahme.php');
16 # Resolve the local user based on the origin of the script
17 require_once('include/inc_local_user.php');
18 require($root_path.'include/inc_front_chain_lang.php');
20 /* If patient nr is invallid jump to registration search module*/
21 /*if(!isset($pid) || !$pid)
23 header('Location:patient_register_search.php'.URL_APPEND.'&origin=admit');
24 exit;
27 require_once($root_path.'include/inc_date_format_functions.php');
29 $thisfile=basename(__FILE__);
30 if($origin=='patreg_reg') $returnfile='patient_register_show.php'.URL_APPEND.'&pid='.$pid;
32 # Set break file
33 require('include/inc_breakfile.php');
35 if(!session_is_registered('sess_pid')) session_register('sess_pid');
36 if(!session_is_registered('sess_full_pid')) session_register('sess_full_pid');
37 if(!session_is_registered('sess_en')) session_register('sess_en');
38 if(!session_is_registered('sess_full_en')) session_register('sess_full_en');
40 $headframe_title=$LDMedocs;
41 require('./gui_bridge/default/gui_medocs_start.php');