Electrocardiography is the process of using an electrocardiograph (a device) to produce an electrocardiogram (a recording, often called an ECG or EKG) that shows a line graph of the heart's electrical activity through repeated cardiac cycles. It is an electrogram of the heart which is a graph of voltage versus time of the electrical activity of the heart using electrodes placed on the skin. These electrodes detect the small electrical changes that are a consequence of cardiac muscle depolarization followed by repolarization during each cardiac cycle (heartbeat). Changes in the normal ECG pattern occur in numerous cardiac abnormalities, including:

Cardiac rhythm disturbances, such as atrial fibrillation and ventricular tachycardia Inadequate coronary artery blood flow, such as myocardial ischemia and myocardial infarction electrolyte disturbances, such as hypokalemia

Traditionally, "ECG" refers to a 12-lead ECG taken while lying down as discussed below. However, other devices can record the electrical activity of the heart, such as a Holter monitor or some models of smartwatch. ECG signals can also be recorded in other contexts with other devices.

In a conventional 12-lead ECG, ten electrodes are placed on the patient's limbs and on the surface of the chest. The overall magnitude of the heart's electrical potential is then measured from twelve different angles ("leads") and is recorded over a period of time (usually ten seconds). In this way, the overall magnitude and direction of the heart's electrical depolarization is captured at each moment throughout the cardiac cycle.

There are three main components to an ECG: The P wave, which represents depolarization of the atria The QRS complex, which represents depolarization of the ventricles The T wave, which represents repolarization of the ventricles

During each heartbeat, a healthy heart has an orderly progression of depolarization that starts with pacemaker cells in the sinoatrial node, spreads throughout the atrium, and passes through the atrioventricular node down into the bundle of His and into the Purkinje fibers, spreading down and to the left throughout the ventricles. This orderly pattern of depolarization gives rise to the characteristic ECG tracing. To the trained clinician, an ECG conveys a large amount of information about the structure of the heart and the function of its electrical conduction system. Among other things, an ECG can be used to measure the rate and rhythm of heartbeats, the size and position of the heart chambers, the presence of any damage to the heart's muscle cells or conduction system, the effects of heart drugs, and the function of implanted pacemakers.

Medical uses

The overall goal of performing an ECG is to obtain information about the electrical functioning of the heart. Medical uses for this information are varied and often need to be combined with knowledge of the structure of the heart and physical examination signs to be interpreted. Some indications for performing an ECG include the following: Chest pain or suspected myocardial infarction (heart attack), such as ST elevated myocardial infarction (STEMI) or non-ST elevated myocardial infarction (NSTEMI) Symptoms such as shortness of breath, murmurs, fainting, seizures, funny turns, or arrhythmias including new onset palpitations or monitoring of known cardiac arrhythmias Medication monitoring (e.g., drug-induced QT prolongation, digoxin toxicity) and management of overdose (e.g., tricyclic overdose) Electrolyte abnormalities, such as hyperkalemia Perioperative monitoring in which any form of anesthesia is involved (e.g., monitored anesthesia care, general anesthesia). This includes preoperative assessment and intraoperative and postoperative monitoring. Cardiac stress testing Computed tomography angiography (CTA) and magnetic resonance angiography (MRA) of the heart (ECG is used to "gate" the scanning so that the anatomical position of the heart is steady) Clinical cardiac electrophysiology, in which a catheter is inserted through the femoral vein and can have several electrodes along its length to record the direction of electrical activity from within the heart.

ECGs can be recorded as short intermittent tracings or continuous ECG monitoring. Continuous monitoring is used for critically ill patients, patients undergoing general anesthesia, and patients who have an infrequently occurring cardiac arrhythmia that would unlikely be seen on a conventional ten-second ECG. Continuous monitoring can be conducted by using Holter monitors, internal and external defibrillators and pacemakers, and/or biotelemetry.

Screening

For adults, evidence does not support the use of ECGs among those without symptoms or at low risk of cardiovascular disease as an effort for prevention. This is because an ECG may falsely indicate the existence of a problem, leading to misdiagnosis, the recommendation of invasive procedures, and overtreatment. However, persons employed in certain critical occupations, such as aircraft pilots, may be required to have an ECG as part of their routine health evaluations. Hypertrophic cardiomyopathy screening may also be considered in adolescents as part of a sports physical out of concern for sudden cardiac death.

Electrocardiograph machines

Mechanical cardiographs (apex cardiogram), developed in the 19th century, recorded heart movements by transmitting heart or chest wall motions to a spring and air chamber system. A writing lever traced these movements onto a smoked rotating cylinder, producing a cardiogram. Their accuracy was limited, as they captured all body movements, introducing errors.

Modern day electrocardiograms are recorded by machines that consist of a set of electrodes connected to a central unit.

In the late 19th century, scientists discovered the heart's electrical activity, leading to the electrocardiograph's development. Willem Einthoven's 1903 string galvanometer enabled precise measurement of these signals, revolutionizing cardiography. He received the 1924 Nobel Prize for this work.

Early ECG machines were constructed with analog electronics, where the signal drove a motor to print out the signal onto paper. Today, electrocardiographs use analog-to-digital converters to convert the electrical activity of the heart to a digital signal. Many ECG machines are now portable and commonly include a screen, keyboard, and printer on a small wheeled cart. Recent advancements in electrocardiography include developing even smaller devices for inclusion in fitness trackers and smart watches. These smaller devices often rely on only two electrodes to deliver a single lead I. Portable twelve-lead devices powered by batteries are also available.

Recording an ECG is a safe and painless procedure. The machines are powered by mains power but they are designed with several safety features including an earthed (ground) lead. Other features include: Defibrillation protection: any ECG used in healthcare may be attached to a person who requires defibrillation and the ECG needs to protect itself from this source of energy. Electrostatic discharge is similar to defibrillation discharge and requires voltage protection up to 18,000 volts. Additionally, circuitry called the right leg driver can be used to reduce common-mode interference (typically the 50 or 60 Hz mains power). ECG voltages measured across the body are very small. This low voltage necessitates a low noise circuit, instrumentation amplifiers, and electromagnetic shielding. Simultaneous lead recordings: earlier designs recorded each lead sequentially, but current models record multiple leads simultaneously.

Most modern ECG machines include automated interpretation algorithms. This analysis calculates features such as the PR interval, QT interval, corrected QT (QTc) interval, PR axis, QRS axis, rhythm and more. The results from these automated algorithms are considered "preliminary" until verified and/or modified by expert interpretation. Despite recent advances, and can result in clinical mismanagement.

Cardiac monitors

Besides the standard electrocardiograph machine, there are other devices that can record ECG signals. Portable devices have existed since the Holter monitor was introduced in 1962. Traditionally, these monitors have used electrodes with patches on the skin to record the ECG, but new devices can stick to the chest as a single patch without need for wires, developed by Zio (Zio XT), TZ Medical (Trident), Philips (BioTel) and BardyDx (CAM) among many others. Implantable devices such as the artificial cardiac pacemaker and implantable cardioverter-defibrillator are capable of measuring a "far field" signal between the leads in the heart and the implanted battery/generator that resembles an ECG signal (technically, the signal recorded in the heart is called an electrogram, which is interpreted differently). The development of the Holter monitor led to the creation of the implantable loop recorder, which performs the same function but is an implantable device with batteries that last for years.

Additionally, there are available various Arduino kits with ECG sensor modules and smartwatch devices that are capable of recording an ECG signal as well, such as with the 4th generation Apple Watch (2018), Samsung Galaxy Watch 4 (2021) and newer devices.

Electrodes and leads

Electrodes are the actual conductive pads attached to the body surface. Any pair of electrodes can measure the electrical potential difference between the two corresponding locations of attachment. Such a pair forms a lead. However, "leads" can also be formed between a physical electrode and a virtual electrode, which is the average of numerous leads. All clinical ECGs use Wilson's central terminal (WCT) as the virtual electrode from which the precordial leads are measured, whose potential is defined as the average potential measured by the three standard limb leads.

Commonly, 10 electrodes attached to the body are used to form 12 ECG leads, with each lead measuring a specific electrical potential difference.

12-lead ECG Leads are grouped in three categories: limb; augmented limb; and precordial or chest. A 12-lead ECG has a total of three limb leads and three augmented limb leads arranged like spokes of a wheel in the coronal plane (vertical), and six precordial leads or chest leads that lie on the perpendicular transverse plane (horizontal).

Electrodes should be placed precisely in standard locations, with 'left' or 'right' referring to anatomical directions, being the patient's left or right. Exceptions due to emergency or other issues should be recorded to avoid erroneous analysis.

The 12 standard ECG leads and electrodes are listed below. Electrocardiographic leads are voltage measurements, which are inherently bipolar. Therefore all ECG leads are effectively bipolar, with one positive and one negative electrode; the term unipolar lead, though widely used, is illogical and should be avoided.