| Literature DB >> 31382409 |
Alfredo Madrid-García1, Judit Font-Urgelles1, Mario Vega-Barbas2, Leticia León-Mateos1, Dalifer Dayanira Freites1, Cristina Jesus Lajas1, Esperanza Pato1, Juan Angel Jover1, Benjamín Fernández-Gutiérrez1, Lydia Abásolo-Alcazar1, Luis Rodríguez-Rodríguez3.
Abstract
Our objective is to develop and validate a predictive model based on the random forest algorithm to estimate the readmission risk to an outpatient rheumatology clinic after discharge. We included patients from the Hospital Clínico San Carlos rheumatology outpatient clinic, from 1 April 2007 to 30 November 2016, and followed-up until 30 November 2017. Only readmissions between 2 and 12 months after the discharge were analyzed. Discharge episodes were chronologically split into training, validation, and test datasets. Clinical and demographic variables (diagnoses, treatments, quality of life (QoL), and comorbidities) were used as predictors. Models were developed in the training dataset, using a grid search approach, and performance was compared using the area under the receiver operating characteristic curve (AUC-ROC). A total of 18,662 discharge episodes were analyzed, out of which 2528 (13.5%) were followed by outpatient readmissions. Overall, 38,059 models were developed. AUC-ROC, sensitivity, and specificity of the reduced final model were 0.653, 0.385, and 0.794, respectively. The most important variables were related to follow-up duration, being prescribed with disease-modifying anti-rheumatic drugs and corticosteroids, being diagnosed with chronic polyarthritis, occupation, and QoL. We have developed a predictive model for outpatient readmission in a rheumatology setting. Identification of patients with higher risk can optimize the allocation of healthcare resources.Entities:
Keywords: musculoskeletal diseases; outpatient readmission; predictive model; quality of life; random forest
Year: 2019 PMID: 31382409 PMCID: PMC6723392 DOI: 10.3390/jcm8081156
Source DB: PubMed Journal: J Clin Med ISSN: 2077-0383 Impact factor: 4.241
Figure 1Flow chart of patients included in a study to develop a prediction model of outpatient readmission.
Figure 2Different tuning parameters and pathways of the developed models. Up to 61,380 different theoretical combinations exist. CP: Cumulative Proportion; PCA: Principal Component Analysis; SMOTE: Synthetic Minority Over-Sampling Technique
Figure 3Sensitivity and specificity for the “discharge status” variable based on the second cut-off point (in days).
Demographic and clinical-related characteristics at discharge of the patients included in the Hospital Clínico San Carlos musculoskeletal cohort, based on their readmission or not to the clinic. Only the six more prevalent diseases, treatments, and comorbidities were included in this table. Differences expressed as standardized mean differences.
| Variables | With Outpatient Readmission | Without Outpatient Readmission | Standardized Mean Difference |
|---|---|---|---|
| Women, | 1888 (74.68) | 11,266 (69.83) | 0.109 |
| Age at discharge, median (IQR) | 60.8 (48.8–74.2) | 56 (44.3–70) | 0.230 |
| Year at discharge, | - | - | 0.624 |
| 2007 | 4 (0.16) | 738 (4.57) | - |
| 2008 | 44 (1.74) | 1107 (6.86) | - |
| 2009 | 173 (6.84) | 907 (5.62) | - |
| 2010 | 204 (8.07) | 886 (5.49) | - |
| 2011 | 534 (21.12) | 1495 (9.27) | - |
| 2012 | 510 (20.17) | 1768 (10.96) | - |
| 2013 | 272 (10.76) | 2075 (12.86) | - |
| 2014 | 263 (10.40) | 2154 (13.35) | - |
| 2015 | 262 (10.36) | 2471 (15.32) | - |
| 2016 | 262 (10.36) | 2533 (15.7) | - |
| Number of visits until discharge, since first visit in clinic, median (IQR) | 2 (1–4) | 1 (1–2) | 0.530 |
| Follow-up days until discharge, since first visit in clinic, median (IQR) | 42 (0–468) | 0 (0–49) | 0.334 |
| Follow-up days until discharge, per discharge episode, median (IQR) | 0 (0–77) | 0 (0–18) | 0.223 |
| Number of days elapsed from discharge until readmission, median (IQR) | 136 (91–212) | - | - |
| Rosser Index, median (IQR) | 98.6 (98.6–99.5) | 98.6 (98.6–99.5) | 0.020 |
| Pain/Distress level, | - | - | 0.152 |
| None | 448 (17.67) | 3633 (22.52) | - |
| Low | 1656 (65.58) | 10,447 (64.75) | - |
| Moderate | 409 (16.16) | 1965 (12.18) | - |
| High | 15 (0.6) | 89 (0.55) | - |
| Disability level, n (%) | 0.252 | ||
| None | 911 (36.04) | 7714 (47.81) | - |
| Slight social | 1187 (46.95) | 5970 (37) | - |
| Severe social and slight physical | 276 (10.92) | 1499 (9.29) | - |
| Moderate decrease in mobility | 105 (4.15) | 551 (3.42) | - |
| Severe decrease in mobility | 38 (1.50) | 292 (1.81) | - |
| Almost dependent | 11 (0.44) | 103 (0.64) | - |
| In bed | - | 5 (0.03) | - |
| Occupation, n (%) | - | - | 0.193 |
| Active | 1248 (49.34) | 9213 (57.10) | - |
| Housework | 721 (28.53) | 3744 (23.21) | - |
| Retired | 527 (20.85) | 2777 (17.21) | - |
| Student | 32 (1.27) | 400 (2.48) | - |
| Diagnoses, n (%) | - | ||
| Back pain | 321 (12.70) | 2763 (17.13) | 0.122 |
| No diagnoses | 114 (4.51) | 1914 (11.86) | 0.211 |
| Osteoarthritis of knee | 310 (12.26) | 1666 (10.33) | 0.063 |
| Pain in joint | 144 (5.7) | 1876 (11.63) | 0.269 |
| Tendinitis lower extremities | 247 (9.77) | 1193 (7.39) | 0.087 |
| Tendinitis upper extremities | 478 (18.91) | 2622 (16.25) | 0.073 |
| Medication use, | - | - | - |
| Analgesic 1st level | 1,019 (40.31) | 5969 (37.00) | 0.069 |
| Analgesic 2nd and 3rd level | 302 (12.02) | 1391 (8.62) | 0.124 |
| Benzodiazepine | 165 (6.53) | 1188 (7.36) | 0.031 |
| Calcium and vitamin D | 350 (13.84) | 1002 (6.21) | 0.254 |
| Gastric protector | 463 (18.31) | 2083 (12.91) | 0.15 |
| NSAIDs | 828 (32.75) | 5158 (31.97) | 0.019 |
| Comorbidities, | - | - | - |
| Depression | 138 (5.46) | 805 (4.99) | 0.021 |
| Diabetes mellitus | 236 (9.34) | 1366 (8.47) | 0.031 |
| Dyslipidemia | 613 (24.25) | 3480 (21.57) | 0.064 |
| Hypertension | 715 (28.28) | 4162 (25.8) | 0.056 |
| Hypothyroidism | 155 (6.13) | 1006 (6.24) | 0.004 |
| Obesity | 81 (3.20) | 634 (3.93) | 0.039 |
NSAIDs: Nonsteroidal anti-inflammatory drugs.
Area under the receiver operating characteristic curve (AUC-ROC), sensitivity and specificity of the 10 selected outpatient readmission prediction models based on the AUC-ROC in the validation dataset, and of the reduced final model.
| Model | Ntree | Mtry | Mtry’ | Importance | Nº Pred | AUC-ROC | Sensitivity | Specificity | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TR | V | CV | TS | TR | V | CV | TS | TR | V | CV | TS | ||||||
| 1 | 100 | 30 | 8 | 1 | 329 | 0.744 | 0.668 | 0.731 | 0.662 | 0.561 | 0.480 | 0.535 | 0.440 | 0.791 | 0.743 | 0.790 | 0.758 |
| 2 | 100 | 20 | - | ALL | 403 | 0.739 | 0.668 | 0.734 | 0.668 | 0.536 | 0.469 | 0.523 | 0.416 | 0.799 | 0.766 | 0.801 | 0.783 |
| 3 | 1000 | 10 | - | ALL | 403 | 0.749 | 0.669 | 0.739 | 0.671 | 0.554 | 0.480 | 0.540 | 0.471 | 0.802 | 0.752 | 0.794 | 0.757 |
| 4 | 250 | 10 | - | ALL | 403 | 0.748 | 0.669 | 0.737 | 0.669 | 0.555 | 0.484 | 0.539 | 0.450 | 0.798 | 0.757 | 0.793 | 0.755 |
| 5 | 500 | 10 | - | ALL | 403 | 0.748 | 0.669 | 0.738 | 0.670 | 0.556 | 0.480 | 0.541 | 0.464 | 0.801 | 0.759 | 0.792 | 0.754 |
| 6 | 100 | 10 | 10 | 20 | 251 | 0.736 | 0.670 | 0.730 | 0.663 | 0.526 | 0.469 | 0.533 | 0.443 | 0.808 | 0.782 | 0.801 | 0.777 |
| 7 | 100 | 25 | 18 | 1 | 329 | 0.739 | 0.671 | 0.727 | 0.665 | 0.532 | 0.461 | 0.511 | 0.416 | 0.810 | 0.775 | 0.807 | 0.790 |
| 8 | 500 | 20 | - | ALL | 403 | 0.746 | 0.672 | 0.737 | 0.667 | 0.530 | 0.472 | 0.517 | 0.412 | 0.809 | 0.772 | 0.805 | 0.782 |
| 9 | 1000 | 20 | - | ALL | 403 | 0.747 | 0.672 | 0.737 | 0.667 | 0.532 | 0.472 | 0.520 | 0.416 | 0.809 | 0.768 | 0.805 | 0.783 |
| 10 | 250 | 20 | - | ALL | 403 | 0.746 | 0.673 | 0.736 | 0.667 | 0.534 | 0.472 | 0.523 | 0.419 | 0.806 | 0.767 | 0.802 | 0.784 |
| Reduced final model | 250 | 20 | - | - | 75 | - | - | 0.722 | 0.653 | - | - | 0.502 | 0.385 | - | - | 0.808 | 0.794 |
AUC-ROC: area under the receiver operating characteristic curve; CV: cross-validation; Nº Pred: number of predictors; TR: results from the train dataset; CV: cross-validated results from the training and validation datasets; V: validation dataset; TS: test dataset. Sampsize parameter was 50/50 for all models.
Figure 4Receiver operating characteristic curve plot of the reduced final model.
Mean relative variable importance (VIMP) of the predictors included in the reduced final outpatient readmission prediction model.
| Category | Predictor | rVIMP (%) | Prevalence/Mean in the “With Outpatient Readmission” Group |
|---|---|---|---|
| Demographic-related | Follow-up days until discharge since last discharge | 100 | Higher |
| Treatment-related | (D) Other DMARDs | 85.84 | Higher |
| Diagnoses-related | (182) Chronic polyarthritis | 58.75 | Higher |
| Treatment-related | (90) Corticosteroid | 40.61 | Higher |
| Demographic-related | (B) Occupation | 32.66 | Higher (house work, retired) |
| QoL-related | (182) Mean Rosser Index (c) | 32.48 | Lower |
| Diagnoses-related | (90) Osteoarthritis of hand | 32.32 | Lower |
| Comorbidity-related | (D) Other arrhythmias | 31.38 | Higher |
| Treatment-related | (D) Analgesic 2nd and 3rd level | 30.02 | Higher |
| Diagnoses-related | (182) Osteoporosis fracture | 29.05 | Higher |
| QoL-related | (182) Mean Disability Subscale (c) | 28.76 | Higher |
| Comorbidity-related | (D) Column surgery | 27.67 | Higher |
| Treatment-related | (D) Number of treatments | 27.08 | Higher |
| Diagnoses-related | (182) Generalized or Unspecified Osteoarthritis | 25.41 | Higher |
| Demographic-related | (B) Age | 24.69 | Higher |
| Comorbidity-related | (D) Axial neuropathy | 23.65 | Higher |
| Comorbidity-related | (D) Calcium antagonist | 23.56 | Higher |
| Diagnoses-related | (D) Back pain | 23.46 | Lower |
| Diagnoses-related | (D) Osteoarthritis of hip | 23.24 | Higher |
| Treatment-related | (B) NSAIDs | 22.57 | Lower |
| Comorbidity-related | (D) Antidepressant | 21.64 | Higher |
| Treatment-related | (D) Gabapentin | 21.11 | Higher |
| Comorbidity-related | (D) Hiatal hernia | 20.98 | Higher |
| Comorbidity-related | (D) Vitamins | 20.84 | Higher |
| Diagnoses-related | (D) Muscle disorders | 20.82 | Lower |
| Comorbidity-related | (D) Peripheral nervous system diseases | 20.33 | Higher |
| Treatment-related | (B) Gastric protector | 20.31 | Higher |
| Comorbidity-related | (D) Antiepileptics | 19.39 | Higher |
| Comorbidity-related | (D) Depression | 19.11 | Higher |
| QoL-related | (90) Mean Distress Subscale (c) | 19.1 | Higher |
| Diagnoses-related | (D) Spondyloarthropathies | 18.13 | Higher |
| Diagnoses-related | (D) No diagnoses | 17.98 | Lower |
| Treatment-related | (C) Analgesic 1st level | 17.59 | Higher |
| Diagnoses-related | (B) Neck pain | 17.47 | Lower |
| Treatment-related | (182) Colchicine | 16.18 | Higher |
| Comorbidity-related | (D) Other benign tumors | 15.96 | Higher |
| Comorbidity-related | (D) Anxiety | 15.83 | Lower |
| Comorbidity-related | (D) Calcium | 14.46 | Higher |
| Comorbidity-related | (D) Feet diseases | 14.46 | Higher |
| Diagnoses-related | (D) Number of diagnoses | 14.23 | Higher |
| Comorbidity-related | (D) Bisphosphonates | 13.66 | Higher |
| Comorbidity-related | (D) Bronchodilator | 13.63 | Higher |
| Comorbidity-related | (D) Cataract | 13.42 | Higher |
| Diagnoses-related | (182) Tendinitis upper extremities | 12.88 | Higher |
| Diagnoses-related | (182) Tendinitis | 12.62 | Lower |
| Comorbidity-related | (D) Kidney failure | 12.61 | Higher |
| Comorbidity-related | (D) Hand diseases | 12.17 | Higher |
| Diagnoses-related | (C) Other non-inflammatory diseases | 11.98 | Lower |
| Comorbidity-related | (D) Lowering uric acid drugs | 11.93 | Higher |
| Comorbidity-related | (D) Other endocrine diseases | 11.18 | Higher |
| Treatment-related | (182) NSAIDs hard | 11.03 | Higher |
| Comorbidity-related | (D) Allergy | 10.95 | Higher |
| Comorbidity-related | (D) Other ear diseases | 10.74 | Higher |
| Diagnoses-related | (B) Fibromyalgia | 10.25 | Higher |
| Diagnoses-related | (B) Pain in joint | 10.01 | Lower |
| Comorbidity-related | (D) Benzodiazepine | 9.81 | Lower |
| Comorbidity-related | (D) Other spine diseases | 9.59 | Higher |
| Comorbidity-related | (D) Knee arthrosis | 9.59 | Lower |
| Comorbidity-related | (D) Shoulder diseases | 7.94 | Higher |
| Comorbidity-related | (D) Urological surgery | 7.36 | Higher |
| Comorbidity-related | (D) Other virus infection | 7.32 | Higher |
| Comorbidity-related | (D) Symptomatic slow action drugs for osteoarthritis | 6.78 | Lower |
| Comorbidity-related | (D) Pregnancy | 3.34 | Lower |
| Comorbidity-related | (D) Other psychiatric conditions | 1.76 | Higher |
| Diagnoses-related | (182) Other connective tissue inflammatory diseases | 1.72 | Higher |
| Diagnoses-related | (D) Tendinitis lower extremities | 1.47 | Higher |
| Comorbidity-related | (D) Iron | 1.12 | Higher |
| Comorbidity-related | (D) Smoking habit | 0.89 | Lower |
| Diagnoses-related | (C) Crystal arthropathy | 0.15 | Higher |
| Demographic-related | Sex | −0.09 | Higher |
| Diagnoses-related | (C) Gout | −0.46 | Higher |
| Comorbidity-related | (D) Other dermatological diseases | −1.95 | Higher |
| Diagnoses-related | (90) Osteoarthritis of first carpometacarpal joints | −2.68 | Lower |
| Comorbidity-related | (D) Family history | −3.41 | Higher |
| Diagnoses-related | (182) Osteoporosis | −3.62 | Higher |
(B): presence at baseline; (C): presence at the first visit of the episode; (c): mean/median value considering the discharge observation; (D): presence at discharge; (90): presence of or mean/median value of all the observations registered in the last 90 day before discharge; (182): presence of or mean/median value of all the observations registered in the last 182 days before discharge; DMARDs: disease-modifying antirheumatic drugs; NSAIDs: nonsteroidal anti-inflammatory drugs; QoL: quality of life; rVIMP: relative variable importance.