This commit is contained in:
Ross
2024-12-16 12:38:44 +00:00
parent 6a58cdb14f
commit 99862e2e60
+21 -12
View File
@@ -4,7 +4,7 @@
{% block content %} {% block content %}
<table> <table>
<tr> <tr>
<th>Format name</th> <th>Format name</th>
<th>Action</th> <th>Action</th>
@@ -15,9 +15,9 @@
<th>Field Type</th> <th>Field Type</th>
<th>Field Codeset</th> <th>Field Codeset</th>
</tr> </tr>
{% for output in outputs %} {% for output in outputs %}
<tr> <tr>
<td>Radiology {{output.name}}</td> <td>Radiology {{output.name}}</td>
<td>Order</td> <td>Order</td>
<td>{{output.field_seq}}</td> <td>{{output.field_seq}}</td>
@@ -26,32 +26,41 @@
<td>{{output.field_name}}</td> <td>{{output.field_name}}</td>
<td>{{output.field_status}}</td> <td>{{output.field_status}}</td>
<td>{{output.field_type}}</td> <td>{{output.field_type}}</td>
<td>RADCODESET{{output.field_codeset}}</td> <td>
{% if output.field_codeset %}
RADCODESET{{output.field_codeset}}
{% endif %}
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
<h3>Codesets</h3> <h3>Codesets</h3>
<table> <table>
<tr><th>Codeset</th><th>Option</th></tr> <tr><th>Codeset</th><th>Option</th></tr>
{% for codeset, options in codesets %} {% for codeset, options in codesets %}
{% for option in options %} {% for option in options %}
<tr><td>RADCODESET{{codeset}}</td><td>{{option}}</td></tr> <tr>
<td>
{% if codeset %}
RADCODESET{{codeset}}
{% endif %}
</td>
<td>{{option}}</td></tr>
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</table> </table>
{% endblock content %} {% endblock content %}