I again don’t have a sense of how this works, but the activities performed by a resident are overseen by a qualified doctor. Eventually, the residents are able to supervise other residents and only consult the qualified doctor for important matters.
This would seem to increase the potential productivity of a hospital. So I am confused by why you say residents are a cost on balance sheets (again, considering that their pay comes from Medicare/Medicaid)