Ex-policeman accused of New Somerset hospital shooting ‘not in a good frame of mind’