Medium corrections in intermediate-energy nucleon-nucleus scattering