Hospitals could prevent this by making rules like a single supplier of these generic things can't supply more than X%.