JOURNAL ARTICLE

Classification of Severe Maternal Morbidity from Electronic Health Records Written in Spanish Using Natural Language Processing

Abstract

One stepping stone for reducing the maternal mortality is to identify severe maternal morbidity (SMM) using Electronic Health Records (EHRs). We aim to develop a pipeline to represent and classify the unstructured text of maternal progress notes in eight classes according to the silver labels defined by the ICD-10 codes associated with SMM. We preprocessed the text, removing protected health information (PHI) and reducing stop words. We built different pipelines to classify the SMM by the combination of six word-embeddings schemes, three different approaches for the representation of the documents (average, clustering, and principal component analysis), and five well-known machine learning classifiers. Additionally, we implemented an algorithm for typos and misspelling adjustment based on the Levenshtein distance to the Spanish Billion Word Corpus dictionary. We analyzed 43,529 documents constructed by an average of 4.15 progress notes from 22,937 patients. The pipeline with the best performance was the one that included Word2Vec, typos and spelling adjustment, document representation by PCA, and an SVM classifier. We found that it is possible to identify conditions such as miscarriage complication or hypertensive disorders from clinical notes written in Spanish, with a true positive rate higher than 0.85. This is the first approach to classify SMM from the unstructured text contained in the maternal EHRs, which can contribute to the solution of one of the most important public health problems in the world. Future works must test other representation and classification approaches to detect the risk of SMM.

Keywords:
Spelling Computer science Artificial intelligence Health records Natural language processing Word2vec Cluster analysis Unique identifier Identifier Health care Linguistics

Metrics

7
Cited By
1.79
FWCI (Field Weighted Citation Impact)
43
Refs
0.84
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Maternal and fetal healthcare
Health Sciences →  Medicine →  Pediatrics, Perinatology and Child Health
Mental Health via Writing
Social Sciences →  Psychology →  Social Psychology

Related Documents

JOURNAL ARTICLE

Learning to Identify Severe Maternal Morbidity from Electronic Health Records

Cheng GaoSarah S. OsmundsonXiaowei YanDigna R. Velez EdwardsBradley MalinYou Chen

Journal:   Studies in health technology and informatics Year: 2019 Vol: 264 Pages: 143-147
JOURNAL ARTICLE

Natural language processing of admission notes predicts severe maternal morbidity

Mark A. ClappThomas H. McCoyEllen KimKaitlyn JamesRoy H. PerlisAnjali J. Kaimal

Journal:   American Journal of Obstetrics and Gynecology Year: 2021 Vol: 226 (1)Pages: S320-S320
JOURNAL ARTICLE

Extraction of Social Determinants of Health From Electronic Health Records Using Natural Language Processing

Z ChenPatricia LasserreAngela LinRasika Rajapakshe

Journal:   JCO Clinical Cancer Informatics Year: 2025 Vol: 9 (9)Pages: e2400317-e2400317
© 2026 ScienceGate Book Chapters — All rights reserved.