I was definitely riding real close to suicide. It got to a point for me where all of my hobbies no longer brought any joy as well. Gaming stopped doing it for me, browsing the web, CF. There was absolutely nothing I was enjoying. It was a chore getting out of bed, no hygiene, barely eating, lost my job because of it.
Historically I've gone through 4-5 bouts of similar severe depression with this being the worse one and like some have already mentioned just make changes in your life. I literally started from ground zero every single time before I started getting happy again. Sold a lot of my shit, broke up with current GF in some cases, relocated almost every single time and new career path more often than not.
The biggest thing really is if you have a family or not, I think if I had people that relied on me I'd have probably already killed myself mainly because it'd either be one of two scenarios where I can't bring myself to leave them when I need my space to self destruct and feel trapped or I do leave them in a similar fashion as I've mentioned and the guilt of leaving would worsen the depression. On a side note here recently the only thing that helped me hang on was my nephew. Hes only 3 and at that age where everything is awesome and spending very short amounts of time with him were therapeutic but only because I could bail if and when he started to be a pain in the ass etc.
And to wrap up if you're in the medical field you should already know most of this stuff but if your sleep schedule/exercise is fucked up getting that squared away will help quite a bit too.