Blog
Hospitals are rarely short of beds. They are short of knowing when one frees up
Overcrowding is not always solved by building. Often it is solved by knowing six hours earlier who is going home.
Published
The most expensive wrong assumption in hospital management is that a crowded emergency department is a shortage of beds.
Often it is not. At three in the afternoon, when the ED is at its worst, there are usually beds on the wards that will free up within hours. Nobody knows which ones, or when, because discharge depends on the consultant's round, on lab results not yet back, on a relative who cannot collect until evening, and on a room clean that nobody has ordered yet.
So a bed is genuinely empty at six, the system learns it is empty at nine, and a patient who has been waiting since lunchtime waits three more hours for no clinical reason at all.
Where the hours go
Follow one bed. The decision to discharge is made on the morning round. The order is entered. The patient waits for a summary and take-home medication. Pharmacy dispenses. A relative arrives in the afternoon. The patient leaves. Housekeeping is told, cleans, and reports back. Only then can the bed office admit somebody.
No single step takes long. The hours live in the gaps between the steps, and those gaps exist because each department knows its own state and not the state of the one after it.
Where the technology helps
Discharge prediction. A model learning from clinical history can estimate which inpatients are likely to go home within twenty-four hours. Not to replace a clinician's judgement, but so the bed office can start planning in the morning instead of finding out when the patient walks out.
Real-time status. A bed has more than two states. It can be empty and ready; empty and awaiting a clean; occupied but with a discharge order written; or reserved for a case coming out of theatre. If a system cannot tell those apart, the bed office falls back to ringing each ward, which is what a great many hospitals still do.
Connecting the support work. When a patient leaves, the cleaning job should create itself and reach the nearest housekeeper's phone, rather than waiting for a nurse to have a free moment to call it in.
What to be careful about
Prediction in a hospital carries a risk that other industries do not have. If the forecast becomes a lever to push discharges earlier, it damages both patients and the clinical team's trust in the system, and the second loss is permanent.
Draw the line on day one. This helps support functions prepare; it does not help management hurry anyone. Design it so the prediction is visible to the people planning around it, not displayed as a score on an executive dashboard.
Patient data is also sensitive personal data under Thailand's data protection law. Access rights and audit trails are not something to add afterwards.
A starting point small enough to succeed
A hospital does not have to start with a predictive model. Start by making bed status accurate minute by minute, and by linking the cleaning task to the discharge event. Those two alone show results before AI enters the conversation.
They also give prediction something to stand on. A model trained on status data that staff backfilled at the end of a shift will learn the habits of the people filling in forms, not anything about patients.
What GIPSIC does here
We have built inpatient care systems and in-hospital logistics. Work of this kind needs software that talks to what the hospital already runs, and devices on the floor that hold up in an environment where failure is not an option.
We start by walking the actual process rather than reading the system diagram, because the gaps that eat the hours never appear on a diagram.
If you would like to talk through patient flow at your hospital, get in touch.
About the author
Film — Wisit. A businessman who still does his own BA work more often than he probably should, and writes a fair bit of code, front and back. Runs two or three small businesses. Follows technology and business obsessively, in Thailand and everywhere else. Off the clock: physics, astronomy, DIY, and anything to do with networks. Music always on, though he cannot sing. Plays instruments anyway, badly. Plays a lot of sport, racket sports above all. Not much of a traveller by himself, but happy to take Mint anywhere in the world. A man who fears — sorry, loves — his wife. One flaw: he barely touches video games.
Written with Claude Opus 5