Having a cardiac pacemaker is a contraindication to a laser vision correction because the electromagnetic field generated by the laser may disturb the pacemaker.