<?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></journal-meta><article-meta><article-id pub-id-type="publisher-id">45377</article-id><article-id pub-id-type="doi">10.2196/45377</article-id><title-group><article-title>Predicting Postoperative Hospital Stays Using Nursing Narratives and the Reverse Time Attention (RETAIN) Model: Retrospective Cohort Study</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Han</surname><given-names>Sungjoo</given-names></name><degrees>BS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Kim</surname><given-names>Yong Bum</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>No</surname><given-names>Jae Hong</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Suh</surname><given-names>Dong Hoon</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Kim</surname><given-names>Kidong</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Ahn</surname><given-names>Soyeon</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib></contrib-group><aff id="aff1"><institution>Division of Statistics, Medical Research Collaborating Center, Seoul National University Bundang Hospital</institution>, <addr-line>Seongnam</addr-line>, <country>Republic of Korea</country></aff><aff id="aff2"><institution>Department of Obstetrics and Gynecology, Seoul National University Bundang Hospital</institution>, <addr-line>Seongnam</addr-line>, <country>Republic of Korea</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>Mitra</surname><given-names>Avijit</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Mao</surname><given-names>Yuqing</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Soyeon Ahn, PhD<email>ahnsoyeon@gmail.com</email></corresp></author-notes><pub-date pub-type="collection"><year>2023</year></pub-date><pub-date pub-type="epub"><day>19</day><month>12</month><year>2023</year></pub-date><volume>11</volume><elocation-id>e45377</elocation-id><history><date date-type="received"><day>28</day><month>12</month><year>2022</year></date><date date-type="rev-recd"><day>02</day><month>08</month><year>2023</year></date><date date-type="accepted"><day>09</day><month>08</month><year>2023</year></date></history><copyright-statement>&#x00A9; Sungjoo Han, Yong Bum Kim, Jae Hong No, Dong Hoon Suh, Kidong Kim, Soyeon Ahn. Originally published in JMIR Medical Informatics (<ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org">https://medinform.jmir.org</ext-link>), 19.12.2023. </copyright-statement><copyright-year>2023</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/2023/1/e45377"/><abstract><sec><title>Background</title><p>Nursing narratives are an intriguing feature in the prediction of short-term clinical outcomes. However, it is unclear which nursing narratives significantly impact the prediction of postoperative length of stay (LOS) in deep learning models.</p></sec><sec><title>Objective</title><p>Therefore, we applied the Reverse Time Attention (RETAIN) model to predict LOS, entering nursing narratives as the main input.</p></sec><sec sec-type="methods"><title>Methods</title><p>A total of 354 patients who underwent ovarian cancer surgery at the Seoul National University Bundang Hospital from 2014 to 2020 were retrospectively enrolled. Nursing narratives collected within 3 postoperative days were used to predict prolonged LOS (&#x2265;10 days). The physician&#x2019;s assessment was conducted based on a retrospective review of the physician&#x2019;s note within the same period of the data model used.</p></sec><sec sec-type="results"><title>Results</title><p>The model performed better than the physician&#x2019;s assessment (area under the receiver operating curve of 0.81 vs 0.58; <italic>P</italic>=.02). Nursing narratives entered on the first day were the most influential predictors in prolonged LOS. The likelihood of prolonged LOS increased if the physician had to check the patient often and if the patient received intravenous fluids or intravenous patient-controlled analgesia late.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>The use of the RETAIN model on nursing narratives predicted postoperative LOS effectively for patients who underwent ovarian cancer surgery. These findings suggest that accurate and interpretable deep learning information obtained shortly after surgery may accurately predict prolonged LOS.</p></sec></abstract><kwd-group><kwd>discharge prediction</kwd><kwd>text mining</kwd><kwd>free text</kwd><kwd>extraction</kwd><kwd>length of stay</kwd><kwd>hospital stay</kwd><kwd>electronic health record</kwd><kwd>EHR</kwd><kwd>discharge</kwd><kwd>interpretable deep learning</kwd><kwd>risk prediction</kwd><kwd>nursing</kwd><kwd>machine learning</kwd><kwd>deep learning</kwd><kwd>predict</kwd><kwd>ovarian cancer</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Postoperative length of stay (LOS) is an important indicator of hospital management efficiency. A precise estimate of LOS optimizes hospital bed availability and resource allocation, thereby improving health outcomes and lowering costs [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. There is an increasing need to predict LOS using electronic health records (EHRs) with machine learning methods [<xref ref-type="bibr" rid="ref3">3</xref>-<xref ref-type="bibr" rid="ref6">6</xref>]. EHRs contain data on patients&#x2019; demographics, diagnoses, medications, vital signs, and laboratory results, which are fed into deep learning algorithms. For example, Safavi et al [<xref ref-type="bibr" rid="ref7">7</xref>] have suggested a feedforward neural network model comprising clinical and administrative data extracted from EHRs to predict discharge from inpatient surgical care. Zhang et al [<xref ref-type="bibr" rid="ref8">8</xref>] have investigated a prediction model for next-day discharge using EHR access logs combined with gradient-boosted ensembles of decision trees. For this study, we refer to Stone et al [<xref ref-type="bibr" rid="ref9">9</xref>] for a comprehensive review of the prediction of hospital LOS.</p><p>We focused on nursing narratives in EHRs as a promising predictor of postoperative LOS. Nursing narratives are representations of the nursing process and contain data regarding when and how nursing actions are performed on patients [<xref ref-type="bibr" rid="ref10">10</xref>,<xref ref-type="bibr" rid="ref11">11</xref>]. Analyses of nursing notes using machine learning models have shown promising results in predicting short-term patient outcomes [<xref ref-type="bibr" rid="ref12">12</xref>,<xref ref-type="bibr" rid="ref13">13</xref>]. We have previously reported that a deep learning model based on nursing narratives can effectively predict postoperative LOS [<xref ref-type="bibr" rid="ref14">14</xref>]. However, a fundamental problem of deep learning models is their lack of interpretability, which restrains their clinical applicability [<xref ref-type="bibr" rid="ref15">15</xref>,<xref ref-type="bibr" rid="ref16">16</xref>]. Moreover, our previous study implemented long short-term memory using frequencies of individual nursing narrative entries for 5 postoperative days as features, which limited the power of dependencies between time steps of sequence data.</p><p>To overcome this issue, various interpretable artificial intelligence models have been examined [<xref ref-type="bibr" rid="ref17">17</xref>]. The Reverse Time Attention (RETAIN) model is an interpretable predictive model developed for application with EHR data. RETAIN&#x2019;s major advantage is its high accuracy while remaining clinically interpretable by adapting a 2-level neural attention mechanism in a recurrent neural network architecture. Consequently, RETAIN can detect both influential nurse visits and clinical features [<xref ref-type="bibr" rid="ref16">16</xref>]. Several studies have demonstrated the clinical utility of the RETAIN model in diverse clinical contexts [<xref ref-type="bibr" rid="ref18">18</xref>-<xref ref-type="bibr" rid="ref23">23</xref>]. AlSaad et al [<xref ref-type="bibr" rid="ref21">21</xref>] have shown a simplified version of the RETAIN architecture that significantly predicted preterm birth and enabled individual-level prediction explanations at the visitation level and medical code level (<italic>International Classification of Diseases, Ninth Revision</italic> [<italic>ICD-9</italic>] or <italic>ICD-10</italic> codes). Rasmy et al [<xref ref-type="bibr" rid="ref23">23</xref>] have adapted a language model that combined the RETAIN model with two independent EHR databases; this model achieved a high degree of accuracy in predicting both heart failure and the onset of pancreatic cancer.</p><p>In this study, we examined the performance of an interpretable deep learning model using longitudinal nursing narratives to predict prolonged LOS and extracted the significant nursing narrative features to better understand the prediction model.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Ethical Considerations</title><p>This study was approved by the Seoul National University Bundang Hospital (SNUBH) Institutional Review Board (B-2011/646-104 for model development; B-2103-675-101 for physician comparison).</p></sec><sec id="s2-2"><title>Setting</title><p><italic>ICD-10</italic> diagnosis code C56 was used to identify the study population. Data were retrospectively collected from patients admitted to the SNUBH for first-time ovarian cancer surgery between 2014 and 2021.</p><p>We divided the data into two parts by period: the internal data set (collected between January 2014 and September 2020) and the external validation data set (collected between October 2020 and February 2021) [<xref ref-type="bibr" rid="ref24">24</xref>]. We chose the most recent 5 months of data as the external validation data set. The internal data set was used for training, validating, and testing the model, while the external data set was used for evaluating the final performance of the model and comparing the results with the physician&#x2019;s assessment.</p><p>The exclusion criteria included readmission, admission with postoperative LOS &#x003C;3 days, and patients who underwent surgery &#x003C;20 times in the internal data set (Figure S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Postoperative LOS was chosen as the outcome variable because in-hospital LOS can be affected by several nonoperational factors such as patient characteristics or social circumstances, type of admission, patient place of residence, emergencies, or weekend admissions [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref25">25</xref>,<xref ref-type="bibr" rid="ref26">26</xref>]. The postoperative LOS was defined as the number of days from the date of the index operation to the date of discharge, where the date of the index operation, denoted as day 0, was defined as the date in any of the operation-related nursing narratives. For example, if a patient was discharged on day 0, the postoperative LOS was 1.</p></sec><sec id="s2-3"><title>Nursing Narratives</title><p>We extracted nursing narratives chronologically. At SNUBH, nursing narratives are easily integrated into a structured database because individual features are mapped to unique codes [<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref27">27</xref>]. For instance, the nursing narrative &#x201C;checked the vital signs&#x201D; is mapped to code N1, whereas &#x201C;no dizziness&#x201D; is mapped to code N2. A nurse enters patient statuses in the EHR system by searching nursing narratives using keywords such as &#x201C;vital&#x201D; or &#x201C;dizzy&#x201D; and selecting the appropriate nursing narratives from the list of related narratives. Some nursing narratives allow for the inclusion of additional information such as body temperature or free text [<xref ref-type="bibr" rid="ref14">14</xref>]. Consequently, patient information was entered as a combination of unique codes (eg, N1, checked the vital signs, or N2, checked whether the patient felt dizzy), code entry time, and a specific value such as body temperature. These structured nursing narrative sets allowed us to retrieve patient information without the need for natural language preprocessing.</p></sec><sec id="s2-4"><title>RETAIN Architecture</title><p>Prolonged LOS was defined as events &#x2265;10 postoperative days, which was the third quantile of postoperative LOS in both the internal and external validation data sets. Our results showed that the volume of nursing narratives entered within 3 postoperative days was high and tended to decrease afterward; therefore, we decided to use patient information within 3 postoperative days, that is, from day 0 to day 2 (Figure S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). The extracted time series of nursing narratives and corresponding unique codes were inverted to 3D arrays (patients, postoperative days, and nursing narratives&#x2019; unique codes).</p><p>The internal data set was randomly split, allocating 60% (n=192) of participants to the training set and 20% (n=64) of participants each to the validation and testing sets. The training set was used to train the models, the validation set was used to determine the values of the hyperparameters that increase the area under the receiver operating curve (AUC), and the test set was used to evaluate the performance of the best model. The best model was also applied to the external validation data set. Therefore, the performance of the best model was measured twice (the test set of the internal data set and the external validation data set). Furthermore, we compared the performance of the external validation data set with the physician&#x2019;s assessment. The RETAIN model was constructed with two neural attentions that can identify influential nurse visits and meaningful features. The RETAIN model uses linear embedding to enhance interpretability. The contribution score was calculated using visit-level attention weights, variable-level attention weights, and embedding weights.</p><p>The default settings for RETAIN were used. L2 regularization for the final classifier weight, input embedding weight, and alpha-generating weight was set to 0.0001 for all models. Following a learning process using batch sizes of 8, 16, and 32, the model with the highest AUC performance on the test set was selected as the best model. If models had the same AUC value, the one with the highest sensitivity was selected as the best model.</p></sec><sec id="s2-5"><title>Model Interpretation and Influential Features Extraction</title><p>The RETAIN model reported the contribution scores that represented the extent to which each feature contributed to the prediction. In this study, features with a high contribution score were associated with a high likelihood of prolonged LOS. We identified the input features with high contribution scores as influential features, which showed a significant difference between prolonged and short LOS via a <italic>t</italic> test with a <italic>P</italic> value cutoff of .05.</p></sec><sec id="s2-6"><title>Comparison Between the Deep Learning Model and a Physician&#x2019;s Expert Clinical Assessment</title><p>We compared the deep learning model and a physician&#x2019;s assessment vis-&#x00E0;-vis their predictive capability for prolonged LOS. A gynecologic oncologist with 15 years of experience reviewed patients&#x2019; demographics, progress notes, surgical reports, and clinical notes available within 3 postoperative days. Blinded to the final discharge date, the physician predicted whether patients would experience prolonged LOS. The DeLong test was used to compare the AUCs of the deep learning model and a physician assessment [<xref ref-type="bibr" rid="ref28">28</xref>].</p></sec><sec id="s2-7"><title>Visualization and Statistical Analysis</title><p>Statistical analyses were performed using Python (version 3.9.13; Python Software Foundation), RETAIN (version 1.0; Edward Choi) [<xref ref-type="bibr" rid="ref16">16</xref>], and R (version 4.0.5; R Foundation for Statistical Computer) software. The influential features were visualized using the ComplexHeatmap package in R software.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Patient Characteristics</title><p>This study retrospectively enrolled 354 patients (n=320 in the internal data set and n=34 in the external validation data set; mean age 54, SD 13 years; Table S1 and Figure S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). A total of 51,603 nursing narratives in the internal data set composed the model inputs. Patients in the prolonged LOS group were older (for instance, in the internal data set, the mean age was 57, SD 12 years and 52, SD 14 years in the prolonged LOS and short LOS groups, respectively; <italic>P</italic>=.002) and had higher total nursing narrative volumes (mean 188, SD 62 vs mean 150, SD 33 narratives within 3 postoperative days; <italic>P</italic>&#x003C;.001). The. nursing narrative entries per nurse visit were similar (mean 5.6, SD 8.4 vs mean 5.9, SD 7.9 for the prolonged LOS and short LOS groups, respectively; <italic>P</italic>=.64), but more frequent nurse visits were observed in the prolonged LOS group (mean 33, SD 9 vs mean 25, SD 9 visits within 3 postoperative days; <italic>P</italic>=.03).</p></sec><sec id="s3-2"><title>Prediction of Prolonged LOS via RETAIN</title><p>The experimental scheme is shown in Figures S2 and S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. The RETAIN model was developed using the internal data set, while the model&#x2019;s performance was calculated and compared to a physician&#x2019;s expert clinical assessment using the external validation data set. The predictive contribution score derived from the RETAIN model indicates the probability of prolonged LOS. Patients with a final predictive score &#x003E;0.5 were classified as expected prolonged LOS events. The RETAIN model reported the scores for each patient and nursing narrative; these scores were used to determine highly influential nursing narratives. We determined potent nursing narratives for each patient based on patient-wise normalization scores, after applying normalization using a patient-centric mean and SD. Thereafter, influential nursing narratives were defined as those consistently showing a statistically significant difference in the raw contribution score between the prolonged and short LOS groups.</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows a comparison between the model&#x2019;s performance and a physician&#x2019;s expert clinical assessment, considering various nursing narrative sets. The model trained with nursing narratives showed an AUC of 0.81. The deep learning model performed better than the physician&#x2019;s assessment (AUC 0.58; <italic>P</italic>=.02; Figure S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Model performance on the internal and external validation set.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" colspan="2">Data set and model</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td><td align="left" valign="bottom">Accuracy</td><td align="left" valign="bottom">Sensitivity</td><td align="left" valign="bottom">Specificity</td><td align="left" valign="bottom"><italic>F</italic><sub>1</sub>-score</td><td align="left" valign="bottom"><italic>P</italic> value<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td></tr></thead><tbody><tr><td align="left" valign="top" colspan="8"><bold>Internal data set</bold></td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">RETAIN<sup><xref ref-type="table-fn" rid="table1fn3">c</xref></sup> with nursing narratives</td><td align="left" valign="top">0.76</td><td align="left" valign="top">0.80</td><td align="left" valign="top">0.55</td><td align="left" valign="top">0.91</td><td align="left" valign="top">0.63</td><td align="left" valign="top">N/A<sup><xref ref-type="table-fn" rid="table1fn4">d</xref></sup></td></tr><tr><td align="left" valign="top" colspan="7"><bold>External validation data set</bold><sup><xref ref-type="table-fn" rid="table1fn5"><bold>e</bold></xref></sup></td><td align="left" valign="top">.02</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">RETAIN with nursing narratives</td><td align="left" valign="top">0.81</td><td align="left" valign="top">0.85</td><td align="left" valign="top">0.44</td><td align="left" valign="top">1.00</td><td align="left" valign="top">0.62</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Physician assessment</td><td align="left" valign="top">0.58</td><td align="left" valign="top">0.65</td><td align="left" valign="top">0.44</td><td align="left" valign="top">0.72</td><td align="left" valign="top">0.40</td><td align="left" valign="top"/></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>AUC: area under the receiver operating curve.</p></fn><fn id="table1fn2"><p><sup>b</sup>The DeLong test was conducted to compare the AUCs of the RETAIN model and physician assessment.</p></fn><fn id="table1fn3"><p><sup>c</sup>RETAIN: Reverse Time Attention.</p></fn><fn id="table1fn4"><p><sup>d</sup>N/A: not applicable.</p></fn><fn id="table1fn5"><p><sup>e</sup>The RETAIN model performance and physician assessment were compared using the external validation data set. A total of 34 patients were available for 3 postoperative days.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-3"><title>Influence of Nurse Visits on the Prediction of Prolonged LOS</title><p>Examples of contribution score graphs were visualized for patients in the prolonged and short LOS groups (<xref ref-type="fig" rid="figure1">Figure 1</xref>). As expected, the patients in the prolonged LOS group exhibited high contribution scores. Nurse visits on the first postoperative day (ie, day 1) were identified as highly influential because nursing narratives entered on that day exhibited higher contribution scores.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Highly influential nursing narrative (NN) examples presenting the differences between the prolonged and short LOS groups&#x2019; contribution score graphs. NNs are arranged in chronological order, while the corresponding scores are represented as dots. The predictive score indicates the probability of prolonged LOS, which was estimated by the Reverse Time Attention model, with (A) a postoperative LOS of 11 days (predictive score: 0.90) and (B) a postoperative LOS of 4 days (predictive score: 0.01). LOS: length of stay.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v11i1e45377_fig01.png"/></fig><p>Highly influential narratives showing statistically significant differences in contribution scores between the prolonged and short LOS groups included the following: &#x201C;confirmed by a doctor,&#x201D; &#x201C;injected intravenous patient-controlled analgesia [PCA],&#x201D; &#x201C;injected intravenous fluids,&#x201D; &#x201C;no PCA side effects,&#x201D; &#x201C;observed the pattern of Jackson-Pratt [J-P] tube drainage,&#x201D; &#x201C;patient&#x2019;s pain in surgical area was tolerable,&#x201D; &#x201C;provided mental support,&#x201D; &#x201C;maintained J-P tube,&#x201D; &#x201C;maintained Foley catheter,&#x201D; &#x201C;no oozing in the drainage tube insertion area,&#x201D; &#x201C;measured body temperature,&#x201D; &#x201C;provided safety care,&#x201D; and &#x201C;notified a doctor&#x201D; (<xref ref-type="fig" rid="figure2">Figures 2</xref> and <xref ref-type="fig" rid="figure3">3</xref>). The three most influential narratives (according to their lower <italic>P</italic> values) were &#x201C;confirmed by a doctor,&#x201D; &#x201C;injected intravenous PCA,&#x201D; and &#x201C;injected intravenous fluids&#x201D; (<xref ref-type="table" rid="table2">Table 2</xref>), whose contribution scores were visualized by <italic>t</italic>-distributed stochastic neighbor embedding (<xref ref-type="fig" rid="figure4">Figure 4</xref>).</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Heat map visualizing the contribution scores of highly influential nursing narratives (NNs). NN-level normalized contribution scores were calculated for patients of the external data set. The <italic>P</italic> value represents the results of the <italic>t</italic> test for raw contribution score comparison between the prolonged LOS and short LOS groups. J-P: Jackson-Pratt; LOS: length of stay; PCA: patient-controlled analgesia.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v11i1e45377_fig02.png"/></fig><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>The contribution score graph highlights highly influential nursing narratives (NNs) of the prolonged LOS group, with the NNs arranged in chronological order. The areas of the corresponding contribution scores are filled. The predictive score indicates the probability of a prolonged LOS. The patients with predictive scores &#x003E;0.5 were classified as expected prolonged LOS. The most influential NNs are represented as orange dots. (A) Postoperative LOS: 11 days; predictive score: 0.9; (B) postoperative LOS: 10 days, predictive score: 0.67; (C) postoperative LOS: 14 days, predictive score: 0.63. J-P: Jackson-Pratt; LOS: length of stay; PCA: patient-controlled analgesia.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v11i1e45377_fig03.png"/></fig><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Contribution scores of influential nursing narratives.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Nursing narratives</td><td align="left" valign="bottom" colspan="3">Internal data set (n=320)</td><td align="left" valign="bottom" colspan="3">External validation data set (n=34)</td></tr><tr><td align="left" valign="top"/><td align="left" valign="top">Prolonged LOS<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup>, mean (SD)</td><td align="left" valign="top">Short LOS, mean (SD)</td><td align="left" valign="top"><italic>P</italic> value<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></td><td align="left" valign="top">Prolonged LOS, mean (SD)</td><td align="left" valign="top">Short LOS, mean (SD)</td><td align="left" valign="top"><italic>P</italic> value<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></td></tr></thead><tbody><tr><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Confirmed by a doctor</td><td align="left" valign="top">0.044 (0.038)</td><td align="left" valign="top">&#x2013;0.001 (0.021)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">0.030 (0.033)</td><td align="left" valign="top">0.000 (0.020)</td><td align="left" valign="top">.002</td></tr><tr><td align="left" valign="top">Injected intravenous PCA<sup><xref ref-type="table-fn" rid="table2fn3">c</xref></sup></td><td align="left" valign="top">0.012 (0.046)</td><td align="left" valign="top">&#x2013;0.074 (0.041)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.030 (0.047)</td><td align="left" valign="top">&#x2013;0.076 (0.035)</td><td align="left" valign="top">.003</td></tr><tr><td align="left" valign="top">Injected intravenous fluids</td><td align="left" valign="top">0.012 (0.044)</td><td align="left" valign="top">&#x2013;0.066 (0.036)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.009 (0.043)</td><td align="left" valign="top">&#x2013;0.057 (0.036)</td><td align="left" valign="top">.003</td></tr><tr><td align="left" valign="top">No PCA side effects</td><td align="left" valign="top">&#x2013;0.002 (0.058)</td><td align="left" valign="top">&#x2013;0.092 (0.052)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.037 (0.055)</td><td align="left" valign="top">&#x2013;0.094 (0.044)</td><td align="left" valign="top">.004</td></tr><tr><td align="left" valign="top">Observed the pattern of J-P<sup><xref ref-type="table-fn" rid="table2fn4">d</xref></sup> tube drainage</td><td align="left" valign="top">0.016 (0.039)</td><td align="left" valign="top">&#x2013;0.039 (0.033)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.001 (0.038)</td><td align="left" valign="top">&#x2013;0.039 (0.034)</td><td align="left" valign="top">.007</td></tr><tr><td align="left" valign="top">Patient&#x2019;s pain in the surgical area was tolerable</td><td align="left" valign="top">0.019 (0.036)</td><td align="left" valign="top">&#x2013;0.031 (0.027)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.011 (0.025)</td><td align="left" valign="top">&#x2013;0.034 (0.024)</td><td align="left" valign="top">.02</td></tr><tr><td align="left" valign="top">Provided mental support</td><td align="left" valign="top">&#x2013;0.004 (0.043)</td><td align="left" valign="top">&#x2013;0.065 (0.060)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.009 (0.026)</td><td align="left" valign="top">&#x2013;0.053 (0.056)</td><td align="left" valign="top">.03</td></tr><tr><td align="left" valign="top">Maintained J-P tube</td><td align="left" valign="top">0.019 (0.036)</td><td align="left" valign="top">&#x2013;0.035 (0.031)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">&#x2013;0.005 (0.040)</td><td align="left" valign="top">&#x2013;0.034 (0.031)</td><td align="left" valign="top">.03</td></tr><tr><td align="left" valign="top">Maintained Foley catheter</td><td align="left" valign="top">0.019 (0.019)</td><td align="left" valign="top">0.002 (0.007)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">0.011 (0.017)</td><td align="left" valign="top">0.003 (0.006)</td><td align="left" valign="top">.045</td></tr><tr><td align="left" valign="top">No oozing in the drainage tube insertion area</td><td align="left" valign="top">0.011 (0.022)</td><td align="left" valign="top">&#x2013;0.008 (0.017)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">0.001 (0.004)</td><td align="left" valign="top">&#x2013;0.009 (0.016)</td><td align="left" valign="top">.06</td></tr><tr><td align="left" valign="top">Measured body temperature</td><td align="left" valign="top">0.008 (0.025)</td><td align="left" valign="top">&#x2013;0.018 (0.027)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">0.003 (0.009)</td><td align="left" valign="top">&#x2013;0.007 (0.017)</td><td align="left" valign="top">.11</td></tr><tr><td align="left" valign="top">Provided safety care</td><td align="left" valign="top">0.026 (0.027)</td><td align="left" valign="top">0.006 (0.012)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">0.020 (0.019)</td><td align="left" valign="top">0.011 (0.016)</td><td align="left" valign="top">.18</td></tr><tr><td align="left" valign="top">Notified a doctor</td><td align="left" valign="top">0.021 (0.019)</td><td align="left" valign="top">0.004 (0.010)</td><td align="left" valign="top">&#x003C;.001</td><td align="left" valign="top">0.012 (0.017)</td><td align="left" valign="top">0.006 (0.010)</td><td align="left" valign="top">.24</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>LOS: length of stay.</p></fn><fn id="table2fn2"><p><sup>b</sup><italic>P</italic> values represent the results of the <italic>t</italic> test for raw contribution scores compared between the prolonged and short LOS groups.</p></fn><fn id="table2fn3"><p><sup>c</sup>PCA: patient-controlled analgesia.</p></fn><fn id="table2fn4"><p><sup>d</sup>J-P: Jackson-Pratt.</p></fn></table-wrap-foot></table-wrap><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>T-distributed stochastic neighbor embedding plot using the top three highly influential nursing narratives; the contribution score was estimated from the external data set. LOS: length of stay; PCA: patient-controlled analgesia.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v11i1e45377_fig04.png"/></fig><p>Once the three most influential nursing narratives were identified, we further investigated the total number of entries and the first entry time since the handoff. The &#x201C;confirmed by a doctor&#x201D; narrative reoccurred in the prolonged LOS group (mean 5.8, SD 4.4 vs mean 3.1, SD 2.3 nursing narratives in the prolonged and short LOS groups, respectively) and was entered earlier (Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Conversely, the narratives &#x201C;injected intravenous PCA&#x201D; and &#x201C;injected intravenous fluids&#x201D; exhibited similar entry values but were entered a few hours later in the prolonged LOS group.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Results</title><p>In this study, a RETAIN model was used to predict postoperative LOS using nursing narratives. The model achieved a higher AUC value of 0.81 compared to the physician assessment&#x2019;s AUC of 0.58 (<italic>P</italic>=.02). Highly influential nursing narratives were identified that differed in their contribution scores between the prolonged and short LOS groups, including confirming by a doctor, administering intravenous PCA, and providing intravenous fluids.</p><p>To our knowledge, this is the first study to extract nursing narratives&#x2019; influential features by normalizing contribution scores estimated via RETAIN. By investigating these influential features, we discovered that the volume and timing of individual narratives are key factors. The likelihood of prolonged LOS increases if a physician must check the patient more often or if intravenous fluids or intravenous PCA are administered late. This degree of interpretability was not achievable in previous studies that relied on volume-centric statistical methods and conventional deep learning models.</p></sec><sec id="s4-2"><title>Strengths</title><p>This study demonstrated that nursing narratives can accurately predict the postoperative LOS of patients who underwent surgery for ovarian cancer. We implemented an interpretable deep learning model to identify highly influential nursing narratives. Notably, nursing narratives entered one day after surgery were the primary predictors for prolonged LOS.</p><p>Nursing narratives, serving as proxies for the care given to patients, demonstrated predictive value for LOS. Nursing narratives thus reflect the actions and interventions carried out by health care professionals. By identifying highly influential nursing narratives and presenting the different action timing and volume of each narrative, we enhanced the model&#x2019;s interpretability and showed that the relevant nursing activities could serve as indicators for LOS.</p><p>These findings support other studies that have shown that nursing notes may predict short-term patient outcomes more accurately than physician notes [<xref ref-type="bibr" rid="ref29">29</xref>,<xref ref-type="bibr" rid="ref30">30</xref>]. Nurses frequently summarize patients&#x2019; situations by describing their symptoms, as well as their nursing actions and responses, without the restriction of structured forms [<xref ref-type="bibr" rid="ref31">31</xref>-<xref ref-type="bibr" rid="ref33">33</xref>]. Thus, nursing notes serve as a snapshot of patients&#x2019; current statuses and exhibit a higher degree of freedom compared to physicians&#x2019; notes, which provide a problem-focused summary. In a prospective cohort of patients who are critically ill, nurses predicted in-hospital mortality slightly more accurately than physicians, whereas the latter predicted long-term outcomes more accurately [<xref ref-type="bibr" rid="ref29">29</xref>]. Huang et al [<xref ref-type="bibr" rid="ref30">30</xref>] applied natural language processing to free-text nursing notes to predict multiple outcomes, including prolonged hospital stay or mortality, using the Multiparameter Intelligent Monitoring of Intensive Care III. This study also acknowledged the superior predictability value of nursing notes over physicians&#x2019; notes when using refined features within the first 48 hours of admission. However, none of these studies presented the additional interpretation of specific nursing notes.</p><p>Furthermore, this study showed that the total volume of nursing narratives is a significant factor for prolonged LOS, which was consistent with previous studies conducted in different settings. Schnock et al [<xref ref-type="bibr" rid="ref34">34</xref>] have conducted a multicenter qualitative study in intensive and acute care units to discover nursing documentation patterns indicating recovery patterns. Woo et al [<xref ref-type="bibr" rid="ref35">35</xref>] have used the natural language processing of nursing notes from patients admitted to home care and found that the frequency of wound infection&#x2013;related text in nursing notes increased before hospitalization or emergency department visits. However, these studies faced a common barrier to using nursing notes: the extraction of standardized information. Accordingly, there is a significant need for health care providers to standardize nursing assessments and free-text notes [<xref ref-type="bibr" rid="ref30">30</xref>].</p><p>We showed that the nursing narratives &#x201C;confirmed by a doctor,&#x201D; &#x201C;injected intravenous PCA,&#x201D; and &#x201C;injected intravenous fluids&#x201D; were relevant to a prolonged stay for patients with surgical procedures. These narratives suggested that a patient&#x2019;s condition is complicated, and additional support for pain management or fluid management was required. Timely communication and collaboration between nursing and medical staff, effective pain management, and appropriate fluid management are important considerations in surgical patient care, which can impact the LOS and overall patient outcomes.</p></sec><sec id="s4-3"><title>Limitations</title><p>This study had several limitations. First, this study was based on data from a single-hospital EHR system. The EHR system at SNUBH allows for the standardization of nursing narratives, which enables the creation of a structured database. However, in most hospitals, free-text nursing notes are common; therefore, the preprocessing of natural language is required to generalize this study&#x2019;s findings. As a starting point, it is worthwhile to examine the highly influential nursing narratives identified in our study. Second, we chose nursing narratives entered within a 3-day postoperative interval, which can be shortened in future studies. For example, 2-day postoperative data have been used in several studies [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref30">30</xref>]. Furthermore, a strategic patient care plan that combines a short-interval model and a long-interval model could be developed. Third, this study&#x2019;s sample size was small, while the model was developed in a single-disease setting. To consider the dependency of nursing narratives according to different surgery and patient settings, transfer learning (in which a model trained in a larger population is fine-tuned with an independent surgery setting) can be considered. Future studies with multiple hospital settings and multimodal features are required [<xref ref-type="bibr" rid="ref36">36</xref>]. Fourth, like other machine learning models, training and testing a model requires a large amount of data, and multiple validation sets are needed to avoid overfitting [<xref ref-type="bibr" rid="ref37">37</xref>]. In addition, as the RETAIN model receives input values for each variable and visit level, it may be difficult to apply the model to unstructured data such as free text or data that cannot be classified by date. Finally, it is important to acknowledge that physician assessments were done retrospectively, potentially not capturing dynamic clinical situations.</p></sec><sec id="s4-4"><title>Future Perspectives</title><p>Collecting a larger data set that includes a wider range of patients and additional predictors such as laboratory data or comorbidity information is essential. We firmly believe that integrating nursing narratives with broader information, including physician assessments, can lead to a better prediction model.</p></sec><sec id="s4-5"><title>Conclusions</title><p>In this study, an interpretable prediction model for a longer postoperative LOS was developed using nursing narratives. The day after surgery was the most critical time for prediction, and influential nursing narratives were revealed. Although nursing narratives serve as proxies for the care given to patients, our study suggests that they have the potential to be predictors for LOS. The developed model can help identify patients with a prolonged hospital stay at the right time, thereby improving patient care and reducing hospital management burden. To strengthen the evidence supporting the predictive value of nursing narratives, either alone or in combination with broader information such as physician assessment, a larger data set would be beneficial.</p><p>Our study highlights that nursing narratives are predictors for prolonged LOS in patients undergoing ovarian cancer surgery. We emphasize the comprehensive nature of nursing actions and their timing in predicting patient outcomes and suggest methods to incorporate into a prediction model.</p></sec></sec></body><back><ack><p>This research was supported by the Basic Science Research Program through the National Research Foundation of Korea, which is funded by the Ministry of Education (NRF-2020R1C1C1007704 to SA).</p></ack><fn-group><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AUC</term><def><p>area under the receiver operating curve</p></def></def-item><def-item><term id="abb2">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb3"><italic>ICD-9</italic></term><def><p><italic>International Classification of Diseases, Ninth Revision</italic></p></def></def-item><def-item><term id="abb4">J-P</term><def><p>Jackson-Pratt</p></def></def-item><def-item><term id="abb5">LOS</term><def><p>length of stay</p></def></def-item><def-item><term id="abb6">PCA</term><def><p>patient-controlled analgesia</p></def></def-item><def-item><term id="abb7">RETAIN</term><def><p>Reverse Time Attention</p></def></def-item><def-item><term id="abb8">SNUBH</term><def><p>Seoul National University Bundang 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>Gon&#x00E7;alves-Bradley</surname><given-names>DC</given-names></name><name name-style="western"><surname>Lannin</surname><given-names>NA</given-names></name><name name-style="western"><surname>Clemson</surname><given-names>LM</given-names></name><name name-style="western"><surname>Cameron</surname><given-names>ID</given-names></name><name name-style="western"><surname>Shepperd</surname><given-names>S</given-names></name></person-group><article-title>Discharge planning from hospital</article-title><source>Cochrane Database Syst Rev</source><year>2016</year><month>01</month><day>27</day><volume>2016</volume><issue>1</issue><fpage>CD000313</fpage><pub-id pub-id-type="doi">10.1002/14651858.CD000313.pub5</pub-id><pub-id pub-id-type="medline">26816297</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>Parikh</surname><given-names>RB</given-names></name><name name-style="western"><surname>Kakad</surname><given-names>M</given-names></name><name name-style="western"><surname>Bates</surname><given-names>DW</given-names></name></person-group><article-title>Integrating predictive analytics into high-value care: the dawn of precision delivery</article-title><source>JAMA</source><year>2016</year><month>02</month><day>16</day><volume>315</volume><issue>7</issue><fpage>651</fpage><lpage>652</lpage><pub-id pub-id-type="doi">10.1001/jama.2015.19417</pub-id><pub-id pub-id-type="medline">26881365</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>Bacchi</surname><given-names>S</given-names></name><name name-style="western"><surname>Gluck</surname><given-names>S</given-names></name><name name-style="western"><surname>Tan</surname><given-names>Y</given-names></name><etal/></person-group><article-title>Prediction of general medical admission length of stay with natural language processing and deep learning: a pilot study</article-title><source>Intern Emerg Med</source><year>2020</year><month>09</month><volume>15</volume><issue>6</issue><fpage>989</fpage><lpage>995</lpage><pub-id pub-id-type="doi">10.1007/s11739-019-02265-3</pub-id><pub-id pub-id-type="medline">31898204</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>Chrusciel</surname><given-names>J</given-names></name><name name-style="western"><surname>Girardon</surname><given-names>F</given-names></name><name name-style="western"><surname>Roquette</surname><given-names>L</given-names></name><name name-style="western"><surname>Laplanche</surname><given-names>D</given-names></name><name name-style="western"><surname>Duclos</surname><given-names>A</given-names></name><name name-style="western"><surname>Sanchez</surname><given-names>S</given-names></name></person-group><article-title>The prediction of hospital length of stay using unstructured data</article-title><source>BMC Med Inform Decis Mak</source><year>2021</year><month>12</month><day>18</day><volume>21</volume><issue>1</issue><fpage>351</fpage><pub-id pub-id-type="doi">10.1186/s12911-021-01722-4</pub-id><pub-id pub-id-type="medline">34922532</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>Rajkomar</surname><given-names>A</given-names></name><name name-style="western"><surname>Oren</surname><given-names>E</given-names></name><name name-style="western"><surname>Chen</surname><given-names>K</given-names></name><etal/></person-group><article-title>Scalable and accurate deep learning with electronic health records</article-title><source>NPJ Digit Med</source><year>2018</year><month>05</month><day>18</day><volume>1</volume><fpage>18</fpage><pub-id pub-id-type="doi">10.1038/s41746-018-0029-1</pub-id><pub-id pub-id-type="medline">31304302</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>Bacchi</surname><given-names>S</given-names></name><name name-style="western"><surname>Gluck</surname><given-names>S</given-names></name><name name-style="western"><surname>Tan</surname><given-names>Y</given-names></name><etal/></person-group><article-title>Mixed-data deep learning in repeated predictions of general medicine length of stay: a derivation study</article-title><source>Intern Emerg Med</source><year>2021</year><month>09</month><volume>16</volume><issue>6</issue><fpage>1613</fpage><lpage>1617</lpage><pub-id pub-id-type="doi">10.1007/s11739-021-02697-w</pub-id><pub-id pub-id-type="medline">33728577</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>Safavi</surname><given-names>KC</given-names></name><name name-style="western"><surname>Khaniyev</surname><given-names>T</given-names></name><name name-style="western"><surname>Copenhaver</surname><given-names>M</given-names></name><etal/></person-group><article-title>Development and validation of a machine learning model to aid discharge processes for inpatient surgical care</article-title><source>JAMA Netw Open</source><year>2019</year><month>12</month><day>2</day><volume>2</volume><issue>12</issue><fpage>e1917221</fpage><pub-id pub-id-type="doi">10.1001/jamanetworkopen.2019.17221</pub-id><pub-id pub-id-type="medline">31825503</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>Zhang</surname><given-names>X</given-names></name><name name-style="western"><surname>Yan</surname><given-names>C</given-names></name><name name-style="western"><surname>Malin</surname><given-names>BA</given-names></name><name name-style="western"><surname>Patel</surname><given-names>MB</given-names></name><name name-style="western"><surname>Chen</surname><given-names>Y</given-names></name></person-group><article-title>Predicting next-day discharge via electronic health record access logs</article-title><source>J Am Med Inform Assoc</source><year>2021</year><month>11</month><day>25</day><volume>28</volume><issue>12</issue><fpage>2670</fpage><lpage>2680</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocab211</pub-id><pub-id pub-id-type="medline">34592753</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>Stone</surname><given-names>K</given-names></name><name name-style="western"><surname>Zwiggelaar</surname><given-names>R</given-names></name><name name-style="western"><surname>Jones</surname><given-names>P</given-names></name><name name-style="western"><surname>Parthal&#x00E1;in</surname><given-names>NM</given-names></name></person-group><article-title>A systematic review of the prediction of hospital length of stay: towards a unified framework</article-title><source>PLOS Digit Health</source><year>2022</year><month>04</month><day>14</day><volume>1</volume><issue>4</issue><fpage>e0000017</fpage><pub-id pub-id-type="doi">10.1371/journal.pdig.0000017</pub-id><pub-id pub-id-type="medline">36812502</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>Douw</surname><given-names>G</given-names></name><name name-style="western"><surname>Schoonhoven</surname><given-names>L</given-names></name><name name-style="western"><surname>Holwerda</surname><given-names>T</given-names></name><etal/></person-group><article-title>Nurses&#x2019; worry or concern and early recognition of deteriorating patients on general wards in acute care hospitals: a systematic review</article-title><source>Crit Care</source><year>2015</year><month>05</month><day>20</day><volume>19</volume><issue>1</issue><fpage>230</fpage><pub-id pub-id-type="doi">10.1186/s13054-015-0950-5</pub-id><pub-id pub-id-type="medline">25990249</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>Kim</surname><given-names>K</given-names></name><name name-style="western"><surname>Jeong</surname><given-names>S</given-names></name><name name-style="western"><surname>Lee</surname><given-names>K</given-names></name><etal/></person-group><article-title>Metrics for electronic-nursing-record-based narratives: cross-sectional analysis</article-title><source>Appl Clin Inform</source><year>2016</year><month>11</month><day>30</day><volume>7</volume><issue>4</issue><fpage>1107</fpage><lpage>1119</lpage><pub-id pub-id-type="doi">10.4338/ACI-2016-07-RA-0119</pub-id><pub-id pub-id-type="medline">27901174</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>Marafino</surname><given-names>BJ</given-names></name><name name-style="western"><surname>Boscardin</surname><given-names>WJ</given-names></name><name name-style="western"><surname>Dudley</surname><given-names>RA</given-names></name></person-group><article-title>Efficient and sparse feature selection for biomedical text classification via the elastic net: application to ICU risk stratification from nursing notes</article-title><source>J Biomed Inform</source><year>2015</year><month>04</month><volume>54</volume><fpage>114</fpage><lpage>120</lpage><pub-id pub-id-type="doi">10.1016/j.jbi.2015.02.003</pub-id><pub-id pub-id-type="medline">25700665</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>Romero-Brufau</surname><given-names>S</given-names></name><name name-style="western"><surname>Gaines</surname><given-names>K</given-names></name><name name-style="western"><surname>Nicolas</surname><given-names>CT</given-names></name><name name-style="western"><surname>Johnson</surname><given-names>MG</given-names></name><name name-style="western"><surname>Hickman</surname><given-names>J</given-names></name><name name-style="western"><surname>Huddleston</surname><given-names>JM</given-names></name></person-group><article-title>The fifth vital sign? Nurse worry predicts inpatient deterioration within 24 hours</article-title><source>JAMIA Open</source><year>2019</year><month>08</month><day>28</day><volume>2</volume><issue>4</issue><fpage>465</fpage><lpage>470</lpage><pub-id pub-id-type="doi">10.1093/jamiaopen/ooz033</pub-id><pub-id pub-id-type="medline">32025643</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>Kim</surname><given-names>K</given-names></name><name name-style="western"><surname>Han</surname><given-names>Y</given-names></name><name name-style="western"><surname>Jeong</surname><given-names>S</given-names></name><etal/></person-group><article-title>Prediction of postoperative length of hospital stay based on differences in nursing narratives in elderly patients with epithelial ovarian cancer</article-title><source>Methods Inf Med</source><year>2019</year><month>12</month><volume>58</volume><issue>6</issue><fpage>222</fpage><lpage>228</lpage><pub-id pub-id-type="doi">10.1055/s-0040-1705122</pub-id><pub-id pub-id-type="medline">32349156</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>Hilton</surname><given-names>CB</given-names></name><name name-style="western"><surname>Milinovich</surname><given-names>A</given-names></name><name name-style="western"><surname>Felix</surname><given-names>C</given-names></name><etal/></person-group><article-title>Personalized predictions of patient outcomes during and after hospitalization using artificial intelligence</article-title><source>NPJ Digit Med</source><year>2020</year><month>04</month><day>3</day><volume>3</volume><fpage>51</fpage><pub-id pub-id-type="doi">10.1038/s41746-020-0249-z</pub-id><pub-id pub-id-type="medline">32285012</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Choi</surname><given-names>E</given-names></name><name name-style="western"><surname>Bahadori</surname><given-names>MT</given-names></name><name name-style="western"><surname>Sun</surname><given-names>J</given-names></name><etal/></person-group><article-title>RETAIN: an interpretable predictive model for healthcare using reverse time attention mechanism</article-title><conf-name>NIPS&#x2019;16: Proceedings of the 30th International Conference on Neural Information Processing Systems</conf-name><conf-date>Dec 5-10, 2016</conf-date><conf-loc>Barcelona, Spain</conf-loc><fpage>3512</fpage><lpage>3520</lpage></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>Markus</surname><given-names>AF</given-names></name><name name-style="western"><surname>Kors</surname><given-names>JA</given-names></name><name name-style="western"><surname>Rijnbeek</surname><given-names>PR</given-names></name></person-group><article-title>The role of explainability in creating trustworthy artificial intelligence for health care: a comprehensive survey of the terminology, design choices, and evaluation strategies</article-title><source>J Biomed Inform</source><year>2021</year><month>01</month><volume>113</volume><fpage>103655</fpage><pub-id pub-id-type="doi">10.1016/j.jbi.2020.103655</pub-id><pub-id pub-id-type="medline">33309898</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>Steinberg</surname><given-names>E</given-names></name><name name-style="western"><surname>Jung</surname><given-names>K</given-names></name><name name-style="western"><surname>Fries</surname><given-names>JA</given-names></name><name name-style="western"><surname>Corbin</surname><given-names>CK</given-names></name><name name-style="western"><surname>Pfohl</surname><given-names>SR</given-names></name><name name-style="western"><surname>Shah</surname><given-names>NH</given-names></name></person-group><article-title>Language models are an effective representation learning technique for electronic health record data</article-title><source>J Biomed Inform</source><year>2021</year><month>01</month><volume>113</volume><fpage>103637</fpage><pub-id pub-id-type="doi">10.1016/j.jbi.2020.103637</pub-id><pub-id pub-id-type="medline">33290879</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>Kang</surname><given-names>Y</given-names></name><name name-style="western"><surname>Jia</surname><given-names>X</given-names></name><name name-style="western"><surname>Wang</surname><given-names>K</given-names></name><etal/></person-group><article-title>A clinically practical and interpretable deep model for ICU mortality prediction with external validation</article-title><source>AMIA Annu Symp Proc</source><year>2020</year><volume>2020</volume><fpage>629</fpage><lpage>637</lpage><pub-id pub-id-type="medline">33936437</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>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="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>AlSaad</surname><given-names>R</given-names></name><name name-style="western"><surname>Malluhi</surname><given-names>Q</given-names></name><name name-style="western"><surname>Boughorbel</surname><given-names>S</given-names></name></person-group><article-title>PredictPTB: an interpretable preterm birth prediction model using attention-based recurrent neural networks</article-title><source>BioData Min</source><year>2022</year><month>02</month><day>14</day><volume>15</volume><issue>1</issue><fpage>6</fpage><pub-id pub-id-type="doi">10.1186/s13040-022-00289-8</pub-id><pub-id pub-id-type="medline">35164820</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>Wu</surname><given-names>J</given-names></name><name name-style="western"><surname>Dong</surname><given-names>Y</given-names></name><name name-style="western"><surname>Gao</surname><given-names>Z</given-names></name><name name-style="western"><surname>Gong</surname><given-names>T</given-names></name><name name-style="western"><surname>Li</surname><given-names>C</given-names></name></person-group><article-title>Dual attention and patient similarity network for drug recommendation</article-title><source>Bioinformatics</source><year>2023</year><month>01</month><day>1</day><volume>39</volume><issue>1</issue><fpage>btad003</fpage><pub-id pub-id-type="doi">10.1093/bioinformatics/btad003</pub-id><pub-id pub-id-type="medline">36617159</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>Rasmy</surname><given-names>L</given-names></name><name name-style="western"><surname>Xiang</surname><given-names>Y</given-names></name><name name-style="western"><surname>Xie</surname><given-names>Z</given-names></name><name name-style="western"><surname>Tao</surname><given-names>C</given-names></name><name name-style="western"><surname>Zhi</surname><given-names>D</given-names></name></person-group><article-title>Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction</article-title><source>NPJ Digit Med</source><year>2021</year><month>05</month><day>20</day><volume>4</volume><issue>1</issue><fpage>86</fpage><pub-id pub-id-type="doi">10.1038/s41746-021-00455-y</pub-id><pub-id pub-id-type="medline">34017034</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>Collins</surname><given-names>GS</given-names></name><name name-style="western"><surname>Reitsma</surname><given-names>JB</given-names></name><name name-style="western"><surname>Altman</surname><given-names>DG</given-names></name><name name-style="western"><surname>Moons</surname><given-names>KGM</given-names></name></person-group><article-title>Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement</article-title><source>BMJ</source><year>2015</year><month>01</month><day>7</day><volume>350</volume><fpage>g7594</fpage><pub-id pub-id-type="doi">10.1136/bmj.g7594</pub-id><pub-id pub-id-type="medline">25569120</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>Flamer</surname><given-names>HE</given-names></name><name name-style="western"><surname>Christophidis</surname><given-names>N</given-names></name><name name-style="western"><surname>Margetts</surname><given-names>C</given-names></name><name name-style="western"><surname>Ugoni</surname><given-names>A</given-names></name><name name-style="western"><surname>McLean</surname><given-names>AJ</given-names></name></person-group><article-title>Extended hospital stays with increasing age: the impact of an acute geriatric unit</article-title><source>Med J Aust</source><year>1996</year><month>01</month><day>1</day><volume>164</volume><issue>1</issue><fpage>10</fpage><lpage>13</lpage><pub-id pub-id-type="doi">10.5694/j.1326-5377.1996.tb94100.x</pub-id><pub-id pub-id-type="medline">8559087</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>Marfil-Garza</surname><given-names>BA</given-names></name><name name-style="western"><surname>Belaunzar&#x00E1;n-Zamudio</surname><given-names>PF</given-names></name><name name-style="western"><surname>Gulias-Herrero</surname><given-names>A</given-names></name><etal/></person-group><article-title>Risk factors associated with prolonged hospital length-of-stay: 18-year retrospective study of hospitalizations in a tertiary Healthcare center in Mexico</article-title><source>PLoS One</source><year>2018</year><volume>13</volume><issue>11</issue><fpage>e0207203</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0207203</pub-id><pub-id pub-id-type="medline">30408118</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Min</surname><given-names>YH</given-names></name><name name-style="western"><surname>Park</surname><given-names>H-A</given-names></name><name name-style="western"><surname>Chung</surname><given-names>E</given-names></name><name name-style="western"><surname>Lee</surname><given-names>H</given-names></name></person-group><article-title>Implementation of a next-generation electronic nursing records system based on detailed clinical models and integration of clinical practice guidelines</article-title><source>Healthc Inform Res</source><year>2013</year><month>12</month><volume>19</volume><issue>4</issue><fpage>301</fpage><lpage>306</lpage><pub-id pub-id-type="doi">10.4258/hir.2013.19.4.301</pub-id><pub-id pub-id-type="medline">24523995</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>DeLong</surname><given-names>ER</given-names></name><name name-style="western"><surname>DeLong</surname><given-names>DM</given-names></name><name name-style="western"><surname>Clarke-Pearson</surname><given-names>DL</given-names></name></person-group><article-title>Comparing the areas under two or more correlated receiver operating characteristic curves: a nonparametric approach</article-title><source>Biometrics</source><year>1988</year><month>09</month><volume>44</volume><issue>3</issue><fpage>837</fpage><lpage>845</lpage><pub-id pub-id-type="medline">3203132</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Detsky</surname><given-names>ME</given-names></name><name name-style="western"><surname>Harhay</surname><given-names>MO</given-names></name><name name-style="western"><surname>Bayard</surname><given-names>DF</given-names></name><etal/></person-group><article-title>Discriminative accuracy of physician and nurse predictions for survival and functional outcomes 6 months after an ICU admission</article-title><source>JAMA</source><year>2017</year><month>06</month><day>6</day><volume>317</volume><issue>21</issue><fpage>2187</fpage><lpage>2195</lpage><pub-id pub-id-type="doi">10.1001/jama.2017.4078</pub-id><pub-id pub-id-type="medline">28528347</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Huang</surname><given-names>K</given-names></name><name name-style="western"><surname>Gray</surname><given-names>TF</given-names></name><name name-style="western"><surname>Romero-Brufau</surname><given-names>S</given-names></name><name name-style="western"><surname>Tulsky</surname><given-names>JA</given-names></name><name name-style="western"><surname>Lindvall</surname><given-names>C</given-names></name></person-group><article-title>Using nursing notes to improve clinical outcome prediction in intensive care patients: a retrospective cohort study</article-title><source>J Am Med Inform Assoc</source><year>2021</year><month>07</month><day>30</day><volume>28</volume><issue>8</issue><fpage>1660</fpage><lpage>1666</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocab051</pub-id><pub-id pub-id-type="medline">33880557</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>May</surname><given-names>C</given-names></name><name name-style="western"><surname>Sibley</surname><given-names>A</given-names></name><name name-style="western"><surname>Hunt</surname><given-names>K</given-names></name></person-group><article-title>The nursing work of hospital-based clinical practice guideline implementation: an explanatory systematic review using normalisation process theory</article-title><source>Int J Nurs Stud</source><year>2014</year><month>02</month><volume>51</volume><issue>2</issue><fpage>289</fpage><lpage>299</lpage><pub-id pub-id-type="doi">10.1016/j.ijnurstu.2013.06.019</pub-id><pub-id pub-id-type="medline">23910398</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rohde</surname><given-names>E</given-names></name><name name-style="western"><surname>Domm</surname><given-names>E</given-names></name></person-group><article-title>Nurses clinical reasoning practices that support safe medication administration: an integrative review of the literature</article-title><source>J Clin Nurs</source><year>2018</year><month>02</month><volume>27</volume><issue>3-4</issue><fpage>e402</fpage><lpage>e411</lpage><pub-id pub-id-type="doi">10.1111/jocn.14077</pub-id><pub-id pub-id-type="medline">28926146</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Walshe</surname><given-names>N</given-names></name><name name-style="western"><surname>Ryng</surname><given-names>S</given-names></name><name name-style="western"><surname>Drennan</surname><given-names>J</given-names></name><etal/></person-group><article-title>Situation awareness and the mitigation of risk associated with patient deterioration: a meta-narrative review of theories and models and their relevance to nursing practice</article-title><source>Int J Nurs Stud</source><year>2021</year><month>12</month><volume>124</volume><fpage>104086</fpage><pub-id pub-id-type="doi">10.1016/j.ijnurstu.2021.104086</pub-id><pub-id pub-id-type="medline">34601204</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Schnock</surname><given-names>KO</given-names></name><name name-style="western"><surname>Kang</surname><given-names>MJ</given-names></name><name name-style="western"><surname>Rossetti</surname><given-names>SC</given-names></name><etal/></person-group><article-title>Identifying nursing documentation patterns associated with patient deterioration and recovery from deterioration in critical and acute care settings</article-title><source>Int J Med Inform</source><year>2021</year><month>09</month><volume>153</volume><fpage>104525</fpage><pub-id pub-id-type="doi">10.1016/j.ijmedinf.2021.104525</pub-id><pub-id pub-id-type="medline">34171662</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Woo</surname><given-names>K</given-names></name><name name-style="western"><surname>Song</surname><given-names>J</given-names></name><name name-style="western"><surname>Adams</surname><given-names>V</given-names></name><etal/></person-group><article-title>Exploring prevalence of wound infections and related patient characteristics in homecare using natural language processing</article-title><source>Int Wound J</source><year>2022</year><month>01</month><volume>19</volume><issue>1</issue><fpage>211</fpage><lpage>221</lpage><pub-id pub-id-type="doi">10.1111/iwj.13623</pub-id><pub-id pub-id-type="medline">34105873</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Soenksen</surname><given-names>LR</given-names></name><name name-style="western"><surname>Ma</surname><given-names>Y</given-names></name><name name-style="western"><surname>Zeng</surname><given-names>C</given-names></name><etal/></person-group><article-title>Integrated multimodal artificial intelligence framework for healthcare applications</article-title><source>NPJ Digit Med</source><year>2022</year><month>09</month><day>20</day><volume>5</volume><issue>1</issue><fpage>149</fpage><pub-id pub-id-type="doi">10.1038/s41746-022-00689-4</pub-id><pub-id pub-id-type="medline">36127417</pub-id></nlm-citation></ref><ref id="ref37"><label>37</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ying</surname><given-names>X</given-names></name></person-group><article-title>An overview of overfitting and its solutions</article-title><source>J Phys Conference Ser</source><year>2019</year><month>03</month><day>2</day><volume>1168</volume><fpage>022022</fpage><pub-id pub-id-type="doi">10.1088/1742-6596/1168/2/022022</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Supplementary material.</p><media xlink:href="medinform_v11i1e45377_app1.docx" xlink:title="DOCX File, 2122 KB"/></supplementary-material></app-group></back></article>