Accepted for/Published in: Journal of Medical Internet Research
Date Submitted: Jun 17, 2024
Date Accepted: Jul 10, 2025
Misleading Results in Posttraumatic Stress Disorder Predictive Models Using Electronic Health Record Data: Algorithm Validation Study
ABSTRACT
Background:
Electronic health record (EHR) data are increasingly used in predictive models of PTSD, but it is unknown how multivariable prediction of an EHR-based diagnosis might differ from prediction of a more rigorous diagnostic criterion.
Objective:
To compare predictive models using the same predictors to predict an EHR-based versus semi-structured interview-based PTSD diagnostic criterion.
Methods:
To examine this question, we compared performance of several machine learning models predicting EHR-based PTSD diagnosis to models predicting semi-structured interview-based diagnosis (SCID-5) in a nationwide sample of 1,343 U.S. veterans who completed SCID-5 interviews and had clinic visit data extracted from the Veterans Affairs (VA) EHR. All models used a nearly identical set of predictors.
Results:
Models predicting EHR-based PTSD performed very well (AUCs .85-.9, MCCs .58-.69), whereas those predicting interview-based PTSD performed only moderately well overall (AUCs .71-.76, MCCs .24-.28). Sensitivity analyses showed that participants’ frequency of VA visits played a role in these differences.
Conclusions:
Results suggest that predictive models of PTSD built using only EHR data are biased relative to models predicting diagnosis from more a rigorous structured clinical interview. Researchers building clinical prediction models should not assume that diagnosis in the EHR is a sufficient proxy for the true criterion of interest.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.