Anxiety is a recognised mental health condition and is a valid reason to take time off from your job. It can be a very serious condition which limits ability to function in day to day life.