Inpatient Room Occupancy and Vacancy - hmislk/hmis GitHub Wiki
Inpatient — Room Occupancy and Vacancy
These two views give ward staff and administrators an at-a-glance picture of which rooms are occupied and which are free across the hospital.
Room Occupancy
Page: Inpatient → Room → Room Occupancy
XHTML: /inward/inward_room_occupancy.xhtml
Controller: AdmissionController.navigateToRoomOccupancy() / RoomOccupancyController
Privilege: InwardRoomRoomOccupency
Displays a list of all currently occupied rooms with:
- Room name / number
- Room category (e.g., Single AC, General Ward, ICU)
- Patient name and BHT number
- Consultant
- Admission date and time
- Number of days admitted
Staff use this view to verify room assignments, identify which rooms are in use, and navigate to the Admission Profile of a specific patient by clicking their row.
Room Vacancy
Page: Inpatient → Room → Room Vacancy
XHTML: /inward/inward_room_vacant.xhtml
Controller: AdmissionController.navigateToRoomVacancy()
Displays a list of all rooms not currently assigned to an active admission:
- Room name / number
- Room category
- Floor / ward
- Rate per day (where configured)
Staff use this view to identify available beds before admitting a new patient or after a room change.
Relationship to Admission
Both views reflect the PatientRoom records linked to active admissions. A room moves from Vacancy to Occupancy the moment an admission is saved with that room. It returns to Vacancy when the patient is room-discharged or when the room assignment is ended through a room change.
Related Articles
- Inpatient — Admit a Patient — room is selected at admission time
- Inpatient — Room Change and Guardian Room Change — moving a patient changes occupancy
- Inpatient — Room Reservations — pre-booking rooms before admission
- Inpatient — Room Discharge — discharge frees the room
- Admin — Room Categories, Rooms, and Room Fees — setting up rooms