{% extends "remapp/filteredbase.html" %} {% block navmg%}
  • {% endblock %} {% block toprow %} {% load pagination_tags %}

    There are {{ filter|length }} studies in this list.

    {% endblock %} {% block col2 %}

    Data export

    {% if admin.exportgroup %}

    Note: Apply the exam filter first to refine what is exported.

    Export to CSV  {% if admin.pidgroup %} With names With ID With both

    {% endif %} Export to xlsx {% if admin.pidgroup %} With names With ID With both

    {% endif %} Export to CSV using the NHSBSP format

    {% else %}

    No export permissions

    {% endif %}
    {{ studyfilter }}

    Exam filter

    Date format yyyy-mm-dd {% for field in filter.form %}
    {{ field.errors }} {{ field }}
    {% endfor %}

    Chart options

    {% csrf_token %} {{ chartOptionsForm }}

    Table options

    {{ itemsPerPageForm }}
    {% endblock %} {% block col1 %} {% autopaginate filter.qs request.user.userprofile.itemsPerPage as filter_list %} {% paginate %} {% if admin.admingroup %} {% endif %} {% for exam in filter_list %} {% with equipment=exam.generalequipmentmoduleattr_set.get %} {% with projection_set=exam.projectionxrayradiationdose_set.get %} {% with accum_mammo_set=projection_set.accumxraydose_set.get.accummammographyxraydose_set.all %} {% if admin.admingroup %} {% endif %} {% endwith %}{% endwith %}{% endwith %} {% endfor %}
    Institution
    Make
    Model
    Display name
    Date
    Study description
    Procedure
    Requested Procedure
    Accession number
    Number of events Accumulated AGD (mGy)Delete?
    {{ equipment.institution_name }}
    {{ equipment.manufacturer }}
    {{ equipment.manufacturer_model_name }}
    {{ equipment.unique_equipment_name.display_name }}
    {{ exam.study_date|date:"Y-m-d" }} {{ exam.study_time|date:"H:i" }} {% if not exam.accession_hashed %} {% endif %}
    {{ exam.study_description }}
    {{ exam.procedure_code_meaning }}
    {{ exam.requested_procedure_code_meaning }}
    {{ exam.accession_number }}
    {{ projection_set.irradeventxraydata_set.count }} {% for breast in accum_mammo_set %} {% if breast.laterality.code_meaning == "Left breast" %} Left: {{ breast.accumulated_average_glandular_dose|floatformat:3 }}
    {% elif breast.laterality.code_meaning == "Right breast" %} Right: {{ breast.accumulated_average_glandular_dose|floatformat:3 }}
    {% elif breast.laterality.code_meaning == "Both breasts" %} Both: {{ breast.accumulated_average_glandular_dose|floatformat:3 }}
    {% endif %} {% endfor %}
    Delete
    {% paginate %} {% endblock %} {% block plotdata %} {% if request.user.userprofile.plotCharts %}
    {% if request.user.userprofile.plotMGAGDvsThickness %}
    {% endif %} {% if request.user.userprofile.plotMGkVpvsThickness %}
    {% endif %} {% if request.user.userprofile.plotMGmAsvsThickness %}
    {% endif %} {% if request.user.userprofile.plotMGStudyPerDayAndHour %}

    Click on a segment to be taken to a pie chart showing the breakdown per hour for that weekday.

    Toggle fullscreen Toggle data table
    {% endif %} {% endif %} {% endblock %}