chore: sauvegarde état courant avant merge des branches teammates

Modifications en cours : pipeline médical (cim10_extractor, dp_finalizer,
dp_selector, fusion, rag_search), viewer (helpers, detail.html),
cache ollama et référentiels.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
dom
2026-03-08 12:36:54 +01:00
parent 214a5d1914
commit 0c38bc261b
12 changed files with 4365 additions and 82 deletions

View File

@@ -13,9 +13,15 @@
{% set vr = dossier.veto_report %}
<div class="card" style="margin-top:1rem;padding:1.25rem 1.5rem;">
{# Titre patient #}
{# Titre patient + identifiants #}
<div style="display:flex;align-items:baseline;gap:0.75rem;margin-bottom:1rem;flex-wrap:wrap;">
<h2 style="margin:0;">{{ current_group | format_dossier_name if current_group else (dossier.source_file or filepath) }}</h2>
<span class="badge" style="background:#e0e7ff;color:#3730a3;font-size:0.75rem;font-weight:600;" title="Identifiant du dossier dans le système">N° {{ current_group | format_dossier_name if current_group else filepath }}</span>
{% if dossier.controles_cpam %}
{% for ctrl in dossier.controles_cpam %}
<span class="badge" style="background:#fef3c7;color:#92400e;font-weight:700;font-size:0.8rem;" title="Numéro OGC (Ordonnance de Gestion de Caisse) du contrôle CPAM">OGC {{ ctrl.numero_ogc }}</span>
{% endfor %}
{% endif %}
{% if dossier.document_type %}
<span class="badge" style="background:#e0e7ff;color:#3730a3;" title="Type de document source (CRH, lettre de sortie, compte-rendu opératoire, etc.)">{{ dossier.document_type }}</span>
{% endif %}
@@ -290,8 +296,8 @@
{# ---- Diagnostics associés ---- #}
{% if dossier.diagnostics_associes %}
<div class="card section">
<h3>Diagnostics associés ({{ dossier.diagnostics_associes|length }})</h3>
<details class="card section">
<summary><h3 style="display:inline;">Diagnostics associés ({{ dossier.diagnostics_associes|length }})</h3></summary>
<table>
<thead><tr><th title="Code CIM-10 attribué au diagnostic associé">Code CIM-10</th><th>Libellé</th><th title="Comorbidité/Morbidité Associée — indique si ce diagnostic augmente la sévérité GHM">CMA</th><th title="Niveau de confiance du pipeline IA sur ce code CIM-10">Confiance</th><th title="Source du diagnostic dans le document (page)">Source</th></tr></thead>
<tbody>
@@ -386,7 +392,7 @@
{% endfor %}
</tbody>
</table>
</div>
</details>
{% endif %}
{# ---- Actes CCAM ---- #}
@@ -423,7 +429,7 @@
{# ==================================================================== #}
{# 3. CONTRÔLE QUALITÉ CODAGE (section repliable) #}
{# ==================================================================== #}
<details open class="card section" style="margin-top:1rem;">
<details class="card section" style="margin-top:1rem;">
<summary><h3 style="display:inline;">Contrôle Qualité Codage</h3></summary>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-top:0.75rem;">