In this March 27, 2019, file photo, a woman receives a measles, mumps and rubella vaccine at the Rockland County Health Department in Pomona, New York. Credit: Seth Wenig | AP

BOSTON — A Boston resident has been diagnosed with the city’s first case of measles since 2013.

The Boston Public Health Commission issued a measles warning Wednesday.

The commission said the case was diagnosed on Oct. 6 and identified five public places the person visited when they were most contagious.

People who visited these locations at those times could potentially become ill 21 days after exposure.

The locations are Render Coffee in the South End on Oct. 4; Cafe Madeleine in the South End on Oct. 4; Gyroscope in the Fenway on Oct. 4; CouCou in the South End on Oct. 5; and Sir Speedy in the Back Bay on Oct. 5.

Commission medical director Dr. Jennifer Lo said the best way for people to guard against measles is to get vaccinated.