本文整理汇总了PHP中COperation::loadRefsConsultAnesth方法的典型用法代码示例。如果您正苦于以下问题:PHP COperation::loadRefsConsultAnesth方法的具体用法?PHP COperation::loadRefsConsultAnesth怎么用?PHP COperation::loadRefsConsultAnesth使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类COperation
的用法示例。
在下文中一共展示了COperation::loadRefsConsultAnesth方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: CConsultAnesth
* @author SARL OpenXtrem <dev@openxtrem.com>
* @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
* @version $Revision: 24175 $
*/
CCanDo::checkRead();
$ds = CSQLDataSource::get("std");
$op = CValue::getOrSession("op");
$date = CValue::getOrSession("date", CMbDT::date());
$consultAnesth = new CConsultAnesth();
$consult = new CConsultation();
$userSel = new CMediusers();
$operation = new COperation();
$operation->load($op);
$operation->loadRefChir();
$operation->loadRefSejour();
$consult_anesth = $operation->loadRefsConsultAnesth();
if ($consult_anesth->_id) {
$consult_anesth->loadRefConsultation();
$consult = $consult_anesth->_ref_consultation;
$consult->_ref_consult_anesth = $consultAnesth;
$consult->loadRefPlageConsult();
$consult->loadRefsDocItems();
$consult->loadRefPatient();
$prat_id = $consult->_ref_plageconsult->chir_id;
$consult_anesth->loadRefs();
// On charge le praticien
$userSel->load($prat_id);
$userSel->loadRefs();
}
$anesth = new CTypeAnesth();
$anesth = $anesth->loadGroupList();
示例2: COperation
* $Id$
*
* @package Mediboard
* @subpackage SalleOp
* @author SARL OpenXtrem <dev@openxtrem.com>
* @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
* @version $Revision$
*/
CCanDo::checkRead();
$operation_id = CValue::get("operation_id");
$interv = new COperation();
$interv->load($operation_id);
$interv->loadRefSejour()->loadRefPatient()->loadRefLatestConstantes();
$interv->loadRefPlageOp();
$interv->_ref_sejour->_ref_patient->loadRefDossierMedical();
$consult_anesth = $interv->loadRefsConsultAnesth();
$group = CGroups::loadCurrent();
$pack = $interv->loadRefGraphPack();
list($graphs, $yaxes_count, $time_min, $time_max, $time_debut_op_iso, $time_fin_op_iso) = CObservationResultSet::buildGraphs($interv, $pack->_id);
$time_debut_op = CMbDate::toUTCTimestamp($time_debut_op_iso);
$time_fin_op = CMbDate::toUTCTimestamp($time_fin_op_iso);
$evenements = CObservationResultSet::buildEventsGrid($interv, $time_debut_op_iso, $time_fin_op_iso, $time_min, $time_max);
$now = 100 * (CMbDate::toUTCTimestamp(CMbDT::dateTime()) - $time_min) / ($time_max - $time_min);
$graph_packs = CSupervisionGraphPack::getAllFor($group);
$concentrators = null;
if (CModule::getActive("patientMonitoring")) {
$concentrator = new CMonitoringConcentrator();
$concentrators = $concentrator->loadList();
}
// Création du template
$smarty = new CSmartyDP();
示例3: CBcbClasseATC
if (CModule::getActive("dPmedicament")) {
$anticoagulant = new CBcbClasseATC();
if ($inLivretTherapeutique) {
$anticoagulant_list = $anticoagulant->loadRefProduitsLivret("B01AB");
} else {
$anticoagulant->loadRefsProduits("B01AB");
$anticoagulant_list = $anticoagulant->_ref_produits;
}
} else {
$list = CAppUI::conf("bloodSalvage AntiCoagulantList");
$anticoagulant_list = explode("|", $list);
}
$selOp = new COperation();
if ($op) {
$selOp->load($op);
$selOp->loadRefsConsultAnesth();
$selOp->loadRefSejour()->loadRefPatient();
$selOp->_ref_sejour->_ref_patient->loadRefDossierMedical();
$selOp->_ref_sejour->_ref_patient->loadRefLatestConstantes();
$blood_salvage = new CBloodSalvage();
$blood_salvage->operation_id = $op;
$blood_salvage->loadMatchingObject();
$timing["_recuperation_start"] = array();
$max_add_minutes = CAppUI::conf("dPsalleOp max_add_minutes");
foreach ($timing as $key => $value) {
for ($i = -CAppUI::conf("dPsalleOp max_sub_minutes"); $i < $max_add_minutes && $blood_salvage->{$key} !== null; $i++) {
$timing[$key][] = CMbDT::time("{$i} minutes", $blood_salvage->{$key});
}
}
}
/*
示例4: COperation
/**
* $Id$
*
* @package Mediboard
* @subpackage PlanningOp
* @author SARL OpenXtrem <dev@openxtrem.com>
* @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
* @version $Revision$
*/
$user = CUser::get();
$operation_id = CValue::get("operation_id");
$operation = new COperation();
$operation->load($operation_id);
$operation->loadRefAffectation();
$operation->loadRefsFwd(1);
$operation->loadRefsConsultAnesth();
$operation->_ref_sejour->loadRefsFwd();
$operation->_ref_sejour->loadRefsConsultAnesth();
// Récupération de l'utilisateur courant
$currUser = CMediusers::get();
$currUser->isAnesth();
// Chargement des anesthésistes
$listAnesths = new CMediusers();
$listAnesths = $listAnesths->loadAnesthesistes(PERM_DENY);
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("currUser", $currUser);
$smarty->assign("user_id", $user->_id);
$smarty->assign("listAnesths", $listAnesths);
$smarty->assign("isPrescriptionInstalled", CModule::getActive("dPprescription"));
$smarty->assign("isImedsInstalled", CModule::getActive("dPImeds") && CImeds::getTagCIDC(CGroups::loadCurrent()));
示例5: array
$smarty->assign("daily_check_list_types", $daily_check_list_types);
$smarty->display("inc_operation.tpl");
CApp::rip();
}
}
// Pre-anesth, pre-op, post-op
// Don't load them if we have a daily check list to fill...
$operation_check_lists = $operation_check_item_categories = array();
$check_lists_no_has = $check_items_no_has_categories = $listValidateurs_no_has = array();
$listAnesthType = array();
if ($selOp->_id) {
$selOp->canDo();
$selOp->loadRefs();
$selOp->loadRefsFiles();
$selOp->loadRefsDocs();
$consult_anesth = $selOp->loadRefsConsultAnesth();
$consult_anesth->countDocItems();
$consultation = $consult_anesth->loadRefConsultation();
$consultation->countDocItems();
$consultation->canRead();
$consultation->canEdit();
$selOp->loadRefPlageOp(true);
$selOp->loadRefChir()->loadRefFunction();
$selOp->loadRefPatient();
$selOp->loadRefCommande();
$date = CMbDT::date($selOp->_datetime);
// Récupération de l'utilisateur courant
$currUser = CMediusers::get();
$currUser->isAnesth();
$currUser->isPraticien();
$selOp->countExchanges();