Accepted for/Published in: Journal of Medical Internet Research
Date Submitted: Apr 7, 2024
Date Accepted: Oct 29, 2024
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Hospital Length of Stay Prediction for Planned Admissions Using Observational Medical Outcomes Partnership Common Data Model: Retrospective Study
ABSTRACT
Background:
Accurate prediction of hospital length of stay (LoS) is essential for efficient resource management. However, conventional LoS prediction models with limited covariates and non-standardized data tend to experience limited reproducibility and generalizability when applied to the general population.
Objective:
In this study, we aimed to develop and validate machine learning (ML)-based LoS prediction models for planned admissions using the Observational Medical Outcomes Partnership Common Data Model (OMOP CDM).
Methods:
Retrospective patient-level prediction models were developed using electronic health record (EHR) data converted to the OMOP CDM (version 5.3) from Seoul National University Bundang Hospital (SNUBH) in South Korea. The study included 137,437 hospital admission episodes that occurred between January 2016 and December 2020. Covariates from the patient, condition occurrence, medication, observation, measurement, procedure, and visit occurrence tables were included in the analysis. Lasso regularization was applied in logistic regression to perform feature selection. The primary outcome was an LoS of seven days or longer, and the secondary outcome was an LoS of 3 days or longer. The prediction models were developed using six ML algorithms, with the training and test set split in a 7:3 ratio. The performance of each model was evaluated based on the area under the receiver operating characteristic curve (AUROC) and the area under Precision-Recall curve (AUPRC). SHapley Additive exPlanations (SHAP) analysis was performed to measure feature importance, while calibration plots were used to assess the reliability of the prediction models. The developed models were externally validated at an independent institution, Seoul National University Hospital (SNUH).
Results:
A total of 129,938 patient entry events were included in the planned admissions. The XGB model achieved the best performance in binary classification for predicting an LoS of 7 days or longer, with an AUROC of 0.89 and an AUPRC of 0.82 on the internal test set. The LGB model performed the best in multi-classification for predicting an LoS of 3 days or more, with a mean AUROC of 0.83 and a macro-average AUPRC of 0.56. The most important features contributing to the models were the operation performed, frequency of previous outpatient visits, patient admission department, age, and day of week admission. The RF model showed robust performance in the external validation set, achieving an AUROC of 0.80.
Conclusions:
The use of the OMOP CDM in predicting hospital LoS for planned admissions not only demonstrates promising predictive capabilities for stays of varying durations but also underscores the advantage of standardized data in achieving reproducible results. This approach could serve as a model for enhancing operational efficiency and patient care coordination across healthcare settings.
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.