I sincerely doubt this understaffing of medical professionals is a technology problem, and I believe it much more likely to be an economic structural problem. And overall, I think that powerful generative AI will make these economic structural problems much worse.
It's a gatekeeping problem. Doctors don't want more doctors because it dilutes their own value, so medical school and residency spots are kept artificially limited.