{% extends "base.html" %} {% load static %} {% block title %}Delete Claim {{ object.claim_number }} - {{ block.super }}{% endblock %} {% block content %}

Delete Insurance Claim

Warning: Permanent Deletion

You are about to permanently delete this insurance claim. This action cannot be undone and may affect reimbursement tracking.

Claim to be Deleted
Claim Number: {{ object.claim_number }}
Patient: {{ object.medical_bill.patient.get_full_name }}
Bill Number: {{ object.medical_bill.bill_number }}
Insurance Company: {{ object.insurance_info.insurance_company }}
Billed Amount: ${{ object.billed_amount|floatformat:2 }}
Status: {% if object.status == 'DRAFT' %} Draft {% elif object.status == 'SUBMITTED' %} Submitted {% elif object.status == 'PENDING' %} Pending {% elif object.status == 'APPROVED' %} Approved {% elif object.status == 'PARTIALLY_APPROVED' %} Partially Approved {% elif object.status == 'DENIED' %} Denied {% elif object.status == 'PAID' %} Paid {% elif object.status == 'APPEALED' %} Appealed {% endif %}
Submission Date: {% if object.submission_date %} {{ object.submission_date|date:"M d, Y" }} {% else %} Not submitted {% endif %}
Created: {{ object.created_at|date:"M d, Y" }}
Deletion Impact
Will be Deleted:
  • Claim record and all line items
  • Claim submission history
  • Insurance correspondence records
  • Approval/denial documentation
  • Reimbursement tracking data
Will be Preserved:
  • Original medical bill
  • Patient insurance information
  • Medical records and encounters
  • Payment records (if any)
{% if object.status not in 'DRAFT,DENIED' %}
Deletion Restrictions
Cannot Delete This Claim

This claim cannot be deleted because:

    {% if object.status == 'SUBMITTED' %}
  • The claim has been submitted to the insurance company
  • {% endif %} {% if object.status == 'PENDING' %}
  • The claim is currently pending with the insurance company
  • {% endif %} {% if object.status == 'APPROVED' %}
  • The claim has been approved by the insurance company
  • {% endif %} {% if object.status == 'PARTIALLY_APPROVED' %}
  • The claim has been partially approved by the insurance company
  • {% endif %} {% if object.status == 'PAID' %}
  • The claim has been paid by the insurance company
  • {% endif %} {% if object.status == 'APPEALED' %}
  • The claim is currently under appeal
  • {% endif %}
{% if object.status == 'SUBMITTED' or object.status == 'PENDING' %} Withdraw Claim First {% endif %} Return to Claim Details
{% else %}
Confirm Deletion
{% csrf_token %}
{% if object.status == 'SUBMITTED' %}
Insurance Company Notification
Check this box to automatically notify the insurance company that this claim is being withdrawn.
{% endif %}
Final Warning

Once you click "Delete Claim", this claim and all associated data will be permanently removed from the system. This action cannot be reversed and may affect reimbursement tracking.

Cancel
{% endif %}
{% endblock %}