1060 lines
47 KiB
PHP
Executable File
1060 lines
47 KiB
PHP
Executable File
<div id="div_feuillemaladie">
|
|
<?php
|
|
$this->titre = "INTER-SANTE - Feuille Maladie";
|
|
|
|
$facture = $feuillemaladie['facture'];
|
|
$facPartiel = $feuillemaladie['facPartiel'];
|
|
|
|
$_SESSION['p_facture'] = $facture;
|
|
//var_dump($facPartiel);
|
|
$codePrestataire = $_SESSION['p_codePrestataire_C'];
|
|
$numeroDerogation = $feuillemaladie['numeroDerogation'];
|
|
$numeroDerogationFinger = $feuillemaladie['numeroDerogationFinger'];
|
|
$nb_notefeuillemaladie = $feuillemaladie['nb_notefeuillemaladie'];
|
|
|
|
$idProformaHospitalisation = $feuillemaladie['idProformaHospitalisation'];
|
|
|
|
$agePrescription = $this->nettoyer($feuillemaladie['agePrescription']);
|
|
|
|
$_SESSION['p_agePrescription_f'] = $agePrescription;
|
|
|
|
$bonCaduc = $this->nettoyer($feuillemaladie['bonCaduc']);
|
|
|
|
$modeSaisieFacture = $_SESSION['p_modeSaisieFacture'];
|
|
|
|
$_SESSION["observation_f"] = $feuillemaladie['observations'];
|
|
|
|
if($modeSaisieFacture=="1")
|
|
{
|
|
$bonCaduc = "0";
|
|
}
|
|
|
|
$actVisible = $_SESSION['p_actVisible'];
|
|
|
|
$_SESSION['p_bonCaduc'] = $bonCaduc;
|
|
|
|
$AffectionVisible = $_SESSION['p_AffectionVisible'];
|
|
|
|
$codeTypeAffection = $this->nettoyer($feuillemaladie['codeTypeAffection']);
|
|
|
|
$codeAffection = $this->nettoyer($feuillemaladie['codeAffection']);
|
|
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
|
{
|
|
$libelleAffection = $this->nettoyer($feuillemaladie['libelleAffectionEng'])." => ".$codeAffection;
|
|
}
|
|
else
|
|
{
|
|
$libelleAffection = $this->nettoyer($feuillemaladie['libelleAffection'])." => ".$codeAffection;
|
|
}
|
|
|
|
if($AffectionVisible!="1")
|
|
{
|
|
$libelleAffection = $codeAffection;
|
|
}
|
|
|
|
if ($this->nettoyer($feuillemaladie['depassement'])>"0")
|
|
{
|
|
$frais = format_N($this->nettoyer($feuillemaladie['fraisReelBase']))." | ".format_N($this->nettoyer($feuillemaladie['fraisReel']));
|
|
$lib = "Base Rb | Réclamé";
|
|
}else{
|
|
|
|
$frais = format_N($this->nettoyer($feuillemaladie['fraisReel']));
|
|
|
|
$lib = "Réclamé";
|
|
}
|
|
|
|
|
|
$avisHospitalisation = $feuillemaladie['avisHospitalisation'];
|
|
|
|
|
|
$hospitalisation = $feuillemaladie['hospitalisation'];
|
|
|
|
$garantieOptique = "1970-01-01";
|
|
|
|
$_SESSION['p_codeMedecin'] = $feuillemaladie['codeMedecin'];
|
|
|
|
$_SESSION['p_medecinConsultation'] = $feuillemaladie['medecinConsultation'];
|
|
|
|
// KANE 11/04/2025 => pour éviter de facturer une feuille dans un mois dont le décompte a déjà été validé
|
|
$codeEtatDecompte = $feuillemaladie['codeEtatDecompte'];
|
|
|
|
$contestation = $this->nettoyer($feuillemaladie['contestation']);
|
|
|
|
?>
|
|
|
|
|
|
<button type="button" class="sr-only" id="btn_refresh" name="btn_refresh" onClick="javascript:feuillemaladie();" > </button>
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="facturerConsommable" name="facturerConsommable" value="<?= $_SESSION['p_facturerConsommable'] ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="affectionObligatoire" name="affectionObligatoire" value="<?= $_SESSION['p_affectionObligatoire'] ?>">
|
|
<input class="sr-only" type="text" id="codeAffection" name="codeAffection" value="<?= $this->nettoyer($feuillemaladie['codeAffection']) ?>" >
|
|
|
|
<input class="sr-only" type="text" id="hospitalisation" name="hospitalisation" value="<?= $this->nettoyer($feuillemaladie['hospitalisation']) ?>" >
|
|
|
|
<input class="sr-only" id="bonCaduc" name="bonCaduc" type="text" value= "<?= $bonCaduc ?>" >
|
|
<input class="sr-only" id="facture" name="facture" type="text" value= "<?= $facture ?>" >
|
|
|
|
<input class="sr-only" type="text" id="prixActe" name="prixActe" value="<?= $this->nettoyer($feuillemaladie['fraisRetenu']) ?>" >
|
|
<input class="sr-only" type="text" id="prixBase" name="prixBase" value="<?= $this->nettoyer($feuillemaladie['prixBase']) ?>" >
|
|
<input class="sr-only" type="text" id="cout" name="cout" value="<?= $this->nettoyer($feuillemaladie['fraisReel']) ?>" >
|
|
<input class="sr-only" type="text" id="montantTm" name="montantTm" value="<?= $this->nettoyer($feuillemaladie['montantTm']) ?>" >
|
|
|
|
<input class="sr-only" type="text" id="cout_f" name="cout_f" value="<?= format_N($this->nettoyer($feuillemaladie['fraisReel'])) ?>" >
|
|
<input class="sr-only" type="text" id="montantTm_f" name="montantTm_f" value="<?= format_N($this->nettoyer($feuillemaladie['montantTm'])) ?>" >
|
|
|
|
<input class="sr-only" type="text" id="codeutilisateur" name="codeutilisateur" value="<?= $_SESSION['p_login'] ?>" >
|
|
|
|
<input class="sr-only" type="text" id="numOrd" name="numOrd" value="<?= $this->nettoyer($feuillemaladie['numeroBonOrdonnance']) ?>" >
|
|
<input class="sr-only" type="text" id="numeroBon" name="numeroBon" value="<?= $feuillemaladie['numeroBonConsultation'] ?>" >
|
|
<input class="sr-only" type="text" id="codeMedecin" name="codeMedecin" value="<?= $feuillemaladie['codeMedecin'] ?>" >
|
|
|
|
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $_SESSION['p_codePrestataire_C'] ?>" >
|
|
|
|
<input class="sr-only" type="text" id="ententePrealableCons" name="ententePrealableCons" value="<?= $this->nettoyer($ententePrealableCons) ?>" >
|
|
|
|
<input class="sr-only" type="text" id="numeroBonExamen" name="numeroBonExamen" value="<?= $feuillemaladie['numeroBonExamen'] ?>" >
|
|
<input class="sr-only" type="text" id="numeroBonKine" name="numeroBonKine" value="<?= $feuillemaladie['numeroBonKine'] ?>" >
|
|
<input class="sr-only" type="text" id="numeroBonOptique" name="numeroBonOptique" value="<?= $feuillemaladie['numeroBonOptique'] ?>" >
|
|
<input class="sr-only" type="text" id="numeroBonHospitalisation" name="numeroBonHospitalisation" value="<?= $feuillemaladie['numeroBonHospitalisation'] ?>" >
|
|
|
|
<input class="sr-only" type="text" id="motifHospitalisation" name="motifHospitalisation" value="<?= $feuillemaladie['motifHospitalisation'] ?>" >
|
|
|
|
|
|
<input class="sr-only" type="text" id="noPrescription" name="noPrescription" value="<?= $this->nettoyer($feuillemaladie['noPrescription']) ?>" >
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="nomForm" NAME="nomForm" value="feuillemaladie">
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="estGarantiePha" NAME="estGarantiePha" value="<?= $estGarantiePha ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="estGarantieKine" NAME="estGarantieKine" value="<?= $estGarantieKine ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="estGarantieOpt" NAME="estGarantieOpt" value="<?= $estGarantieOpt ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="estGarantieExa" NAME="estGarantieExa" value="<?= $estGarantieExa ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="estGarantieHos" NAME="estGarantieHos" value="<?= $estGarantieHos ?>">
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="garantieOptique" NAME="garantieOptique" value="<?= $garantieOptique ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="finCarenceOptique" NAME="finCarenceOptique" value="<?= datefr($garantieOptique) ?>">
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="garantieHospitalisation" NAME="garantieHospitalisation" value="<?= $garantieHospitalisation ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="finCarenceHospitalisation" NAME="finCarenceHospitalisation" value="<?= datefr($garantieHospitalisation) ?>">
|
|
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="nbreActeEntentePrealable" NAME="nbreActeEntentePrealable" value="<?= $nbreActeEntentePrealable ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="idProformaHospitalisation" NAME="idProformaHospitalisation" value="<?= $idProformaHospitalisation ?>">
|
|
|
|
<!-- <button class="sr-only" id="btn_imprimer_feuille_maladie" name="btn_imprimer_feuille_maladie" type="button" data-bs-toggle="modal" data-bs-target="#pop_imprimer_feuille_maladie" style='font-size:10pt;' > </button>-->
|
|
<button type="button" class="sr-only" id="btn_imprimer_bon" name="btn_imprimer_bon" data-bs-toggle="modal" data-bs-target="#pop_imprimer_bon" style='font-size:10pt;' > </button>
|
|
|
|
<!-- Ajouté le 07-06-2023 -->
|
|
<input class="sr-only" type="text" id="miseEnObservation" name="miseEnObservation" value="<?= $this->nettoyer($feuillemaladie['miseEnObservation']) ?>" >
|
|
<input class="sr-only" type="text" id="gestionActe" name="gestionActe" value="<?= $this->nettoyer($feuillemaladie['gestionActe']) ?>" >
|
|
|
|
<div id="div_contestation">
|
|
<INPUT class="sr-only" type="text" id="contestation" name="contestation" value="<?= $contestation ?>" >
|
|
</div>
|
|
|
|
<div id="div_avis_hos">
|
|
<INPUT class="sr-only" TYPE="text" id="avisHospitalisation" NAME="avisHospitalisation" value="<?= $avisHospitalisation ?>">
|
|
</div>
|
|
|
|
<?php if($_SESSION['p_vip_C']=="1"): ?>
|
|
<INPUT class="form-control vip" TYPE="text" id="vip" name="vip" value="<?= $_SESSION['p_strVip_C'] ?>">
|
|
<?php endif; ?>
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="autoriserBonHospitAvantDate" name="autoriserBonHospitAvantDate" value="<?= $autoriserBonHospitAvantDate ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="dateDebutHospit" name="dateDebutHospit" value="<?= $this->nettoyer($feuillemaladie['dateDebutHospit']) ?>">
|
|
|
|
<INPUT class="sr-only" type="text" id="codeEtatDecompte" name="codeEtatDecompte" value="<?= $codeEtatDecompte ?>" >
|
|
<INPUT class="sr-only" type="text" id="idFacture" name="idFacture" value="<?= $feuillemaladie['idFactureFeuille'] ?>" >
|
|
|
|
<legend>
|
|
<i class="fa fa-folder-open" ></i> <?= _("Dossier Médical du patient"). ": " . $feuillemaladie['numeroFeuilleMaladie'] . " => Notes => " . $nb_notefeuillemaladie . " => User => " . $feuillemaladie['codeUtilisateur'] ?>
|
|
<!-- Icône d'aide simple (?) -->
|
|
<span class="help-icon" data-bs-toggle="modal" data-bs-target="#helpModal">?</span>
|
|
</legend>
|
|
|
|
<!-- Modal d'aide contextuelle -->
|
|
<div class="modal fade" id="helpModal" tabindex="-1" aria-labelledby="helpModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-xl">
|
|
<div class="modal-content modal-help">
|
|
<div class="modal-header bg-primary text-white">
|
|
<h4 class="modal-title" id="helpModalLabel">
|
|
<i class="fa fa-question-circle me-2"></i><?= _("Aide - Dossier Médical du Patient") ?>
|
|
</h4>
|
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="<?= _('Fermer') ?>"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<!-- Navigation par onglets -->
|
|
<ul class="nav nav-tabs mb-4" id="helpTabs" role="tablist">
|
|
<li class="nav-item" role="presentation">
|
|
<button class="nav-link active" id="overview-tab" data-bs-toggle="tab" data-bs-target="#overview" type="button" role="tab" aria-controls="overview" aria-selected="true">
|
|
<?= _("Vue d'ensemble") ?>
|
|
</button>
|
|
</li>
|
|
<li class="nav-item" role="presentation">
|
|
<button class="nav-link" id="actions-tab" data-bs-toggle="tab" data-bs-target="#actions" type="button" role="tab" aria-controls="actions" aria-selected="false">
|
|
<?= _("Actions") ?>
|
|
</button>
|
|
</li>
|
|
<li class="nav-item" role="presentation">
|
|
<button class="nav-link" id="status-tab" data-bs-toggle="tab" data-bs-target="#status" type="button" role="tab" aria-controls="status" aria-selected="false">
|
|
<?= _("Statuts & Codes") ?>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
|
|
<!-- Contenu des onglets -->
|
|
<div class="tab-content" id="helpTabsContent">
|
|
<!-- Onglet Vue d'ensemble -->
|
|
<div class="tab-pane fade show active" id="overview" role="tabpanel" aria-labelledby="overview-tab">
|
|
<div class="alert alert-info">
|
|
<strong><?= _("Page centrale du dossier patient") ?></strong><br>
|
|
<?= _("Cette page regroupe toutes les informations médicales du patient et sert de point central pour toutes les opérations de soins et de facturation.") ?>
|
|
</div>
|
|
|
|
<h5 class="text-primary mb-3"><?= _("Fonctionnalités principales") ?></h5>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="d-flex mb-3">
|
|
<div class="me-3 text-primary">
|
|
<i class="fa fa-folder-open fa-2x"></i>
|
|
</div>
|
|
<div>
|
|
<h6><?= _("Dossier complet") ?></h6>
|
|
<p class="small mb-0"><?= _("Accès à l'historique médical, prescriptions, diagnostics et traitements") ?></p>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex mb-3">
|
|
<div class="me-3 text-success">
|
|
<i class="fa fa-stethoscope fa-2x"></i>
|
|
</div>
|
|
<div>
|
|
<h6><?= _("Gestion des soins") ?></h6>
|
|
<p class="small mb-0"><?= _("Ajout et suivi des actes médicaux, consultations et prestations") ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="d-flex mb-3">
|
|
<div class="me-3 text-warning">
|
|
<i class="fa fa-file-invoice-dollar fa-2x"></i>
|
|
</div>
|
|
<div>
|
|
<h6><?= _("Facturation") ?></h6>
|
|
<p class="small mb-0"><?= _("Suivi du statut de facturation et prise en charge par l'assureur") ?></p>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex mb-3">
|
|
<div class="me-3 text-info">
|
|
<i class="fa fa-handshake fa-2x"></i>
|
|
</div>
|
|
<div>
|
|
<h6><?= _("Dérogations") ?></h6>
|
|
<p class="small mb-0"><?= _("Gestion des demandes d'exception et autorisations spéciales") ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="alert alert-warning mt-4">
|
|
<strong><?= _("Bon à savoir") ?></strong><br>
|
|
<?= _("Le taux de couverture affiché en haut de page indique le niveau de prise en charge par l'assureur. Vérifiez-le avant tout acte médical.") ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Onglet Actions -->
|
|
<div class="tab-pane fade" id="actions" role="tabpanel" aria-labelledby="actions-tab">
|
|
<h5 class="text-primary mb-3"><?= _("Actions disponibles") ?></h5>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-sm">
|
|
<thead class="table-light">
|
|
<tr>
|
|
<th style="width: 30%"><?= _("Bouton") ?></th>
|
|
<th style="width: 70%"><?= _("Description") ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong><?= _("Retour") ?></strong></td>
|
|
<td><?= _("Retourne à la page précédente") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Actualiser") ?></strong></td>
|
|
<td><?= _("Rafraîchit les informations affichées") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Consultation") ?></strong></td>
|
|
<td><?= _("Ouvre le module de consultation médicale") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Dossiers Médicaux") ?></strong></td>
|
|
<td><?= _("Affiche l'historique complet des dossiers du patient") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Famille") ?></strong></td>
|
|
<td><?= _("Consulte les informations sur les membres de la famille") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Demande de dérogation") ?></strong></td>
|
|
<td><?= _("Soumet une demande d'exception à l'assureur") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Historique Dérogation") ?></strong></td>
|
|
<td><?= _("Consulte l'historique des demandes de dérogation") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Nouvelle Proforma") ?></strong></td>
|
|
<td><?= _("Crée une facture proforma pour hospitalisation") ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong><?= _("Historique Proforma") ?></strong></td>
|
|
<td><?= _("Affiche l'historique des proformas d'hospitalisation") ?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<h6 class="mt-4 text-primary"><?= _("Workflow typique") ?></h6>
|
|
<ol>
|
|
<li><?= _("Vérifiez le taux de couverture et l'état du dossier") ?></li>
|
|
<li><?= _("Sélectionnez l'acte médical à réaliser") ?></li>
|
|
<li><?= _("Ajoutez les diagnostics appropriés si nécessaire") ?></li>
|
|
<li><?= _("Validez la prestation une fois réalisée") ?></li>
|
|
<li><?= _("Consultez le statut de facturation") ?></li>
|
|
</ol>
|
|
</div>
|
|
|
|
<!-- Onglet Statuts & Codes -->
|
|
<div class="tab-pane fade" id="status" role="tabpanel" aria-labelledby="status-tab">
|
|
<h5 class="text-primary mb-3"><?= _("Significations des statuts et codes") ?></h5>
|
|
|
|
<h6 class="text-secondary"><?= _("Statuts de facturation") ?></h6>
|
|
<div class="row mb-4">
|
|
<div class="col-md-6">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<span class="badge bg-success me-2">●</span>
|
|
<span><strong><?= _("Facturé") ?></strong> : <?= _("Prestation facturée définitivement") ?></span>
|
|
</div>
|
|
<div class="d-flex align-items-center mb-2">
|
|
<span class="badge bg-warning me-2">●</span>
|
|
<span><strong><?= _("Non facturé") ?></strong> : <?= _("En attente de facturation") ?></span>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<span class="badge bg-danger me-2">●</span>
|
|
<span><strong><?= _("Bon caduc") ?></strong> : <?= _("Délai de facturation dépassé") ?></span>
|
|
</div>
|
|
<div class="d-flex align-items-center mb-2">
|
|
<span class="badge bg-info me-2">●</span>
|
|
<span><strong><?= _("Facturation partielle") ?></strong> : <?= _("Seule une partie est facturable") ?></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<h6 class="text-secondary"><?= _("Codes couleurs des prestations") ?></h6>
|
|
<div class="row mb-4">
|
|
<div class="col-md-4">
|
|
<div class="p-2 mb-2 bg-warning text-dark">
|
|
<strong><?= _("Jaune") ?></strong> : <?= _("Attente réponse assureur") ?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="p-2 mb-2 bg-success text-white">
|
|
<strong><?= _("Vert") ?></strong> : <?= _("Accord de l'assureur") ?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="p-2 mb-2 bg-danger text-white">
|
|
<strong><?= _("Rouge") ?></strong> : <?= _("Refus ou non garanti") ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<h6 class="text-secondary"><?= _("Messages d'alerte importants") ?></h6>
|
|
<div class="alert alert-danger">
|
|
<strong><?= _("Dossier contesté") ?></strong><br>
|
|
<?= _("Impossible de poursuivre les prestations. Contactez l'assureur.") ?>
|
|
</div>
|
|
<div class="alert alert-warning">
|
|
<strong><?= _("Affection manquante") ?></strong><br>
|
|
<?= _("Le diagnostic principal (affection) doit être renseigné avant toute facturation.") ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
|
<?= _("Fermer") ?>
|
|
</button>
|
|
<button type="button" class="btn btn-outline-primary" onclick="window.print()">
|
|
<i class="fa fa-print me-1"></i><?= _("Imprimer cette aide") ?>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
|
|
<tbody>
|
|
<!--
|
|
<tr>
|
|
<td width="5%" > <?= _("Souscripteur") ?> </td>
|
|
<td width="20%">
|
|
<INPUT style='text-align:center; font-size:11pt;' class="form-control" TYPE="text" id="nomClient" name="nomClient"
|
|
value="<?= $_SESSION['p_nomClient_C'] ?>" onChange="" readonly >
|
|
</td>
|
|
|
|
<td width="5%" align="center" > <?= _("Adhérent") ?> </td>
|
|
<td width="20%" > <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['p_adherent_C']; ?>" readonly style="text-align: center; font-size:9pt;" > </td>
|
|
|
|
<td width="5%" align="center"> <?= _("Patient") ?> </td>
|
|
<td width="25%"> <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['p_beneficiaire_C']; ?>" readonly style='font-size:9pt;'> </td>
|
|
|
|
<td width="7%" align="center"> <?= _("Tél Patient") ?> </td>
|
|
<td width="13%"> <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['p_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>
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:8pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="8%" > <?= _("Consultation") ?> </td>
|
|
<td width="15%" > <INPUT style='font-size:8pt;' class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($feuillemaladie['dateConsultation'])) ?>" readonly> </td>
|
|
|
|
<td width="8%" align="center"> <?= _("Date Survénance") ?> </td>
|
|
<td width="15%" ><INPUT style='font-size:8pt;' class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($feuillemaladie['dateSurvenance'])) ?>" readonly></td>
|
|
|
|
|
|
<td width="8%" align="center"> <?= _("Date Système") ?> </td>
|
|
<td width="15%" ><INPUT style='font-size:8pt;' class="form-control" TYPE="text" value="<?= dateheureLang($this->nettoyer($feuillemaladie['dateSysteme']), $_SESSION['p_lang']) ?>" readonly ></td>
|
|
|
|
<td width="7%" align="center"> <?= _("Consultation") ?> </td>
|
|
<td width="8%" align="center" style='font-size:10pt; background-color:blue;color:white;' > <?= $feuillemaladie['numeroBonConsultation'] ?> </td>
|
|
<td width="8%" align="center"> <?= _("Ordonnance") ?> </td>
|
|
<td width="8%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $feuillemaladie['numeroBonOrdonnance'] ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Praticien Consultant") ?> </td>
|
|
<td colspan="3"><INPUT style='font-size:8pt;' class="form-control" TYPE="text" value="<?= $feuillemaladie['medecinConsultation'] ?>" readonly ></td>
|
|
|
|
<td align="center"> <?= _("Raison Consultation") ?> </td>
|
|
<td><INPUT style='font-size:8pt;' class="form-control" TYPE="text" value="<?= $feuillemaladie['raisonconsultation'] ?>" readonly ></td>
|
|
|
|
<td align="center"> <?= _("Examen") ?> </td>
|
|
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $feuillemaladie['numeroBonExamen'] ?> </td>
|
|
<td align="center"> <?= _("Séance") ?> </td>
|
|
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $feuillemaladie['numeroBonKine'] ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td > <?= _("Observation") ?> </td>
|
|
<td colspan="5"><INPUT style='font-size:8pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($feuillemaladie['observations']) ?>" readonly ></td>
|
|
|
|
<td align="center"> <?= _("Optique") ?> </td>
|
|
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $feuillemaladie['numeroBonOptique'] ?> </td>
|
|
<td align="center"> <?= _("Hospitalisation") ?> </td>
|
|
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $feuillemaladie['numeroBonHospitalisation'] ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style='font-size:10pt; font-weight:bold;'> <?= $lib ?> </td>
|
|
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="text" value="<?= $frais ?>" readonly ></td>
|
|
|
|
<td align="center" style='font-size:9pt; font-weight:bold;'> <?= _("T M") ?> </td>
|
|
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($feuillemaladie['montantTm'])) ?>" readonly ></td>
|
|
|
|
<td align="center" style='font-size:9pt; font-weight:bold;'> <?= _("Retenu") ?> </td>
|
|
<td><INPUT style='font-size:10pt; color:blue;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($feuillemaladie['fraisRetenu'])) ?>" readonly ></td>
|
|
|
|
|
|
<td align="center" style='font-size:9pt; font-weight:bold;'> <?= _("Dépassement") ?> </td>
|
|
<td><INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($feuillemaladie['depassement'])) ?>" readonly ></td>
|
|
|
|
<td align="center" style='font-size:9pt; font-weight:bold;'> <?= _("Part Assuré") ?> </td>
|
|
<td><INPUT style='font-size:10pt; color:red;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($feuillemaladie['fraisAssure'])) ?>" readonly ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Affection") ?> </td>
|
|
<td colspan="3">
|
|
<?php if ($facture=="1"): ?>
|
|
<INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $codeAffection ?>" readonly >
|
|
<?php elseif($bonCaduc!="1"): ?>
|
|
<?php if($codeAffection=="990"): ?>
|
|
<button id="btn_pop_affection" name="btn_pop_affection" type="button" class="form-control btn btn-warning" onclick="verifierContestationAvantOuverture()" style='font-size:10pt;'>
|
|
<span id="libelleAffection" name="libelleAffection"><?= $libelleAffection ?></span>
|
|
</button>
|
|
<?php else: ?>
|
|
<button id="btn_pop_affection" name="btn_pop_affection" type="button" class="form-control btn btn-primary" onclick="verifierContestationAvantOuverture()" style='font-size:10pt;'>
|
|
<span id="libelleAffection" name="libelleAffection"><?= $libelleAffection ?></span>
|
|
</button>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<INPUT type="text" disabled class="form-control" style='font-size:10pt;' value="<?= $libelleAffection ?>" readonly>
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td> </td>
|
|
|
|
<td colspan="1">
|
|
<?php if ($facture=="0"): ?>
|
|
<button style='font-size:10pt;' type="button" class="form-control btn btn-info" onclick="javascript:no_presciption();" style='font-size:10pt;'>
|
|
<span><?= _("Sans Médicaments") ?></span>
|
|
</button>
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Id Facture") ?> </td>
|
|
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $feuillemaladie['idFactureFeuille'] ?>" readonly > </td>
|
|
<td align="center"> <?= _("User Facture") ?> </td>
|
|
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $feuillemaladie['userFacturation'] ?>" readonly > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<?php if($codeAffection=="990" && $contestation=="0" && $facture=="0" && $bonCaduc=="0"):?>
|
|
<style>
|
|
/* Animation pour le bouton */
|
|
@keyframes pulse {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.05); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
#btn_pop_affection {
|
|
animation: pulse 1.5s infinite;
|
|
position: relative;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Styles du tooltip */
|
|
.custom-tooltip-container {
|
|
position: absolute;
|
|
z-index: 9999;
|
|
width: 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.custom-tooltip {
|
|
--arrow-size: 12px;
|
|
--tooltip-color: #fff3cd;
|
|
position: relative;
|
|
max-width: min(100%, 36%);
|
|
background: var(--tooltip-color);
|
|
color: red;
|
|
border: 1px solid #ffeeba;
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
font-size: 14px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.15);
|
|
margin-top: var(--arrow-size);
|
|
}
|
|
|
|
/* Flèche pointant vers le haut */
|
|
.custom-tooltip::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: calc(-1 * var(--arrow-size));
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: var(--arrow-size);
|
|
height: var(--arrow-size);
|
|
background: var(--tooltip-color);
|
|
border-top: 1px solid #ffeeba;
|
|
border-left: 1px solid #ffeeba;
|
|
transform: rotate(45deg);
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Adaptation mobile */
|
|
@media (max-width: 576px) {
|
|
.custom-tooltip {
|
|
max-width: 95vw;
|
|
font-size: 13px;
|
|
padding: 12px;
|
|
}
|
|
|
|
#btn_pop_affection {
|
|
animation: none;
|
|
outline: 2px dashed #ffc107;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<?php elseif($contestation=="1" && $facture=="0" && $bonCaduc=="0"): ?>
|
|
<marquee behavior="scroll" direction="left" scrollamount="12" style="color:white; background-color:red;font-size:14pt; font-weight: bold;">
|
|
<?= _("Dossier médical contesté! Impossible de poursuivre les prestations et de les facturer. Merci.") ?>
|
|
</marquee>
|
|
<?php endif; ?>
|
|
|
|
<div id="content">
|
|
<?php include 'flexcode/include/global.php'; ?>
|
|
</div>
|
|
|
|
<?php if ($facture=="1"): ?>
|
|
<div id ="msgErreur" class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;">
|
|
<H4 align="center" ><?= _("Facturation définitive").' => '._('No Facture').' => '?>
|
|
<a title='<?= _("Imprimer Facture...") ?>' href="javascript:imprimer_facture_definitive();">
|
|
<span style="color:red; background-color:#eeeeee; border:1px solid #000; border-radius:3px; padding-left:5px; padding-right:5px;">
|
|
<?= $this->nettoyer($feuillemaladie['idFactureFeuille']) ?>
|
|
</span>
|
|
</a>
|
|
</H4>
|
|
</div>
|
|
<div id="div_facture_definitive"></div>
|
|
<?php else: ?>
|
|
<?php if($bonCaduc=="0" or $modeSaisieFacture==1) : ?>
|
|
<?php if($facPartiel=="0") : ?>
|
|
<div id ="msgErreur" class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;" >
|
|
<H4><?= _("Non facturé !") ?></H4>
|
|
</div>
|
|
<?php else: ?>
|
|
<div id ="msgErreur" class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;" >
|
|
<H4><?= _("Facturation partielle !") ?></H4>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<?php if($facPartiel=="0") : ?>
|
|
<div class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;" >
|
|
<H4> <?= _("Non facturé !")." Age => ".$agePrescription . " "._("jours") . " => " . _("BON CADUC") ?> </H4>
|
|
</div>
|
|
<?php else: ?>
|
|
<div class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;" >
|
|
<H4> <?= _("Facturation partielle !")." Age => ".$agePrescription . " "._("jours") . " => " . _("BON CADUC") ?> </H4>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
<div id="recap">
|
|
<!--
|
|
<table class="table table-responsive table-condensed" style='font-size:12pt;' >
|
|
<tbody>
|
|
<tr>
|
|
<td width="8%" style="text-align: center; font-weight:bold;"> <?= _("Réclamé") ?> </td>
|
|
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($feuillemaladie['fraisReel']) ?>" readonly style="text-align: center; font-size:12pt; font-weight:bold;" > </td>
|
|
|
|
<td width="15%" style="text-align: center; font-weight:bold;"> <?= _("Part Assuré") ?> </td>
|
|
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($feuillemaladie['montantTm']+$feuillemaladie['depassement']) ?>" readonly style="text-align: center; font-size:12pt; font-weight:bold; color: red;" > </td>
|
|
|
|
|
|
<td style="text-align: center; font-weight:bold;" > <?= _("A Rembourser") ?> </td>
|
|
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($feuillemaladie['montantArembourser']) ?>" readonly style="text-align: center; font-size:12pt; font-weight:bold;" > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
-->
|
|
</div>
|
|
|
|
<div id="div_reponse">
|
|
|
|
</div>
|
|
|
|
<div id="div_legende_couleur" style="width:100%; margin: 5px;">
|
|
<table class="table-responsive" style="width:50%; margin:auto;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="font-weight:bold; text-align:left; background-color:#f8f8ff; text-decoration-line: underline;"> <?= _("Légende").":"; ?></td>
|
|
|
|
<td style="font-weight:bold; background-color:#f8f8ff; text-align:right;"> <?= _("Attente réponse:") ?></td>
|
|
<td width="4%" style="background-color:yellow"></td>
|
|
<td width="2%" style="background-color:#f8f8ff;"></td>
|
|
<td style="font-weight:bold; background-color:#f8f8ff; text-align:right;"><?= _("Accord assureur:") ?></td>
|
|
<td width="4%" style="background-color: #00ff00"></td>
|
|
<td width="2%" style="background-color:#f8f8ff;"></td>
|
|
<td style="font-weight:bold; background-color:#f8f8ff; text-align:right;"><?= _("Non garanti / refus:") ?></td>
|
|
<td width="4%" style="background-color: red;"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div >
|
|
<input class="form-control" style="text-align: center; font-size: 12pt;font-weight: bold;" type="text" value="<?= _("Liste des prestations réalisées")?>" readonly >
|
|
</div>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th width="10%" style="text-align:center"> Date </th>
|
|
<th colspan="2" style="text-align:center"> <?= _("Actes")." (".count($prestations).")"; ?> </th>
|
|
<th width="5%" style="text-align:center" > <?= _("Accord") ?> </th>
|
|
<th width="15%" style="text-align:center" > <?= _("Médecin") ?> </th>
|
|
<th width="7%" style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
|
|
<th width="3%" style="text-align:center"> <?= _("Qté") ?> </th>
|
|
<th width="7%" style="text-align:center"> <?= _("Prix Total") ?> </th>
|
|
<th width="3%" style="text-align:center"> <?= _("TM") ?> </th>
|
|
<th width="5%" style="text-align:center"> <?= _("Mont TM") ?> </th>
|
|
<th width="7%" style="text-align:center"> <?= _("A Remb") ?> </th>
|
|
<th width="7%" style="text-align:center"> <?= _("Dépass") ?> </th>
|
|
<th width="5%" style="text-align:center"> <?= _("Motif") ?> </th>
|
|
<th width="3%" style="text-align:center"> <?= _("Suppr") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<?php
|
|
|
|
?>
|
|
<td colspan="7" style='text-align:center'> <?= _("Total") ?> </td>
|
|
<td align='center'><?= format_N($this->nettoyer($feuillemaladie['fraisReel'])) ?></td>
|
|
<td></td>
|
|
<td align='center'><?= format_N($this->nettoyer($feuillemaladie['montantTm'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($feuillemaladie['montantArembourser'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($feuillemaladie['depassement'])) ?></td>
|
|
<td colspan="2"></td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
$quantiteModifieHospit =0;
|
|
$_SESSION['ententePrealableenattente'] = "0";
|
|
|
|
foreach ($prestations as $prestation):
|
|
$idPrestationactes = $this->nettoyer($prestation['id']);
|
|
$supprimable = $prestation['supprimable'];
|
|
$codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']);
|
|
$codeActe = $this->nettoyer($prestation['codeActe']);
|
|
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
|
|
$autorisation = $this->nettoyer($prestation['autorisation']);
|
|
|
|
$idProlongation = $this->nettoyer($prestation['idProlongation']);
|
|
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
|
{
|
|
if($codeTypePrestation == "PHAR" && $codeActe == "00000")
|
|
{
|
|
$libelleActe = "PHARMACIE INTERNE";
|
|
}else{
|
|
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
|
}
|
|
|
|
}
|
|
else
|
|
{
|
|
if($codeTypePrestation == "PHAR" && $codeActe == "00000")
|
|
{
|
|
$libelleActe = "INTERNAL PHARMACY";
|
|
}else{
|
|
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
|
}
|
|
}
|
|
|
|
$codeActe = $this->nettoyer($prestation['codeActe']);
|
|
|
|
$codeGarantie = $this->nettoyer($prestation['codeGarantie']);
|
|
|
|
$libelleConsommable = $this->nettoyer($prestation['libelleConsommable']);
|
|
|
|
if($codeTypePrestation == "CSM")
|
|
{
|
|
$libelleActe = $libelleConsommable;
|
|
}
|
|
|
|
if($actVisible!="1")
|
|
{
|
|
$libelleActe = $codeActe;
|
|
}
|
|
|
|
if($idProlongation > "0"){
|
|
$libelleActe = $libelleActe." - "."PROROGATION";
|
|
}
|
|
|
|
$prixBase = $prestation['prixBase'];
|
|
|
|
if ($prixBase == "0"){
|
|
$prixBase = $prestation['valeurActe'];
|
|
}
|
|
|
|
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
|
|
|
$motif = $this->nettoyer($prestation['motif']);
|
|
$motifEng = $this->nettoyer($prestation['motifEng']);
|
|
|
|
$tarif = $this->nettoyer($prestation['tarif']);
|
|
|
|
$exclusionrecapacte = $this->nettoyer($prestation['exclusionrecapacte']);
|
|
|
|
$facPartiel = $this->nettoyer($prestation['facPartiel']);
|
|
?>
|
|
|
|
<tr valign="top">
|
|
|
|
<?php
|
|
if($ententePrealable == '2'){
|
|
$_SESSION['ententePrealableenattente'] = 1;
|
|
}else{
|
|
$_SESSION['ententePrealableenattente'] = 0;
|
|
}
|
|
?>
|
|
<td align='center'> <?= dateheureLang($this->nettoyer($prestation['dateSysteme'])) ?> </td>
|
|
|
|
<td align='center'> <?= $codeGarantie ?> </td>
|
|
|
|
<td align='center'> <?= $libelleActe ?> </td>
|
|
|
|
<?php if($ententePrealable<>"0"): ?>
|
|
<?php if($ententePrealable=='2'): ?>
|
|
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
|
<?php elseif($ententePrealable=='1'): ?>
|
|
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
|
<?php elseif($ententePrealable=='9'): ?>
|
|
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
|
<?php else: ?>
|
|
<td align='center'> <input type="checkbox" checked disabled> </td>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<td align='center' > <input type="checkbox" disabled></td>
|
|
<?php endif; ?>
|
|
|
|
<td align='center'> <?= $this->nettoyer($prestation['medecinActe']) ?> </td>
|
|
|
|
<?php if($exclusionrecapacte=='1'): ?>
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['valeurActe'])) ?> </td>
|
|
<?php else: ?>
|
|
<td align='center'>
|
|
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?=$tarif ?>");'>
|
|
<?= format_N($this->nettoyer($prestation['valeurActe'])) ?>
|
|
</button>
|
|
</td>
|
|
<?php endif; ?>
|
|
|
|
<td align='center'> <?= $this->nettoyer($prestation['quantite']) ?></td>
|
|
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
|
|
|
|
<?php if($exclusionrecapacte=='1'): ?>
|
|
<td align='center'> - </td>
|
|
<?php else: ?>
|
|
<td align='center'> <?= $this->nettoyer($prestation['tm'])?></td>
|
|
<?php endif; ?>
|
|
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
|
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
|
|
|
|
<?php if($codeMotifDepassement!='' && $exclusionrecapacte=='0'): ?>
|
|
<td align='center'>
|
|
<button type="button" class="btn btn-info" title="<?= _("Voir le motif du dépassement...")?>" onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
|
|
<?= $codeMotifDepassement ?>
|
|
</button>
|
|
</td>
|
|
<?php else: ?>
|
|
<td > </td>
|
|
<?php endif; ?>
|
|
|
|
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
|
|
<td> </td>
|
|
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
|
|
<td> </td>
|
|
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
|
|
<td> </td>
|
|
<?php else: ?>
|
|
<?php if ($supprimable =="0"): ?>
|
|
<td> </td>
|
|
<?php else: ?>
|
|
<?php if ($facPartiel=="1"): ?>
|
|
<td> </td>
|
|
<?php else: ?>
|
|
<td>
|
|
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_acte_medical('<?= $idPrestationactes ?>', '<?= $codeTypePrestation ?>');">
|
|
<i class="fa fa-times" aria-hidden="true"></i>
|
|
</button>
|
|
</td>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
<tr style='background-color:white'>
|
|
<td colspan="14" height="8"></td>
|
|
</tr>
|
|
<?php if($quantiteModifieHospit == 1 ):
|
|
?>
|
|
<marquee behavior="scroll" direction="left" scrollamount="10" style="color:red; background-color:yellow; font-size:14pt">
|
|
<?= _("Le nombre de jour demandé pour l'hospitalisation a été revu par le Médecin conseil. Vous pouvez voir le motif dans la partie Gérer Messages.")." ".$_SESSION['p_nomSociete_C']." ". _("vous remercie !") ?>
|
|
</marquee>
|
|
<?php endif; ?>
|
|
<?php if($_SESSION['ententePrealableenattente'] == 1 ):?>
|
|
<input class="sr-only" type="text" id="ententePrealableenattente" name="ententePrealableenattente" value="<?=$_SESSION['ententePrealableenattente'] ?>" >
|
|
<?php endif; ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<div id="div_fraisExclu">
|
|
<input class="sr-only" type="text" id="fraisExclu" name="fraisExclu" value="<?= $this->nettoyer($feuillemaladie['fraisExclu']) ?>" >
|
|
</div>
|
|
|
|
<div id="loadingDiv" style="display: none">
|
|
<div class="ajax-mask"><div class="loading"><img src="Bootstrap/images/loading-spinner-grey.gif"/> <?= _("Veuillez patienter...") ?> </span></div></div>
|
|
</div>
|
|
|
|
<?php if ($numeroDerogation>"0"): ?>
|
|
<div id ="msgDerogation" class="alert alert-danger">
|
|
<H4> <?= _("No de dérogation soins hors réseau") . " : ". $numeroDerogation ?></H4>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<!--
|
|
<?php if ($numeroDerogationFinger>"0"): ?>
|
|
<div id ="msgDerogation" class="alert alert-danger" style="height:38px; padding:5px;">
|
|
<H4> <?= _("No de dérogation défaut FingerPrint") . " : ". $numeroDerogationFinger ?></H4>
|
|
</div>
|
|
<?php endif; ?>
|
|
<!--
|
|
<div class="modal fade" id="pop_imprimer_feuille_maladie" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
<h4 class="modal-title"> </h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div id ="div_export_a">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-->
|
|
<div class="modal fade" id="pop_imprimer_bon" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal" onclick="feuillemaladie();"> <?= _("Fermer") ?> </button>
|
|
<h4 class="modal-title"> <?= _("Imprimer un bon de prescription...") ?> </h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div id="div_export_a">
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-bs-dismiss="modal" onclick="feuillemaladie();"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal fade" id="popRechercheAffection" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
<button id="btn_close_pop_affection" name="btn_close_pop_affection" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
<h4 class="modal-title"><?= _("Sélectionner une affection") ?></h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="20%" align="center"> <?= _("Affection") ?> </td>
|
|
<td>
|
|
<div id="listeaffections">
|
|
<SELECT class="form-control selectpicker" data-live-search="true" id="codeAffectionPop" NAME="codeAffectionPop" onChange="javascript:enregistreraffection();" required AUTOCOMPLETE="OFF" style='font-size:10pt;' >
|
|
<?php liste_options($affections, $codeAffection); ?>
|
|
</SELECT>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="div_dianostics">
|
|
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" width="15%" style="text-align:center"> Date </th>
|
|
<th rowspan="2" style="text-align:center"> Diagnostic </th>
|
|
<th rowspan="2" width="15%" style="text-align:center"> User </th>
|
|
<th colspan="3" style='text-align:center'> <?= _("Suppression") ?> </th>
|
|
</tr>
|
|
<tr>
|
|
<th style="text-align:center"> X </th>
|
|
<th style="text-align:center"> User </th>
|
|
<th style="text-align:center"> Date </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($diagnostics as $diagnostic):
|
|
$idDiagnostic = $this->nettoyer($diagnostic['id']);
|
|
$supprime = $this->nettoyer($diagnostic['supprime']);
|
|
|
|
$codeAffection = $this->nettoyer($diagnostic['codeAffection']);
|
|
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
|
{
|
|
$libelleAffection = $this->nettoyer($diagnostic['libelleAffectionEng'])." => ".$codeAffection;
|
|
}
|
|
else
|
|
{
|
|
$libelleAffection = $this->nettoyer($diagnostic['libelleAffection'])." => ".$codeAffection;
|
|
}
|
|
|
|
$AffectionVisible = $_SESSION['p_AffectionVisible'];
|
|
if($AffectionVisible!="1")
|
|
{
|
|
$libelleAffection = $codeAffection;
|
|
}
|
|
?>
|
|
<?php if($supprime=='1'): ?>
|
|
<tr valign="top" style="background-color: red;color:white;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td align='center'><?= dateheureLang($this->nettoyer($diagnostic['dateSysteme'])) ?></td>
|
|
<td align='center'> <?= $libelleAffection ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($diagnostic['codeUtilisateur']) ?> </td>
|
|
|
|
<td align='center'>
|
|
<?php if($supprime!='1'): ?>
|
|
<input type="button" value="X" onClick="javascript:supprimer_affections('<?= $idDiagnostic ?>');">
|
|
<?php endif; ?>
|
|
</td>
|
|
<td align='center'> <?= $this->nettoyer($diagnostic['userSuppression']) ?> </td>
|
|
<td align='center'><?= dateheureLang($this->nettoyer($diagnostic['heueSuppression'])) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button id="close_pop_affection" name="close_pop_affection" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|