titre = "INTER-SANTE - Livraison médicaments"; $numeroBonOrdonnance = $_SESSION['p_numeroBonOrdonnance_C']; $numeroPrescription = $_SESSION['p_numeroPrescription_C'] ; $estRempalace = false; $accesAjoutPh = ($_SESSION['p_accesAjoutPh_C']==1) ; $accesAjoutPhClient = ($_SESSION['p_accesAjoutPhClient']==1) ; $ajoutPrescription = ($_SESSION['p_ajoutPrescription_C']==1) ; $modeSaisieFacture = $_SESSION['p_modeSaisieFacture']; $actVisible = $_SESSION['p_actVisible']; $hospitalisation = $_SESSION['p_hospitalisation_C']; //echo $prescription['bonCaduc']; $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']; $bareme_finDelaiCarence = $_SESSION['p_bareme']['bareme_finDelaiCarence']; //var_dump($bareme_actif); ?>
" " && $contestation=="0") : ?> nettoyer($prescription['idPrestationactes']); // maj du 23/01/2020 => possibilité de factrurer plusieurs fois //$idPrestationactes = "0";//$_SESSION['p_idPrestationactes_C']; $estRempalace =($prescription['numeroRemplace'] == $numeroBonOrdonnance); $agePrescription = $this->nettoyer($prescription['agePrescription']); $bonCaduc = $this->nettoyer($prescription['bonCaduc']); $nbMedicamentSaisie = $prescription['nbMedicamentSaisie']; if($modeSaisieFacture=="1") { $bonCaduc = "0"; } //var_dump($idPrestationactes); ?>

nettoyer($prescription['prestataire']) ?>

" readonly >
Date
Total nettoyer($factures_toal['prixManuel'])) ?> nettoyer($factures_toal['montantTm'])) ?> nettoyer($factures_toal['montantArembourser'])) ?> nettoyer($factures_toal['depassement'])) ?> nettoyer($factures_toal['fraisRetenu'])) ?>
nettoyer($une_facture['dateSysteme'])) ?> " > nettoyer($une_facture['prixManuel'])) ?> nettoyer($une_facture['montantTm'])) ?> nettoyer($une_facture['montantArembourser'])) ?> nettoyer($une_facture['depassement'])) ?> nettoyer($une_facture['fraisRetenu'])) ?>
"0") : ?>

nettoyer($prescription['bonCaduc'])=="0" or $modeSaisieFacture==1) && ($nbMedicamentSaisie<$_SESSION['p_nbMedicamentMax'] or $hospitalisation=="1") ) : ?>
" onclick="javascript:pop_ged_pharmacie();" style='font-size:10pt;' >
" readonly >
nettoyer($detailprescription['id']); $idMedicament = $this->nettoyer($detailprescription['idMedicament']); $livre = $this->nettoyer($detailprescription['livre']); $substituable = $this->nettoyer($detailprescription['substituable']); $substitue = $this->nettoyer($detailprescription['substitue']); $nomSubstitut = $this->nettoyer($detailprescription['nomSubstitut']); $libelleMedicament = $this->nettoyer($detailprescription['libelleMedicament']); $codeMedicament = $this->nettoyer($detailprescription['codeMedicament']); $ajPharmacie = $this->nettoyer($detailprescription['ajPharmacie']); $ententePrealable1 = $this->nettoyer($detailprescription['ententePrealable']); $barree = $this->nettoyer($detailprescription['barree']); $tarifPublic = $this->nettoyer($detailprescription['tarifPublic']); $tarifPublicSubstitut = $this->nettoyer($detailprescription['tarifPublicSubstitut']); $codeMedicamentSubstitut = $this->nettoyer($detailprescription['codeMedicamentSubstitut']); $nomMedicamentSubstitut = $this->nettoyer($detailprescription['nomMedicamentSubstitut']); if($actVisible!="1") { $libelleMedicament = $codeMedicament; $nomSubstitut = $codeMedicament; } $forme = $this->nettoyer($detailprescription['forme']); $formeSubstitut = $this->nettoyer($detailprescription['formeSubstitut']); $posologie = $this->nettoyer($detailprescription['posologie']); if (est_anglophone()){ $forme = $this->nettoyer($detailprescription['formeEng']); $formeSubstitut = $this->nettoyer($detailprescription['formeSubstitutEng']); } $idDemandeSubstitution = $this->nettoyer($detailprescription['idDemandeSubstitution']); $nvellePosologie = $this->nettoyer($detailprescription['nvellePosologie']); $forme = $this->nettoyer($detailprescription['forme']); $quantite = $this->nettoyer($detailprescription['quantite']); $excluMedicamentSubstitut = $this->nettoyer($detailprescription['excluMedicamentSubstitut']); if($excluMedicamentSubstitut ==""){ $exclu = $this->nettoyer($detailprescription['exclu']); }else{ $exclu = $excluMedicamentSubstitut; } ?> ""): ?> ""): ?> "0"): ?>
S " . $nomSubstitut ?> nettoyer($detailprescription['numeroBonOrdonnance']) ?>
nettoyer($prescription['agePrescription']); $bonCaduc = $this->nettoyer($prescription['bonCaduc']); ?>
" readonly >
nettoyer($detailnonlivre['id']); $valeurActe = $this->nettoyer($detailnonlivre['valeurActe']); $substituable = $this->nettoyer($detailnonlivre['substituable']); $substitue = $this->nettoyer($detailnonlivre['substitue']); $nomSubstitut = $this->nettoyer($detailnonlivre['nomSubstitut']); $libelleMedicament = $this->nettoyer($detailnonlivre['libelleMedicament']); $depassement = $this->nettoyer($detailnonlivre['depassement']); if($substituable=="1") { $libelleMedicament = $libelleMedicament . " => " . $nomSubstitut; } $ententePrealable2=$this->nettoyer($detailnonlivre['ententePrealable']); $forme = $this->nettoyer($detailnonlivre['forme']); if (est_anglophone()){$forme = $this->nettoyer($detailnonlivre['formeEng']);} $exclu = $this->nettoyer($detailnonlivre['exclu']); $substitution = $this->nettoyer($detailnonlivre['substitution']); $valeurActe = $this->nettoyer($detailnonlivre['valeurActe']); $fraisReel = $this->nettoyer($detailnonlivre['fraisReel']); //var_dump($substitution); if($exclu =="1" || $ententePrealable2=="9") { $montantTm = $this->nettoyer($detailnonlivre['fraisReel']); $montantArembourser = "0"; $fraisExclu = $this->nettoyer($detailnonlivre['fraisReel']); $depassement = $this->nettoyer($detailnonlivre['depassement']); $fraisRetenu ="0"; $montantTmTemp = $this->nettoyer($detailnonlivre['fraisReel']); $montantArembourserTemp = "0"; $fraisRetenuTemp = "0"; }else{ $montantTm = $this->nettoyer($detailnonlivre['montantTm']); $montantArembourser = $this->nettoyer($detailnonlivre['montantArembourser']); $fraisExclu = $this->nettoyer($detailnonlivre['fraisExclu']); $depassement = $this->nettoyer($detailnonlivre['depassement']); $fraisRetenu = $this->nettoyer($detailnonlivre['fraisRetenu']); $montantTmTemp = $this->nettoyer($detailnonlivre['montantTmTemp']); $montantArembourserTemp = $this->nettoyer($detailnonlivre['montantArembourserTemp']); $fraisRetenuTemp = $this->nettoyer($detailnonlivre['fraisRetenuTemp']); } if($substitution=="1"){ $libelleMedicament = $this->nettoyer($detailnonlivre['libelleMedicamentSubstitut']); $libelleMedicament = $this->nettoyer($detailnonlivre['libelleMedicament']) . " => " . $libelleMedicament; $forme = $this->nettoyer($detailnonlivre['formeSubstitut']); if (est_anglophone()){$forme = $this->nettoyer($detailnonlivre['formeSubstitutEng']);} $montantTm = $this->nettoyer($detailnonlivre['montantTmMedicamentSubstitut']); $montantArembourser = $this->nettoyer($detailnonlivre['montantArembourserMedicamentSubstitut']); $fraisExclu = $this->nettoyer($detailnonlivre['fraisExcluMedicamentSubstitut']); //$depassement = $this->nettoyer($detailnonlivre['depassement']); $fraisRetenu = $this->nettoyer($detailnonlivre['montantArembourserMedicamentSubstitut']); $montantTmTemp = $this->nettoyer($detailnonlivre['montantTmMedicamentSubstitut']); $montantArembourserTemp = $this->nettoyer($detailnonlivre['montantArembourserMedicamentSubstitut']); $fraisRetenuTemp = $this->nettoyer($detailnonlivre['montantArembourserMedicamentSubstitut']); $valeurActe = $this->nettoyer($detailnonlivre['valeurMedicamentSubstitut']); $fraisReel = $this->nettoyer($detailnonlivre['fraisReelMedicamentSubstitut']); } ?> "0"): ?>
W R nettoyer($detailnonlivre['quantite']) ?> nettoyer($montantTm)) ?> nettoyer($montantArembourser)) ?>
" readonly > " readonly >
nettoyer($detaillivre['id']); $substituable = $this->nettoyer($detaillivre['substituable']); $substitue = $this->nettoyer($detaillivre['substitue']); $ajPharmacie = $this->nettoyer($detaillivre['ajPharmacie']); $typeSysteme = $this->nettoyer($detaillivre['typeSysteme']); $ententePrealable3=$this->nettoyer($detaillivre['ententePrealable']); $pharmacieInterne = $this->nettoyer($detaillivre['pharmacieInterne']); $nbLivre++; $forme = $this->nettoyer($detaillivre['forme']); $codeMotifDepassement = $this->nettoyer($detaillivre['codeMotifDepassement']); $motif = $this->nettoyer($detaillivre['motif']); if (est_anglophone()){ $forme = $this->nettoyer($detaillivre['formeEng']); $motif = $this->nettoyer($detaillivre['motifEng']); $gar_periodicitePlafond = $gar_periodicitePlafondEng; $act_periodicitePlafond = $act_periodicitePlafondEng; } if($gar_codePeriodicitePlafond=="L" && $codeMotifDepassement=="PLF") { $motif = $motif." ".$gar_forfaitPlafond." ".$_SESSION['p_devise_C']." ".strtolower($gar_periodicitePlafond)."."; }elseif($act_codePeriodicitePlafond=="L" && $codeMotifDepassement=="PLF") { $motif = $motif." ".$act_forfaitPlafond." ".$_SESSION['p_devise_C']." ".strtolower($act_periodicitePlafond)."."; }else{ $motif = $motif; } $tarifPublic = $this->nettoyer($detaillivre['tarifPublic']); //var_dump($tarifPublic); $exclu = $this->nettoyer($detaillivre['exclu']); $substitution = $this->nettoyer($detaillivre['substitution']); $valeurActeManuel = $this->nettoyer($detaillivre['valeurActeManuel']); $depassement = $this->nettoyer($detaillivre['depassement']); $prixManuel = $this->nettoyer($detaillivre['prixManuel']); $montantTmTemp = $this->nettoyer($detaillivre['montantTmTemp']); $montantArembourserTemp = $this->nettoyer($detaillivre['montantArembourserTemp']); if($valeurActeManuel<="0"){ $valeurActeManuel = ""; } $libelleMedicament = $this->nettoyer($detaillivre['libelleMedicament']); if($substitution=="1"){ $libelleMedicament = $this->nettoyer($detaillivre['libelleMedicamentSubstitut']); $forme = $this->nettoyer($detaillivre['formeSubstitut']); if (est_anglophone()){$forme = $this->nettoyer($detaillivre['formeSubstitutEng']);} $montantTm = $this->nettoyer($detaillivre['montantTmMedicamentSubstitut']); $montantArembourser = $this->nettoyer($detaillivre['montantArembourserMedicamentSubstitut']); $fraisExclu = $this->nettoyer($detaillivre['fraisExcluMedicamentSubstitut']); //$depassement = $this->nettoyer($detailnonlivre['depassement']); $fraisRetenu = $this->nettoyer($detaillivre['montantArembourserMedicamentSubstitut']); $montantTmTemp = $this->nettoyer($detaillivre['montantTmMedicamentSubstitut']); $montantArembourserTemp = $this->nettoyer($detaillivre['montantArembourserMedicamentSubstitut']); $fraisRetenuTemp = $this->nettoyer($detaillivre['montantArembourserMedicamentSubstitut']); $valeurActe = $this->nettoyer($detaillivre['valeurMedicamentSubstitut']); $fraisReel = $this->nettoyer($detaillivre['fraisReelMedicamentSubstitut']); $valeurActeManuel = $valeurActe; $prixManuel = $fraisReel; } $i++; ?>
Total nettoyer($prescription['fraisReelLivre'])) ?> nettoyer($prescription['montantTmLivre'])) ?> nettoyer($prescription['montantArembourserLivre'])) ?> nettoyer($prescription['depassement'])) ?>
nettoyer($detaillivre['quantite']); ?> nettoyer($detaillivre['quantite']); ?>
"0") :?>

Age => nettoyer($prescription['agePrescription']) . " "._("jours") . " => " . _("BON CADUC") ?>