They're vaccinating her against bubonic plague. It's a dangerous process wherein the doctor scrapes off and dehydrates a busted bubous from a previous patient and then has the person to vaccinate inhale it through their nose.
They usually develop some symptoms, but they do not progress to a dangerous state, and they gain immunity from a full infection.