{% extends "remapp/filteredbase.html" %} {% load sigdig %} {% load update_variable %} {% block navrf %}
  • {% endblock %} {% block toprow %}

    There are {{ filter.count }} 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 %}

    PHE 2019 Survey

    {% 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 %} {% load l10n %} {% if alertLevels.show_accum_dose_over_delta_weeks %} {% endif %} {% if admin.admingroup %} {% endif %} {% for exam in study_list %} {% with equipment=exam.generalequipmentmoduleattr_set.get %} {% with n_delta_studies=exam.pksforsummedrfdosestudiesindeltaweeks_set.all.count %} {% with False as use_warning %} {% if exam.dap_a_cgycm2 >= alertLevels.alert_total_dap_rf or exam.dap_b_cgycm2 >= alertLevels.alert_total_dap_rf or exam.total_rp_dose_a >= alertLevels.alert_total_rp_dose_rf or exam.total_rp_dose_b >= alertLevels.alert_total_rp_dose_rf %} {% update_variable True as use_warning %} {% endif %} {% if use_warning == False %} {% if alertLevels.show_accum_dose_over_delta_weeks %} {% if exam.dap_delta_weeks_cgycm2 >= alertLevels.alert_total_dap_rf or exam.total_rp_dose_delta_weeks >= alertLevels.alert_total_rp_dose_rf %} {% update_variable True as use_warning %} {% endif %} {% endif %} {% endif %} {% if use_warning == False %} {% else %} {% endif %} {% endwith %} {% if alertLevels.show_accum_dose_over_delta_weeks %} {% endif %} {% if admin.admingroup %} {% endif %} {% endwith %}{% endwith %} {% endfor %}
    Institution
    Make
    Model
    Display name
    Date
    Study description
    Procedure
    Requested Procedure
    Accession number
    Number of events Total DAP (cGy.cm2) Total dose at RP (Gy)Total DAP summed over
    {{ alertLevels.accum_dose_delta_weeks }} weeks before study(cGy.cm2)
    Total dose at RP summed over
    {{ alertLevels.accum_dose_delta_weeks }} weeks before study (Gy)
    PhysicianDelete?
    {{ 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 }}
    {{ exam.number_of_events }} {% if exam.number_of_planes == 2 %} {% if exam.dap_a_cgycm2 >= alertLevels.alert_total_dap_rf %} A: {{ exam.dap_a_cgycm2|floatformat:1 }} {% else %} A: {{ exam.dap_a_cgycm2|floatformat:1 }} {% endif %}
    {% if exam.dap_b_cgycm2 >= alertLevels.alert_total_dap_rf %} B: {{ exam.dap_b_cgycm2|floatformat:1 }} {% else %} B: {{ exam.dap_b_cgycm2|floatformat:1 }} {% endif %} {% else %} {% if exam.dap_a_cgycm2 >= alertLevels.alert_total_dap_rf %} {{ exam.dap_a_cgycm2|floatformat:1 }} {% else %} {{ exam.dap_a_cgycm2|floatformat:1 }} {% endif %} {% endif %}
    {% if exam.number_of_planes == 2 %} {% if exam.total_rp_dose_a >= alertLevels.alert_total_rp_dose_rf %} A: {{ exam.total_rp_dose_a|sigdig }} {% else %} A: {{ exam.total_rp_dose_a|sigdig }} {% endif %}
    {% if exam.total_rp_dose_b >= alertLevels.alert_total_rp_dose_rf %} B: {{ exam.total_rp_dose_b|sigdig }} {% else %} B: {{ exam.total_rp_dose_b|sigdig }} {% endif %} {% else %} {% if exam.total_rp_dose_a >= alertLevels.alert_total_rp_dose_rf %} {{ exam.total_rp_dose_a|sigdig }} {% else %} {{ exam.total_rp_dose_a|sigdig }} {% endif %} {% endif %}
    {% if exam.dap_delta_weeks_cgycm2 >= alertLevels.alert_total_dap_rf %} {{ exam.dap_delta_weeks_cgycm2|floatformat:1 }} {% else %} {{ exam.dap_delta_weeks_cgycm2|floatformat:1 }} {% endif %} ({{ n_delta_studies }} exam{{ n_delta_studies|pluralize }}) {% if exam.total_rp_dose_delta_weeks >= alertLevels.alert_total_rp_dose_rf %} {{ exam.total_rp_dose_delta_weeks | sigdig }} {% else %} {{ exam.total_rp_dose_delta_weeks | sigdig }} {% endif %} ({{ n_delta_studies }} exam{{ n_delta_studies|pluralize }}) {{ exam.performing_physician_name }} Delete
    {% endblock %} {% block plotdata %} {% if request.user.userprofile.plotCharts %}
    {% if request.user.userprofile.plotRFStudyDAP %}
    Sorting options {% if request.user.userprofile.plotHistograms %} Click on an individual column to show a histogram of data for that study description.
    Click on a histogram bin tooltip to see the studies that contain the study names in the bin. Note that this will include studies at the upper bin boundary, so in some cases may display more data than shown in the histogram bin. {% endif %}
    ↑DAP ↑frequency A to Z
    ↓DAP ↓frequency Z to A
    Toggle fullscreen Toggle data table Reset zoom Hide all series Show all series Toggle all series
    {% endif %} {% if request.user.userprofile.plotRFRequestDAP %}
    Sorting options {% if request.user.userprofile.plotHistograms %} Click on an individual column to show a histogram of data for that requested procedure.
    Click on a histogram bin tooltip to see the studies that contain the requested procedure names in the bin. Note that this will include studies at the upper bin boundary, so in some cases may display more data than shown in the histogram bin. {% endif %}
    ↑DAP ↑frequency A to Z
    ↓DAP ↓frequency Z to A
    Toggle fullscreen Toggle data table Reset zoom Hide all series Show all series Toggle all series
    {% endif %} {% if request.user.userprofile.plotRFStudyPerDayAndHour %}

    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 %} {% if request.user.userprofile.plotRFStudyFreq %}
    {% endif %} {% if request.user.userprofile.plotRFRequestFreq %}
    {% endif %} {% endif %} {% endblock %}