Decision-making for inpatient services