Managing emergent patient flow to inpatient wards: A discrete event simulation approach