Chapter 7: IPD Ward Management & Visual Bed Matrix Grid
The Visual Bed Matrix Grid (ipd_bed_matrix.php) gives hospital administration, nursing supervisors, and admission desks a real-time, color-coded visual overview of all wards, rooms, and beds across the hospital.
1. Visual Bed Matrix Grid Layout
The bed matrix represents all hospital wards arranged logically by floor and category:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β VISUAL BED MATRIX COMMAND GRID β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β [All Wards βΌ] [Filter: Available Only] π’ Available: 10 π΄ Occupied: 48 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π₯ GENERAL WARD - MALE (1st Floor) β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Bed GM-01 β β Bed GM-02 β β Bed GM-03 β β Bed GM-04 β β
β β π΄ OCCUPIED β β π΄ OCCUPIED β β π’ VACANT β β π‘ CLEANING β β
β β Rajesh Verma β β Amit Joshi β β [Allot Bed] β β Housekeeping β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β
β π₯ INTENSIVE CARE UNIT (ICU - 2nd Floor) β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Bed ICU-01 β β Bed ICU-02 β β Bed ICU-03 β β Bed ICU-04 β β
β β π΄ OCCUPIED β β π΄ OCCUPIED β β π΄ OCCUPIED β β π’ VACANT β β
β β Ventilator β β Multi-Monitorβ β Post-Surg β β [Allot Bed] β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β
β π₯ DELUXE PRIVATE ROOMS (3rd Floor) β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Room 301 β β Room 302 β β Room 303 β β Room 304 β β
β β π’ VACANT β β π΄ OCCUPIED β β π’ VACANT β β π΄ OCCUPIED β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Color Indicators:
- π’ Green (Vacant / Ready): Cleaned, sanitized, and ready for immediate patient allocation.
- π΄ Red (Occupied): Patient admitted. Displays patient name, UHID, admitting doctor, and admission date.
- π‘ Yellow (Under Cleaning / Maintenance): Patient discharged, awaiting housekeeping sanitization before re-allotment.
- π΅ Blue (Reserved / Planned Admission): Reserved for planned elective surgery or scheduled transfer.
2. One-Click Bed Allocation
To admit a patient directly from the Bed Matrix:
- Click on any π’ Vacant Bed tile.
- Select Allot Bed to Patient.
- Search and select the patient by UHID or Mobile Number.
- The system opens the IPD Admission Form pre-populated with the selected Ward and Bed number.
3. Ward & Bed Transfer (Shifting Workflow)
When an admitted patient is stepped down from ICU to General Ward or upgraded to Deluxe:
- Click the patient's active bed tile and select Transfer / Shift Bed.
- Select the Target Ward & Bed Number.
- Enter transfer reason (e.g. Clinical condition stabilized, transferred to recovery ward).
- Click Confirm Bed Transfer.
- The system automatically recalculates the pro-rata room rent per day in the billing ledger without requiring manual accounting adjustments.