{% extends "base.html" %} {% load static %} {% block title %}Delete Discharge Record{% endblock %} {% block content %}

Delete Discharge Record

Back to Discharge

Confirm Discharge Record Deletion

Are you sure you want to delete this discharge record?

This action cannot be undone. The discharge record and all associated data will be permanently removed from the system.

Patient Information
Patient: {{ object.admission.patient.get_full_name }}
MRN: {{ object.admission.patient.medical_record_number }}
DOB: {{ object.admission.patient.date_of_birth|date:"M d, Y" }}
Age: {{ object.admission.patient.age }} years
Discharge Information
Discharge Date: {{ object.discharge_date|date:"M d, Y g:i A" }}
Discharge Type: {{ object.get_discharge_type_display }}
Status: {{ object.get_status_display }}
Discharge ID: {{ object.pk }}
Related Admission Information
Admission Date: {{ object.admission.admission_date|date:"M d, Y g:i A" }}
Length of Stay: {{ object.length_of_stay }} days
Ward: {{ object.admission.ward.name }}
Bed: {{ object.admission.bed.bed_number }}
Attending Physician: {{ object.admission.attending_physician.get_full_name }}
Admission Diagnosis: {{ object.admission.primary_diagnosis }}
{% if object.discharge_summary %}
Discharge Summary
{{ object.discharge_summary|truncatewords:50 }} {% if object.discharge_summary|wordcount > 50 %}
Summary truncated for display...
{% endif %}
{% endif %} {% if object.discharge_medications.exists %}
Discharge Medications
{% for medication in object.discharge_medications.all|slice:":6" %}
{{ medication.medication.name }}
{{ medication.dosage }} - {{ medication.frequency }}
{% endfor %} {% if object.discharge_medications.count > 6 %}
And {{ object.discharge_medications.count|add:"-6" }} more medications...
{% endif %}
{% endif %}
{% csrf_token %}
These notes will be recorded for audit purposes and compliance.
What happens when you delete this discharge record?
  • The discharge record will be permanently removed from the system
  • The associated admission will be marked as "active" again
  • The patient's bed will be marked as occupied
  • Discharge medications and instructions will be deleted
  • Billing records may be affected and require manual adjustment
  • This action will be logged in the audit trail
  • Follow-up appointments may need to be rescheduled
  • Insurance claims may need to be updated
Cancel
{% if object.status == 'completed' %}
Important Considerations
Completed Discharge: This discharge has been completed. Deleting it may affect:
  • Billing and insurance claims that have already been processed
  • Quality metrics and hospital statistics
  • Regulatory reporting requirements
  • Patient care continuity and follow-up schedules
{% if object.follow_up_appointments.exists %}
Follow-up Appointments: This discharge has {{ object.follow_up_appointments.count }} associated follow-up appointment{{ object.follow_up_appointments.count|pluralize }}. These may need to be rescheduled or cancelled.
{% endif %}
{% endif %}
Related Information
Discharge Details
  • Discharge ID: {{ object.pk }}
  • Created: {{ object.created_at|date:"M d, Y g:i A" }}
  • Last Updated: {{ object.updated_at|date:"M d, Y g:i A" }}
  • Created By: {{ object.created_by.get_full_name|default:"System" }}
System Information
  • Admission ID: {{ object.admission.pk }}
  • Patient ID: {{ object.admission.patient.pk }}
  • {% if object.discharge_medications.exists %}
  • Medications: {{ object.discharge_medications.count }} prescribed
  • {% endif %} {% if object.follow_up_appointments.exists %}
  • Follow-ups: {{ object.follow_up_appointments.count }} scheduled
  • {% endif %}
{% endblock %}