Anxiety and extended test time

If anyone has anxiety and received extended test time can you let me know how you went about this. I have proof and a letter from my doctor and was told by my school that it’s not legit enough and I should be on medications instead...which I am very upset about.