In addition to the pacemaker and the cardioverter/defibrillator, an implantable pulse generator can combine the function of the pacemaker and the cardioverter/defibrillator, drug delivery devices, and any other implantable or external systems or devices for diagnosing or treating cardiac arrhythmias.