<?php

error_reporting(E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR);
require './roots.php';
require $root_path . 'include/inc_environment_global.php';
$lang_tables[] = 'actions.php';
define('LANG_FILE', 'obstetrics.php');
$local_user = '******';
require_once $root_path . 'include/inc_front_chain_lang.php';
# Create obstetrics object and get all neonatal classifications
require_once $root_path . 'include/care_api_classes/class_obstetrics.php';
$neo = new Obstetrics();
$classif =& $neo->Classifications();
$rows = $neo->LastRecordCount();
html_rtl($lang);
?>
<!-- Generated by AceHTML Freeware http://freeware.acehtml.com -->
<head>
<?php 
echo setCharSet();
?>
<title><?php 
echo $LD['classification'];
?>
</title>


<script language="JavaScript">
<!-- Script Begin
function process(d) {
	if(0==<?php 
Beispiel #2
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 beta 2.0.1 - 2004-07-04
* GNU General Public License
* Copyright 2002,2003,2004,2005 Elpidio Latorilla
* elpidio@care2x.org, 
*
* See the file "copy_notice.txt" for the licence notice
*/
$thisfile = basename($_SERVER['PHP_SELF']);
require_once $root_path . 'include/care_api_classes/class_obstetrics.php';
$obj = new Obstetrics();
//$db->debug=true;
if (!isset($allow_update)) {
    $allow_update = false;
}
if (!isset($mode)) {
    $mode = 'show';
} elseif ($mode == 'newdata') {
    include_once $root_path . 'include/inc_date_format_functions.php';
    $saved = false;
    # Prepare additional info for saving
    $_POST['modify_id'] = $_SESSION['sess_user_name'];
    $_POST['modify_time'] = date('YmdHis');
    # Create own timestamp for cross db compatibility
    if ($_POST['docu_by']) {
        $_POST['modify_id'] = $_POST['docu_by'];
Beispiel #3
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 beta 2.0.1 - 2004-07-04
* GNU General Public License
* Copyright 2002,2003,2004,2005 Elpidio Latorilla
* elpidio@care2x.org, 
*
* See the file "copy_notice.txt" for the licence notice
*/
$thisfile = basename($_SERVER['PHP_SELF']);
require_once $root_path . 'include/care_api_classes/class_obstetrics.php';
$obj = new Obstetrics();
# Point the core data to pregnancy
$obj->usePregnancy();
# Create measurement object
require_once $root_path . 'include/care_api_classes/class_measurement.php';
$msr = new Measurement();
if (!isset($allow_update)) {
    $allow_update = FALSE;
}
if (!isset($mode)) {
    $mode = 'show';
} elseif ($mode == 'newdata') {
    include_once $root_path . 'include/inc_date_format_functions.php';
    $saved = FALSE;
    # Prepare additional info saving
    $_POST['modify_id'] = $_SESSION['sess_user_name'];