generally pacemakers are covered by medicare but you must meet medical criteria in order for your care to be paid for. i suggest you work with your physician to ensure that the treatment and devise you needed will be paid for. you can also call medicare directly to get help determining what's covered: 1-800-medicare.
does medicare cover pacemaker replacements?