A patient is scheduled for a magnetic resonance imaging (MRI) scan for suspected lung cancer. Which of the following is a contraindication to the study for this patient?