Hospital shooting accused pleads not guilty to all charges