Machine Learning Estimation of Gestational Age at Delivery Using Linked Mother–Infant Electronic Health Records Across Two Health Systems

PURPOSE: This study aimed to develop and evaluate machine-learning models for estimating gestational age at delivery using EHR data from two health systems. METHODS: We trained random forest, gradient boosting, and ensemble models using EHR data from mother-infant dyads at Vanderbilt University Medical Center (VUMC) and independently reimplemented and retrained the modeling pipeline at the University of Michigan (UMich). We further analyzed EHR predictors of gestational age, assessed temporal drift in EHR data elements, and evaluated model performance stratified by gestational-age category at delivery. RESULTS: The study included pregnancies corresponding to 54 344 and 34 345 mother-infant dyads at VUMC (2005-2025) and UMich (2012-2024), respectively. The gestational age predictions of the ensemble models showed high agreement with the reference standard on the VUMC dataset (±1 week: 85.1%, ±2 weeks: 94.3%, MAE: 4.4 days). When the same modeling pipeline was independently implemented and retrained on the UMich dataset, the ensemble models achieved higher agreement with the reference standard (±1 week: 93.1%, ±2 weeks: 97.8%, MAE: 2.8 days). Further, performance was better among pregnancies delivered in more recent years, and among full- and late-term deliveries compared with preterm deliveries. DISCUSSION: The results indicate that supervised machine learning methods leveraging linked mother-infant EHRs can accurately estimate gestational age at delivery overall, although performance was substantially lower for preterm deliveries. Reproducibility of the modeling approach and portability of the analytic workflow were demonstrated across the two health systems. CONCLUSION: This study presents a robust machine learning framework to estimate gestational age at delivery, whose development process was reproducible across two health systems. The framework has the potential to support large-scale real-world maternal and neonatal health studies requiring retrospective estimation of gestational age.

Authors

Institutions

Publication Details

Journal
Pharmacoepidemiology and Drug Safety
Published
2026-10-29
DOI
https://doi.org/10.1002/pds.70516
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning Estimation of Gestational Age at Delivery Using Linked Mother–Infant Electronic Health Records Across Two Health Systems

Amelie Pham, Cosmin Adrian Bejan, Leena Choi, S. Trent Rosenbloom et al.
1 links
Pharmacoepidemiology and Drug Safety
Machine Learning in Healthcare
article

Machine Learning Estimation of Gestational Age at Delivery Using Linked Mother–Infant Electronic Health Records Across Two Health Systems

Amelie Pham, Cosmin Adrian Bejan, Leena Choi, S. Trent Rosenbloom, Elizabeth Jane Phillips, Abin Abraham, Lana X. Garmire, Layth Qassem, Xiaotong Yang
article en

Abstract

PURPOSE: This study aimed to develop and evaluate machine-learning models for estimating gestational age at delivery using EHR data from two health systems. METHODS: We trained random forest, gradient boosting, and ensemble models using EHR data from mother-infant dyads at Vanderbilt University Medical Center (VUMC) and independently reimplemented and retrained the modeling pipeline at the University of Michigan (UMich). We further analyzed EHR predictors of gestational age, assessed temporal drift in EHR data elements, and evaluated model performance stratified by gestational-age category at delivery. RESULTS: The study included pregnancies corresponding to 54 344 and 34 345 mother-infant dyads at VUMC (2005-2025) and UMich (2012-2024), respectively. The gestational age predictions of the ensemble models showed high agreement with the reference standard on the VUMC dataset (±1 week: 85.1%, ±2 weeks: 94.3%, MAE: 4.4 days). When the same modeling pipeline was independently implemented and retrained on the UMich dataset, the ensemble models achieved higher agreement with the reference standard (±1 week: 93.1%, ±2 weeks: 97.8%, MAE: 2.8 days). Further, performance was better among pregnancies delivered in more recent years, and among full- and late-term deliveries compared with preterm deliveries. DISCUSSION: The results indicate that supervised machine learning methods leveraging linked mother-infant EHRs can accurately estimate gestational age at delivery overall, although performance was substantially lower for preterm deliveries. Reproducibility of the modeling approach and portability of the analytic workflow were demonstrated across the two health systems. CONCLUSION: This study presents a robust machine learning framework to estimate gestational age at delivery, whose development process was reproducible across two health systems. The framework has the potential to support large-scale real-world maternal and neonatal health studies requiring retrospective estimation of gestational age.

Pharmacoepidemiology and Drug SafetyVol. 35(11)
Children's Hospital of Philadelphia (US), University of Michigan (US), Vanderbilt University Medical Center (US)
National Institutes of Health, NIH Office of the Director, National Institute of General Medical Sciences, U.S. National Library of Medicine, Eunice Kennedy Shriver National Institute of Child Health and Human Development
Good health and well-being
Openalex Percentile: Top 14%
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon