Medical Report: {{ title }}

Patient: {{ user_name }}

Date: {{ generated_at }}

This report is generated by AI and is for informational purposes only. Always consult a healthcare professional for medical decisions.
{% if memories %}

Health Profile

{% for m in memories %}
{{ m.category }} {{ m.importance }}
{{ m.title }}
{{ m.content }}
{% endfor %}
{% endif %} {% if documents %}

Medical Documents

{% for d in documents %}
{{ d.original_filename }} ({{ d.doc_type }})
{{ d.excerpt }}
{% endfor %}
{% endif %} {% if ai_summary %}

AI Clinical Summary

{{ ai_summary }}

{% endif %}