Hey! I’m a med student too, and ADHDer, by the way congratulations!
Hm my psychiatrist always says that working on changing habits can be stronger than meds. BUUUUUT takes longer than just swallowing a tablet. You can always go for some cognitive behavioral therapy. Maybe you can use, as in emergency medicine, some algorithms of the most common consults. So, it can make you feel confident and less anxious. Also, you don’t need to write down EVERY SINGLE word they are telling you, just try to focus on the important info.
And you are on the residency, it means your working memory isn’t that bad! So, stay strong.
I’m aware I’m just a med student, I’m currently on my internship, and it has been challenging. So, hope it helps!