Gun accidentally discharged in hospital room