This procedure replaces a pacemaker or an ICD that is running low on battery power. The surgery is usually done as an outpatient procedure. You can go home the same day.