Is it illegal for hospitals to refuse care?

It is illegal (under federal EMTALA rules) for hospitals to refuse emergency care. However, they can refuse non-emergent care, especially in their various clinics and outpatient departments.