Here's the breakdown (this is meant as an exaggeration and a joke, to illustrate the point):
- First 2 years of med school: mostly academic teaching so you don't kill anyone when you show up in an actual hospital.
- Third year of med school: (jokingly) you can look and touch, but even the nurses are keeping an eye on you. You just contaminated your hands by touching your beard, get out of the room!
- 4th year of med school: did you talk with the new patient? What do you think? Student: "He was a little odd, otherwise he's here for a checkup." Doctor: "He's autistic..." Student: "Oh...I had a feeling he was."
Residency: how to actually do something for patients in general.
Fellowship: how to actually do something for complex medical conditions.
Residency is what's supposed to prepare people to operate in their respective fields. And then comes fellowship for specialized care.
For anyone who wants to complain about what doctors should or should not learn during medical school: first go learn what the curriculum does teach, then ask yourself if you're even mildly qualified to make those judgements based on your understanding of healthcare, and then maybe you could comment on what would have to be left out of education to accommodate for X, because the curriculum is already super bloated and a firehose of information.