<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id><journal-id journal-id-type="publisher-id">medinform</journal-id><journal-id journal-id-type="index">7</journal-id><journal-title>JMIR Medical Informatics</journal-title><abbrev-journal-title>JMIR Med Inform</abbrev-journal-title><issn pub-type="epub">2291-9694</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v13i1e63601</article-id><article-id pub-id-type="doi">10.2196/63601</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Predicting Agitation-Sedation Levels in Intensive Care Unit Patients: Development of an Ensemble Model</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Dai</surname><given-names>Pei-Yu</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Lin</surname><given-names>Pei-Yi</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Sheu</surname><given-names>Ruey-Kai</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Liu</surname><given-names>Shu-Fang</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wu</surname><given-names>Yu-Cheng</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff4">4</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Wu</surname><given-names>Chieh-Liang</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Chen</surname><given-names>Wei-Lin</given-names></name><degrees>BS</degrees><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Huang</surname><given-names>Chien-Chung</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff6">6</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Lin</surname><given-names>Guan-Yin</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Chen</surname><given-names>Lun-Chi</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff7">7</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Digital Medicine, Taichung Veterans General Hospital</institution><addr-line>Taichung</addr-line><country>Taiwan</country></aff><aff id="aff2"><institution>Department of Nursing, Taichung Veterans General Hospital</institution><addr-line>1650 Taiwan Boulevard Sect. 4</addr-line><addr-line>Taichung</addr-line><country>Taiwan</country></aff><aff id="aff3"><institution>Department of Computer Science, Tunghai University</institution><addr-line>Taichung</addr-line><country>Taiwan</country></aff><aff id="aff4"><institution>Department of Critical Care Medicine, Taichung Veterans General Hospital</institution><addr-line>No 1650, Section 4, Taiwan Boulevard</addr-line><addr-line>Xitan District, Taichung City</addr-line><country>Taiwan</country></aff><aff id="aff5"><institution>Department of Post-Baccalaureate Medicine, College of Medicine, National Chung Hsing University</institution><addr-line>Taichung</addr-line><country>Taiwan</country></aff><aff id="aff6"><institution>Computer &#x0026; Communications Center, Taichung Veterans General Hospital</institution><addr-line>Taichung</addr-line><country>Taiwan</country></aff><aff id="aff7"><institution>College of Engineering, Tunghai University</institution><addr-line>Taichung</addr-line><country>Taiwan</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Benis</surname><given-names>Arriel</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Maach</surname><given-names>Anas</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Ansari</surname><given-names>Khalid Al</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Wu</surname><given-names>Peng</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Chieh-Liang Wu, PhD, Department of Critical Care Medicine, Taichung Veterans General Hospital, No 1650, Section 4, Taiwan Boulevard, Xitan District, Taichung City, 407219, Taiwan, 886-04-23592525 #2002; <email>cljeff.wu@gmail.com</email></corresp></author-notes><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>26</day><month>2</month><year>2025</year></pub-date><volume>13</volume><elocation-id>e63601</elocation-id><history><date date-type="received"><day>25</day><month>06</month><year>2024</year></date><date date-type="rev-recd"><day>27</day><month>12</month><year>2024</year></date><date date-type="accepted"><day>29</day><month>01</month><year>2025</year></date></history><copyright-statement>&#x00A9; Pei-Yu Dai, Pei-Yi Lin, Ruey-Kai Sheu, Shu-Fang Liu, Yu-Cheng Wu, Chieh-Liang Wu, Wei-Lin Chen, Chien-Chung Huang, Guan-Yin Lin, Lun-Chi Chen. Originally published in JMIR Medical Informatics (<ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org">https://medinform.jmir.org</ext-link>), 26.2.2025. </copyright-statement><copyright-year>2025</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org/">https://medinform.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://medinform.jmir.org/2025/1/e63601"/><abstract><sec><title>Background</title><p>Agitation and sedation management is critical in intensive care as it affects patient safety. Traditional nursing assessments suffer from low frequency and subjectivity. Automating these assessments can boost intensive care unit (ICU) efficiency, treatment capacity, and patient safety.</p></sec><sec><title>Objectives</title><p>The aim of this study was to develop a machine-learning based assessment of agitation and sedation.</p></sec><sec sec-type="methods"><title>Methods</title><p>Using data from the Taichung Veterans General Hospital ICU database (2020), an ensemble learning model was developed for classifying the levels of agitation and sedation. Different ensemble learning model sequences were compared. In addition, an interpretable artificial intelligence approach, SHAP (Shapley additive explanations), was employed for explanatory analysis.</p></sec><sec sec-type="results"><title>Results</title><p>With 20 features and 121,303 data points, the random forest model achieved high area under the curve values across all models (sedation classification: 0.97; agitation classification: 0.88). The ensemble learning model enhanced agitation sensitivity (0.82) while maintaining high AUC values across all categories (all &#x003E;0.82). The model explanations aligned with clinical experience.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>This study proposes an ICU agitation-sedation assessment automation using machine learning, enhancing efficiency and safety. Ensemble learning improves agitation sensitivity while maintaining accuracy. Real-time monitoring and future digital integration have the potential for advancements in intensive care.</p></sec></abstract><kwd-group><kwd>intensive care units</kwd><kwd>ICU</kwd><kwd>agitation</kwd><kwd>sedation</kwd><kwd>ensemble learning</kwd><kwd>machine learning</kwd><kwd>ML</kwd><kwd>artificial intelligence</kwd><kwd>AI</kwd><kwd>patient safety</kwd><kwd>efficiency</kwd><kwd>automation</kwd><kwd>ICU care</kwd><kwd>ensemble model</kwd><kwd>learning model</kwd><kwd>explanatory analysis</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Patients admitted to intensive care units (ICUs) often experience various clinical problems, such as pain, agitation, and delirium. Agitation refers to physical restlessness due to treatment discomfort or delirium; this condition cannot be self-controlled [<xref ref-type="bibr" rid="ref1">1</xref>]. Agitation is common in patients in ICUs; most of these patients (71%) exhibit agitation on approximately 58% of their total inpatient days [<xref ref-type="bibr" rid="ref2">2</xref>-<xref ref-type="bibr" rid="ref4">4</xref>]. Agitation can lead to the accidental removal of tubes and catheters, compromising patient safety, extending ICU stays, and causing complications [<xref ref-type="bibr" rid="ref5">5</xref>]. Throughout the treatment period, nurses must regularly evaluate the levels of agitation and sedation and titrate the dosages of sedatives accordingly for patient care.</p><p>Various scales have been developed for measuring sedation effects. Among them, the Richmond Agitation-Sedation Scale (RASS) is the most reliable and effective [<xref ref-type="bibr" rid="ref6">6</xref>]. This scale was developed by a multidisciplinary team at Virginia Commonwealth University in Richmond. It employs a simple and clearly defined scoring system with distinct standards for measuring the levels of sedation and agitation. Agitation and sedation levels are represented by positive and negative scores, respectively. The RASS assessment is performed by nurses every few hours, which consumes their significant work time. Reducing the time required for RASS evaluations could increase ICU treatment capacity, thereby improving care quality and patient safety.</p><p>However, this scale has some disadvantages, such as low evaluation frequency and high subjectivity, due to variations in patient evaluation standards among medical personnel. Occasionally, nurses may have insufficient knowledge about delirium, which can increase the risk of incorrect evaluations by 20 times [<xref ref-type="bibr" rid="ref7">7</xref>]. Furthermore, errors in evaluation of patient conditions may result in excessive or insufficient sedation. These issues can be attributed to the subjectivity and uncertainties in the RASS evaluation process, which relies on patients&#x2019; audiovisual responses, making it is unsuitable for those with severe audiovisual impairment [<xref ref-type="bibr" rid="ref8">8</xref>]. The RASS facilitates intermittent measurement of agitation levels and assessment of patient behavior; however, unlike activity monitors, it cannot assist in the continuous monitoring of agitation levels [<xref ref-type="bibr" rid="ref9">9</xref>].</p><p>The study&#x2019;s aim was to develop an ensemble learning model for the continuous evaluation of agitation and sedation levels in patients admitted to ICUs. The model is expected to facilitate patient monitoring, provide early warnings about patient behavior, increase assessment frequency, and enable automatic evaluation of patient conditions with treatment suggestions. We believe that this novel design could improve the clinical monitoring of agitation and sedation levels in patients in ICUs, enhance the quality of medical care, and reduce the wastage of medical resources.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Setting</title><p>Taichung Veterans General Hospital (TCVGH) is a 1530-bed medical center in central Taiwan with 7 ICUs comprising a total of 138 beds. We obtained access to the critical care database (AI-111010) of the AI Center of TCVGH. The following data were collected: basic information, disease severity, ventilator use, blood biochemistry, vital signs, catheter types, and medication records.</p></sec><sec id="s2-2"><title>Research Framework</title><p>The study consisted of five major steps: (1) data collection in the ICU, (2) data preprocessing (data imputation and data sampling), (3) ensemble learning model construction, (4) final evaluation, and (5) implementation of explainable AI (<xref ref-type="fig" rid="figure1">Figure 1</xref>).</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Research framework consisted of 5 steps: (1) data collection in the ICU, (2) data preprocessing (data imputation, data sampling), (3) ensemble learning model construction, (4) final evaluation, (5) explainable AI. AI: artificial intelligence; RASS: Richmond Agitation&#x2013;Sedation scale; ROC: receiver operating characteristic; SHAP: Shapley additive explanations.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v13i1e63601_fig01.png"/></fig></sec><sec id="s2-3"><title>Data Preprocessing</title><sec id="s2-3-1"><title>Data Imputation</title><p>Basic information includes patients&#x2019; age. Predicting RASS in older patients is more challenging. Regarding disease severity, patients&#x2019; acute physiology and chronic health evaluation (APACHE II) scores may impact their predicted RASS scores [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. Missing data were imputed using average values.</p><p>In addition, the use of ventilators was considered. Ventilator modes were categorized into 3 conditions: no ventilator use, noninvasive ventilator use, and invasive ventilator use. Invasive ventilators may cause discomfort, indirectly affecting RASS scores [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref10">10</xref>-<xref ref-type="bibr" rid="ref12">12</xref>]. Furthermore, PAW (average airway pressure) values, a ventilator parameter, were estimated accordingly. For patients on ventilators, the average value from all ventilator-wearing patients was used to impute missing data, whereas patients without ventilators were assigned normal random values.</p><p>In the category of blood biochemistry, features such as creatinine, lactate, and glucose were included. These were directly associated with patients&#x2019; physiological conditions [<xref ref-type="bibr" rid="ref10">10</xref>]. Typically, blood tests were conducted weekly within a 7-day data window. When no blood test data were available within this timeframe, indicating stable patient condition, normal random values were used for imputation.</p><p>Vital signs, including blood pressure, pulse rate, and respiratory rate, were indirectly associated with changes in patients&#x2019; RASS scores [<xref ref-type="bibr" rid="ref13">13</xref>]. Since vital signs were densely and continuously monitored features, adjacent values were used to fill in missing data directly.</p><p>Medication records included the type and dosage of sedatives and analgesics administered to patients, such as benzodiazepine sedatives, muscle relaxants, opioid-related analgesics, antipsychotics, hypnotics, and anesthetics. These drugs can directly or indirectly influence patients&#x2019; consciousness levels and RASS score changes. Due to the varying recording methods for drug dosage across different types of medications, establishing a consistent standard was challenging. Therefore, in this study, the presence or absence of records indicating the use of muscle relaxants or sedative-hypnotics within the past 8 hours was used as a feature for RASS assessment.</p></sec><sec id="s2-3-2"><title>Data Sampling</title><p>To address severe data imbalance issues (oversedation: 43,199 cases, maintain range: 77,290 cases, agitation: 814 cases), this study employed data oversampling and undersampling techniques to enhance model learning effectiveness. In addition, discussions with clinical experts were conducted to determine the most suitable sampling approach.</p></sec></sec><sec id="s2-4"><title>Model Construction</title><p>Based on clinical care experience, this study proposed an ensemble learning model that integrates two submodels&#x2014;sedation and agitation&#x2014;to classify events into oversedation (RASS -5 to -2), maintain range (clinically expected maintenance RASS -1 to 1), and agitation (RASS 2 to 4).</p><p>First, the sedation and agitation models were constructed using 4 ML algorithms: logistic regression, random forest, XGBoost, and LightGBM. The algorithm with the best performance was selected as the foundation for both the sedation and agitation models. Subsequently, the two submodels were combined into 2 sequential ensemble learning models: the sedation-first ensemble model and the agitation-first ensemble model. In the sedation-first model, the sedation model was first used to distinguish &#x201C;oversedation&#x201D; from &#x201C;other,&#x201D; and the remaining categories were then input into the agitation model to further differentiate between &#x201C;maintain range&#x201D; and &#x201C;agitation.&#x201D; Conversely, in the agitation-first model, the agitation model was first applied to separate &#x201C;agitation&#x201D; from &#x201C;other,&#x201D; and the remaining categories were then passed into the sedation model to classify &#x201C;oversedation&#x201D; and &#x201C;maintain range.&#x201D; (<xref ref-type="fig" rid="figure2">Figure 2</xref>).</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Ensemble model construction consisted of 3 steps: (1) Choose a more suitable ML model, (2) Construct difference sequence ensemble learning model, (3) Classify patient into three categories. ML: machine learning</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v13i1e63601_fig02.png"/></fig></sec><sec id="s2-5"><title>Final Evaluation</title><p>We used confusion matrices and the receiver operating characteristic (ROC) curves as indicators to evaluate model accuracy, precision, recall, F1-score, and area under the curve. The ROC curves helped to compare sensitivity with specificity. Effective models exhibited high sensitivity and specificity, resulting in high area under the curve values.</p></sec><sec id="s2-6"><title>Explainable AI</title><p>Explainable Artificial Intelligence (XAI) was applied, making the ML system transparent. The top 20 features were selected, and Shapley additive explanations and partial dependence plots were used to visualize their contributions, aiding in understanding the model&#x2019;s decision-making process. Clinical personnel could use this information to offer patient-specific evaluations or decision-making suggestions.</p></sec><sec id="s2-7"><title>Statistics</title><p>This study used statistical methods, including mean (SD) and <italic>t</italic>-test, for numerical data analysis and observation. These methods were used to describe dataset central tendencies, assess variability, and compare group differences. Proportions of each category were also calculated for categorical data. They helped to extract meaningful information and interpret research results.</p></sec><sec id="s2-8"><title>Ethical Considerations</title><p>This study was approved by the TCVGH Institutional Review Board (CE22484A). Informed consent was obtained, with participants given the option to withdraw at any time. For secondary analyses, original consent covered data reuse without additional approval. Data were anonymized to protect privacy, and strict security measures were applied.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Data Collection</title><p>This study collected data from adult patients (aged&#x2265;20 years) admitted to the ICU at TCVGH between January 1 and December 31, 2020, with an ICU stay lasting more than 24 hours. Every 4-hour RASS assessment (with increased frequency depending on the patient&#x2019;s condition) was considered as a classification event, with events marked as not assessable excluded due to concurrent procedures. Since the average ICU stay did not exceed 30 days, events from ICU stays longer than 30 days were also excluded. A total of 121,306 events were collected, with an average of 108 events per patient (range: 6 to 186). The machine learning (ML) model was trained using data from the 8 hours prior to each event, including ventilator parameters, vital signs, and medication records, along with laboratory biochemical data from the previous week (<xref ref-type="fig" rid="figure3">Figure 3</xref>).</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Flowchart of subject enrollment. ICU: intensive care unit; RASS: Richmond Agitation&#x2013;sedation scale; TCVGH: Taichung Veterans General Hospital.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v13i1e63601_fig03.png"/></fig><sec id="s3-1-1"><title>Feature Selection</title><p>Based on the literature and clinical experience, the feature selection process in this study involved in-depth discussions with physicians and nurses. During this process, the missing rate of each feature was considered, and features with a missing rate exceeding 20% were excluded. Finally, 23 features were selected, and appropriate imputation methods were applied (<xref ref-type="table" rid="table1">Table 1</xref>). Categorical features (eg, ventilator modes and medications) were defined based on the presence of recorded events within the past 8 hours. Continuous features such as vital signs and ventilator parameters were calculated as the average values over the past 8 hours, while laboratory test features were based on the most recent record within the past week.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>All features used in model training, including their respective units, missing rates, and data imputation methods aligned with clinical requirements.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Projects and features</td><td align="left" valign="bottom">Unit</td><td align="left" valign="bottom">Missing rate (%)</td><td align="left" valign="bottom">Imputation method</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="4">Basic Information</td></tr><tr><td align="left" valign="top">&#x2003;Age</td><td align="left" valign="top">years</td><td align="char" char="." valign="top">0.0</td><td align="left" valign="top">None</td></tr><tr><td align="left" valign="top" colspan="4">Disease severity</td></tr><tr><td align="left" valign="top">&#x2003;APACHE<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup> II</td><td align="left" valign="top">score</td><td align="char" char="." valign="top">2.4</td><td align="left" valign="top">Average</td></tr><tr><td align="left" valign="top">Use of ventilator</td><td align="left" valign="top">&#x2014;<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">0.0</td><td align="left" valign="top">None</td></tr><tr><td align="left" valign="top">&#x2003;Ventilation Mode</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;&#x2003;No ventilation (0)</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;&#x2003;Noninvasive ventilation (1)</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;&#x2003;Invasive ventilation (2)</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Average airway pressure (Paw)</td><td align="left" valign="top">cmH<sub>2</sub>O</td><td align="left" valign="top">5.0</td><td align="left" valign="top">Average/Normal Range (Random)</td></tr><tr><td align="left" valign="top" colspan="3">Blood biochemical test data</td><td align="left" valign="top">Normal Range (Random)</td></tr><tr><td align="left" valign="top">&#x2003;BUN<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup></td><td align="left" valign="top">mg/dL</td><td align="left" valign="top">4.8</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Creatinine</td><td align="left" valign="top">mg/dL</td><td align="left" valign="top">2.0</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Glucose (One touch)</td><td align="left" valign="top">mg/dL</td><td align="left" valign="top">2.7</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Bicarbonate (HCO<sub>3</sub>)</td><td align="left" valign="top">mmol/L</td><td align="left" valign="top">11.8</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Hematocrit (Hct)</td><td align="left" valign="top">%</td><td align="left" valign="top">12.7</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Hemoglobin (Hgb)</td><td align="left" valign="top">g/dL</td><td align="left" valign="top">0.2</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Potassium (K)</td><td align="left" valign="top">mEq/L</td><td align="left" valign="top">0.2</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Lactate</td><td align="left" valign="top">mg/dl</td><td align="left" valign="top">17.3</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Phytohemagglutinin (PH_A)</td><td align="left" valign="top">value</td><td align="left" valign="top">12.7</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Sodium (Na)</td><td align="left" valign="top">mEq/L</td><td align="left" valign="top">12.7</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Platelets (PLT)</td><td align="left" valign="top">thou/mm&#x00B3;</td><td align="left" valign="top">0.2</td><td align="left" valign="top" rowspan="3"/></tr><tr><td align="left" valign="top">&#x2003;Partial pressure of oxygen (PO<sub>2</sub>)</td><td align="left" valign="top">mmHg</td><td align="left" valign="top">4.1</td></tr><tr><td align="left" valign="top">&#x2003;White blood cells (WBC)</td><td align="left" valign="top">thou/mm&#x00B3;</td><td align="left" valign="top">0.3</td></tr><tr><td align="left" valign="top" colspan="3">Vital signs</td><td align="left" valign="top">Pre and post values</td></tr><tr><td align="left" valign="top">&#x2003;Systolic blood pressure (SBP)</td><td align="left" valign="top">mmHg</td><td align="left" valign="top">0.1</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Diastolic blood pressure (DBP)</td><td align="left" valign="top">mmHg</td><td align="left" valign="top">0.1</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Respiratory rate (RR)</td><td align="left" valign="top">bpm</td><td align="left" valign="top">0.1</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Blood oxygen saturation (SPO<sub>2</sub>)</td><td align="left" valign="top">%</td><td align="left" valign="top">0.0</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Pulse</td><td align="left" valign="top">bpm</td><td align="left" valign="top">0.0</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top" colspan="2">Medication records</td><td align="left" valign="top">0.0</td><td align="left" valign="top">None</td></tr><tr><td align="left" valign="top">&#x2003;Medicine</td><td align="left" valign="top">&#x2014;</td><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;&#x2003;No (0)</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;&#x2003;Yes (1)</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>APACHE: acute physiology and chronic health evaluation.</p></fn><fn id="table1fn2"><p><sup>b</sup>Not applicable.</p></fn><fn id="table1fn3"><p><sup>c</sup>BUN: blood urea nitrogen.</p></fn></table-wrap-foot></table-wrap></sec></sec><sec id="s3-2"><title>Description of the Study Population</title><p>Statistical analysis indicated that nearly all features significantly affect the level of agitation-sedation. Patients with oversedation typically exhibited higher disease severity, lower blood oxygen levels, and a higher proportion of invasive ventilator use. In contrast, patients with agitation showed higher vital sign values and a greater proportion of sedative medication usage (<xref ref-type="table" rid="table2">Table 2</xref>).</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Statistical analysis of datasets used to train the two models. Proportion: Percentage of Population</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">Overall (N=121,303)</td><td align="left" valign="bottom">Oversedation<break/>(n=43,199)</td><td align="left" valign="bottom">Maintain range<break/>(n=77,290)</td><td align="left" valign="bottom">Agitation (n=814)</td><td align="left" valign="bottom"><italic>P</italic> value</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="6">Numerical features, mean (SD)</td></tr><tr><td align="left" valign="top">&#x2003;Age</td><td align="left" valign="top">67.5 (14.9)</td><td align="left" valign="top">68.21 (5.2)</td><td align="left" valign="top">67.2 (14.8)</td><td align="left" valign="top">66.1 (15.3)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;APACHE<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup> II</td><td align="left" valign="top">23.9 (7)</td><td align="left" valign="top">26.4 (6.6)</td><td align="left" valign="top">22.5 (6.8)</td><td align="left" valign="top">23.2 (6.2)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Average airway pressure (Paw)</td><td align="left" valign="top">22.0 (5.7)</td><td align="left" valign="top">23.6 (6.2)</td><td align="left" valign="top">21.1 (5.1)</td><td align="left" valign="top">21.3 (4.9)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;BUN<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></td><td align="left" valign="top">39.8 (30.6)</td><td align="left" valign="top">45.1 (33.7)</td><td align="left" valign="top">36.8 (28.4)</td><td align="left" valign="top">34.7 (26.7)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Creatinine</td><td align="left" valign="top">2.0 (2.2)</td><td align="left" valign="top">2.1 (2.2)</td><td align="left" valign="top">1.9 (2.2)</td><td align="left" valign="top">1.9 (2.2)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Glucose (One touch)</td><td align="left" valign="top">168.8 (49.4)</td><td align="left" valign="top">175.5 (53.1)</td><td align="left" valign="top">165.2 (46.8)</td><td align="left" valign="top">162.9 (46.9)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Bicarbonate (HCO<sub>3</sub>)</td><td align="left" valign="top">24.1 (4.7)</td><td align="left" valign="top">23.4 (5.1)</td><td align="left" valign="top">24.5 (4.4)</td><td align="left" valign="top">24.8 (4.7)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Hematocrit (Hct)</td><td align="left" valign="top">30.9 (7.1)</td><td align="left" valign="top">30.9 (7.6)</td><td align="left" valign="top">30.9 (6.8)</td><td align="left" valign="top">32.2 (7)</td><td align="left" valign="top">.14</td></tr><tr><td align="left" valign="top">&#x2003;Hemoglobin (Hgb)</td><td align="left" valign="top">9.7 (1.9)</td><td align="left" valign="top">9.6 (2)</td><td align="left" valign="top">9.8 (1.8)</td><td align="left" valign="top">10.1 (1.9)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Potassium (K)</td><td align="left" valign="top">3.9 (0.6)</td><td align="left" valign="top">4.0 (0.6)</td><td align="left" valign="top">3.9 (0.5)</td><td align="left" valign="top">3.9 (0.6)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Lactate</td><td align="left" valign="top">17.7 (16.6)</td><td align="left" valign="top">22.4 (21.4)</td><td align="left" valign="top">15.1 (12.4)</td><td align="left" valign="top">18.0 (20.4)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Phytohemagglutinin (PH_A)</td><td align="left" valign="top">7.4 (0.1)</td><td align="left" valign="top">7.4 (0.1)</td><td align="left" valign="top">7.4 (0.1)</td><td align="left" valign="top">7.4 (0.1)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Sodium (NA)</td><td align="left" valign="top">140.3 (6.5)</td><td align="left" valign="top">141.0 (6.9)</td><td align="left" valign="top">139.9 (6.2)</td><td align="left" valign="top">141.4 (6.4)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Platelets (PLT)</td><td align="left" valign="top">187.8 (114.5)</td><td align="left" valign="top">175.3 (108.2)</td><td align="left" valign="top">194.7 (117.3)</td><td align="left" valign="top">201.1 (115.5)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Partial pressure of oxygen (PO<sub>2</sub>)</td><td align="left" valign="top">124.2 (50.2)</td><td align="left" valign="top">120.4 (49.6)</td><td align="left" valign="top">126.3 (50.4)</td><td align="left" valign="top">121.5 (53.7)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;White blood cells (WBC)</td><td align="left" valign="top">12394.1 (12277)</td><td align="left" valign="top">13764.4 (15679.1)</td><td align="left" valign="top">11636.5 (9854)</td><td align="left" valign="top">11601.5 (6364.6)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Systolic blood pressure (SBP)</td><td align="left" valign="top">123.2 (19.4)</td><td align="left" valign="top">119.5 (19.7)</td><td align="left" valign="top">125.2 (18.9)</td><td align="left" valign="top">126.2 (18.5)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Diastolic blood pressure (DBP)</td><td align="left" valign="top">70.1 (12.7)</td><td align="left" valign="top">67.4 (13)</td><td align="left" valign="top">71.6 (12.2)</td><td align="left" valign="top">73.7 (11.8)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Respiratory rate (RR)</td><td align="left" valign="top">18.8 (4.2)</td><td align="left" valign="top">19.7 (4.9)</td><td align="left" valign="top">18.2 (3.7)</td><td align="left" valign="top">19.1 (3.9)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;SPO<sub>2</sub></td><td align="left" valign="top">97.2 (7.2)</td><td align="left" valign="top">95.9 (10.9)</td><td align="left" valign="top">97.9 (3.7)</td><td align="left" valign="top">97.2 4)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Pulse</td><td align="left" valign="top">88.7 (17.8)</td><td align="left" valign="top">90.4 (19.3)</td><td align="left" valign="top">87.7 (16.8)</td><td align="left" valign="top">93.2 (18.5)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top" colspan="4">Categorical features, n (%)</td><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Medicine (Yes)</td><td align="left" valign="top">26,787 (22%)</td><td align="left" valign="top">8,601 (20%)</td><td align="left" valign="top">17,658 (23%)</td><td align="left" valign="top">528 (65%)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Invasive ventilation</td><td align="left" valign="top">92,257 (76%)</td><td align="left" valign="top">40,168 (93%)</td><td align="left" valign="top">51,505 (67%)</td><td align="left" valign="top">584 (72%)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;Noninvasive ventilation</td><td align="left" valign="top">5937 (5%)</td><td align="left" valign="top">587 (1%)</td><td align="left" valign="top">5295 (7%)</td><td align="left" valign="top">55 (7%)</td><td align="left" valign="top">&#x003C;.001</td></tr><tr><td align="left" valign="top">&#x2003;No ventilation</td><td align="left" valign="top">23,109 (19%)</td><td align="left" valign="top">2444 (6%)</td><td align="left" valign="top">20,490 (26%)</td><td align="left" valign="top">175 (21%)</td><td align="left" valign="top">&#x003C;.001</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>APACHE: acute physiology and chronic health evaluation.</p></fn><fn id="table2fn2"><p><sup>b</sup>BUN: blood urea nitrogen.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-3"><title>Model Development and Validation</title><sec id="s3-3-1"><title>Data Sampling of Agitation Classification</title><p>Given the significant class imbalance observed (<xref ref-type="table" rid="table2">Table 2</xref>), we explored various data sampling methods to enhance the model&#x2019;s sensitivity (recall) for detecting agitated patients. Among these methods, the undersampling approach demonstrated the most notable performance, achieving a sensitivity of 0.82 (<xref ref-type="table" rid="table3">Table 3</xref>). Consequently, we selected the undersampling method as the data processing strategy.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Random forest model performance of different sampling methods for agitation category patients.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Classification</td><td align="left" valign="bottom">Sampling method (number of patients)</td><td align="left" valign="bottom">Precision</td><td align="left" valign="bottom">Recall</td><td align="left" valign="bottom">F1 score</td></tr></thead><tbody><tr><td align="left" valign="top">Agitation Model</td><td align="left" valign="top">Non (n=77288, 814)</td><td align="left" valign="top">0.81</td><td align="left" valign="top">0.26</td><td align="left" valign="top">0.39</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Undersampling (n=642,642)</td><td align="left" valign="top">0.03</td><td align="left" valign="top">0.82</td><td align="left" valign="top">0.06</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">SMOTE<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup> (n=61834, 61834)</td><td align="left" valign="top">0.28</td><td align="left" valign="top">0.24</td><td align="left" valign="top">0.26</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>SMOTE: synthetic minority oversampling technique</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-3-2"><title>Performance Comparison of Two Submodels in ML Models</title><p>The results of the confusion matrices and ROC curves for the 4 ML models (as shown in <xref ref-type="table" rid="table4">Table 4</xref>) indicate that the random forest model outperformed the others in both the sedation prediction (accuracy: 0.92, AUC: 0.96) and agitation prediction (accuracy: 0.80, AUC: 0.88). Additionally, the random forest model exhibited superior sensitivity (recall) for detecting agitated patients. Consequently, we selected the random forest model as the foundation for constructing various ensemble learning frameworks to facilitate further analysis and applications.</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Four different ML models performance comparison of sedation classification and agitation classification.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Classification and models</td><td align="left" valign="bottom">Accuracy</td><td align="left" valign="bottom">Precision</td><td align="left" valign="bottom">Recall</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="bottom">Cross-validation Avg-ACC<sup><xref ref-type="table-fn" rid="table4fn2">b</xref></sup> (kfold=10)</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="6">Sedation</td></tr><tr><td align="left" valign="top">&#x2003;Logistic regression</td><td align="left" valign="top">0.72</td><td align="left" valign="top">0.71</td><td align="left" valign="top">0.65</td><td align="left" valign="top">0.71</td><td align="left" valign="top">0.71</td></tr><tr><td align="left" valign="top">&#x2003;Random forest</td><td align="left" valign="top">0.92</td><td align="left" valign="top">0.91</td><td align="left" valign="top">0.91</td><td align="left" valign="top">0.96</td><td align="left" valign="top">0.92</td></tr><tr><td align="left" valign="top">&#x2003;XGBoost<sup><xref ref-type="table-fn" rid="table4fn3">c</xref></sup></td><td align="left" valign="top">0.92</td><td align="left" valign="top">0.91</td><td align="left" valign="top">0.91</td><td align="left" valign="top">0.94</td><td align="left" valign="top">0.90</td></tr><tr><td align="left" valign="top">&#x2003;LGBM<sup><xref ref-type="table-fn" rid="table4fn4">d</xref></sup></td><td align="left" valign="top">0.83</td><td align="left" valign="top">0.81</td><td align="left" valign="top">0.83</td><td align="left" valign="top">0.90</td><td align="left" valign="top">0.84</td></tr><tr><td align="left" valign="top" colspan="6">Agitation</td></tr><tr><td align="left" valign="top">&#x2003;Logistic regression</td><td align="left" valign="top">0.64</td><td align="left" valign="top">0.51</td><td align="left" valign="top">0.61</td><td align="left" valign="top">0.72</td><td align="left" valign="top">0.66</td></tr><tr><td align="left" valign="top">&#x2003;Random forest</td><td align="left" valign="top">0.80</td><td align="left" valign="top">0.03</td><td align="left" valign="top">0.82</td><td align="left" valign="top">0.88</td><td align="left" valign="top">0.77</td></tr><tr><td align="left" valign="top">&#x2003;XGBoost</td><td align="left" valign="top">0.76</td><td align="left" valign="top">0.51</td><td align="left" valign="top">0.76</td><td align="left" valign="top">0.84</td><td align="left" valign="top">0.73</td></tr><tr><td align="left" valign="top">&#x2003;LGBM</td><td align="left" valign="top">0.75</td><td align="left" valign="top">0.51</td><td align="left" valign="top">0.77</td><td align="left" valign="top">0.85</td><td align="left" valign="top">0.75</td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup>AUC: area under the curve.</p></fn><fn id="table4fn2"><p><sup>b</sup>ACC: accuracy.</p></fn><fn id="table4fn3"><p><sup>c</sup>XGBoost: extreme gradient boosting.</p></fn><fn id="table4fn4"><p><sup>d</sup>LGBM: light gradient-boosting machine.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-3-3"><title>Ensemble Learning Model Performance Comparison</title><p>The performance results of different sequences of ensemble learning models indicate that prioritizing the identification of agitated patients is more effective in improving sensitivity (recall: 0.82) compared to strategies that first identify oversedated patients. Furthermore, the AUC for all 3 states remained above 0.82 (as shown in <xref ref-type="table" rid="table5">Table 5</xref>. Given the higher immediate risk associated with agitated patients, the agitation-first ensemble model was selected as the most suitable approach.</p><table-wrap id="t5" position="float"><label>Table 5.</label><caption><p>Comparison of performance in classifying the three categories among ensemble learning models with different sequences.</p></caption><table id="table5" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Classification sequence and categories</td><td align="left" valign="bottom">Accuracy</td><td align="left" valign="bottom">Precision</td><td align="left" valign="bottom">Recall</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table5fn1">a</xref></sup></td></tr></thead><tbody><tr><td align="left" valign="top">Sedation-first ensemble model</td><td align="char" char="." valign="top">0.79</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Oversedation</td><td align="left" valign="top"/><td align="left" valign="top">0.91</td><td align="left" valign="top">0.84</td><td align="left" valign="top">0.90</td></tr><tr><td align="left" valign="top">&#x2003;Maintain range</td><td align="left" valign="top"/><td align="left" valign="top">0.92</td><td align="left" valign="top">0.84</td><td align="left" valign="top">0.82</td></tr><tr><td align="left" valign="top">&#x2003;Agitation</td><td align="left" valign="top"/><td align="left" valign="top">0.03</td><td align="left" valign="top">0.76</td><td align="left" valign="top">0.81</td></tr><tr><td align="left" valign="top">Agitation-first ensemble model</td><td align="char" char="." valign="top">0.75</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Oversedation</td><td align="left" valign="top"/><td align="left" valign="top">0.92</td><td align="left" valign="top">0.73</td><td align="left" valign="top">0.85</td></tr><tr><td align="left" valign="top">&#x2003;Maintain range</td><td align="left" valign="top"/><td align="left" valign="top">0.92</td><td align="left" valign="top">0.76</td><td align="left" valign="top">0.82</td></tr><tr><td align="left" valign="top">&#x2003;Agitation</td><td align="left" valign="top"/><td align="left" valign="top">0.03</td><td align="left" valign="top">0.82</td><td align="left" valign="top">0.82</td></tr></tbody></table><table-wrap-foot><fn id="table5fn1"><p><sup>a</sup>AUC: area under the curve.</p></fn></table-wrap-foot></table-wrap></sec></sec><sec id="s3-4"><title>Explainable AI (XAI)</title><p>The top 4 features that contribute the most to sedation classification are the use of an invasive ventilator (invasive ventilation), APACHE II score, lactate level (LACTATE), and average airway pressure (PAW). A high APACHE II score indicates a high likelihood of oversedation (<xref ref-type="fig" rid="figure4">Figure 4A</xref>). The dependency graph of the first 4 features represents how each feature affects the classification results. In most cases, an APACHE II score&#x003E;29 was positively associated with oversedation (<xref ref-type="fig" rid="figure4">Figure 4B</xref>).</p><p>Patients who used sedatives were more likely to experience agitation. Patients with a high hemoglobin level were more likely to experience agitation. The dependence plots of the top 4 features indicated that sedative use was positively correlated with agitation. Hemoglobin levels &#x003E;10 g/dL and&#x2264;10 g/dL were positively correlated with agitation and maintained sedation range, respectively (<xref ref-type="fig" rid="figure5">Figure 5</xref>).</p><p>Overall, patients on mechanical ventilation were mostly sedated, with those in the maintain range exhibiting more stable blood test results and vital signs compared to oversedated or agitated patients.</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>The explanations of features contribution to sedation classification. (A) The attributes of the features in the model. Each line represents a feature, and the abscissa is the SHAP value. Red dots represent higher feature values, and blue dots represent lower feature values. (B) SHAP dependence plot for the top 4 clinical features contributing to the model. APACHE: acute physiology and chronic health evaluation; Paw: average airway pressure.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v13i1e63601_fig04.png"/></fig><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>The explanations of features contribution to agitation classification. (A) The attributes of the features in the model. Each line represents a feature, and the abscissa is the SHAP value. Red dots represent higher feature values, and blue dots represent lower feature values. (B) SHAP dependence plot for the top 4 clinical features contributing to the model. HCT: hematocrit; Hgb: hemoglobin; SpO<sub>2</sub>: blood oxygen saturation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v13i1e63601_fig05.png"/></fig></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal findings</title><p>This study successfully developed a model for automating RASS-like agitation-sedation evaluation. Automated agitation-sedation evaluation could be an alternative to RASS and play a crucial role in enhancing ICU efficiency, ultimately improving health care outcomes, care quality, and patient safety.</p><p>Machine learning aids ICU personnel in the early detection of high-risk events [<xref ref-type="bibr" rid="ref14">14</xref>]. Previous studies have used ML to predict mortality rates in ICU patients with acute kidney injury, predict postoperative sepsis mortality rates, and forecast extubation failure in the ICU [<xref ref-type="bibr" rid="ref15">15</xref>-<xref ref-type="bibr" rid="ref17">17</xref>]. However, studies on ML for agitation-sedation evaluation in ICU patients are limited.</p><p>Zhang et al [<xref ref-type="bibr" rid="ref18">18</xref>] ensemble 4 machine-learning methods for predicting agitation in ventilated patients under light sedation for 24 hours. However, their ensemble model was limited to predicting agitation in patients with invasive ventilator support under light sedation for 24 hours. Other researchers have proposed using patient body and facial image monitoring for agitation detection [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref20">20</xref>]. However, image monitoring faces challenges such as data acquisition, clinical environment influences, workflow integration, and system installation. Therefore, in addition to the imaging model developed by our research team [<xref ref-type="bibr" rid="ref21">21</xref>], we have created another model using commonly available feature data in most hospitals, serving as an alternative solution when image monitoring is not feasible.</p><p>The study employs 2 ML models for ensemble learning to automate RASS assessment. By using undersampling and adjusting the classification sequence, the sensitivity for detecting agitation is enhanced. Although models with higher sensitivity may reduce the accuracy of classifying over-sedated patients, they perform better in mitigating immediate risks. Traditional methods, which involve manual assessments every 4 hours, result in insufficient monitoring, especially for patients who may experience multiple episodes of agitation within a short period. In contrast, our health care information system can transmit data in real time, perform inference every hour, and adjust inference frequency based on clinical needs, enabling more intensive monitoring. This allows clinicians to track patient conditions and respond promptly to changes continuously.</p><p>Understanding algorithmic predictions is crucial in clinical practice. Due to the lack of explanations in the decision-making process, clinicians often distrust black-box models. Explainable artificial intelligence enhances transparency, aiding in the development of reliable decision models [<xref ref-type="bibr" rid="ref22">22</xref>-<xref ref-type="bibr" rid="ref24">24</xref>]. Continuous analgesics and sedatives ensure optimal gas exchange between patients and ventilators, making deep sedation important during this period [<xref ref-type="bibr" rid="ref25">25</xref>]. For patients with stable parameters such as hemoglobin, hematocrit, blood oxygen saturation, and creatinine, the goal is maintaining light sedation (RASS score 0 to &#x2212;2) [<xref ref-type="bibr" rid="ref26">26</xref>]. It has been demonstrated that the interpretability of the model aligns with clinical experience.</p><p>This study acknowledges its limitations, particularly the imbalance in case numbers due to the high risk of agitation in patients. Especially for agitated individuals, the model&#x2019;s precision of 0.03 suggests there is room for improvement. In future clinical applications, we plan to adjust the decision threshold based on specific needs to balance sensitivity and specificity and reduce false positives. Additionally, the study lacks observations of potential drug overdoses at different sedation levels. Future efforts will focus on integrating this model with digital imaging monitoring and a comprehensive drug dosage system. Real-time monitoring will help identify patient conditions, guide prescription adjustments, and accelerate recovery, ultimately supporting early intervention, ensuring patient safety, and improving the quality of intensive care.</p></sec><sec id="s4-2"><title>Conclusions</title><p>This study proposes using ML technology to achieve automated RASS-based assessments in ICU settings, enhancing clinical efficiency, and patient safety. Our integrated learning model, combined with the hospital information system, enables real-time data transmission, supports intensive monitoring, and facilitates continuous tracking of patient conditions. The system automatically categorizes patients into three groups, significantly improving sensitivity in detecting agitation categories. This innovative approach not only alleviates the workload of health care professionals but also advances the precision and intelligence of critical care management.</p></sec></sec></body><back><ack><p>This study was supported by Taichung Veterans General Hospital (TCVGH-1114404C) and the National Science and Technology Council ( 112-2634-F-A49-003-1,NSTC 113-2634-F-A49-003-1). The funders had no role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.</p></ack><notes><sec><title>Data Availability</title><p>All data generated or analyzed during this study are included in this published article.</p></sec></notes><fn-group><fn fn-type="con"><p>Conceptualization: PD</p><p>Data Curation: PD</p><p>Formal Analysis: PD</p><p>Investigation: YW</p><p>Methodology: YW</p><p>Supervision: RS, CW</p><p>Validation: RS, CW, SL, PL</p><p>Writing &#x2013; Original Draft: PD, YW</p><p>Writing &#x2013; Review &#x0026; Editing: PL, WC, GL, CH, LC</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">APACHE</term><def><p>acute physiology and chronic health evaluation</p></def></def-item><def-item><term id="abb2">AUC</term><def><p> area under the curve</p></def></def-item><def-item><term id="abb3">ICU</term><def><p>intensive care unit</p></def></def-item><def-item><term id="abb4">ML</term><def><p> machine learning</p></def></def-item><def-item><term id="abb5">RASS</term><def><p>Richmond Agitation-Sedation Scale</p></def></def-item><def-item><term id="abb6">ROC</term><def><p>Receiver Operating Characteristic</p></def></def-item><def-item><term id="abb7">TCVGH</term><def><p>Taichung Veterans General Hospital</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jacobi</surname><given-names>J</given-names> </name><name name-style="western"><surname>Fraser</surname><given-names>GL</given-names> </name><name name-style="western"><surname>Coursin</surname><given-names>DB</given-names> </name><collab>Task force of the American College of Critical Care Medicine (ACCM) of the Society of Critical Care Medicine (SCCM)</collab><collab>American Society of Health-System Pharmacists (ASHP), American College of Chest Physicians</collab><etal/></person-group><article-title>Clinical practice guidelines for the sustained use of sedatives and analgesics in the critically ill adult</article-title><source>Crit Care Med</source><year>2002</year><volume>30</volume><fpage>119</fpage><lpage>141</lpage><pub-id pub-id-type="doi">10.1097/00003246-200201000-00020</pub-id><pub-id pub-id-type="medline">11902253</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chanques</surname><given-names>G</given-names> </name><name name-style="western"><surname>Jaber</surname><given-names>S</given-names> </name><name name-style="western"><surname>Barbotte</surname><given-names>E</given-names> </name><etal/></person-group><article-title>Impact of systematic evaluation of pain and agitation in an intensive care unit</article-title><source>Crit Care Med</source><year>2006</year><month>06</month><volume>34</volume><issue>6</issue><fpage>1691</fpage><lpage>1699</lpage><pub-id pub-id-type="doi">10.1097/01.CCM.0000218416.62457.56</pub-id><pub-id pub-id-type="medline">16625136</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fraser</surname><given-names>GL</given-names> </name><name name-style="western"><surname>Prato</surname><given-names>BS</given-names> </name><name name-style="western"><surname>Riker</surname><given-names>RR</given-names> </name><name name-style="western"><surname>Berthiaume</surname><given-names>D</given-names> </name><name name-style="western"><surname>Wilkins</surname><given-names>ML</given-names> </name></person-group><article-title>Frequency, severity, and treatment of agitation in young versus elderly patients in the ICU</article-title><source>Pharmacotherapy</source><year>2000</year><month>01</month><volume>20</volume><issue>1</issue><fpage>75</fpage><lpage>82</lpage><pub-id pub-id-type="doi">10.1592/phco.20.1.75.34663</pub-id><pub-id pub-id-type="medline">10641977</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fraser</surname><given-names>GL</given-names> </name><name name-style="western"><surname>Riker</surname><given-names>RR</given-names> </name></person-group><article-title>Sedation and analgesia in the critically ill adult</article-title><source>Curr Opin Anaesthesiol</source><year>2007</year><month>04</month><volume>20</volume><issue>2</issue><fpage>119</fpage><lpage>123</lpage><pub-id pub-id-type="doi">10.1097/ACO.0b013e32808255b4</pub-id><pub-id pub-id-type="medline">17413394</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cohen</surname><given-names>IL</given-names> </name><name name-style="western"><surname>Gallagher</surname><given-names>TJ</given-names> </name><name name-style="western"><surname>Pohlman</surname><given-names>AS</given-names> </name><name name-style="western"><surname>Dasta</surname><given-names>JF</given-names> </name><name name-style="western"><surname>Abraham</surname><given-names>E</given-names> </name><name name-style="western"><surname>Papadokos</surname><given-names>PJ</given-names> </name></person-group><article-title>Management of the agitated intensive care unit patient</article-title><source>Crit Care Med</source><year>2002</year><month>01</month><volume>30</volume><issue>1</issue><fpage>S97</fpage><lpage>S123</lpage><pub-id pub-id-type="doi">10.1097/00003246-200201002-00001</pub-id><pub-id pub-id-type="medline">11852874</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ely</surname><given-names>EW</given-names> </name><name name-style="western"><surname>Truman</surname><given-names>B</given-names> </name><name name-style="western"><surname>Shintani</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Monitoring sedation status over time in ICU patients: reliability and validity of the Richmond Agitation-Sedation Scale (RASS)</article-title><source>JAMA</source><year>2003</year><month>06</month><day>11</day><volume>289</volume><issue>22</issue><fpage>2983</fpage><lpage>2991</lpage><pub-id pub-id-type="doi">10.1001/jama.289.22.2983</pub-id><pub-id pub-id-type="medline">12799407</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Guenther</surname><given-names>U</given-names> </name><name name-style="western"><surname>Weykam</surname><given-names>J</given-names> </name><name name-style="western"><surname>Andorfer</surname><given-names>U</given-names> </name><etal/></person-group><article-title>Implications of objective vs subjective delirium assessment in surgical intensive care patients</article-title><source>Am J Crit Care</source><year>2012</year><month>01</month><volume>21</volume><issue>1</issue><fpage>e12</fpage><lpage>20</lpage><pub-id pub-id-type="doi">10.4037/ajcc2012735</pub-id><pub-id pub-id-type="medline">22210705</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sessler</surname><given-names>CN</given-names> </name><name name-style="western"><surname>Gosnell</surname><given-names>MS</given-names> </name><name name-style="western"><surname>Grap</surname><given-names>MJ</given-names> </name><etal/></person-group><article-title>The Richmond Agitation-Sedation Scale: validity and reliability in adult intensive care unit patients</article-title><source>Am J Respir Crit Care Med</source><year>2002</year><month>11</month><day>15</day><volume>166</volume><issue>10</issue><fpage>1338</fpage><lpage>1344</lpage><pub-id pub-id-type="doi">10.1164/rccm.2107138</pub-id><pub-id pub-id-type="medline">12421743</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Grap</surname><given-names>MJ</given-names> </name><name name-style="western"><surname>Hamilton</surname><given-names>VA</given-names> </name><name name-style="western"><surname>McNallen</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Actigraphy: analyzing patient movement</article-title><source>Heart Lung</source><year>2011</year><volume>40</volume><issue>3</issue><fpage>e52</fpage><lpage>9</lpage><pub-id pub-id-type="doi">10.1016/j.hrtlng.2009.12.013</pub-id><pub-id pub-id-type="medline">20723984</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Woods</surname><given-names>JC</given-names> </name><name name-style="western"><surname>Mion</surname><given-names>LC</given-names> </name><name name-style="western"><surname>Connor</surname><given-names>JT</given-names> </name><etal/></person-group><article-title>Severe agitation among ventilated medical intensive care unit patients: frequency, characteristics and outcomes</article-title><source>Intensive Care Med</source><year>2004</year><month>06</month><volume>30</volume><issue>6</issue><fpage>1066</fpage><lpage>1072</lpage><pub-id pub-id-type="doi">10.1007/s00134-004-2193-9</pub-id><pub-id pub-id-type="medline">14966671</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pun</surname><given-names>BT</given-names> </name><name name-style="western"><surname>Badenes</surname><given-names>R</given-names> </name><name name-style="western"><surname>Calle</surname><given-names>G</given-names> </name><etal/></person-group><article-title>COVID-19 Intensive Care International Study Group. Prevalence and risk factors for delirium in critically ill patients with COVID-19 (COVID-D): a multicentre cohort study</article-title><source>Lancet Respir Med</source><year>2021</year><month>03</month><volume>9</volume><issue>3</issue><fpage>239</fpage><lpage>250</lpage><pub-id pub-id-type="doi">10.1016/S2213-2600(21)00047-3</pub-id><pub-id pub-id-type="medline">33428871</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Jauk</surname><given-names>S</given-names> </name><name name-style="western"><surname>Kramer</surname><given-names>D</given-names> </name><name name-style="western"><surname>Gro&#x00DF;auer</surname><given-names>B</given-names> </name><etal/></person-group><article-title>Risk prediction of delirium in hospitalized patients using machine learning: an implementation and prospective evaluation study</article-title><source>J Am Med Inform Assoc</source><year>2020</year><month>07</month><day>1</day><volume>27</volume><issue>9</issue><fpage>1383</fpage><lpage>1392</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocaa113</pub-id><pub-id pub-id-type="medline">32968811</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wong</surname><given-names>A</given-names> </name><name name-style="western"><surname>Young</surname><given-names>AT</given-names> </name><name name-style="western"><surname>Liang</surname><given-names>AS</given-names> </name><name name-style="western"><surname>Gonzales</surname><given-names>R</given-names> </name><name name-style="western"><surname>Douglas</surname><given-names>VC</given-names> </name><name name-style="western"><surname>Hadley</surname><given-names>D</given-names> </name></person-group><article-title>Development and validation of an electronic health record-based machine learning model to estimate delirium risk in newly hospitalized patients without known cognitive impairment</article-title><source>JAMA Netw Open</source><year>2018</year><month>08</month><day>3</day><volume>1</volume><issue>4</issue><fpage>e181018</fpage><pub-id pub-id-type="doi">10.1001/jamanetworkopen.2018.1018</pub-id><pub-id pub-id-type="medline">30646095</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Syed</surname><given-names>M</given-names> </name><name name-style="western"><surname>Syed</surname><given-names>S</given-names> </name><name name-style="western"><surname>Sexton</surname><given-names>K</given-names> </name><etal/></person-group><article-title>Application of machine learning in intensive care unit (ICU) settings using MIMIC dataset: systematic review</article-title><source>Informatics (MDPI)</source><year>2021</year><month>03</month><volume>8</volume><issue>1</issue><fpage>16</fpage><pub-id pub-id-type="doi">10.3390/informatics8010016</pub-id><pub-id pub-id-type="medline">33981592</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lin</surname><given-names>K</given-names> </name><name name-style="western"><surname>Hu</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Kong</surname><given-names>G</given-names> </name></person-group><article-title>Predicting in-hospital mortality of patients with acute kidney injury in the ICU using random forest model</article-title><source>Int J Med Inform</source><year>2019</year><month>05</month><volume>125</volume><fpage>55</fpage><lpage>61</lpage><pub-id pub-id-type="doi">10.1016/j.ijmedinf.2019.02.002</pub-id><pub-id pub-id-type="medline">30914181</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Yao</surname><given-names>R qi</given-names> </name><name name-style="western"><surname>Jin</surname><given-names>X</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>G wei</given-names> </name><etal/></person-group><article-title>A machine learning-based prediction of hospital mortality in patients with postoperative sepsis</article-title><source>Front Med</source><volume>7</volume><fpage>445</fpage><pub-id pub-id-type="doi">10.3389/fmed.2020.00445</pub-id><pub-id pub-id-type="medline">32903618</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhao</surname><given-names>QY</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>H</given-names> </name><name name-style="western"><surname>Luo</surname><given-names>JC</given-names> </name><etal/></person-group><article-title>Development and validation of a machine-learning model for prediction of extubation failure in intensive care units</article-title><source>Front Med (Lausanne)</source><year>2021</year><volume>8</volume><fpage>676343</fpage><pub-id pub-id-type="doi">10.3389/fmed.2021.676343</pub-id><pub-id pub-id-type="medline">34079812</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>J</given-names> </name><name name-style="western"><surname>Xi</surname><given-names>J</given-names> </name><name name-style="western"><surname>Gong</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Zeng</surname><given-names>L</given-names> </name><name name-style="western"><surname>Ma</surname><given-names>P</given-names> </name></person-group><article-title>Derivation and validation of an ensemble model for the prediction of agitation in mechanically ventilated patients maintained under light sedation</article-title><source>Crit Care Med</source><year>2021</year><month>03</month><day>1</day><volume>49</volume><issue>3</issue><fpage>e279</fpage><lpage>e290</lpage><pub-id pub-id-type="doi">10.1097/CCM.0000000000004821</pub-id><pub-id pub-id-type="medline">33470778</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chase</surname><given-names>JG</given-names> </name><name name-style="western"><surname>Agogue</surname><given-names>F</given-names> </name><name name-style="western"><surname>Starfinger</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Quantifying agitation in sedated ICU patients using digital imaging</article-title><source>Comput Methods Programs Biomed</source><year>2004</year><month>11</month><volume>76</volume><issue>2</issue><fpage>131</fpage><lpage>141</lpage><pub-id pub-id-type="doi">10.1016/j.cmpb.2004.03.005</pub-id><pub-id pub-id-type="medline">15451162</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Becouze</surname><given-names>P</given-names> </name><name name-style="western"><surname>Hann</surname><given-names>CE</given-names> </name><name name-style="western"><surname>Chase</surname><given-names>JG</given-names> </name><name name-style="western"><surname>Shaw</surname><given-names>GM</given-names> </name></person-group><article-title>Measuring facial grimacing for quantifying patient agitation in critical care</article-title><source>Comput Methods Programs Biomed</source><year>2007</year><month>08</month><volume>87</volume><issue>2</issue><fpage>138</fpage><lpage>147</lpage><pub-id pub-id-type="doi">10.1016/j.cmpb.2007.05.005</pub-id><pub-id pub-id-type="medline">17574701</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Dai</surname><given-names>PY</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>YC</given-names> </name><name name-style="western"><surname>Sheu</surname><given-names>RK</given-names> </name><etal/></person-group><article-title>An automated ICU agitation monitoring system for video streaming using deep learning classification</article-title><source>BMC Med Inform Decis Mak</source><year>2024</year><month>03</month><day>18</day><volume>24</volume><issue>1</issue><fpage>77</fpage><pub-id pub-id-type="doi">10.1186/s12911-024-02479-2</pub-id><pub-id pub-id-type="medline">38500135</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Watson</surname><given-names>DS</given-names> </name><name name-style="western"><surname>Krutzinna</surname><given-names>J</given-names> </name><name name-style="western"><surname>Bruce</surname><given-names>IN</given-names> </name><etal/></person-group><article-title>Clinical applications of machine learning algorithms: beyond the black box</article-title><source>BMJ</source><year>2019</year><month>03</month><day>12</day><volume>364</volume><fpage>l886</fpage><pub-id pub-id-type="doi">10.1136/bmj.l886</pub-id><pub-id pub-id-type="medline">30862612</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cabitza</surname><given-names>F</given-names> </name><name name-style="western"><surname>Rasoini</surname><given-names>R</given-names> </name><name name-style="western"><surname>Gensini</surname><given-names>GF</given-names> </name></person-group><article-title>Unintended consequences of machine learning in medicine</article-title><source>JAMA</source><year>2017</year><month>08</month><day>8</day><volume>318</volume><issue>6</issue><fpage>517</fpage><lpage>518</lpage><pub-id pub-id-type="doi">10.1001/jama.2017.7797</pub-id><pub-id pub-id-type="medline">28727867</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Yang</surname><given-names>G</given-names> </name><name name-style="western"><surname>Ye</surname><given-names>Q</given-names> </name><name name-style="western"><surname>Xia</surname><given-names>J</given-names> </name></person-group><article-title>Unbox the black-box for the medical explainable AI via multi-modal and multi-centre data fusion: a mini-review, two showcases and beyond</article-title><source>Inf Fusion</source><year>2022</year><month>01</month><volume>77</volume><fpage>29</fpage><lpage>52</lpage><pub-id pub-id-type="doi">10.1016/j.inffus.2021.07.016</pub-id><pub-id pub-id-type="medline">34980946</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ng</surname><given-names>SY</given-names> </name><name name-style="western"><surname>Phua</surname><given-names>J</given-names> </name><name name-style="western"><surname>Wong</surname><given-names>YL</given-names> </name><etal/></person-group><article-title>Singapore SPICE: sedation practices in intensive care evaluation in Singapore - a prospective cohort study of the public healthcare system</article-title><source>Singapore Med J</source><year>2020</year><month>01</month><volume>61</volume><issue>1</issue><fpage>19</fpage><lpage>23</lpage><pub-id pub-id-type="doi">10.11622/smedj.2019055</pub-id><pub-id pub-id-type="medline">31197381</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bose</surname><given-names>S</given-names> </name><name name-style="western"><surname>Kelly</surname><given-names>L</given-names> </name><name name-style="western"><surname>Shahn</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Novack</surname><given-names>L</given-names> </name><name name-style="western"><surname>Banner-Goodspeed</surname><given-names>V</given-names> </name><name name-style="western"><surname>Subramaniam</surname><given-names>B</given-names> </name></person-group><article-title>Sedative polypharmacy mediates the effect of mechanical ventilation on delirium in critically ill COVID-19 patients: a retrospective cohort study</article-title><source>Acta Anaesthesiol Scand</source><year>2022</year><month>10</month><volume>66</volume><issue>9</issue><fpage>1099</fpage><lpage>1106</lpage><pub-id pub-id-type="doi">10.1111/aas.14119</pub-id><pub-id pub-id-type="medline">35900078</pub-id></nlm-citation></ref></ref-list></back></article>