Logo image
Predicting Patients Requiring Treatment for Depression in the Postpartum Period Using Common Electronic Medical Record Data Available Antepartum
Journal article   Open access   Peer reviewed

Predicting Patients Requiring Treatment for Depression in the Postpartum Period Using Common Electronic Medical Record Data Available Antepartum

Colin Wakefield and Martin G. Frasch
AJPM Focus, v 2(3), 100100
01 Sep 2023
PMID: 37790672
url
https://doi.org/10.1016/j.focus.2023.100100View
Published, Version of Record (VoR) Open

Abstract

Artificial intelligence health outcomes perinatal depression postpartum depression Preventive Medicine
Depression requiring treatment in the postpartum period significantly impacts maternal and neonatal health. Although preventive management of depression in pregnancy has been shown to decrease the negative impacts, current methods for identifying at-risk patients are insufficient. Given the complexity of the diagnosis and interplay of clinical/demographic factors, we tested whether machine learning techniques can accurately identify at-risk patients in the postpartum period. This is a retrospective cohort study of the NIH Nulliparous Pregnancy Outcomes Study: Monitoring Mothers-to-Be, which enrolled 10,038 nulliparous people. The primary outcome was depression in the postpartum period. We constructed and optimized 4 machine learning models using distributed random forest modeling and 1 logistic regression model on the basis of the NIH Nulliparous Pregnancy Outcomes Study: Monitoring Mothers-to-Be dataset. Model 1 utilized only readily obtainable sociodemographic data. Model 2 added maternal prepregnancy mental health data. Model 3 utilized recursive feature elimination to construct a parsimonious model. Model 4 further titrated the input data to simplify prepregnancy mental health variables. The logistic regression model used the same input data as Model 3 as a proof of concept. Of 8,454 births, 338 (4%) were complicated by depression in the postpartum period. Model 3 was the highest performing, showing the area under the receiver operating characteristics curve of 0.91 (±0.02). Models 1–3 identified the 9 variables most predictive of depression hierarchically, ranging from depression history (highest), history of mental health condition, recent psychiatric medication use, BMI, income, age, anxiety history, education, and preparedness for pregnancy (lowest). In Model 4, the area under the receiver operating characteristics curve remained at 0.79 (±0.05). Postpartum depression can be predicted with high accuracy for individual patients using antepartum information commonly found in electronic medical records. In addition, baseline mental health status and sociodemographic factors have a larger role in the postpartum period than previously understood. •Postpartum depression can be predicted using machine learning.•Predictors are from the prepartum and early antepartum periods and were easily obtainable.•Sociodemographic characteristics are predictive of postpartum depression.•Strong predictors are modifiable through social policy and counseling.•We share the open source R code to facilitate further study of the Nulliparous Pregnancy Outcomes Study: Monitoring Mothers-to-Be dataset.

Metrics

Details

UN Sustainable Development Goals (SDGs)

This publication has contributed to the advancement of the following goals:

#3 Good Health and Well-Being
#5 Gender Equality

Source: SDGs in the Output

InCites Highlights

Data related to this publication, from InCites Benchmarking & Analytics tool:

Collaboration types
Domestic collaboration
Web of Science research areas
Public, Environmental & Occupational Health
Logo image