I woke up crying nonstop. Went to a doctor and I was still crying. I cried in his office for almost a hour, couldn't look at him in the eyes (a regular general medicine doctor, not a psychiatrist). He told me to calm down and gave me a sick leave for today and tomorrow but I plan on working tomorrow to avoid problems at work.

I called my boss explaining the situation, I asked if I could be honest, I said I was depressed because of my birthday and having no family and having my birthday alone and I just started crying hard over the phone and she told me to calm down, that the company cared about me. 

I was dead honest on everything, and I hate skipping my job. But I'm up to date on my work and we're having a fuckton of holidays, I could catch up during these days.

Anyways, do you think I did the right thing? I'm no longer crying. I think crying that hard actually helped me let go off some pain. I didn't even say I had depression or anything else, I specifically said I was feeling depressed for X and that it won't happen again.