A woman was killed and several people were injured Friday in a shooting at a New York City hospital — which also resulted in the shooter’s death, police said.