Multi-choice problem: does word "vaccinate" have the same meaning in the following two sentences?

We vaccinate against scarlet fever.

The nurse vaccinated the children in the school.

Available options: (1). different meanings (2). the same meaning
(2).