{% extends "base.html" %} {% load static %} {% block title %}Confirm Delete Bed | {{ block.super }}{% endblock %} {% block css %} {{ block.super }} {% endblock %} {% block breadcrumb %} {% endblock %} {% block page_header %}

Confirm Bed Deletion Review before proceeding

{% endblock %} {% block content %}

Delete Bed: {{ bed.bed_number }} ({{ bed.ward.name }})

Warning!

You are about to permanently delete this bed record. This action cannot be undone.

Bed Information

Ward: {{ bed.ward.name }}

Room Number: {{ bed.room_number }}

Bed Number: {{ bed.bed_number }}

Bed Type: {{ bed.get_bed_type_display }}

Room Type: {{ bed.get_room_type_display }}

Status: {{ bed.get_status_display }}

Isolation Capable: {% if bed.is_isolation_capable %} Yes {% else %} No {% endif %}

{% if bed.current_patient %}

Current Patient: {{ bed.current_patient.get_full_name }}

{% endif %}
Impact Assessment

Deleting this bed will have the following impacts:

  • The bed will be permanently removed from the system
  • The bed will no longer be available for patient assignments
  • Ward capacity statistics will be updated
  • {% if bed.current_patient %}
  • WARNING: This bed is currently occupied by a patient
  • The current patient's admission will lose its bed assignment
  • {% endif %}
  • Historical records referencing this bed will lose their context
{% if bed.current_patient %}

This bed is currently occupied. Deleting an occupied bed is not recommended.

{% endif %}
Alternative Actions

Instead of deleting this bed, consider:

  • Setting the bed status to "Maintenance" if it's temporarily unavailable
  • Setting the bed status to "Blocked" if it should not be used
  • Transferring the current patient to another bed first (if occupied)
  • Updating the bed information if it was created with incorrect details
{% csrf_token %}
This reason will be logged in the audit trail.
{% if bed.current_patient %}
This bed is currently occupied. You must transfer or discharge the patient before deleting this bed.
{% endif %}

Additional Information

{% if bed.last_cleaned %} {% endif %} {% if bed.cleaned_by %} {% endif %} {% if bed.last_maintenance %} {% endif %} {% if bed.occupied_since %} {% endif %}
Equipment {{ bed.equipment|default:"None specified" }}
Features {{ bed.features|default:"None specified" }}
Notes {{ bed.notes|default:"None specified" }}
Last Cleaned {{ bed.last_cleaned|date:"M d, Y H:i" }}
Cleaned By {{ bed.cleaned_by.get_full_name }}
Last Maintenance {{ bed.last_maintenance|date:"M d, Y H:i" }}
Occupied Since {{ bed.occupied_since|date:"M d, Y H:i" }}
{% if bed.current_patient %}
Current Patient

Name: {{ bed.current_patient.get_full_name }}

MRN: {{ bed.current_patient.mrn }}

Admission Date: {{ bed.current_admission.admission_datetime|date:"M d, Y H:i" }}

Attending Physician: {{ bed.current_admission.attending_physician.get_full_name }}

View Admission

{% endif %}
{% endblock %} {% block js %} {{ block.super }} {% endblock %}