Have a pacemaker been having muscle spasm in the heart all week what is this?

Consult MD. Multiple complications including diaphragmatic stimulation. Have it checked!
More info. If you are feeing a jerk or spasm with each heart beat, the pacemaker could be stimulating your diaphragm to contract. See you doc.