{% extends "base.html" %} {% block title %}{{ dossier.source_file or filepath }}{% endblock %} {% block sidebar %}
{{ sf }}{% if not loop.last %}, {% endif %}
{% endfor %}
{{ ghm.ghm_approx }}
{{ ctrl.contre_argumentation }}
{{ src.document }}{% if src.code %} — {{ src.code }}{% endif %}{% if src.page %} [p.{{ src.page }}]{% endif %}
{{ src.extrait or '' }}
{% endfor %}
{{ 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 %}{{ das.cim10_suggestion }}{% endif %} | {{ 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 %}
p.{{ das.source_page }}
{% endif %}
{% if das.source_excerpt %}
extrait{{ das.source_excerpt }}
|
{{ das.justification or '' }}
{% if das.preuves_cliniques %}
preuves ({{ das.preuves_cliniques|length }})
|
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é |
|---|---|---|---|---|
| {{ 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 %}
|
| Test | Valeur | Anomalie |
|---|---|---|
| {{ b.test }} | {{ b.valeur or '' }} | {% if b.anomalie %}Oui{% else %}—{% endif %} |
| Médicament | Posologie | Code ATC |
|---|---|---|
| {{ t.medicament }} | {{ t.posologie or '' }} | {% if t.code_atc %}{{ t.code_atc }}{% endif %} |