本文整理汇总了PHP中CPatient::massCountPhotoIdentite方法的典型用法代码示例。如果您正苦于以下问题:PHP CPatient::massCountPhotoIdentite方法的具体用法?PHP CPatient::massCountPhotoIdentite怎么用?PHP CPatient::massCountPhotoIdentite使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CPatient
的用法示例。
在下文中一共展示了CPatient::massCountPhotoIdentite方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: CAffectation
if ($isolement) {
$ljoin["sejour"] = "sejour.sejour_id = affectation.sejour_id";
$where["isolement"] = "= '1'";
}
if ($item_prestation_id && $prestation_id) {
if (isset($items_prestation[$item_prestation_id])) {
$ljoin["item_liaison"] = "affectation.sejour_id = item_liaison.sejour_id";
$where["item_liaison.item_souhait_id"] = " = '{$item_prestation_id}'";
}
}
$affectation = new CAffectation();
$affectations = $affectation->loadList($where, $order, null, null, $ljoin);
$_sejours = CStoredObject::massLoadFwdRef($affectations, "sejour_id");
$services = $services + CStoredObject::massLoadFwdRef($affectations, "service_id");
$patients = CStoredObject::massLoadFwdRef($_sejours, "patient_id");
CPatient::massCountPhotoIdentite($patients);
foreach ($affectations as $_affectation_imc) {
/* @var CAffectation $_affectation_imc*/
if (CAppUI::conf("dPhospi vue_temporelle show_imc_patient", "CService-" . $_affectation_imc->service_id)) {
$_affectation_imc->loadRefSejour()->loadRefPatient()->loadRefLatestConstantes(null, array("poids", "taille"));
}
}
// Préchargement des users
$user = new CUser();
$where = array("user_id" => CSQLDataSource::prepareIn(CMbArray::pluck($_sejours, "praticien_id")));
$users = $user->loadList($where);
$praticiens = CStoredObject::massLoadFwdRef($_sejours, "praticien_id");
CStoredObject::massLoadFwdRef($praticiens, "function_id");
CStoredObject::massCountBackRefs($affectations, "affectations_enfant");
$_operations = CStoredObject::massLoadBackRefs($sejours, "operations", "date ASC");
CStoredObject::massLoadFwdRef($_operations, "plageop_id");