{% endif %}
{# Codes contestés #}
{% if ctrl.dp_ucr or ctrl.da_ucr or ctrl.dr_ucr or ctrl.actes_ucr %}
{% endif %}
{# Contre-argumentation structurée ou fallback texte brut #}
{% if ctrl.response_data %}
Contre-argumentation
{% if ctrl.response_data.analyse_contestation %}
Analyse de la contestation
{{ ctrl.response_data.analyse_contestation | format_cpam_text }}
{% endif %}
{% if ctrl.response_data.points_accord and ctrl.response_data.points_accord|lower not in ['aucun', 'non applicable', 'n/a', ''] %}
Points d'accord
{{ ctrl.response_data.points_accord | format_cpam_text }}
{% endif %}
{% if ctrl.response_data.contre_arguments_medicaux %}
Contre-arguments médicaux
{{ ctrl.response_data.contre_arguments_medicaux | format_cpam_text }}
{% endif %}
{% if ctrl.response_data.preuves_dossier %}
Preuves du dossier
{% for p in ctrl.response_data.preuves_dossier %}
{% if p is mapping %}
-
{{ p.element or p.get('type', '') }}
{{ p.valeur or '' }} → {{ p.signification or '' }}
{% endif %}
{% endfor %}
{% endif %}
{% if ctrl.response_data.contre_arguments_asymetrie %}
Asymétrie d'information
{{ ctrl.response_data.contre_arguments_asymetrie | format_cpam_text }}
{% endif %}
{% if ctrl.response_data.contre_arguments_reglementaires %}
Contre-arguments réglementaires
{{ ctrl.response_data.contre_arguments_reglementaires | format_cpam_text }}
{% endif %}
{% if ctrl.response_data.references %}
Références
{% for ref in ctrl.response_data.references %}
{% if ref is mapping %}
[{{ ref.document or '' }}{% if ref.page %}, p.{{ ref.page }}{% endif %}]
{{ ref.citation or '' }}
{% elif ref is string %}
{{ ref }}
{% endif %}
{% endfor %}
{% endif %}
{% if ctrl.response_data.conclusion %}
Conclusion
{{ ctrl.response_data.conclusion | format_cpam_text }}
{% endif %}