updated rankhospital.R to suppress warnings