This guy has one shot at learning medicine, his residency. If he wants run a trivial startup, so be it. But his first responsibility, at this time, in his training, (no he is not really a doctor yet) including his residence and fellowship.
The default career directions for anyone, including medical residents, are just that - simply defaults, not some oath or moral obligation to follow that exact career choice 'till death do us part'.