Doctors in postgraduate training (residents, fellows, UK resident doctors, German Assistenzärzte, Japanese kenshui) who deliver much of a teaching hospital's round-the-clock care while learning, paid partly through public training funds.
Resident doctors are one player in the hospitals industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how resident doctors fit into hospitals