Gunman killed by police after rampage in hospital