{% extends "base.html" %} {% load static %} {% block title %}Bed {{ object.bed_number }} Details{% endblock %} {% block content %}
| Bed Number: | {{ object.bed_number }} |
| Ward: | {{ object.ward.name }} |
| Room: | {{ object.room_number|default:"Not assigned" }} |
| Bed Type: | {{ object.get_bed_type_display }} |
| Status: | {{ object.get_status_display }} |
| Features: | {% if object.has_oxygen %} Oxygen {% endif %} {% if object.has_suction %} Suction {% endif %} {% if object.has_monitor %} Monitor {% endif %} {% if object.is_isolation %} Isolation {% endif %} {% if not object.has_oxygen and not object.has_suction and not object.has_monitor and not object.is_isolation %} Standard bed {% endif %} |
| Last Cleaned: | {{ object.last_cleaned|date:"M d, Y g:i A"|default:"Not recorded" }} |
| Last Maintenance: | {{ object.last_maintenance|date:"M d, Y g:i A"|default:"Not recorded" }} |
| Created: | {{ object.created_at|date:"M d, Y g:i A" }} |
| Last Updated: | {{ object.updated_at|date:"M d, Y g:i A" }} |
| Date | Action | Patient | Duration | Notes |
|---|---|---|---|---|
|
{{ history.date|date:"M d, Y" }}
{{ history.date|time:"g:i A" }}
|
{{ history.get_action_display }} |
{% if history.patient %}
{{ history.patient.get_full_name }}
{{ history.patient.medical_record_number }}
{% else %}
System action
{% endif %}
|
{% if history.duration %} {{ history.duration }} {% else %} - {% endif %} | {% if history.notes %} {{ history.notes }} {% else %} - {% endif %} |
No bed history records found for this bed.