Hospitals may divert ambulances to avoid treating certain patients