A 79-year-old woman is diagnosed with new-onset anemia during a routine examination. Medical history is significant for an ischemic stroke 8 weeks ago, which resulted in residual right-sided weakness and admission to a rehabilitation facility. At that time, her complete blood count was normal. She has been eating poorly while in the facility. Her medications are aspirin, lisinopril, and simvastatin.

On physical examination, temperature is 37.1 °C (98.8 °F), blood pressure is 120/70 mm Hg, pulse rate is 82/min, and respiration rate is 12/min; BMI is 27. Right-sided motor strength is 3/4 and sensation is normal.

Laboratory studies:

Hemoglobin

10.1 g/dL (101 g/L)

Mean corpuscular volume

102 fL

Folate

2.5 ng/mL (5.7 nmol/L)

Homocysteine

10.2 mg/L (75.4 µmol/L)

Methylmalonic acid

Normal

Which of the following is the most likely diagnosis?