Congress decides how many doctors are trained each year. Residencies lose money so they rely on federal subsidies, Congress has limited the number of residency slots that get funded and that’s the number of doctors that get trained each year. Medical schools can’t expand without residency funding expansion.