Several shots were fired at a hospital in central Pennsylvania, with the gunman being reportedly killed in the encounter with police.