{# The Report template of the clinical note form. @package OpenEMR @subpackage Forms @author Robert Down @copyright Copyright (c) 2023 Robert Down @copyright Copyright (c) 2023 Providence Healthtech @copyright Copyright (C) 2025 Open Plan IT Ltd. @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 #}
{% for n in notes %}
{{ "Date"|xlt }}
{{ "Type"|xlt }}
{# This was originally the codetext... but it makes more sense to use the type title to match what people expect on UI #}
{{ n.type_title is not empty ? n.type_title|xlListLabel|text : "Unspecified"|xlt }}
{{ "Category"|xlt }}
{{ n.category_title is not empty ? n.category_title|xlListLabel|text : "Unspecified"|xlt }}
{{ "Author"|xlt }}
{{ n.user|text }}
{{ "Code"|xlt }}
{% if n.code %} {{ n.code|text }} {% else %} {{ "Unspecified"|xlt }} {% endif %}
{{ n.description|text|nl2br }}
{% endfor %}