titre = "INTER-SANTE - Prescription Examens"; $numeroBonExamen = $examen['numeroBonExamen']; $numeroExamen = $examen['numeroExamen']; //var_dump($numeroExamen); $facture = $examen['facture']; $_SESSION['p_numeroBonExamen_C'] = $numeroBonExamen; $_SESSION['p_numeroExamen_C'] = $numeroExamen; $badcodeGestionBon = "1"; $tab_gestion_bon = array("0", "1", "2"); if (in_array($codeGestionBon, $tab_gestion_bon)) { $badcodeGestionBon = "0"; } $actVisible = $_SESSION['p_actVisible']; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US") { $libelleCarence = "Wait Period"; } else { $libelleCarence = "Carence"; } $agePrescription = $this->nettoyer($examen['agePrescription']); $bonCaduc = $this->nettoyer($examen['bonCaduc']); $modeSaisieFacture = $_SESSION['p_modeSaisieFacture']; if($modeSaisieFacture=="1") { $bonCaduc = "0"; } $motifExam = $examen['motifExamen']; $baremeExiste = $_SESSION['p_bareme']['baremeExiste']; $bareme_actif = $_SESSION['p_bareme']['bareme_actif']; $bareme_ageMinimum = $_SESSION['p_bareme']['bareme_ageMinimum']; $bareme_ageMaximum = $_SESSION['p_bareme']['bareme_ageMaximum']; $bareme_codeTypeRemboursement = $_SESSION['p_bareme']['gar_codeTypeRemboursement']; $ageBeneficiaire = $_SESSION['p_ageBeneficiaire_C']; $datePrestation = $_SESSION['datePrestation']; $bareme_finDelaiCarence = $_SESSION['p_bareme']['bareme_finDelaiCarence']; //var_dump($situation['soldeNbreTransactionFamille'],$situation['soldeNbreTransaction'],$situationGarantie['soldeNbreTransactionFamille'],$situationGarantie['soldeNbreTransaction']); if ($baremeExiste=="0") { $v_msg="Aucun barème n'existe, veuillez en informer ".$_SESSION['p_nomSociete_C']." afin que celà soit corrigé."; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="No scale exists, please inform ".$_SESSION['p_nomSociete_C']." so that this can be corrected."; } }elseif($bareme_actif=="0"){ $v_msg="Il n'y a pas de barème de garantie actif à cette date, veuillez en informer ".$_SESSION['p_nomSociete_C']." afin que celà soit corrigé."; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="There is no active guarantee schedule on this date, please inform ".$_SESSION['p_nomSociete_C']." so that this can be corrected."; } }elseif($bareme_codeTypeRemboursement=="RDE"){ $v_msg="L'assuré est en remboursement direct pour cette garantie. Il devra entièrement payer la prestation et se faire rembourser par ".$_SESSION['p_nomSociete_C']."!"; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The insured is in direct reimbursement for this guarantee. He will have to fully pay for the service and be reimbursed by ".$_SESSION['p_nomSociete_C']."!"; } }elseif(($bareme_ageMinimum > "0" && $bareme_ageMaximum > "0") && ($ageBeneficiaire < $bareme_ageMinimum || $ageBeneficiaire > $bareme_ageMaximum)){ $v_msg="L'âge de l'assuré n'est pas pris en compte dans le barème de garantie!"; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The age of the insured is not taken into account in the warranty schedule!"; } }elseif($bareme_finDelaiCarence!="1970-01-01" && $datePrestation < $bareme_finDelaiCarence){ $v_msg="Le delai de carence est toujours en cours pour cet assuré, par conséquent il n'est pas pris en charge." ; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The waiting period is still in progress for this insured, therefore it is not covered. Thank you for your understanding." ; } }elseif($situation['soldeConsommationFamille'] < "0" || $situation['soldeConsommation'] < "0" || $situationGarantie['soldeConsommationFamille'] < "0" || $situationGarantie['soldeConsommation'] < "0"){ $v_msg="Le plafond de consommation de la famille ou de l'assuré est atteint par conséquent le ticket modérateur ne sera pas appliqué. Merci pour votre compréhension." ; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The consumption ceiling of the family or the insured; is reached therefore the moderator ticket will not be applied. Thank you for understanding." ; } }elseif($situation['soldeNbreTransactionFamille'] < "0" || $situation['soldeNbreTransaction'] < "0" || $situationGarantie['soldeNbreTransactionFamille'] < "0" || $situationGarantie['soldeNbreTransaction'] < "0"){ $v_msg="Le nombre de prestation de la famille ou de l'assuré est atteint par conséquent le ticket modérateur ne sera pas appliqué. Merci pour votre compréhension." ; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The number of benefits of the family or the insured; is reached therefore the moderator ticket will not be applied. Thank you for understanding." ; } }elseif($situationAnnuelle['soldeConsommation'] < "0"){ $v_msg="Le plafond annuelle de consommation de l'assuré est atteint par conséquent le ticket modérateur ne sera pas appliqué. Merci pour votre compréhension." ; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The insured's annual consumption ceiling has been reached, therefore the co-payment will not be applied. Thank you for understanding." ; } }elseif($situationFamille['soldeConsommation'] < "0"){ $v_msg="Le plafond annuelle de consommation de la famille est atteint par conséquent le ticket modérateur ne sera pas appliqué. Merci pour votre compréhension." ; if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){ $v_msg="The family's annual consumption limit has been reached, therefore the co-payment will not be applied. Thank you for understanding." ; } }else{ $v_msg=""; } ?>

"0") : ?>
Date "0" or $facture=="1") : ?>
" readonly >
"0") : ?>
Sélectionnez un examen dans la liste

" onClick="javascript:enregistrerprescriptionexamen();" style='font-size:10pt;' > " style='font-size:10pt;' > "0") : ?>

Recherche et sélection d'examen

" disabled style='font-size:10pt;' >

".$agePrescription . " "._("jours") . " => " . _("BON CADUC") ?>

"0") : ?> "0") : ?>
nettoyer($detailexamen['id']); $livre = $this->nettoyer($detailexamen['livre']); $ententePrealable = $this->nettoyer($detailexamen['ententePrealable']); $ajLabo = $this->nettoyer($detailexamen['ajLabo']); $nbExamens++; ?> "1" && $bonCaduc!="1") : ?>
nettoyer($detailexamen['libelleActe']) ?> nettoyer($detailexamen['codeActe']) ?> nettoyer($detailexamen['libelleFamilleActe']) ?>