{% extends "base.html" %} {% block title %}{{ dossier.source_file or filepath }}{% endblock %} {% block sidebar %}
{{ sf }}{% if not loop.last %}, {% endif %}
{% endfor %}
{{ ghm.ghm_approx }}
[{{ ref.document or '' }}{% if ref.page %}, p.{{ ref.page }}{% endif %}] {{ ref.citation or '' }}{% elif ref is string %}
{{ ref }}
{% endif %} {% endfor %}{{ ctrl.contre_argumentation }}
{{ src.document }}{% if src.code %} — {{ src.code }}{% endif %}{% if src.page %} [p.{{ src.page }}]{% endif %}
{{ src.extrait or '' }}
{% endfor %}
| Veto | Sévérité | Localisation | Message |
|---|---|---|---|
{{ issue.veto }} |
{% if issue.severity == 'HARD' %}HARD {% elif issue.severity == 'MEDIUM' %}MEDIUM {% else %}LOW{% endif %} | {{ issue.where }} | {{ issue.message }} |
{{ dp.raisonnement }}
{{ src.document }}{% if src.code %} — {{ src.code }}{% endif %}{% if src.page %} [p.{{ src.page }}]{% endif %}
{{ src.extrait or '' }}
{% endfor %}
| Texte | CIM-10 | Confiance | CMA | Source | Justification |
|---|---|---|---|---|---|
| {{ das.texte }} |
{% if das.cim10_suggestion %}
{% if das.cim10_final and das.cim10_final != das.cim10_suggestion %}
{{ das.cim10_suggestion }}
→
{{ das.cim10_final }}
{% elif das.status == 'ruled_out' %}
{{ das.cim10_suggestion }}
{% else %}
{{ das.cim10_suggestion }}
{% endif %}
{% if das.cim10_decision and das.cim10_decision.action != 'KEEP' %}
{{ das.cim10_decision | decision_badge }}
{% for rule in das.cim10_decision.applied_rules %}
{{ rule }}
{% endfor %}
{% endif %}
{% if das.status == 'needs_info' %}
Info requise
{% if das.cim10_decision and das.cim10_decision.needs_info %}
{% endif %}
{% endif %}
détails
|
{{ das.cim10_confidence | confidence_badge }} | {% if das.niveau_cma and das.niveau_cma > 1 %} {{ das.niveau_cma | cma_level_badge }} {% elif das.est_cma %} CMA {% else %} — {% endif %} | {% if das.source %} {{ das.source }} {% endif %} {% if das.source_page %} {% endif %} |
{{ das.justification or '' }}
{% if das.preuves_cliniques %}
preuves ({{ das.preuves_cliniques|length }})
|
|
{{ das.ruled_out_reason }}
|
|||||
|
{{ das.cim10_decision.reason }}
|
|||||
Raisonnement LLM{{ das.raisonnement }}
|
|||||
Sources RAG ({{ das.sources_rag|length }}){% for src in das.sources_rag %}{{ src.document }}{% if src.code %} — {{ src.code }}{% endif %}{% if src.page %} [p.{{ src.page }}]{% endif %}
{{ src.extrait or '' }}
{% endfor %}
|
|||||
| Texte | Code CCAM | Regroupement | Date | Validité | Source |
|---|---|---|---|---|---|
| {{ a.texte }} | {% if a.code_ccam_suggestion %}{{ a.code_ccam_suggestion }}{% endif %} | {% if a.code_ccam_suggestion and ccam_dict.get(a.code_ccam_suggestion, {}).get('regroupement') %} {{ ccam_dict[a.code_ccam_suggestion]['regroupement'] }} {% else %} — {% endif %} | {{ a.date or '' }} |
{% if a.validite == 'valide' %}Valide
{% elif a.validite == 'obsolete' %}Obsolète
{% else %}—{% endif %}
{% for alerte in a.alertes %}
{{ alerte }}
{% endfor %}
|
{% if a.source_page %}{% endif %} |
| Test | Valeur | Anomalie | Source |
|---|---|---|---|
| {{ b.test }} | {{ b.valeur or '' }} | {% if b.quality == 'suspect' %} ⚠ Suspect {% elif b.anomalie %} Oui {% else %} — {% endif %} | {% if b.source_page %}{% endif %} |
| Test | Valeur | Raison |
|---|---|---|
| {{ b.test or '' }} | {{ b.valeur or '' }} | {{ b.discard_reason or '—' }} |
| Médicament | Posologie | Code ATC | Source |
|---|---|---|---|
| {{ t.medicament }} | {{ t.posologie or '' }} | {% if t.code_atc %}{{ t.code_atc }}{% endif %} | {% if t.source_page %}{% endif %} |