Patent ID: 7369898

Claim:
In an implantable medical device, a method comprising: operating in a first pacing mode to deliver pacing therapy using a first set of device outputs and a first pacing vector defined by a first pair of electrodes; detecting magnetic fields; detecting for static component of the magnetic fields and if any are detected, determining a value representative of the strength of the static component and comparing the static component value to a static magnetic field threshold; detecting for pulsed gradient components of the magnetic fields and if any are detected, determining a value representative of the strength of the pulsed gradient components and comparing the pulsed gradient component value to a pulsed gradient threshold; and controlling device functions differently based on whether both the static component value and the pulse gradient component value exceed their respective threshold, only one of the static component value and the pulse gradient component value exceed their respective threshold, and neither of the static component value and the pulse gradient component value exceed their respective threshold.