to see how well you match this trial
The goal of this observational study is to predict who will have problems after the breathing tube is removed. Taking out the tube is called extubation, and having these problems is called extubation failure. Participants are adults in the intensive care unit (ICU) who use a breathing machine (ventilator). The main questions it aims to answer are: * How well can computer tools predict problems in the 7 days after the tube is removed? * Which information, such as age or blood tests, matters most for the prediction? Extubation failure means the participant needs the tube put back in, needs a surgical opening in the neck to help breathing, or dies. Researchers will use machine learning to build the computer tools. Machine learning is a type of artificial intelligence that finds patterns in data. Researchers will compare five types of machine learning to see which works best. They will build the tools with participants from Dr. Cipto Mangunkusumo National General Hospital in Jakarta. They will test the tools with participants from Universitas Indonesia Hospital in Depok. Participants get their usual care. Doctors do not use the tools to make treatment decisions. Researchers will: * Record health information about participants before the tube is removed * Follow participants for 7 days after the tube is removed
This is a prospective, multicenter, observational cohort study. Extubation and reintubation decisions are made by the attending anesthesiologists as part of routine care and are not informed by the models. The models will be developed only after data collection is complete. Data collection: Candidate predictors are chosen from previous studies and clinical relevance. They fall into four groups: patient characteristics, clinical condition, mechanical ventilation parameters, and laboratory results. Trained ICU staff and research assistants record them from bedside monitors, ventilator displays, paper and electronic medical records, and family interviews. Patient characteristics and severity scores (APACHE II and SAPS II) are recorded at ICU admission. Before extubation, ventilator parameters are taken within 4 hours, clinical condition within 24 hours, and laboratory results within 48 hours, using the measurement closest to extubation. Patients are followed for 7 days after planned extubation through bedside monitoring and review of medical records after transfer to the ward. Participants: Participants are enrolled when they receive invasive mechanical ventilation in the ICU, before it is known whether they will have a planned extubation. After enrollment, participants are excluded from the analysis if they die or have a tracheostomy without the breathing tube being removed; stay on a breathing machine for more than 2 weeks without the tube being removed; have an unplanned extubation (the tube was pulled out by the participant or by accident); are transferred to another hospital before extubation or within 7 days after; if they or their family decline further intensive care; or if more than 10% of the candidate predictors are missing. The number of participants enrolled is therefore larger than the number analyzed. Recruitment at the development site continues until the number of participants eligible for analysis reaches the target sample size. Data management: Data are recorded on paper case report forms, entered into an electronic database using study codes without names, medical record numbers, or dates of birth, and stored at the Big Data Center, Indonesia Medical Education and Research Institute (IMERI), Universitas Indonesia. Research assistants periodically check the data for completeness and implausible values. Values that are not measured are left blank during data collection and will be handled in the analysis. Sample size: The development cohort target was calculated to estimate sensitivity (80%, precision of 10 percentage points, 95% confidence), assuming a 10% extubation failure rate and 10% dropout. The external validation target was calculated to estimate the extubation failure rate with a 5 percentage point margin of error. The development sample is smaller than formal prediction model sample size criteria would require. The study is therefore exploratory, and the external validation is preliminary. Planned analysis: Five supervised machine learning algorithms will be developed: LightGBM, CatBoost, XGBoost, random forest, and support vector machine. The development cohort will be randomly split, stratified by outcome, into a training set (80%) and a test set (20%). Hyperparameters will be tuned using stratified 5-fold cross-validation within the training set, with AUROC as the optimization metric. The classification threshold will be determined within the training data by maximizing the F1-score using cross-validated predictions. Missing values will be imputed, and class imbalance will be handled using class weighting. Discrimination, calibration, classification performance, and clinical utility (decision curve analysis) will be assessed on the test set and on the external validation cohort, using the final models without modification. Predictor contributions will be assessed with SHAP values for the best-performing model and with permutation importance for all models. Reporting: This study follows the TRIPOD+AI reporting guideline (Transparent Reporting of a multivariable prediction model for Individual Prognosis Or Diagnosis, updated for artificial intelligence).
Adult ICU patients (≥18 years) on invasive mechanical ventilation via endotracheal tube at Dr. Cipto Mangunkusumo National General Hospital (RSCM), Jakarta, who underwent planned extubation. Enrolled from September 2024; recruitment is expected to be completed in January 2027. Pre-extubation predictors (patient characteristics, clinical condition, ventilator parameters, laboratory results) are recorded prospectively. Outcome: extubation failure, defined as reintubation, tracheostomy, or death from any cause within 7 days after planned extubation. Data are used to develop and internally validate machine learning models (LightGBM, CatBoost, XGBoost, random forest, SVM). No intervention is assigned; extubation follows routine care.
Adult ICU patients (≥18 years) on invasive mechanical ventilation via endotracheal tube at Universitas Indonesia Hospital (RS UI) who underwent planned extubation, using the same eligibility criteria, predictors, and 7-day outcome definition as the development cohort. Recruited during a period overlapping with the development cohort (February 2025-February 2026). Data are used only to externally validate the final models developed in the RSCM cohort, without modification. No intervention is assigned; extubation follows routine care.
This study has 2 locations