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

    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 %}

    {% 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 %} {% autopaginate filter.qs request.user.userprofile.itemsPerPage as filter_list %} {% paginate %} {% if alertLevels.show_accum_dose_over_delta_weeks %} {% endif %} {% if admin.admingroup %} {% endif %} {% for exam in filter_list %} {% with equipment=exam.generalequipmentmoduleattr_set.get %} {% with projection_set=exam.projectionxrayradiationdose_set.get %} {% with accum_set=projection_set.accumxraydose_set.all %} {% with study_delta_pk_set=exam.pksforsummedrfdosestudiesindeltaweeks_set.all %} {% if alertLevels.show_accum_dose_over_delta_weeks %} {% with accum_set|first as first_accum_set %} {% endwith %} {% endif %} {% if admin.admingroup %} {% endif %} {% endwith %}{% endwith %}{% 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 }}
    {{ projection_set.irradeventxraydata_set.count }} {% for record in accum_set %} {% with accum_integrated=record.accumintegratedprojradiogdose_set.get %} {% if accum_set.count > 1 %} {{ record.acquisition_plane }}: {% endif %} {% if accum_integrated.convert_gym2_to_cgycm2 >= alertLevels.alert_total_dap_rf %} {{ accum_integrated.convert_gym2_to_cgycm2|floatformat:1 }} {% else %} {{ accum_integrated.convert_gym2_to_cgycm2|floatformat:1 }} {% endif %}
    {% endwith %} {% endfor %}
    {% for record in accum_set %} {% with accum_integrated=record.accumintegratedprojradiogdose_set.get %} {% if accum_set.count > 1 %} {{ record.acquisition_plane }}: {% endif %} {% if accum_integrated.dose_rp_total >= alertLevels.alert_total_rp_dose_rf %} {{ accum_integrated.dose_rp_total | sigdig }} {% else %} {{ accum_integrated.dose_rp_total | sigdig }} {% endif %}
    {% endwith %} {% endfor %}
    {% with accum_integrated=first_accum_set.accumintegratedprojradiogdose_set.get %} {% if accum_integrated.total_dap_delta_gym2_to_cgycm2 >= alertLevels.alert_total_dap_rf %} {{ accum_integrated.total_dap_delta_gym2_to_cgycm2|floatformat:1 }} {% else %} {{ accum_integrated.total_dap_delta_gym2_to_cgycm2|floatformat:1 }} {% endif %} {% with n_studies=study_delta_pk_set.count %} ({{ n_studies }} exam{{ n_studies|pluralize }}) {% endwith %} {% endwith %} {% with accum_integrated=first_accum_set.accumintegratedprojradiogdose_set.get %} {% if accum_integrated.dose_rp_total_over_delta_weeks >= alertLevels.alert_total_rp_dose_rf %} {{ accum_integrated.dose_rp_total_over_delta_weeks | sigdig }} {% else %} {{ accum_integrated.dose_rp_total_over_delta_weeks | sigdig }} {% endif %} {% with n_studies=study_delta_pk_set.count %} ({{ n_studies }} exam{{ n_studies|pluralize }}) {% endwith %} {% endwith %} {{ exam.performing_physician_name }} Delete
    {% paginate %} {% 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.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 %} {% endif %} {% endblock %}