163 lines
6.8 KiB
PHP
Executable File
163 lines
6.8 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER SANTE - Prescription Examen";
|
|
$numeroBonExamen = $_SESSION['numeroBonExamen_C'];
|
|
$actVisible = $_SESSION['actVisible'];
|
|
?>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input style='text-align:center; font-size:11pt;' class="form-control" type="text" value= "<?= _("Informations sur la prescription") . " : " . $_SESSION['numeroPrescription_C']
|
|
. " => " . _("Prestataire") . " : " . $_SESSION['prestataire_C'] . " => " . _("Feuille Maladie") . " : " . $_SESSION['numeroFeuilleMaladie_C'] ?>" readonly >
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
|
|
<tbody>
|
|
<tr>
|
|
<td width="5%" > <?= _("Souscrip.") ?> </td>
|
|
<td width="20%">
|
|
<INPUT style='text-align:center; font-size:9pt;' class="form-control" TYPE="text" id="nomClient" name="nomClient"
|
|
value="<?= $_SESSION['nomClient_C'] ?>" onChange="" readonly >
|
|
</td>
|
|
|
|
<td width="5%" align="center" > <?= _("Adh.") ?> </td>
|
|
<td width="20%" > <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['adherent_C']; ?>" readonly style="text-align: center; font-size:9pt;" > </td>
|
|
|
|
<td width="5%" align="center"> <?= _("Bénéf.") ?> </td>
|
|
<td width="25%"> <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['beneficiaire_C']; ?>" readonly style='font-size:9pt;'> </td>
|
|
|
|
<td width="7%" align="center"> <?= _("Tél Bénéf.") ?> </td>
|
|
<td width="13%"> <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['telephonePortableBeneficiaire_C']; ?>" readonly style='font-size:9pt;'> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="8">
|
|
<INPUT style='font-size:12pt; font-weight: bold; background-color:#f5deb3 !important; color:#a0522d; text-align:center;' class="form-control" TYPE="text" id="nomClient" name="nomClient"
|
|
value="<?= 'TAUX DE COUVERTURE : '.$tauxCouverture ?>" onChange="" readonly >
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<?php if($numeroBonExamen > "0"):?>
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > <?= _("Date Prescription") ?> </td>
|
|
<td width="15%" > <INPUT class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($prescription['datePrescription'])) ?>" readonly style="text-align: center; font-size:10pt;" > </td>
|
|
|
|
<td width="10%" align="center"> <?= _("No Examen") ?> </td>
|
|
<td width="15%" > <input class="form-control" style="text-align: center; font-size:10pt; background-color:#027BE3 !important;color:white;" type="number" id="numeroBon" name="numeroBon" value="<?= $_SESSION['numeroBonExamen_C'] ?>" readonly > </td>
|
|
|
|
|
|
<td width="10%" align="center"> <?= _("Médecin") ?> </td>
|
|
<td> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['medecinPrescription']) ?>" readonly style='font-size:10pt;'> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="examens">
|
|
<legend> <?= _("Examens prescrits") ?> </legend>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th width="65%" style="text-align:center" > <?= _("Libellé") ?> </th>
|
|
|
|
<th width="5%" style="text-align:center"> <?= _("Qtité") ?> </th>
|
|
|
|
<th style="text-align:center"> <?= _("Livré par") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($detailprescriptions as $detailprescription):
|
|
$livre =$this->nettoyer($detailprescription['livre']);
|
|
$codePrestataireLivraison =$this->nettoyer($detailprescription['codePrestataireLivraison']);
|
|
$prestataireLivraison =$this->nettoyer($detailprescription['prestataireLivraison']);
|
|
|
|
$libelleExamen = $this->nettoyer($detailprescription['libelleExamen']);
|
|
$codeActe = $this->nettoyer($detailprescription['codeActe']);
|
|
$ententePrealable = $this->nettoyer($detailprescription['ententePrealable']);
|
|
|
|
if($actVisible!="1")
|
|
{
|
|
$libelleExamen = $codeActe;
|
|
|
|
}
|
|
?>
|
|
<tr valign="top">
|
|
<?php if($ententePrealable=='2' || $ententePrealable=='3'): ?>
|
|
<td align='center' style="background-color: yellow;"> <?= $libelleExamen ?> </td>
|
|
<?php elseif($ententePrealable=='1'): ?>
|
|
<td align='center' style="background-color: #00ff00;"> <?= $libelleExamen ?> </td>
|
|
<?php elseif($ententePrealable=='9'): ?>
|
|
<td align='center' style="background-color: red;color:white;"> <?= $libelleExamen ?> </td>
|
|
<?php else: ?>
|
|
<td align='center'> <?= $libelleExamen ?> </td>
|
|
<?php endif; ?>
|
|
|
|
|
|
<td align='center'> <?= $this->nettoyer($detailprescription['quantite']) ?> </td>
|
|
|
|
|
|
<?php if ($livre=="1") : ?>
|
|
<td>
|
|
<input style="font-size:9pt;" class = "form-control btn btn-info" type="button" value="<?= $prestataireLivraison ?>" onClick="javascript:afficher_laboratoire('<?= $numeroBonExamen ?>','<?= $codePrestataireLivraison ?>','<?= $prestataireLivraison ?>');">
|
|
</td>
|
|
<?php else: ?>
|
|
<td> </td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="div_ged_0" style="margin-top:20px;">
|
|
<form enctype="multipart/form-data" action="Examenprescrit" method="post">
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td> <?= _("Document") ?> </td>
|
|
<td> <input style="font-size: 15px; height: 40px" class="form-control btn btn-info" name="fichier_upload" type="file" id="fichier_upload" /> </td>
|
|
|
|
<td> </td>
|
|
<td> <input style='font-size:10pt;' class="form-control btn btn-primary" type="submit" name="submit" value="<?= _("Envoyer") ?>" /> </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
|
|
<?php if((isset($msgErreur)) && ($msgErreur>" ")) : ?>
|
|
<INPUT style='font-size:12pt; color:red; text-align:center;' class="form-control" type="text" value="<?= $msgErreur ?>" readonly >
|
|
<?php endif; ?>
|
|
|
|
<table class="table table-striped table-hover table-condensed table-responsive" style="font-size:9pt;" >
|
|
<thead>
|
|
<th width="12%" style='text-align:center'> Date </th>
|
|
<th style='text-align:center'> <?= _("Document GED") ?> </th>
|
|
<th width="11%" style='text-align:center'> <?= _("Télécharger") ?> </th>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($geds as $ged):
|
|
$idGed=$this->nettoyer($ged['idGed']);
|
|
$cheminFichier = $this->nettoyer($ged['cheminFichier']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= dateheureLang($this->nettoyer($ged['dateSysteme'])) ?></td>
|
|
<td align='center'><?= $this->nettoyer($ged['nomOrigine']) ?></td>
|
|
<td align="center">
|
|
<a style="font-size:10pt;" href="<?= $cheminFichier ?>" target="_blank" > <?= _("Télécharger") ?> </a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<?php endif; ?>
|