{% extends "base.html" %} {% load static %} {% block title %}Delete Insurance - Patients{% endblock %} {% block content %}

Delete Insurance Policy Confirmation Required

Confirm Insurance Deletion

Warning

You are about to delete this insurance policy. This action cannot be undone and may impact billing, claims processing, and patient care.

Insurance Details:
Provider: {{ object.insurance_provider }}
Policy Number: {{ object.policy_number }}
Member ID: {% if object.member_id %} {{ object.member_id }} {% else %} Not provided {% endif %}
Type: {{ object.get_insurance_type_display }}
Status: {{ object.get_status_display }}
Effective Date: {% if object.effective_date %} {{ object.effective_date|date:"M d, Y" }} {% else %} Not set {% endif %}
Patient Information:
Patient: {{ object.patient.get_full_name }}
Patient ID: {{ object.patient.patient_id }}
DOB: {{ object.patient.date_of_birth|date:"M d, Y" }}
Age: {{ object.patient.age }} years
Insurance Added: {{ object.created_at|date:"M d, Y H:i" }}
Last Updated: {{ object.updated_at|date:"M d, Y H:i" }}
Impact Assessment
  • Billing: Insurance information will be removed from patient billing records
  • Claims Processing: Future claims cannot be submitted to this insurance
  • Coverage Verification: Coverage verification history will be preserved
  • Financial Records: Past billing and payment records will remain intact
  • Patient Care: May impact authorization for future services
  • Audit Trail: Insurance history and transaction logs will be preserved
{% if object.insurance_type == 'PRIMARY' %}
Primary Insurance Warning

This is the patient's primary insurance. Deleting it will:

  • Remove the primary billing insurance for the patient
  • Require designation of a new primary insurance if available
  • Impact billing workflows and claim submissions
  • Potentially delay future billing processes
  • Affect insurance verification for scheduled appointments
{% endif %} {% if object.status == 'ACTIVE' %}
Active Insurance Warning

This insurance is currently active. Deleting it will:

  • Remove active coverage for the patient
  • Impact ongoing treatment authorizations
  • Affect billing for current and future services
  • Require alternative payment arrangements
  • Potentially interrupt continuity of care
{% endif %} {% if object.patient.insurance_information.count == 1 %}
Only Insurance Warning

This is the patient's only insurance policy. Deleting it will:

  • Leave the patient without any insurance coverage
  • Create a critical gap in billing and payment processes
  • Require immediate alternative payment arrangements
  • Impact authorization for future medical services
  • Potentially delay or complicate patient care
  • Require immediate addition of replacement insurance
{% endif %} {% if object.has_pending_claims %}
Pending Claims Warning

This insurance has pending claims. Deleting it may:

  • Complicate processing of pending claims
  • Require manual intervention for claim resolution
  • Impact reimbursement tracking and follow-up
  • Create billing reconciliation issues
{% endif %} {% if object.has_recent_claims %}
Recent Claims Information

This insurance has recent claims within the last 90 days. Historical claim data will be preserved for audit and reconciliation purposes.

{% endif %} {% if object.patient.insurance_information.count > 1 %}
Other Insurance Policies

Patient has {{ object.patient.insurance_information.count|add:"-1" }} other insurance polic{{ object.patient.insurance_information.count|add:"-1"|pluralize:"y,ies" }}:

    {% for insurance in object.patient.insurance_information.all %} {% if insurance.pk != object.pk %}
  • {{ insurance.insurance_provider }} ({{ insurance.get_insurance_type_display }}) {% if insurance.status == 'ACTIVE' %} - Active{% endif %} {% if insurance.insurance_type == 'PRIMARY' %} - Primary{% endif %}
  • {% endif %} {% endfor %}
{% endif %}
{{ object.patient.insurance_information.count|add:"-1" }}
Remaining Policies
{% if object.insurance_type == 'PRIMARY' %}1{% else %}0{% endif %}
Primary Status
{% if object.status == 'ACTIVE' %}1{% else %}0{% endif %}
Active Status
{{ object.claims_count|default:0 }}
Total Claims
Alternative Actions

Consider these alternatives instead of deletion:

{% csrf_token %}
Deletion Confirmation
{% if object.insurance_type == 'PRIMARY' %}
{% endif %} {% if object.status == 'ACTIVE' %}
{% endif %} {% if object.patient.insurance_information.count == 1 %}
{% endif %}
{% if object.insurance_type == 'PRIMARY' and object.patient.insurance_information.count > 1 %}
If this is the primary insurance, select a replacement primary insurance.
{% endif %}
{% endblock %} {% block js %} {% endblock %}