Exactly how I explained in the post above yours.

Buy level 2 of Medicine tech and train villagers as doctors in the medical area (that's the place that villagers go to when they're sick). There's a study area for doctors there once you have the right medical tech level.