<?php

/* $Id $ */
/**
 * @package Mediboard
 * @subpackage hl7
 * @version $Revision:$
 * @author SARL OpenXtrem
 * @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
 */
CCanDo::checkAdmin();
$table_id = CValue::get("table_id");
$table_description = new CHL7v2TableDescription();
$table_description->load($table_id);
if (!$table_description->_id) {
    $table_description->user = 1;
}
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("table_description", $table_description);
$smarty->display("inc_edit_table_description.tpl");
Ejemplo n.º 2
0
<?php

/* $Id $ */
/**
 * @package Mediboard
 * @subpackage hl7
 * @version $Revision:$
 * @author SARL OpenXtrem
 * @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
 */
CCanDo::checkAdmin();
$table_number = CValue::getOrSession("table_number");
$table_entry = new CHL7v2TableEntry();
$table_entry->number = $table_number;
$table_entries = $table_entry->loadMatchingList("user");
$table_entry->user = 1;
$table_description = new CHL7v2TableDescription();
$table_description->number = $table_number;
$table_description->loadMatchingObject();
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("table_entry", $table_entry);
$smarty->assign("table_description", $table_description);
$smarty->assign("table_entries", $table_entries);
$smarty->display("inc_refresh_modal_HL7_table.tpl");