Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: Journal of Medical Internet Research

Date Submitted: Apr 7, 2024
Date Accepted: Oct 29, 2024

The final, peer-reviewed published version of this preprint can be found here:

Hospital Length of Stay Prediction for Planned Admissions Using Observational Medical Outcomes Partnership Common Data Model: Retrospective Study

Lee H, Kim S, Moon HW, Lee HY, Kim K, Jung SY, Yoo S

Hospital Length of Stay Prediction for Planned Admissions Using Observational Medical Outcomes Partnership Common Data Model: Retrospective Study

J Med Internet Res 2024;26:e59260

DOI: 10.2196/59260

PMID: 39576284

PMCID: 11624451

Hospital Length of Stay Prediction for Planned Admissions Using Observational Medical Outcomes Partnership Common Data Model: Retrospective Study

  • Haeun Lee; 
  • Seok Kim; 
  • Hui-Woun Moon; 
  • Ho-Young Lee; 
  • Kwangsoo Kim; 
  • Se Young Jung; 
  • Sooyoung Yoo

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

Please cite as:

Lee H, Kim S, Moon HW, Lee HY, Kim K, Jung SY, Yoo S

Hospital Length of Stay Prediction for Planned Admissions Using Observational Medical Outcomes Partnership Common Data Model: Retrospective Study

J Med Internet Res 2024;26:e59260

DOI: 10.2196/59260

PMID: 39576284

PMCID: 11624451

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© 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.