update rcr

This commit is contained in:
Ross
2024-08-28 18:06:18 +01:00
parent ca071168c5
commit 850d9637c3
+50 -28
View File
@@ -2,35 +2,57 @@
{% block content %}
<table>
<thead>
<tr>
<th>Specialty</th>
<th>Name</th>
<th>ID</th>
<th>Assessed by</th>
<th>Outcome</th>
<th>Outcome (reason)</th>
<th>Outcome (free text)</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<table>
<thead>
<tr>
<th>Specialty</th>
<th>Name</th>
<th>ID</th>
<th>Assessed by</th>
<th>Outcome</th>
<th>Outcome (reason)</th>
<th>Outcome (free text)</th>
<th>Comments</th>
<th>Radiology Category</th>
<th>Oncology Category</th>
<th>Radiology Condition</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>{{item.specialty}}</td>
<td>{{item.name}}</td>
<td>{{item.rcr_platform_id}}</td>
<td>{{item.get_assessed_by_name|safe}}</td>
<td>{{item.outcome}}</td>
<td>{{item.outcome_reason}}</td>
<td>{{item.outcome_free_text}}</td>
<td>{{item.comments}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% for item in items %}
<tr>
<td>{{item.specialty}}</td>
<td>{{item.name}}</td>
<td>{{item.rcr_platform_id}}</td>
<td>{{item.get_assessed_by_name|safe}}</td>
<td>{{item.outcome}}</td>
<td>{{item.outcome_reason}}</td>
<td>{{item.outcome_free_text}}</td>
<td>{{item.comments}}</td>
<td>{% for cat in item.radiology_categories.all %}
{% if forloop.last %}
{{cat}}
{% else %}
{{cat}},
{% endif %}
{% endfor %}
</td>
<td>{{item.oncology_category}}</td>
<td>{% for cat in item.radiology_condition.all %}
{% if forloop.last %}
{{cat}}
{% else %}
{{cat}},
{% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}