本文整理汇总了PHP中CConsultation::loadRefConsultAnesth方法的典型用法代码示例。如果您正苦于以下问题:PHP CConsultation::loadRefConsultAnesth方法的具体用法?PHP CConsultation::loadRefConsultAnesth怎么用?PHP CConsultation::loadRefConsultAnesth使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CConsultation
的用法示例。
在下文中一共展示了CConsultation::loadRefConsultAnesth方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: CConsultation
<?php
/**
* $Id: httpreq_vw_list_techniques_comp.php 24480 2014-08-20 10:51:06Z flaviencrochard $
*
* @package Mediboard
* @subpackage Cabinet
* @author SARL OpenXtrem <dev@openxtrem.com>
* @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
* @version $Revision: 24480 $
*/
CCanDo::checkEdit();
$selConsult = CValue::getOrSession("selConsult", 0);
$dossier_anesth_id = CValue::getOrSession("dossier_anesth_id", 0);
$consult = new CConsultation();
$consult->load($selConsult);
$consult->loadRefConsultAnesth($dossier_anesth_id);
$consult->_ref_consult_anesth->loadRefsBack();
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("consult_anesth", $consult->_ref_consult_anesth);
$smarty->display("inc_consult_anesth/techniques_comp.tpl");
示例2: CConsultation
* @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html
* @version $Revision$
*/
CCanDo::checkRead();
$consult_id = CValue::get("consult_id");
$sejour_id = CValue::get("sejour_id");
$consult = new CConsultation();
$consult->load($consult_id);
$consult->canDo();
if (!$consult->_id) {
CAppUI::stepAjax(CAppUI::tr("CConsultation.none"));
CApp::rip();
}
$patient = $consult->loadRefPatient();
$dossier_medical = $patient->loadRefDossierMedical();
$consult_anesth = $consult->loadRefConsultAnesth();
$consult->loadExtCodesCCAM();
$consult->getAssociationCodesActes();
$consult->loadPossibleActes();
$consult->_ref_chir->loadRefFunction();
$list_etat_dents = array();
if ($dossier_medical->_id) {
$dossier_medical->canDo();
$etat_dents = $dossier_medical->loadRefsEtatsDents();
foreach ($etat_dents as $etat) {
$list_etat_dents[$etat->dent] = $etat->etat;
}
}
$user = CMediusers::get();
$user->isAnesth();
$user->isPraticien();
示例3: CConsultation
* @version $Revision: 19484 $
*/
CCanDo::checkEdit();
$consult_id = CValue::getOrSession("selConsult");
$user_id = CValue::getOrSession("chirSel");
$_is_anesth = CValue::get("_is_anesth");
// Utilisateur sélectionné
$user = CMediusers::get($user_id);
$canUser = $user->canDo();
$canUser->needsEdit();
// Liste des praticiens
$listPrats = CConsultation::loadPraticiens(PERM_EDIT);
// Consultation courante
$consult = new CConsultation();
$consult->load($consult_id);
$consult->loadRefConsultAnesth();
CCanDo::checkObject($consult);
$canConsult = $consult->canDo();
$canConsult->needsEdit();
$consult->loadRefPatient();
$consult->_ref_patient->loadRefPhotoIdentite();
$consult->loadRefPraticien()->loadRefFunction();
$consult->loadRefSejour();
if (CModule::getActive("maternite")) {
$consult->loadRefGrossesse();
}
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("_is_anesth", $_is_anesth);
$smarty->assign("consult", $consult);
$smarty->assign("consult_anesth", $consult->_ref_consult_anesth);
示例4: unset
$_operation->loadRefPlageOp();
}
}
foreach ($patient->loadRefsConsultations() as $_consult) {
$_consult->getType();
$_consult->loadRefPlageConsult();
$function = $_consult->loadRefPraticien()->loadRefFunction();
if ($_consult->sejour_id) {
unset($patient->_ref_consultations[$_consult->_id]);
if (isset($patient->_ref_sejours[$_consult->sejour_id])) {
$patient->_ref_sejours[$_consult->sejour_id]->_ref_consultations[$_consult->_id] = $_consult;
}
}
if ($function->group_id != $group->_id) {
unset($patient->_ref_consultations[$_consult->_id]);
continue;
}
$_consult->loadRefFacture()->loadRefsNotes();
}
$consultation = new CConsultation();
$consultation->load($consultation_id);
$consultation->loadRefConsultAnesth();
if (CCanDo::read()) {
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("is_anesth", $is_anesth);
$smarty->assign("consultation", $consultation);
$smarty->assign("patient", $patient);
$smarty->assign("show_dhe_ecap", CValue::get("show_dhe_ecap", 1));
$smarty->display("httpreq_get_last_refs.tpl");
}