Future doctors are learning preventive medicine and how to take care of whole populations of patients.