{% extends 'base.html' %} {% load static %} {% block title %}Delete Imaging Series - {{ series.series_description|default:"Series" }} - Hospital Management{% endblock %} {% block content %}
Series to be Deleted

{{ series.series_number }}

{{ series.series_description|default:"No description" }}

{{ series.protocol_name|default:"N/A" }}

{{ series.get_modality_display }}

{{ series.series_instance_uid }}

{{ series.series_date|date:"F d, Y" }}

{{ series.series_time|time:"H:i:s" }}

{{ series.number_of_images|default:0 }}

Study Context

{{ series.study.patient.get_full_name }}

{{ series.study.study_description }}

{{ series.study.accession_number }}

{{ series.study.study_date|date:"M d, Y" }}

Deletion Impact Analysis
Data to be Deleted:
  • {{ series.number_of_images|default:0 }} DICOM images
  • Series metadata and technical parameters
  • Associated annotations and measurements
  • Processing history and logs
  • {% if series.reports.exists %}
  • {{ series.reports.count }} associated report(s)
  • {% endif %}
What will remain:
  • Parent study will remain intact
  • Other series in the study
  • Patient information
  • Study-level reports
{% if blocking_conditions %}
Deletion Blocked

This series cannot be deleted due to the following conditions:

    {% for condition in blocking_conditions %}
  • {{ condition }}
  • {% endfor %}
{% endif %}
{% if not blocking_conditions %}
Alternative Actions

Consider these alternatives before permanently deleting the series:

Archive Series

Move the series to archive storage instead of deleting

Backup First

Download a backup before deletion

Download Backup
{% endif %} {% if not blocking_conditions %}
Confirm Deletion
{% csrf_token %}
This confirmation is required to prevent accidental deletion.
Cancel
{% else %}
Deletion Not Allowed

This series cannot be deleted due to the conditions listed above.

Return to Series
{% endif %}
{% endblock %}