Medicare supports graduate medical education through support for residency slots at teaching hospitals. However hospitals can establish residency slots above the total which Medicare supports. (A much smaller federal program supports graduate medical education based in outpatient settings.