One city's solution to overcrowded emergency departments and a shortage of beds was the installation of an ambulance-diversion system, whereby ambulances carrying patients with relatively minor injuries were diverted, when necessary, from the city's busy emergency departments to less crowded ones in neighboring counties.