One officer was killed and five people were wounded in a hostage situation and shootout at a Pennsylvania hospital, state officials said.