A method and an implantable apparatus for automatically delivering a defibrillating drug to a patient upon detection of the onset of atrial... Show moreA method and an implantable apparatus for automatically delivering a defibrillating drug to a patient upon detection of the onset of atrial fibrillation. Atrial activity of a heart is detected and monitored. A delivery time is continuously computed and a delivery signal is emitted as a function of the monitored level of the atrial activity. When the delivery signal is emitted, an infusion pump discharges a defibrillating drug into the bloodstream of the patient. The atrial activity is also continuously monitored for computing a pacing time at which a pacing signal is emitted as a second function of the monitored level of atrial activity. When the pacing signal is emitted a pacer paces the atrium of the heart. Sponsorship: Illinois Institute of Technology United States Patent Show less