{% if patient_notes %} {% for note in patient_notes %}
{{ note.title }} {% if note.is_alert %} Alert {% endif %} {% if note.is_confidential %} Confidential {% endif %}
{{ note.content|truncatechars:100 }}
{{ note.created_by.get_full_name }} • {{ note.created_at|date:"M d, Y H:i" }}
{% if note.priority == 'HIGH' %} High {% elif note.priority == 'MEDIUM' %} Medium {% else %} Normal {% endif %}
{% endfor %} {% else %}

No patient notes

{% endif %}