Standards, data, tools

electronic health recordEHR

电子健康记录

An electronic health record stores clinical information in digital form, including encounters, diagnoses, medications, test results, and narrative notes. It can bring together information from different stages and providers of care.

An imaging system typically holds the scans, while an electronic health record also holds orders, laboratory results, discharge summaries, and other information from care. A study can link an examination from a picture archiving and communication system to the corresponding encounter and link laboratory results available before imaging to outcomes determined later. Timestamps help distinguish information already available when a prediction would be made from outcomes documented afterward.

A missing test result may indicate that the test was never ordered. A diagnostic code may serve a billing or administrative purpose and differ from the judgment recorded in the narrative note. Research using these records benefits from documenting field meanings, recording times, and how missing values are handled.

Sources
  1. Johnson AEW, Pollard TJ, Shen L, et al. MIMIC-III, a Freely Accessible Critical Care Database. Sci Data, 2016. www.nature.com/articles/sdata201635.pdf
  2. Centers for Medicare & Medicaid Services. Electronic Health Records. www.cms.gov/priorities/key-initiatives/e-health/records

Key works · 6

Key2020Scientific Reports993 citations

BEHRT: Transformer for Electronic Health Records

Yikuan Li, Shishir Rao … Dexter Canoy

BEHRT encoded longitudinal diagnosis sequences together with age and visit order, then learned representations with a transformer. Using records from nearly 1.6 million individuals, the authors tested prediction of diagnoses on later visits and reported improvements in average precision over earlier deep models.

SignificanceBEHRT demonstrated a way to pretrain on structured visit histories, making temporal coding an explicit design choice. Med-BERT situated its approach alongside BEHRT and examined transfer of pretrained structured-record representations to particular disease outcomes and across data sources.

Key2021npj Digital Medicine1,441 citations

Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction

Laila Rasmy, Yang Xiang … Degui Zhi

Med-BERT adapted masked pretraining to structured diagnosis codes in electronic records of more than 28 million patients. The authors tested the effect of transferring these contextual representations to disease prediction tasks in two databases, reporting benefits when relatively few examples were available for fine-tuning.

SignificanceThe paper made transfer from large coded records to smaller cohorts a distinct experimental question. Its fine-tuning comparisons at different cohort sizes gave later structured-record studies a reference for measuring how much a pretrained representation helps when local training data are scarce.

Key2025Nature246 citations

Learning the natural history of human disease with generative transformers

Artem Shmatko, Alexander Wolfgang Jung … Moritz Gerstung

Delphi-2M adapted a generative transformer to model the sequence and timing of coded diagnoses. It was trained on records from approximately 400,000 UK Biobank participants and evaluated on 1.9 million Danish residents without updating its parameters. It estimated rates for more than 1,000 diseases conditional on a person’s recorded history.

SignificanceThe work extended structured-record modeling to time-dependent prediction of many competing disease events and used a national registry to test transfer between populations. The same model could sample possible future trajectories, giving researchers a way to explore patterns of disease burden over time.

Key2025NEJM AI320 citations

MedAgentBench: A Virtual EHR Environment to Benchmark Medical LLM Agents

Yixing Jiang, Kameron C. Black … Jonathan H. Chen

MedAgentBench provided a FHIR-compliant virtual electronic health record environment containing 100 patient profiles and 300 clinician-written tasks. Agents called standard application interfaces to obtain or update data, and the benchmark evaluated whether the results or record changes specified by each task were completed correctly.

SignificanceThe benchmark made agent performance measurable through outcomes in a virtual record system. The published follow-up, MedAgentBench v2, used this setting to examine how variations in agent and interface design affect task completion, providing a direct extension of the initial evaluation.

Notable2026npj Digital Medicine26 citations

ClinicRealm: Re-evaluating large language models with conventional machine learning for non-generative clinical prediction tasks

Yinghao Zhu, Junyi Gao … Lifang Liang

ClinicRealm compared 15 generative language models, five BERT-style models, and 11 conventional approaches on clinical prediction using notes and structured records. Model rankings varied by input and the amount of training data available, and zero-shot models were competitive in some data-scarce settings.

SignificanceThe benchmark made clinical prediction measurable independently of medical question answering, using conventional models and zero-shot methods as direct comparisons. Its separation of notes from structured records provided a reference for evaluating models under different input and training-data conditions.

Notable2026npj Digital Medicine2 citations

HealthFlow: automating electronic health record analysis via a strategically self-evolving multi-agent framework

Yinghao Zhu, Zixiang Wang … Haoran Hu

HealthFlow turned prior electronic health record analyses into structured examples for planning new analyses under methodological and dataset-specific constraints. The authors introduced EHRFlowBench and evaluated the framework on that benchmark and four others, comparing completion and validity of the artifacts produced.

SignificanceThe study evaluated EHR agents on workflow artifacts that require coherent planning and execution across several steps. Reproducible checks of those artifacts can expose methodological errors that would be invisible in a benchmark scored only by the final short answer.