Refarding the anxiety: first, there's usually only the word of an applicant for not having taken something prescribed (happens a lot with inhalers for asthma), but unless there's evidence you returned a full amount of pills, your explanation won't be sufficient. Second, you went to your doctor and were diagnosed with something severe enough to require pharmaceutical intervention, so that will be a serious consideration at your medical.
Be aware of these, but otherwise, as above.
PS. If that is your name, be aware of this forum's security rules.