{% extends "base.html" %} {% load static %} {% block title %}Delete Quality Indicator - {{ block.super }}{% endblock %} {% block content %}

Delete Quality Indicator

Confirm Deletion
Indicator to be deleted:
{{ object.name }}

{{ object.description|truncatechars:150 }}

{{ object.get_category_display }} {{ object.get_type_display }} {% if object.regulatory_requirement %} Regulatory {% endif %}
Created:
{{ object.created_at|date:"M d, Y" }}
Measurements:
{{ object.measurements.count }}
Impact Assessment:

{{ object.measurements.count }}

Measurements will be deleted

{{ object.measurements.count }}

Historical data will be lost

{% if object.regulatory_requirement %}YES{% else %}NO{% endif %}

Regulatory requirement
{% if object.measurements.count > 0 or object.regulatory_requirement %} {% endif %}
Alternative Actions:
Deactivate Instead

Keep the indicator and its data but mark it as inactive. This preserves historical data while stopping new measurements.

Archive Data

Export all measurement data before deletion to maintain historical records for compliance or analysis.

{% csrf_token %}
{% if object.regulatory_requirement %}
{% endif %}
This reason will be logged for audit purposes.
Cancel
{% endblock %}