rankhospital.R finished