| Literature DB >> 31268542 |
Vincent Menger1,2, Marco Spruit1, Roel van Est3, Eline Nap3, Floor Scheepers2.
Abstract
Importance: Inpatient violence remains a significant problem despite existing risk assessment methods. The lack of robustness and the high degree of effort needed to use current methods might be mitigated by using routinely registered clinical notes. Objective: To develop and validate a multivariable prediction model for assessing inpatient violence risk based on machine learning techniques applied to clinical notes written in patients' electronic health records. Design, Setting, and Participants: This prognostic study used retrospective clinical notes registered in electronic health records during admission at 2 independent psychiatric health care institutions in the Netherlands. No exclusion criteria for individual patients were defined. At site 1, all adults admitted between January 2013 and August 2018 were included, and at site 2 all adults admitted to general psychiatric wards between June 2016 and August 2018 were included. Data were analyzed between September 2018 and February 2019. Main Outcomes and Measures: Predictive validity and generalizability of prognostic models measured using area under the curve (AUC).Entities:
Mesh:
Year: 2019 PMID: 31268542 PMCID: PMC6613290 DOI: 10.1001/jamanetworkopen.2019.6709
Source DB: PubMed Journal: JAMA Netw Open ISSN: 2574-3805
Descriptive Statistics of the Data Sets Obtained From the 2 Sites
| Characteristic | No. (%) | |
|---|---|---|
| Site 1 | Site 2 | |
| Demographic characteristics | ||
| Age, mean (SD), y | 34.0 (16.6) | 45.9 (16.6) |
| Men | 1536 (48.2) | 2097 (64.5) |
| Data set | ||
| Admissions, No. | 3189 | 3253 |
| Unique patients, No. | 2209 | 1919 |
| Length of stay, median (IQR), d | 16.0 (6.0-41.0) | 15.0 (5.0-40.5) |
| No. of words in notes, median (IQR) | 2091 (1541-2981) | 1961 (1160-3060) |
| Admissions with violent incidents | 290 (9.1) | 247 (7.7) |
| Incidents | ||
| During admission, No. | 962 | 652 |
| During first 4 wk | 658 (68.4) | 318 (48.8) |
| During first 24 h | 90 (9.4) | 42 (6.4) |
| Staff Observation Aggression Scale–Revised score, median (IQR) [range] | 12.0 (8.0-16.0) [2-21] | 11.0 (7.0-14.0) [2-19] |
| Anxiety disorder | 92 (2.9) | 63 (1.9) |
| Bipolar disorder | 65 (2.0) | 170 (5.2) |
| Delirium, dementia, amnesia, and other cognitive disorders | 20 (0.6) | 109 (3.4) |
| Depressive disorder | 106 (3.3) | 150 (4.6) |
| Developmental disorder | 180 (5.6) | 29 (0.9) |
| Eating disorder | 57 (1.8) | 10 (0.3) |
| Mood disorder | 580 (18.2) | 10 (0.3) |
| Personality disorder | 214 (6.7) | 116 (3.6) |
| Substance-related disorder | 99 (3.1) | 373 (11.5) |
| Schizophrenia or other psychotic disorder | 860 (27.0) | 685 (21.1) |
| None within 12 wk | 795 (24.9) | 1392 (42.8) |
| Other | 121 (3.8) | 146 (4.5) |
Abbreviation: IQR, interquartile range.
Percentage relative to the total number of admissions.
Predictive Validity of Prognostic Models in Both Sites and Both Internally and Externally Trained
| Evaluation | Internal Cross-validation | External Model | ||
|---|---|---|---|---|
| Site 1 | Site 2 | Site 1 | Site 2 | |
| Model evaluated in site | 1 | 2 | 1 | 2 |
| Model trained in site | 1 | 2 | 2 | 1 |
| AUC (95% CI) [SE] | 0.797 (0.771-0.822) [0.013] | 0.764 (0.732-0.797) [0.017] | 0.722 (0.690-0.753) [0.016] | 0.643 (0.610-0.675) [0.017] |
| Admissions, No. | 3189 | 3253 | 3189 | 3253 |
| Negative, No. (%) | ||||
| True | 2711 (85.0) | 2847 (87.5) | 2682 (84.1) | 2793 (85.9) |
| False | 193 (6.1) | 164 (5.0) | 218 (6.8) | 214 (6.6) |
| Positive, No. (%) | ||||
| True | 97 (3.0) | 83 (2.6) | 72 (2.3) | 33 (1.0) |
| False | 188 (5.9) | 159 (4.9) | 217 (6.8) | 213 (6.5) |
| Specificity (95% CI) | 0.935 (0.930-0.940) | 0.947 (0.943-0.951) | 0.925 (0.921-0.930) | 0.929 (0.926-0.933) |
| Sensitivity (95% CI) | 0.334 (0.287-0.383) | 0.336 (0.285-0.389) | 0.248 (0.205-0.296) | 0.134 (0.097-0.179) |
| Relative risk (95% CI) | 5.121 (4.109-6.330) | 6.297 (4.956-7.922) | 3.314 (2.581-4.214) | 1.885 (1.305-2.673) |
Abbreviation: AUC, area under the curve.
Figure. Receiver Operator Characteristic Curves for Internal Cross-validations
Receiver operator characteristic curves are shown for each fold, according to internal cross-validation in site 1 (A) and site 2 (B). Dashed diagonal lines denote an area under the curve (AUC) of 0.5, ie, predictive validity equivalent to chance. AUC indicates area under the curve.
Results of Exploratory Analysis
| Rank | Site 1 | Site 2 | ||||||
|---|---|---|---|---|---|---|---|---|
| Term (English Translation) | Ratio | MCC (95% CI) | Term (English Translation) | Ratio | MCC (95% CI) | |||
| 1 | Agressief (aggressive) | 1.00 | 0.17 (0.13 to 0.21) | <.001 | Verbaal (verbal) | 1.00 | 0.14 (0.10 to 0.18) | <.001 |
| 2 | Reageert (reacts) | 1.00 | 0.15 (0.11 to 0.19) | <.001 | Dreigend (threatening) | 1.00 | 0.13 (0.08 to 0.16) | <.001 |
| 3 | Aangeboden (offered) | 1.00 | 0.14 (0.11 to 0.18) | <.001 | Agressie (aggression) | 1.00 | 0.15 (0.11 to 0.17) | <.001 |
| 4 | Boos (angry) | 1.00 | 0.16 (0.12 to 0.19) | <.001 | Hierop ([up]on this) | 1.00 | 0.13 (0.09 to 0.16) | <.001 |
| 5 | Deur (door) | 1.00 | 0.14 (0.10 to 0.18) | <.001 | Kantoor (office) | 1.00 | 0.12 (0.08 to 0.16) | <.001 |
| 6 | Loopt (walks) | 1.00 | 0.15 (0.11 to 0.18) | <.001 | Personeel (staff) | 1.00 | 0.12 (0.07 to 0.16) | <.001 |
| 7 | Ibs (arrest) | 1.00 | 0.14 (0.10 to 0.17) | <.001 | Aangesproken (spoke to) | 1.00 | 0.11 (0.08 to 0.15) | <.001 |
| 8 | Aanbieden (offer) | 1.00 | 0.12 (0.08 to 0.15) | <.001 | Agressief (aggressive) | 0.99 | 0.11 (0.08 to 0.15) | <.001 |
| 9 | Noodmedicatie (emergency medication) | 0.99 | 0.14 (0.10 to 0.17) | <.001 | Gevaar agressie (danger aggression) | 0.99 | 0.11 (0.07 to 0.15) | <.001 |
| 10 | Liep (walked) | 0.99 | 0.12 (0.08 to 0.16) | <.001 | Agitatie (agitation) | 0.99 | 0.11 (0.07 to 0.14) | <.001 |
| 11 | Agressie (aggression) | 0.99 | 0.13 (0.09 to 0.18) | <.001 | Geirriteerd (irritated) | 0.99 | 0.10 (0.06 to 0.14) | .001 |
| 12 | Vraagt (asks) | 0.99 | 0.13 (0.10 to 0.17) | <.001 | Separeer (seclusion room) | 0.99 | 0.10 (0.06 to 0.15) | <.001 |
| 13 | Status vrijwillig (status voluntary) | 0.99 | −0.12 (−0.14 to −0.09) | <.001 | Loopt (walks) | 0.99 | 0.11 (0.08 to 0.14) | .02 |
| 14 | Psychotisch (psychotic) | 0.98 | 0.12 (0.09 to 0.16) | <.001 | Grond (ground) | 0.98 | 0.10 (0.06 to 0.14) | <.001 |
| 15 | Collega (colleague) | 0.98 | 0.11 (0.07 to 0.15) | <.001 | Aanvang (commencement) | 0.98 | 0.11 (0.08 to 0.14) | .01 |
| 16 | Spreekt (speaks) | 0.97 | 0.12 (0.08 to 0.15) | <.001 | Mede (also) | 0.98 | 0.10 (0.07 to 0.14) | .001 |
| 17 | Gehouden (obliged) | 0.97 | 0.11 (0.07 to 0.15) | <.001 | Dhr wilde (Mr wanted) | 0.98 | 0.10 (0.06 to 0.14) | .001 |
| 18 | Beoordelen (judge), verb | 0.96 | 0.11 (0.07 to 0.15) | <.001 | Liep (walked) | 0.98 | 0.10 (0.06 to 0.14) | .006 |
| 19 | Momenten (moments) | 0.96 | 0.12 (0.08 to 0.15) | <.001 | Geagiteerd (agitated) | 0.96 | 0.10 (0.06 to 0.14) | .01 |
| 20 | Somber (dejected) | 0.95 | −0.14 (−0.17 to −0.11) | <.001 | cvd (not available) | 0.96 | 0.10 (0.06 to 0.14) | .004 |
Abbreviation: MCC, Matthews correlation coefficient.
The top 20 terms with highest within–data set generalizability (ratio) are included.
The Van Dale Dutch–English Dictionary, 3rd edition,[30] was used for translations.
Matthews correlation coefficient is computed to assess the direction of association between the term and outcome.
P values derived from χ2 test, and a Holm-Bonferroni correction was applied to obtain corrected P values.