If I quit the game, will my doctor learn herb theirself,and be master doctor?

do learn herb only made villager be adept one,not master doctor?

thanks