
{% extends 'oef/base.html' %}



{% block content %}
    <table class="table">
        <tr>
            <th>Format name</th>
            <th>Action</th>
            <th>Field Seq</th>
            <th>Field Label</th>
            <th>Field Name</th>
            <th>Field Status</th>
            <th>Field Type</th>
            <th>Field Codeset</th>
        </tr>
        {% for output in outputs %}

            <tr>
                <td>Radiology {{output.name}}</td>
                <td>Order</td>
                <td>{{output.field_seq}}</td>

                <td>{{output.field_label}}</td>
                <td>{{output.field_name}}</td>
                <td>{{output.field_status}}</td>
                <td>{{output.field_type}}</td>
                <td>
                    {% if output.field_codeset %}
                        RADCODESET{{output.field_codeset}}
                    {% endif %}
                </td>

            </tr>

        {% endfor %}
    </table>

    <h3>Codesets</h3>

    <table class="table">

        <tr><th>Codeset</th><th>Option</th></tr>
        {% for codeset, options in codesets %}


            {% for option in options %}
                <tr>
                    <td>
                        {% if codeset %}
                            RADCODESET{{codeset}}
                        {% endif %}
                    </td>
                    <td>{{option}}</td></tr>

            {% endfor %}


        {% endfor %}

    </table>



{% endblock content %}
