{% load static %}
| # | Problem | Status | Onset Date | Resolution Date | Actions |
|---|---|---|---|---|---|
| {{ forloop.counter }} |
{{ problem.problem_name }}
{% if problem.icd_code %}
ICD: {{ problem.icd_code }} {% endif %} |
{% if problem.status == 'ACTIVE' %} Active {% elif problem.status == 'RESOLVED' %} Resolved {% elif problem.status == 'INACTIVE' %} Inactive {% endif %} | {{ problem.onset_date|date:"M d, Y" }} | {% if problem.resolution_date %} {{ problem.resolution_date|date:"M d, Y" }} {% else %} - {% endif %} | |
| No problems recorded | |||||