Hospitals face two coupled decisions: which patient (emergency or elective) goes to which ward and bed, and when discharge is triggered to free beds for tomorrow. Classical healthcare OR: Patient Flow and Bed Allocation.
In plain words
Sound familiar?
- Patients awaiting admission from the ER (ED boarding) sit for 4-12 hours in the morning; the ward says 'we have a discharge tomorrow morning, we'll make room' but the actual discharge slips to the afternoon.
- When the ward is full, an internal medicine patient is placed in a cardiology or neurology bed (off-service); because the nursing team's specialty does not match, length of stay grows by 1-3 days.
- Monday-morning electives start arriving but weekend emergency admissions left no beds; surgical patients coming out of the OR cannot find a bed, creating OR-exit blockage.
- There is no ward bed to receive an intensive-care step-down patient; an extra day or two is spent in intensive care, leaving no room for the next critical case.
- There is no proper bed for an isolation patient (infection, immunocompromised, MRSA-incompatible room); the patient waits, or the clinical rule is bent.
- To avoid mixed-gender rooms the coordinator reshuffles the spreadsheet every morning; 20-50 minutes a day lost to manual rework.
- For pandemic or seasonal surge (winter flu wave) planning there is no concrete bed-occupancy curve or service-level breakdown; capacity decisions are made on gut feel.
Why it matters
How it's solved
Technical depth
How it's solved
Technical depthOne-liner: Tie the morning bed assignment to the afternoon discharge โ trigger the discharge order the day before so the bed is free at 11am, not at 4pm. “Tomorrow morning discharge” doesn’t mean a free bed today; pulling the actual departure time earlier is the unlock.
This problem appears in operations research (a discipline that uses math and computing to solve business-decision problems) as two coupled decisions: Patient Flow (patient movement โ ER to ward, ward to intensive care, intensive care to ward, ward to discharge โ analysed as a time-indexed network) and Bed Allocation (which patient, which ward, which bed, at which hour). Solution in three stages:
1. Modeling. Input data: patient demand (ER arrival rate โ hourly / daily, admission-from-ER ratio, elective schedule known a week in advance, patient-type tags โ cardiac, internal, surgical, pediatric, isolation-requiring), ward inventory (per ward bed count, room type โ single / double / multi, isolation rooms, nurse-to-patient ratio rule), length-of-stay distributions (per ward / patient type โ log-normal is common), clinical compatibility matrix (which patient type is primary in which ward, acceptable, or unsuitable). Constraints: gender separation in shared rooms, isolation precautions (infection, immunocompromised), nurse-to-patient ratio per shift, intensive-care step-down chain.
2. Solver-driven decision. Two classical approaches: capacity layer โ Markov chain / queueing network (math that models patient flow with probabilities and waiting times) for bed-pool balance at annual or monthly horizon; operational layer โ daily / hourly bed-assignment MIP (Mixed-Integer Linear Programming โ optimization that decides some variables as 0/1) to match incoming patient waves to suitable ward beds. Discrete-event simulation (a computer model where each patient is a virtual entity flowing through the system) answers ‘what if we open 10 more beds / accept 5 more electives Monday’ questions. Rolling-horizon: each morning bed status, expected elective arrivals and forecasted emergency admissions feed an hourly plan; in the evening discharge forecasts are refreshed.
3. Field integration. Output in two layers: bed-management dashboard (for ED coordinator and ward charge โ which bed frees when, which incoming patient gets which bed) plus the weekly elective admission schedule (bed reservations for planned admissions). The Hospital Information Management System (HBYS) feeds the Patient Flow module: ED triage, admission order, discharge order, nurse roster, isolation records. Quarterly hospital committee: actual vs planned ED boarding time, off-service placement percentage, length-of-stay drift, bed-utilisation balance report.
Alternatives
Manual plus whiteboard
FreeZero license
Who it fits: Small hospital (50-100 beds), 3-5 services, 30-60 ER arrivals per day
- + Zero software cost
- + Bed coordinator's experience leads
- + Quick response to changes (urgent cases) by phone
- โ Above 100 beds the coordinator's mental load is too high
- โ Off-service placement decisions are gut-feel โ no optimum guarantee
- โ No discharge forecasting โ beds are not ready in the morning
- โ Capacity analysis (for investment decisions) is weak
HBYS bed-tracking module
Enterprise150K-800K TRY license plus 50K-200K TRY/year maintenance (TR market observation)
Who it fits: Mid-size hospital (100-300 beds), 5-10 services
- + Close to TR regulation (SGK case-rate, MEDULA)
- + Integrated with clinical records
- + Turkish UI, local support
- โ Bed-management module is usually 'status view' โ no assignment optimization
- โ Discharge forecast model absent or rule-of-thumb
- โ No Markov / MIP integration
International clinical operations platform
Enterprise500K-3M EUR license plus 100K-500K EUR/year maintenance (large healthcare IT)
Who it fits: Large hospital / hospital complex (300+ beds), 10+ services, multiple intensive-care units
- + Patient Flow module is mature โ Markov + MIP + simulation
- + ER + ward + intensive care + discharge chain integrated
- + Rich capacity-analysis reporting
- โ High license fee plus long (12-30 months) deployment
- โ TR-regulatory customisation (SGK, MEDULA, MHRS) adds project time
- โ Wide training programme for clinical staff
Open-source solver plus custom Patient Flow module
Open SourceZero license; in-house build 16-32 weeks or 600K-1.8M TRY consulting
Who it fits: Hospital / university hospital with a technology team, integration into HBYS
- + No license fee
- + Patient Flow literature is well established for open-source solvers
- + Discrete-event simulation tools are mature in open-source ecosystems
- โ In-house OR expert plus HBYS integration team is required
- โ Time to move from academic prototype to clinical floor
- โ Clinical validation and ongoing maintenance burden stays in-house
Recommendation
Ask in the meeting
- Which method is used for bed assignment โ MIP, Markov chain, rule-of-thumb, or only status display?
- Is there a discharge forecast model, what does it feed on (admission day, diagnosis code, lab trends), and how accurate is it 24-48 hours ahead?
- Are the online (hourly / intraday) and offline (weekly elective) decision layers in the same module?
- How is the off-service placement penalty represented in the constraints or objective โ is it calibrated against length-of-stay extension?
- How are clinical constraints (isolation, gender separation, nurse-to-patient ratio) defined in the system?
- Is the data flow between ER triage and the bed-assignment module bidirectional and real-time?
- Is there a pandemic or seasonal-surge simulation module? Can what-if sensitivity be run on historical data?
- If the contract ends, in what format can we export admission history, discharge-forecast data, off-service records, and bed-utilisation curves?
Technical details
Editor’s note
This problem is known in everyday hospital language as “bed occupancy”, “ward placement”, or “discharge triggering”. In academic literature it carries two coupled names: Patient Flow for the patient-movement chain and Bed Allocation for the assignment decision. Hulshof et al. (2012) structurally survey OR/MS planning in healthcare, separating offline decisions (weekly / monthly capacity plan) from online decisions (intraday assignment). If both layers are not considered together, the capacity plan looks balanced on paper while the intraday assignment turns into a crisis every morning.
This problem differs from operating-room scheduling (Problem 8). #008 is about which surgical case at what time goes to which OR (case sequencing, room utilisation, team rotation). #038 is about which patient is admitted to which ward and bed and when discharge is triggered (flow chain, capacity balance, off-service placement). The two problems feed each other: when an OR-exit patient waits for a ward bed, #008 hits OR-exit blockage; when wards cannot trigger discharges, #038 hits a capacity crisis.
The most-skipped point in the sector: discharge forecasting. Most hospitals decide on discharge during morning rounds, with paperwork finished by midday or afternoon. The morning wave of ER admissions, however, lands between 06:00 and 10:00 โ beds are not ready in that window. Hulshof et al. (2012) explicitly separate online (intraday) and offline (weekly) decisions; if discharge forecasting is run 24-48 hours ahead (using length of stay, diagnosis, lab trend, clinical state), morning bed readiness becomes operationally achievable. The second most-skipped point: the cost of off-service placement. When an internal-medicine patient is placed in a cardiology bed, the nursing team’s specialty does not match and length of stay grows by 0.5-2 days; this cost must be represented as a penalty weight in the MIP objective (Bachouch et al. 2012).
Step-by-step โ for the SMB
Stage 1 โ Measure first, then plan. At least 12 months of admission data: per admission, admission time, discharge time, source (ER / elective / referral), assigned ward, primary clinical diagnosis, actual off-service flag. ER triage data: arrival time, triage level, admission decision time, transfer-to-ward time (ED boarding). Ward inventory: per ward bed count, room type, isolation capacity, nurse-to-patient ratio. Clinical compatibility matrix: which diagnosis is primary, acceptable, or unsuitable in each ward.
Stage 2 โ Extract the planning knowledge. Length-of-stay distribution per patient type / ward. Which diagnoses typically admit to which ward. Which wards feed each other (intensive-care step-down chain). Seasonal and weekly demand patterns (ER hourly distribution, Monday elective peak).
Stage 3 โ Pilot. 12-16 weeks. For a sub-set (e.g. an internal-medicine block of 3-5 wards) run the bed-assignment MIP recommendation in parallel with manual placement. The decision still rests with the bed coordinator; the MIP gives advice. Success criteria set up front: ED boarding -10% minimum, off-service placement -15%.
Stage 4 โ Roll out. Over 9-18 months extend to all wards plus intensive-care step-down plus elective reservations. ER-triage-triggered real-time assignment. Quarterly hospital committee: length-of-stay drift, off-service rate, ED boarding report, bed-utilisation balance.
Risks โ what can go wrong
- Discharge forecast is mis-calibrated. Without a mechanical forecast generated before morning rounds, bed readiness turns into a daily crisis. The forecast model must run 24-48 hours ahead (using admission day, lab trend, clinical state).
- No pandemic / seasonal-surge plan. Anomalies like a winter flu wave or pandemic break the bed-pool balance; for these scenarios a surge-bed trigger rule and a simulation-based capacity plan are essential.
- Off-service placement quietly loads cost. Placing an internal patient in a surgical bed clears a slot in the short term but adds 1-2 days of stay; the objective must carry a calibrated penalty weight.
- Single-supplier lock-in. If the contract does not include ‘annual export of admission history, discharge-forecast data, off-service records in a standard format’, exiting the system means losing the hospital’s operational memory.
Solution method โ technical view
| Approach | Typical scale | Solve time | Guaranteed optimum? |
|---|---|---|---|
| Heuristic placement (coordinator + rules) | Small hospital, <100 beds | instant | No, 50-70% optimal |
| Markov chain (bed-pool balance) | Monthly / annual capacity plan | minutes | Stochastic equilibrium, not optimum |
| MIP bed assignment (Bachouch 2012) | Mid hospital, intraday 5-15 services | minutes-hours | Yes (within bound) |
| Discrete-event simulation | Multi-ward + intensive care, what-if | hours | No, average performance |
| Queueing network (Green 2006) | Capacity investment decision | minutes | Steady-state analytical balance |
| Rolling-horizon MIP + simulation | Complex hospital, stochastic demand | hours-continuous | No, good practical quality |
Objective function options:
- Objective 1 โ Minimum ED boarding time: Prevents ER congestion.
- Objective 2 โ Minimum weighted off-service penalty: Preserves clinical compatibility.
- Objective 3 โ Bed-utilisation balance: Even occupancy across wards.
- Objective 4 โ Minimum elective cancellations: Protects trust of scheduled patients.
Multi-objective: weighted sum or hierarchical (first clinical compatibility, then ED boarding, then balance).
Academic sources
Listed in the page frontmatter under sources.
Sources
- Hulshof, P. J. H., Kortbeek, N., Boucherie, R. J., Hans, E. W. and Bakker, P. J. M. (2012). Taxonomic classification of planning decisions in health care: a structured review of the state of the art in OR/MS. Health Systems, 1(2), 129-175. Structured survey of healthcare planning.
- Cochran, J. K. and Bharti, A. (2006). Stochastic bed balancing of an obstetrics hospital. Health Care Management Science, 9(1), 31-45. Markov-chain bed-pool balancing.
- Bachouch, R. B., Guinet, A. and Hajri-Gabouj, S. (2012). An integer linear model for hospital bed planning. International Journal of Production Economics, 140(2), 833-840. MIP for bed assignment.
- Vanberkel, P. T., Boucherie, R. J., Hans, E. W., Hurink, J. L. and Litvak, N. (2010). A survey of health care models that encompass multiple departments. International Journal of Health Management and Information, 1(1), 37-69. Multi-department hospital models survey.
- Green, L. V. (2006). Queueing analysis in healthcare. In Patient Flow: Reducing Delay in Healthcare Delivery, Springer. Foundational text on queueing analysis in healthcare.
- YรK Theses Centre โ keywords: ‘hasta akฤฑลฤฑ’ or ‘yatak yรถnetimi’ or ‘hastane kapasitesi’ โ 20+ TR theses. tez.yok.gov.tr
Glossary
- Patient Flow
- The operations-research and queueing study of how patients move through hospital units โ ER, ward, intensive care, discharge โ and the timing decisions that shape throughput and length of stay.
- Bed Allocation
- The decision problem of which patient is admitted to which ward and bed, and when โ under clinical compatibility, isolation, gender-separation and nurse-staffing constraints.
- MIP
- An optimization model where some decision variables are forced to be whole numbers (e.g. number of trucks, number of shifts).
- Queueing Theory
- Mathematical discipline analyzing waiting lines where arrivals and service times are random.
Related problems
How Do I Lay Out Outpatient Appointments โ Keeping Patient Wait and Doctor Idle Time Both Low?
This page is for the manager of a private clinic or hospital outpatient ward with 5-20 doctors handling 100-800 appointments per day. Two coupled decisions: how long should an appointment slot be (15 or 20 minutes, same for everyone or not), and should some slots take two patients to absorb the no-shows? The wrong design triggers three things at once: patients wait 40-90 minutes and the complaint hotline fills up, the doctor sits idle 1-2 hours in the afternoon or runs until 8 pm, and a 20-30% no-show rate quietly erodes capacity. A fixed 15-minute template looks tidy on paper, but when real consultations swing between 5 and 25 minutes the afternoon queue always collapses.
Monthly Nurse Roster โ Holding Burnout, Preference and Skill Together
This page is for the head nurse of a private hospital with 50-300 nurses staffing 24/7 wards (ICU, surgery, ER, internal medicine, maternity) and building the monthly shift roster. Every shift needs enough nurses and at least one senior qualified one, consecutive night shifts are capped, there must be at least 11 hours of rest between shifts, personal day and leave requests must be honoured, and night-shift load must be distributed fairly โ all at the same time. Manual rostering past 50 nurses costs the head nurse 30-60 hours a month, and the 'who worked less' argument still opens every month. Nurses on unfair rosters quit 2-3 times more often; replacement cost is 50-150K TRY per nurse.