12-lead ECG read from signal, PDF or photo: rhythm, QTc, STEMI-equivalents and AI-ECG screens.
What it does
Resting 12-Lead ECG reads one standard 10-second ECG, whether it arrives as a digital file from the electrocardiograph, a PDF export, or a phone photo or scan of the paper printout. Images are first digitised into calibrated lead signals with a confidence per lead, so a photographed ECG is measured the same way as a native one.
The read returns rhythm and heart rate, PR, QRS, QT and QTc with axes, the full statement list mapped to AHA/ACCF/HRS codes, and critical flags: STEMI and STEMI-equivalents, ventricular tachycardia, complete heart block, QTc of 500 ms or more, pre-excitation, Brugada type 1 and a hyperkalaemia pattern. AI-ECG screens return the probability of reduced ejection fraction and of structural heart disease, the future risk of atrial fibrillation and a potassium estimate.
Intended use
Decision support for the physician reading an ECG alone: the night-shift resident asking whether this is an occlusion MI, the general practitioner checking a QTc before a QT-prolonging drug, the emergency doctor looking for a dangerous rhythm or a lead reversal. Critical flags show the leads and beats that triggered them.
Who it is for
Emergency physicians, general practitioners, internists, cardiology residents and cardiologists. Developers use the same run to add ECG interpretation, digitisation of paper archives or wave delineation to their own systems.
Accepted input
- DICOM waveforms: 12-lead ECG, General ECG and General 32-bit ECG Waveform objects; Encapsulated PDF ECG reports.
- Signal files: SCP-ECG (EN 1064 / ISO 11073-91064), HL7 v3 annotated ECG (aECG) XML, vendor XML exports, WFDB and EDF/EDF+.
- Images: vector or raster PDF, and JPEG, PNG or HEIC photos and scans in 3×4 with rhythm strip, 6×2 or 12×1 layouts. Vector PDFs are read from their drawing paths rather than traced from pixels.
The device's own printed interpretation on a PDF or photo is masked before the trace is read, so it cannot anchor the result.
Requirements
| Requirement | Why |
|---|---|
| Sampling rate of at least 250 Hz (500 Hz preferred) | ST and interval measurement need fine time resolution |
| Amplitude scale and lead labels in signal files | Millivolt values and lead-specific criteria |
| On images: all 12 leads and the calibration pulse visible | Paper speed (25/50 mm/s) and gain (5/10/20 mm/mV) come from the pulse and grid when not printed |
| Patient age and sex | Normal ranges, QTc thresholds and paediatric norms |
Optional context
Symptoms and onset time, serum potassium, QT-prolonging drugs and a prior ECG (in prior_files) sharpen the guidance
and enable the serial comparison.
The result
| Section | Content |
|---|---|
| Digitisation | For images: 12 calibrated lead signals with per-lead confidence, layout, paper speed and gain |
| Recording quality | Noise, baseline wander, saturation, missing leads, suspected limb or precordial lead reversal, implausible gain |
| Rhythm and conduction | Rhythm class, ectopy, AV block degree, bundle-branch and fascicular blocks, pre-excitation, with evidence beats |
| Intervals and axes | HR, PR, QRS, QT, QTc (Bazett and Fridericia), P/QRS/T axes, J-point and ST amplitude per lead, median beats |
| STEMI and occlusion MI | ST criteria per lead, STEMI-equivalents (posterior, de Winter, Sgarbossa in LBBB or pacing), occlusion-MI probability, likely culprit territory |
| Comparison with prior ECG | New or resolved findings: new LBBB, new Q waves, dynamic ST-T change, QTc change |
| Low EF screen | Probability of LVEF ≤ 40–45 %, with echocardiography as the next test when positive |
| Structural heart disease screen | Estimated probability of moderate or greater structural heart disease, with components for valve disease, wall thickness ≥ 13 mm, RV dysfunction, pericardial effusion and PASP ≥ 45 mmHg |
| Hyperkalaemia estimate | Potassium band and probability of K+ ≥ 6.0 mmol/L, with the ECG pattern evidence |
| Future AF risk | 1–5-year risk of incident AF from a sinus-rhythm ECG |
| Wave delineation | Per-beat P, QRS and T onsets, peaks and offsets with beat labels |
| Draft report | Opt-in (options.report): an English narrative that interprets the result for the reader (findings, impression, limitations); every number is checked against the findings |
Standards
- DICOM: Comprehensive SR TID 3700 ECG Report (global measurements TID 3713, lead measurements TID 3714, qualitative analysis TID 3717, summary TID 3719, prior ECG TID 3702); Waveform Annotation SR for fiducials; digitised signals re-encoded as 12-lead ECG Waveform marked as derived; Encapsulated PDF.
- Interchange: HL7 aECG and SCP-ECG export; FHIR R4
Observation(LOINC 11524-6 with heart rate, PR, QRS, QT, QTc and axis components) andDiagnosticReport(LOINC 18844-1). - Statements: AHA/ACCF/HRS 2007 Part II diagnostic statement list, with SCP-ECG and SNOMED CT cross-codes.
- Guidance: Fourth Universal Definition of MI (2018); 2023 ESC and 2025 ACC/AHA/ACEP/NAEMSP/SCAI ACS guidelines; AHA/ACCF/HRS 2009 Parts IV and VI; AHA/ACCF 2010 statement on torsade de pointes; 2024 ESC and 2023 ACC/AHA/ACCP/HRS atrial fibrillation guidelines; 2018 ACC/AHA/HRS bradycardia guideline; 2022 ESC ventricular arrhythmia guidelines; 2017 international criteria for ECG interpretation in athletes.
QT notes
QTc is reported by Bazett and Fridericia, with Fridericia preferred at high heart rates. A QTc of 500 ms or more, or a rise of 60 ms or more against the prior ECG, is flagged with the AHA/ACCF 2010 advice to review QT-prolonging drugs.
Reading limits
Posterior infarction shows as ST depression in V1–V3; leads V7–V9, which show it directly, are not part of a standard 12-lead. ST changes in LBBB and paced rhythm are read with Sgarbossa criteria. Paediatric ECGs use age-specific norms. A photographed ECG carries a lower per-lead confidence than a native file, and the result shows it.
Result sections
One run returns every section its input supports, at one price. Sections that cannot run say why (for example, not in input).
| Section | What it returns | Standards | Status |
|---|---|---|---|
Rhythm and conduction #rhythm | Rhythm (sinus, atrial fibrillation or flutter, SVT, junctional, paced, wide-complex tachycardia), ectopy, AV block, bundle-branch and fascicular blocks, pre-excitation, LVH and Q-wave infarcts of undetermined age, each with its SNOMED CT code, score and the measurements it rests on; critical flags in the triage.findings · classifications | AHA/ACCF/HRS Recommendations for the Standardization and Interpretation of the ECG (2007–2009) | Since v1.0.0 |
Intervals and axes #intervals | Heart rate, RR, PR, P duration, QRS, QT, QTc (Bazett and Fridericia), P/QRS/T axes from median beats with global fiducials, and the J-point and ST level at J+60 ms in every lead.measurements · findings | IEC 60601-2-25 (global interval measurement) (2011); AHA/ACCF/HRS Recommendations for the Standardization and Interpretation of the ECG (2007–2009) | Since v1.0.0 |
STEMI and occlusion MI #stemi | Fourth Universal Definition ST-elevation criteria per lead with age and sex thresholds, contiguity and reciprocal change, the STEMI-equivalent patterns (posterior, de Winter, aVR pattern, Smith-modified Sgarbossa in LBBB and paced rhythm), the likely culprit territory and the margin to threshold in every lead.findings | Fourth Universal Definition of Myocardial Infarction (2018); ESC Guidelines for the management of acute coronary syndromes (2023) | Since v1.0.0 |
Digitisation #digitize | Photos, scans and PDF printouts of the paper ECG turned into calibrated lead signals: layout and lead names, paper speed and gain from the page, the device's printed interpretation ignored, a confidence per lead, and the re-rendered 12-lead drawn from the traced samples only. Each statement and measurement is returned from such input only where it matched the read of the original signal file on the digitisation bench (precision 0.85 or more for statements and the overall call; IEC 60601-2-25 limits for intervals); the rest is listed as not assessable.artifacts | — | Since v1.0.0 |
Draft report #report | Opt-in draft report (findings, impression, limitations) written from the structured result; every number is validated against it.report | — | Since v1.0.0 |
Recording quality #quality | Per-lead noise, baseline wander, saturation and suspected lead reversal.findings | — | Planned · P1 |
Low EF screen #low-ef | Probability of a left ventricular ejection fraction of 40–45 % or less, with an echocardiography recommendation.risks | — | Planned · P1 |
Structural heart disease screen #structural-heart-disease | Probability of moderate or greater structural heart disease.risks | — | Planned · P1 |
Comparison with prior ECG #compare | New or resolved findings against a prior ECG.changes | — | Planned · P2 |
Wave delineation #segment-waves | Per-beat P, QRS and T boundaries.measurements | — | Planned · P2 |
Hyperkalaemia estimate #hyperkalemia | Estimated serum potassium band from the ECG.risks | — | Planned · P3 |
Future AF risk #af-risk | Risk of incident atrial fibrillation from a sinus-rhythm ECG.risks | — | Planned · P3 |
Validated performance
Numbers come only from MedRun's own evaluation harness (make bench (models/ecg-12-lead)), with dataset, split and date.
| Section | Metric | Value | Dataset | Date |
|---|---|---|---|---|
| intervals | QRS duration mean difference vs GE 12SL | -0.5 ms95% CI -0.9–-0.1 | PTB-XL 1.0.3 + PTB-XL+ 12SL (strat fold 10) · n=2198 | 2026-10-16 |
| intervals | QT interval mean difference vs GE 12SL | -1.6 ms95% CI -2.4–-0.7 | PTB-XL 1.0.3 + PTB-XL+ 12SL (strat fold 10) · n=2154 | 2026-10-16 |
| intervals | PR interval mean difference vs GE 12SL | -0.7 ms95% CI -1.4–0 | PTB-XL 1.0.3 + PTB-XL+ 12SL (strat fold 10 (P waves found by 12SL and Uni-G)) · n=1921 | 2026-10-16 |
| intervals | Heart rate MAE vs GE 12SL | 0.43 bpm95% CI 0.37–0.51 | PTB-XL 1.0.3 + PTB-XL+ 12SL (strat fold 10) · n=2198 | 2026-10-16 |
| rhythm | Statement macro AUC (22 statements) | 0.94595% CI 0.936–0.953 | PTB-XL 1.0.3 (strat fold 10 (cardiologist statements)) · n=2198 | 2026-10-16 |
| rhythm | Statement macro AUC (15 statements) | 0.95995% CI 0.945–0.961 | Chapman-Shaoxing-Ningbo 12-lead arrhythmia database (one patient-hash half (4) · n=2214 | 2026-10-16 |
| rhythm | Statement macro AUC (6 statements) | 0.97895% CI 0.965–0.988 | CODE-test (cardiologist consensus) (all) · n=825 | 2026-10-16 |
| rhythm | Statement macro AUC (16 rhythm and conduction statements) | 0.91195% CI 0.888–0.912 | MIMIC-IV-ECG rare-rhythm subset (machine statements) (one patient-hash half) · n=867 | 2026-10-16 |
| rhythm | Wide-complex tachycardia flag sensitivity for ventricular tachycardia | 0.27895% CI 0.177–0.367 | MIMIC-IV-ECG rare-rhythm subset (machine statements) (one patient-hash half) · n=79 | 2026-10-16 |
| rhythm | Normal ECGs with a statement beyond sinus rhythm | 0.16895% CI 0.145–0.191 | PTB-XL 1.0.3 fold 10 + Chapman half (normal ECGs (NORM only; sinus rhythm only)) · n=990 | 2026-10-16 |
| stemi | STEMI criteria sensitivity for acute occlusion MI | 0.23495% CI 0.21–0.258 | Chongqing ACS 12-lead (angiography) (public train split) · n=1146 | 2026-10-16 |
| stemi | STEMI criteria sensitivity for acute MI | 0.38795% CI 0.295–0.474 | PTB-XL 1.0.3 (cardiologist (all folds vs every other fold 9-10 ECG) · n=150 | 2026-10-16 |
| digitize | Heart rate within 5 bpm of the signal-file read (vector PDF) | 0.98 | ECG-Image-Database (PTB-XL and Emory renders) (odd record numbers (confidence model fitted on the even half)) · n=108 | 2026-10-16 |
| digitize | Heart rate within 5 bpm of the signal-file read (scanned paper) | 0.95 | ECG-Image-Database (PTB-XL (odd record numbers) · n=139 | 2026-10-16 |
| digitize | Heart rate within 5 bpm of the signal-file read (phone photo) | 0.9 | ECG-Image-Database (PTB-XL (odd record numbers) · n=170 | 2026-10-16 |
Pricing
| Endpoint | Unit | Price |
|---|---|---|
| ecg/12-lead/interpret | request | $0.02 |
| Draft report (opt-in, options.report) | per run | +$0.02 |
- One price per ECG.
- Rejected inputs (for example, no ECG in the upload, or a recording shorter than 7 seconds) and failed runs are not charged.
Changelog
- v1.0.0Oct 16, 2026major
- First MedRun build of the resting 12-lead ECG read from digital ECG files, PDF printouts, scans and photos.