当前位置: 首页>>代码示例>>PHP>>正文


PHP COperation::loadExtCodesCCAM方法代码示例

本文整理汇总了PHP中COperation::loadExtCodesCCAM方法的典型用法代码示例。如果您正苦于以下问题:PHP COperation::loadExtCodesCCAM方法的具体用法?PHP COperation::loadExtCodesCCAM怎么用?PHP COperation::loadExtCodesCCAM使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在COperation的用法示例。


在下文中一共展示了COperation::loadExtCodesCCAM方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: foreach

 $listOp = $op->loadList($where, $order, null, null, $ljoin);
 $chirs = CStoredObject::massLoadFwdRef($listOp, "chir_id");
 $sejours = CStoredObject::massLoadFwdRef($listOp, "sejour_id");
 CStoredObject::massLoadFwdRef($sejours, "patient_id");
 foreach ($listOp as $key => $operation) {
     $operation->loadRefPlageOp();
     if ($operation->_datetime_best < $filter->_datetime_min || $operation->_datetime_best > $filter->_datetime_max) {
         unset($listOp[$key]);
         continue;
     }
     $operation->loadRefsConsultAnesth();
     if ($no_consult_anesth && $operation->_ref_consult_anesth->_id) {
         unset($listOp[$operation->_id]);
     }
     $operation->loadRefPraticien();
     $operation->loadExtCodesCCAM();
     $operation->updateHeureUS();
     $operation->updateSalle();
     $operation->loadAffectationsPersonnel();
     $operation->loadRefCommande();
     $sejour = $operation->loadRefSejour();
     $sejour->loadRefsFwd();
     if ($_print_ipp) {
         $sejour->_ref_patient->loadIPP();
     }
     if ($_print_numdoss) {
         $sejour->loadNDA();
     }
     if ($prestation_id) {
         $sejour->loadLiaisonsForPrestation($prestation_id);
     }
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:view_planning.php

示例2: CPlageOp

CCanDo::checkRead();
$chir_id = CValue::get("chir_id");
$plageop = new CPlageOp();
$plageop->load(CValue::get("plageop_id"));
$plageop->loadRefSalle();
$where = array("chir_id" => "= '{$chir_id}'");
$plageop->loadRefsOperations(false, null, true, null, $where);
$plageop->guessHoraireVoulu();
$rank_validated = array();
$rank_not_validated = array();
$_op = new COperation();
$_last_op = null;
foreach ($plageop->_ref_operations as $_op) {
    $_op->loadRefChir()->loadRefFunction();
    $_op->loadRefSejour()->loadRefPatient()->loadRefDossierMedical()->countAllergies();
    $_op->loadExtCodesCCAM();
    if ($_op->_horaire_voulu) {
        $_last_op = $_op;
    }
}
$horaire_voulu = $plageop->debut;
if ($_last_op) {
    $horaire_voulu = $_last_op->_horaire_voulu;
    $horaire_voulu = CMbDT::addTime($_last_op->temp_operation, $horaire_voulu);
    $horaire_voulu = CMbDT::addTime($plageop->temps_inter_op, $horaire_voulu);
    $horaire_voulu = CMbDT::addTime($_last_op->pause, $horaire_voulu);
}
$new_op = new COperation();
$new_op->_horaire_voulu = $horaire_voulu;
$plageop->_ref_operations[] = $new_op;
// Création du template
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_prog_plageop.php


注:本文中的COperation::loadExtCodesCCAM方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。