<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMI</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id>
      <journal-title>JMIR Medical Informatics</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">v14i1e95929</article-id>
      <article-id pub-id-type="pmid"/>
      <article-id pub-id-type="doi">10.2196/95929</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>A Disease Trajectory Representation Framework With Risk-Aware Pseudotime Analysis for Electronic Health Records: Application to Heart Failure Risk Stratification</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Coristine</surname>
            <given-names>Andrew</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Tutsoy</surname>
            <given-names>Onder</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Xu</surname>
            <given-names>Hao</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Huang</surname>
            <given-names>Jhen-Li</given-names>
          </name>
          <degrees>MS</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-6560-074X</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Yang</surname>
            <given-names>Cing-Han</given-names>
          </name>
          <degrees>MS</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0000-8026-1822</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Pai</surname>
            <given-names>Tun-Wen</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <address>
            <institution>Department of Computer Science and Information Engineering</institution>
            <institution>National Taipei University of Technology</institution>
            <addr-line>No. 1, Sec. 3, Zhongxiao E. Rd.</addr-line>
            <addr-line>Taipei, 106344</addr-line>
            <country>Taiwan</country>
            <phone>886 2 2771 2171 ext 4222</phone>
            <email>twp@ntut.edu.tw</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-2869-4169</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Department of Computer Science and Engineering</institution>
        <institution>National Taiwan Ocean University</institution>
        <addr-line>Keelung</addr-line>
        <country>Taiwan</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Department of Computer Science and Information Engineering</institution>
        <institution>National Taipei University of Technology</institution>
        <addr-line>Taipei</addr-line>
        <country>Taiwan</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Tun-Wen Pai <email>twp@ntut.edu.tw</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>10</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <elocation-id>e95929</elocation-id>
      <history>
        <date date-type="received">
          <day>27</day>
          <month>3</month>
          <year>2026</year>
        </date>
        <date date-type="rev-request">
          <day>17</day>
          <month>6</month>
          <year>2026</year>
        </date>
        <date date-type="rev-recd">
          <day>2</day>
          <month>10</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>6</day>
          <month>10</month>
          <year>2026</year>
        </date>
      </history>
      <copyright-statement>©Jhen-Li Huang, Cing-Han Yang, Tun-Wen Pai. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 10.11.2026.</copyright-statement>
      <copyright-year>2026</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 (https://creativecommons.org/licenses/by/4.0/), 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 https://medinform.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://medinform.jmir.org/2026/1/e95929" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Heart failure develops through complex longitudinal interactions among multiple chronic diseases, making longitudinal disease trajectories an important source of clinical information. Longitudinal disease trajectories contain rich structural information that reflects disease evolution and comorbidity interactions. However, this information is often lost when electronic health record (EHR) data are summarized using conventional pooling strategies or sparse <italic>International Classification of Diseases (ICD</italic>) representations.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>This study aimed to develop an interpretable trajectory representation that preserves structural characteristics of longitudinal disease evolution for heart failure risk stratification using EHRs.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>Longitudinal <italic>ICD</italic> trajectories were represented using Node2Vec embeddings and summarized with information gain (IG)–weighted geometric features, including historical means, directional shifts, dispersion, and deviation relative to high-risk disease representations. The resulting maximum IG-weighted deviation geometric (mIGwDG) representation was evaluated using 10-fold cross-validation against conventional embedding aggregation strategies, sparse <italic>ICD</italic> one-hot encoding, and a long short-term memory (LSTM) model. To facilitate interpretation of longitudinal disease evolution, we further developed a risk-aware pseudotime framework to organize patient trajectories along a model-inferred risk continuum and used a framework combining IG with the positive pointwise mutual information (PPMI) framework to characterize clinically relevant comorbidity patterns.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>The proposed framework achieved an out-of-fold (OOF) area under the precision-recall curve (AUPRC) of 0.667 and an area under the curve (AUC) of 0.888, outperforming conventional embedding aggregation methods. Compared with sparse <italic>ICD</italic> one-hot encoding, the proposed framework reduced feature dimensionality by approximately 75% while maintaining comparable predictive performance. Combining mIGwDG with sparse <italic>ICD</italic> one-hot features further improved both logistic regression (LR) and extreme gradient boosting (XGBoost), suggesting that the proposed representation captures complementary longitudinal disease trajectory information. In addition, the risk-aware pseudotime framework organized heterogeneous patient trajectories along a model-inferred risk continuum, while IG×PPMI analysis highlighted clinically relevant comorbidity patterns that supported the interpretation of longitudinal disease organization.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>The proposed framework provides a compact and interpretable representation of longitudinal disease trajectories while maintaining comparable predictive performance. By combining geometric trajectory characterization with risk-aware pseudotime visualization, the framework facilitates the representation of longitudinal EHRs, the visualization of disease evolution, and risk stratification.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>heart failure</kwd>
        <kwd>electronic health records</kwd>
        <kwd>clinical risk identification</kwd>
        <kwd>comorbidity trajectories</kwd>
        <kwd>representation framework</kwd>
        <kwd>interpretability</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>Heart failure (HF), chronic kidney disease (CKD), and type 2 diabetes mellitus (T2DM) represent an escalating global health burden and frequently manifest as highly interrelated comorbid conditions. These conditions interact synergistically to form the cardiovascular-kidney-metabolic (CKM) syndrome [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. The clinical course of HF is characterized by multisystem involvement, in which hypertension and metabolic disorders evolve into complex, time-varying comorbidity patterns [<xref ref-type="bibr" rid="ref3">3</xref>]. Consequently, HF is increasingly regarded as a terminal convergence point of multiple chronic diseases, representing the culmination of long-term interactions that ultimately lead to systemic functional deterioration and decompensation [<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref5">5</xref>]. Unlike conventional static risk models, clinical trajectories capture the longitudinal interplay between chronic risk accumulation and acute episodes across the care continuum in patients with HF [<xref ref-type="bibr" rid="ref6">6</xref>-<xref ref-type="bibr" rid="ref8">8</xref>]. Given that these evolving comorbidity structures are potent predictors of hospitalization and mortality, leveraging EHRs to develop risk stratification models that encapsulate such longitudinal dynamics remains important for clinical phenotyping [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>].</p>
      <p>In EHR-based research, <italic>International Classification of Diseases</italic> (<italic>ICD</italic>) codes are among the most standardized data elements for disease risk prediction due to their structured representation and universal adoption [<xref ref-type="bibr" rid="ref11">11</xref>]. Conventional approaches typically encode <italic>ICD</italic> codes as independent features, using one-hot encoding or frequency-based representations such as term frequency-inverse document frequency (TF-IDF) [<xref ref-type="bibr" rid="ref12">12</xref>]. These methods are computationally efficient and readily interpretable but implicitly assume diagnostic independence, thereby overlooking the rich comorbidity structures that underlie complex chronic diseases. Because clinical risk often emerges from interactions among multiple coexisting conditions rather than isolated diagnoses, recent studies have shifted toward distributed disease representations by embedding <italic>ICD</italic> codes into continuous vector spaces [<xref ref-type="bibr" rid="ref13">13</xref>-<xref ref-type="bibr" rid="ref15">15</xref>]. Graph embedding techniques, such as Node2Vec and DeepWalk, can learn richer representations by constructing disease co-occurrence networks and preserving semantic similarity [<xref ref-type="bibr" rid="ref16">16</xref>,<xref ref-type="bibr" rid="ref17">17</xref>]. More recently, graph neural network (GNN)–based approaches have integrated longitudinal EHR information with comorbidity connectivity and demonstrated improved disease risk prediction using heterogeneous graph attention mechanisms and joint modeling of temporal clinical records and disease networks [<xref ref-type="bibr" rid="ref18">18</xref>]. Despite these advances, graph embedding techniques primarily capture global network topology but may overlook fine-grained comorbidity configurations and individualized disease evolution. Moreover, contemporary GNNs generally rely on increasingly sophisticated architectures, yet their learned representations remain difficult to interpret clinically. Consequently, developing embedding spaces that preserve both clinically meaningful comorbidity structures and individualized longitudinal characteristics remains an important research challenge [<xref ref-type="bibr" rid="ref19">19</xref>].</p>
      <p>Deep learning architectures, including recurrent neural networks (RNNs) and Transformer-based models, excel at capturing temporal patterns in longitudinal EHRs. Nevertheless, patient histories are typically encoded into latent representations or simplified via aggregation, obscuring the underlying comorbidity dynamics [<xref ref-type="bibr" rid="ref20">20</xref>]. Furthermore, many representation learning approaches primarily capture static, population-level relationships and may struggle to distinguish acute exacerbations from long-term disease burden within heterogeneous trajectories [<xref ref-type="bibr" rid="ref21">21</xref>,<xref ref-type="bibr" rid="ref22">22</xref>]. Although attention-based representations improve predictive performance, they generally provide limited insight into the evolving geometry of diagnostic relationships, making it difficult to provide the structural interpretability needed for clinical decision support [<xref ref-type="bibr" rid="ref23">23</xref>,<xref ref-type="bibr" rid="ref24">24</xref>]. Developing models that integrate high predictive performance, explicit structural interpretability, and temporally informed representations of admission data therefore remains a central objective [<xref ref-type="bibr" rid="ref10">10</xref>] and motivates the proposed risk-aware geometric trajectory framework.</p>
      <p>In this study, we proposed a geometric trajectory representation framework for disease risk stratification to address these limitations. We modeled each patient’s diagnostic history over 3 years as a dynamic trajectory within a latent <italic>ICD</italic> embedding space to stratify the risk of HF during their current hospitalization. Our approach was designed to capture target-centered relational structures and interdisease interactions. We derived geometric structural features to characterize the geometric characteristics and evolution of disease trajectories. This representation enabled predictive discrimination and structural interpretability, facilitating interpretation of clinically significant comorbidities in a transparent manner.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Data Sources and Preprocessing</title>
        <p>This study used clinical diagnosis data from the Medical Information Mart for Intensive Care IV (MIMIC-IV; version 2.2) [<xref ref-type="bibr" rid="ref25">25</xref>-<xref ref-type="bibr" rid="ref27">27</xref>]. MIMIC-IV is a comprehensive, publicly available electronic health record (EHR) database developed by the Massachusetts Institute of Technology (MIT) and Beth Israel Deaconess Medical Center (BIDMC), encompassing inpatient medical records of patients with critical illness admitted to BIDMC between 2008 and 2019. Using individual hospital admissions as the primary unit of analysis, we collected hospitalization records for patients aged 20 years and older, organized chronologically by admission time. To construct a structured dataset capturing both cross-sectional and longitudinal features, historical hospitalization information from the preceding 3-year window was integrated for each index admission. Consequently, each record was treated as an independent sample, comprising a sequence of <italic>ICD</italic> codes from hospitalizations within the prior 3 years, and the corresponding study label.</p>
        <p>The final cohort consisted of 71,212 patients and 226,992 hospital admissions, covering 1663 unique <italic>International Classification of Diseases, 10th Revision, Clinical Modification</italic> (<italic>ICD-10-CM</italic>) diagnosis codes. Each admission contained a mean of 12.36 (SD 6.99) diagnosis codes, providing a heterogeneous representation of patients' comorbidity profiles. Baseline demographic and clinical characteristics were summarized in <xref ref-type="table" rid="table1">Table 1</xref>, including age, sex, length of stay, mortality, and admission statistics. To characterize the availability of longitudinal information for each index admission, we summarized the distribution of historical hospital visits within the 3-year observation window. Each index admission was associated with a mean of 4.82 (SD 8.14) historical hospital visits (median 2, IQR 1-5). Among all index admissions, 33.8% had only one historical visit available, whereas 66.2%, 28.3%, and 12.1% had at least 2, 5, and 10 historical visits, respectively. These statistics demonstrate that the cohort included both sparse and dense longitudinal trajectories, enabling evaluation of the proposed framework across varying amounts of historical information.</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Baseline demographic and clinical characteristics of the study cohort. The table summarizes patient demographics, hospitalization characteristics, and the distribution of historical hospital visits available for each index admission within the 3-year observation window.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="370"/>
            <col width="210"/>
            <col width="210"/>
            <col width="210"/>
            <thead>
              <tr valign="top">
                <td>Characteristic</td>
                <td>All</td>
                <td>Male</td>
                <td>Female</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Number of patients, n (%)</td>
                <td>71,212</td>
                <td>33,047 (46.4)</td>
                <td>38,165 (53.6)</td>
              </tr>
              <tr valign="top">
                <td>Number of admissions</td>
                <td>226,992</td>
                <td>111,376</td>
                <td>115,616</td>
              </tr>
              <tr valign="top">
                <td>Age (years), mean (SD)</td>
                <td>58.98 (19.01)</td>
                <td>60.44 (17.46)</td>
                <td>57.71 (20.17)</td>
              </tr>
              <tr valign="top">
                <td>Age (years), median (IQR)</td>
                <td>61 (45-74)</td>
                <td>62 (49-73.5)</td>
                <td>59 (40-74)</td>
              </tr>
              <tr valign="top">
                <td>Length of stay (days), mean (SD)</td>
                <td>4.24 (6.92)</td>
                <td>4.37 (7.24)</td>
                <td>4.13 (6.60)</td>
              </tr>
              <tr valign="top">
                <td>Mortality rate, n/N (%)</td>
                <td>4,346/71,212 (6.1)</td>
                <td>2,330/33,047 (7.1)</td>
                <td>2,016/38,165 (5.3)</td>
              </tr>
              <tr valign="top">
                <td>Historical admissions within the 3-year observation window, mean (SD)</td>
                <td>4.82 (8.14)</td>
                <td>5.40 (9.90)</td>
                <td>4.26 (5.91)</td>
              </tr>
              <tr valign="top">
                <td>Historical admissions within the 3-year observation window, median (IQR)</td>
                <td>2.00 (1.00-5.00)</td>
                <td>2.00 (1.00-6.00)</td>
                <td>2.00 (1.00-5.00)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Since the data collection period of MIMIC-IV coincided with a transition in the US disease coding system, both the <italic>ICD, Ninth Revision, Clinical Modification</italic> (<italic>ICD-9-CM</italic>) and <italic>ICD-10-CM</italic> coding systems coexist within the dataset. To standardize the feature format, the primary preprocessing step involved integrating these 2 coding systems. We downloaded the General Equivalence Mappings (GEMs) from the official website of the Centers for Medicare &amp; Medicaid Services (CMS) [<xref ref-type="bibr" rid="ref28">28</xref>] to convert all mappable <italic>ICD-9-CM</italic> codes into their corresponding <italic>ICD-10-CM</italic> codes. Specifically, the mapping logic was applied as follows:</p>
        <list list-type="bullet">
          <list-item>
            <p>If the mapping table indicated that an
            <italic>ICD-9-CM</italic>
            code had no corresponding
            <italic>ICD-10-CM</italic>
            equivalent, the code was omitted.</p>
          </list-item>
          <list-item>
            <p>If a single
            <italic>ICD-9-CM</italic>
            code mapped to multiple
            <italic>ICD-10-CM</italic>
            codes, all corresponding
            <italic>ICD-10-CM</italic>
            codes were recorded.</p>
          </list-item>
          <list-item>
            <p>If an
            <italic>ICD-9-CM</italic>
            code was missing from the official GEMs, we traced upward through the hierarchical tree to identify its most recent common ancestor (MRCA) node to obtain an alternative code.</p>
          </list-item>
        </list>
        <p>Finally, to balance feature granularity and interpretability, all resulting <italic>ICD-10-CM</italic> codes were truncated to their first 3 characters. Furthermore, we excluded Z codes, which represent health care encounters unrelated to active diseases or injuries. Unless specified otherwise, all subsequent mentions of <italic>ICD</italic> codes in this study refer to the <italic>ICD-10-CM</italic> system.</p>
        <p>Target-specific analyses were conducted for HF (<italic>ICD-10-CM</italic> code I50). For outcome labeling, hospitalizations were categorized as positive (label=1) if the target <italic>ICD</italic> code was present in either the primary or secondary hospital discharge diagnosis list; otherwise, they were labeled as negative (label=0). These discharge diagnoses were assigned by certified professional medical coders based on comprehensive clinical documentation using standardized <italic>ICD-10-CM</italic> coding practices. Although administrative diagnosis codes may be subject to coding inaccuracies, <italic>ICD</italic>-based outcome definitions have been widely adopted in large-scale EHR studies, thereby providing a standardized and reproducible approach for outcome ascertainment.</p>
        <p>To evaluate the representational capacity of the model and prevent information leakage, a robust feature masking protocol was implemented. Specifically, the target code (I50) was removed from all diagnosis sequences prior to feature construction. Furthermore, to avoid reliance on direct clinical manifestations or established etiologies, we excluded highly correlated codes, including hypertensive heart disease (I11, I13), cardiomyopathies (I42, I43), complications and ill-defined descriptions of heart disease (I51), and pulmonary edema (J81). This approach encourages the model to learn latent risk representations from the underlying comorbidity structure and longitudinal disease history. The masked diagnosis sequences were used for all predictive feature construction, model training, and performance evaluation, including the risk stratification and architectural ablation analyses. In contrast, unmasked diagnostic records were used solely for post hoc interpretation and visualization, including the IG and positive pointwise mutual information (PPMI) comorbidity analysis and risk-aware pseudotime visualization. These unmasked records were analytically separated from the predictive modeling pipeline and not used for feature construction, model training, or performance evaluation.</p>
        <p>Only historical <italic>ICD</italic> records preceding the index admission were used as input features, whereas diagnosis codes from the index admission were reserved strictly for outcome definition. This design ensured that risk stratification relied solely on historical medical information available prior to the index admission while reflecting a clinically realistic setting. Patients with at least one prior hospitalization within the 3-year look-back period were included in the trajectory construction. Patients without any historical hospitalizations during this period lacked a longitudinal trajectory and were therefore excluded from the trajectory-based classification analysis. For patients with a single admission, trajectory-derived features were set to zero, while pooled representations remained available. Consequently, these admissions were represented by a single-state embedding rather than being excluded from the analysis.</p>
      </sec>
      <sec>
        <title>Ethical Considerations</title>
        <p>This study was a secondary analysis of a publicly available, deidentified MIMIC-IV database. The creation and maintenance of the MIMIC-IV database were approved by the Institutional Review Boards (IRBs) at MIT and BIDMC. Access to the database was granted to the author (JLH) after successful completion of the “Data or Specimens Only Research” training (CITI Program, Record ID: 61470359) and the execution of a formal data use agreement. All patient records contained in the MIMIC-IV database were rigorously deidentified prior to release in accordance with the Health Insurance Portability and Accountability Act (HIPAA) Safe Harbor regulations. Consequently, the requirement for individual patient informed consent was waived by the IRBs. There was no direct contact with human subjects, and participants received no compensation. Furthermore, no identifying information or clinical images of individual participants were included in this manuscript or its supplementary materials.</p>
      </sec>
      <sec>
        <title>Information Gain for ICD Feature Discrimination</title>
        <p>In machine learning, information gain (IG) is a fundamental metric for quantifying a feature’s contribution to class discrimination and is based on information-theoretic entropy [<xref ref-type="bibr" rid="ref29">29</xref>]. In this study, IG was employed to assess the discriminative power of individual <italic>ICD</italic> codes for target disease identification, measuring the reduction in uncertainty regarding the outcome given the presence or absence of a specific code. For each <italic>ICD</italic> code in the training dataset, the IG value was calculated using equation 1:</p>
        <p>
          <inline-graphic xlink:href="medinform_v14i1e95929_fig6.png" xlink:type="simple" mimetype="image"/>
        </p>
        <p>where <italic>H</italic>(<italic>Y</italic>) denotes the marginal entropy of the target outcome and <italic>H</italic>(<italic>Y</italic>|<italic>ICD)</italic> represents the conditional entropy. This metric captures the extent to which each <italic>ICD</italic> code facilitates effective classification, where higher IG values signify superior discriminative capacity. Since the target outcome was HF (<italic>ICD</italic> code I50), the resulting IG scores specifically quantified the contribution of each <italic>ICD</italic> code to the identification of HF. These disease-specific IG scores were subsequently used in a weighted pooling mechanism to emphasize <italic>ICD</italic> diagnosis codes with higher clinical relevance for identifying the target disease.</p>
      </sec>
      <sec>
        <title>PPMI-Based ICD Co-Occurrence Analysis</title>
        <p>To capture the underlying comorbidity structures within hospitalization records, we constructed an <italic>ICD</italic> code co-occurrence network from the training data using pointwise mutual information (PMI) [<xref ref-type="bibr" rid="ref30">30</xref>]. PMI is widely used in machine learning and natural language processing (NLP) to quantify co-occurrence strength between discrete entities. In our framework, each hospitalization was treated as a “document” comprising all assigned <italic>ICD</italic> codes. A co-occurrence event was defined by the concurrent appearance of 2 <italic>ICD</italic> codes within the same admission. Based on the marginal probabilities of individual <italic>ICD</italic> codes and their joint probabilities estimated from the training dataset, the PMI between a pair of <italic>ICD</italic> codes (<italic>i, j</italic>) was defined as equation 2:</p>
        <disp-formula>
          <graphic xlink:href="medinform_v14i1e95929_fig7.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>where <italic>P(i)</italic> denotes the occurrence probability of code <italic>i</italic>, and <italic>P(i,j)</italic> represents their joint probability. To reduce noise from negative associations, which may lack clinical interpretability and be mathematically unstable, we excluded negative PMI values. Instead, we adopted PPMI, as defined in equation 3, to retain only diagnostically meaningful positive associations between <italic>ICD</italic> codes. Finally, <italic>ICD</italic> codes were modeled as nodes, with PPMI values serving as edge weights, thereby constructing a weighted, undirected <italic>ICD</italic> co-occurrence graph.</p>
        <p><italic>PPMI</italic>(<italic>i,j</italic>)=max (<italic>PMI</italic>(<italic>i,j</italic>),0)</p>
        <p>Following the construction of the <italic>ICD</italic> co-occurrence graph, the Node2Vec algorithm was implemented to learn complex relational patterns among <italic>ICD</italic> nodes [<xref ref-type="bibr" rid="ref16">16</xref>]. Node2Vec employs second-order random walks that interpolate between breadth-first search (BFS) and depth-first search (DFS) through the return parameter (<italic>p</italic>) and in-out parameter (<italic>q</italic>). In this study, the default values (<italic>p</italic>=<italic>q</italic>=1) were adopted, providing an unbiased exploration of the disease network. Accordingly, no explicit bias toward either BFS- or DFS-like exploration was imposed during random walk generation. Through this approach, the high-dimensional comorbidity graph was mapped into a low-dimensional continuous vector space. This ensured that <italic>ICD</italic> codes with strong co-occurrence patterns, or those sharing similar structural roles within the network despite lacking direct connections, were positioned in proximity within the embedding space. Node2Vec was implemented using an embedding dimension of 64, a walk length of 10, and 30 random walks per node. The complete hyperparameter configuration was summarized in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p>
      </sec>
      <sec>
        <title>Longitudinal Diagnosis History Representation Architecture</title>
        <sec>
          <title>Overview</title>
          <p>To encode the irregularly sampled, longitudinal EHR sequence into a dense, time-aware feature space  <italic>X<sub>admission</sub> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup></italic>, we organized feature construction into a 4-stage hierarchical architecture. The hierarchy progressively integrated admission-level disease representations, IG-guided risk profiling, temporal weighting, and trajectory geometry to capture complementary structural characteristics of disease evolution within a unified representation.</p>
          <p>For an index admission, their longitudinal medical history within a 3-year observation window was defined as a sequence of historical hospitalizations <italic>P=</italic>{<italic>V<sub>1</sub>,V<sub>2</sub>,…V<sub>m</sub></italic>}, where m represented the total count of preceding admissions. Each admission <italic>V<sub>m</sub></italic> contained a subset of discrete diagnosis codes mapped into the embedding space via a pre-trained Node2Vec model, transforming each code <italic>c</italic> ∈ <italic>V<sub>m</sub></italic> into a dense vector <italic>e</italic>(<italic>c</italic>) ∈  <italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup></italic> (where d=64).</p>
        </sec>
        <sec>
          <title>Admission Representation Layer</title>
          <p>The foundational layer transformed discrete diagnosis codes within a single medical encounter into an admission-level disease representation. Diagnosis embeddings within each admission were aggregated to construct baseline representations that characterized the semantic composition of individual clinical encounters.</p>
        </sec>
        <sec>
          <title>Mean Pooling (Centroid Representation)</title>
          <p>For each admission <italic>V<sub>m</sub></italic> ∈  <italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup></italic>, mean pooling calculated the average position of all diagnosis embeddings within the latent <italic>ICD</italic> embedding space, yielding a geometric centroid that represented the “average disease state” of that hospitalization within the semantic space (equation 4):</p>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig8.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>where <italic>M</italic> denotes the set of diagnosis codes in admission <italic>m</italic>, and <italic>e(c)</italic>​ represents the embedding vector of diagnosis code <italic>c</italic>. The resulting vector <italic>V<sub>m</sub><sup>mean</sup></italic> represents the central position of the admission diagnoses profile within the embedding space, effectively characterizing the “average disease state” of that hospitalization within the disease semantic space.</p>
        </sec>
        <sec>
          <title>Max Pooling (Acute Signal Representation)</title>
          <p>Max pooling effectively captured acute diagnostic signals and clinical deterioration indicators (eg, severe complications) by preserving the most prominent latent features across diagnosis embeddings by selecting the maximum value along each embedding dimension (equation 5):</p>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig9.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>The resulting vector <italic>V<sub>m</sub><sup>max</sup></italic> represented a vector that highlighted dominant latent features of the admission diagnoses within the embedding space.</p>
        </sec>
        <sec>
          <title>Risk Profiling Layer</title>
          <p>To capture heterogeneous diagnostic contributions within each admission, this layer enhanced admission-level representations through IG-guided weighting and deviation-based geometric characterization:</p>
        </sec>
        <sec>
          <title>Entropy-Based IG Gating</title>
          <p>We introduced a max IG-weighted pooling strategy to capture high-impact diagnostic signals while reducing the influence of common but less informative diagnoses. IG values <italic>IG</italic>(<italic>c</italic>) were derived from the training corpus and normalized per training fold to prevent information leakage (equation 6):</p>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig10.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>Compared with conventional mean pooling, which summarizes the overall disease composition of an admission, IG-weighted pooling generates a risk-informed representation by assigning greater contribution to diagnostically informative features. The resulting vector <italic>V<sub>m</sub><sup>ig</sup></italic> captures admission-level disease characteristics weighted according to their model-derived importance.</p>
        </sec>
        <sec>
          <title>Pathological Risk Deviation Vector</title>
          <p>To characterize the difference between general disease composition and high-information diagnostic patterns, we introduced a deviation vector based on geometric displacement within the <italic>ICD</italic> embedding space.</p>
          <p>For each admission <italic>V<sub>m</sub></italic> within the 3-year history path (PATH), the mean pooling vector <italic>V<sub>m</sub><sup>mean</sup></italic> was used to summarize the overall admission-level disease profile, while the max IG-weighted vector <italic>V<sub>m</sub><sup>ig</sup></italic> designed to accentuate highly informative features while suppressing common, nondiscriminative diagnostic codes. The admission-level deviation vector <italic>V<sub>m</sub><sup>diff</sup></italic> (Equation 7) quantified the geometric displacement within a specific diagnostic combination:</p>
          <p><italic>V<sub>m</sub><sup>diff</sup></italic>=<italic>V<sub>m</sub><sup>ig</sup></italic>–<italic>V<sub>m</sub><sup>mean</sup></italic></p>
          <p>(In naive ablation models, this is substituted as <italic>V<sub>m</sub><sup>diff</sup></italic>=<italic>V<sub>m</sub><sup>max</sup></italic>–<italic>V<sub>m</sub><sup>mean</sup></italic>.)</p>
          <p>The resulting vector quantified the magnitude and direction of displacement between the general disease representation and the information-weighted representation. This geometric difference characterized how diagnostic patterns within an admission shifted away from the overall disease context toward regions associated with higher model-estimated risk.</p>
        </sec>
        <sec>
          <title>Temporal Aggregation Layer</title>
          <p>To incorporate the temporal heterogeneity of longitudinal EHR records, this layer aggregated historical admission-level representations according to their temporal proximity to the index admission. Unlike conventional static aggregation approaches that assigned identical importance to all historical encounters, the proposed temporal weighting strategy emphasized more recent clinical information while retaining the contribution of earlier disease history (shown in equation 8). For an index admission occurring <italic>t<sub>m</sub></italic> days prior to the prediction target point, a normalized linearly decayed weight <italic>w<sub>m</sub></italic> was calculated as (equation 8):</p>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig11.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>where <italic>w<sub>m</sub></italic> represents the relative temporal contribution of admission <italic>m</italic> within the predefined 3-year observation window.</p>
          <p>Using these temporal weights, the admission-level representations were aggregated into historical path-level indicators. To establish internal baseline comparisons, we constructed conventional history-level pooling representations together with the proposed deviation-based trajectory features.</p>
          <list list-type="bullet">
            <list-item>
              <p>Baseline history weighted mean vector (<italic>P<sup>wm</sup> ∈ </italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup>): the historical weighted mean representation reflects the overall disease composition across all previous admissions within the 3-year observation window (equation 9):</p>
            </list-item>
          </list>
          <p>
            <inline-graphic xlink:href="medinform_v14i1e95929_fig12.png" xlink:type="simple" mimetype="image"/>
          </p>
          <p>In naive internal ablation models, <italic>w<sub>m</sub></italic> defaults to <italic>1/M</italic>, reducing the calculation to a simple unweighted historical average.</p>
          <list list-type="bullet">
            <list-item>
              <p>Baseline history max vector (<italic>P<sup>max</sup> ∈ </italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup>): this representation preserves the maximum latent, absolute risk signal encountered at any point across the entire 3-year observation period, which captures prominent diagnostic signals that may be underrepresented by averaging operations (equation 10),</p>
            </list-item>
          </list>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig13.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>The admission-level deviation vector <italic>V<sub>m</sub><sup>diff</sup></italic> reflects the positional transition of comorbidity combinations within the disease graph, capturing the extent to which a patient’s state deviated from a baseline profile toward high-risk phenotypes. To translate these discrete admission-level transitions into continuous, longitudinal patient-level descriptors, the sequence of deviation vectors was systematically compressed into the final feature space through 2 distinct perspectives:</p>
          <list list-type="bullet">
            <list-item>
              <p>Cumulative deviation burden: the cumulative deviation descriptor (<italic>P<sup>diffsum</sup>∈ </italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup>) was calculated by summing deviation vectors across chronological admissions (equation 11),</p>
            </list-item>
          </list>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig14.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>It served as a measure of sustained disease burden. This feature represented the accumulated magnitude and direction of diagnostic shifts across the longitudinal disease history.</p>
          <list list-type="bullet">
            <list-item>
              <p>Recency-weighted mean deviation: the recency-weighted deviation representation (<italic>P<sup>diffwm</sup>∈ </italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><sup>d</sup>), shown in equation 12, incorporated the temporal weights <italic>w<sub>m</sub></italic> derived from equation 8:</p>
            </list-item>
          </list>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig15.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>By assigning greater importance to recent admissions, this feature captured temporally prioritized deviations within the patient’s longitudinal trajectory while preserving information from earlier encounters.</p>
        </sec>
        <sec>
          <title>Trajectory Geometry Layer</title>
          <p>The final layer characterized longitudinal disease trajectories by quantifying geometric changes, dispersion, and directional alignment of multiadmission representations within the embedding space.</p>
        </sec>
        <sec>
          <title>Intervisit Trajectory Transition Features</title>
          <p>To capture the displacement between consecutive clinical encounters, we calculated displacement vectors, as shown in equation 13, between successive admission representations for patients with <italic>M</italic> ≥2:</p>
          <p>∆<italic><sub>m</sub></italic>=<italic>V<sub>(m+1)</sub><sup>mean</sup></italic>–<italic>V<sub>m</sub><sup>mean</sup></italic> </p>
          <p>Where ∆<italic><sub>m</sub></italic> represents the embedding displacement between 2 consecutive admissions.</p>
          <p>Two trajectory transition descriptors were derived:</p>
          <list list-type="bullet">
            <list-item>
              <p>Cumulative intervisit trajectory transition (<italic>X<sub>trai_sum</sub></italic> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>d</sup></italic>): the absolute displacement vectors across consecutive admissions were summed to quantify the overall magnitude of longitudinal representation changes.</p>
            </list-item>
            <list-item>
              <p>Mean trajectory transition (<italic>X<sub>traj_mean</sub></italic> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>d</sup></italic>): the average displacement vector across consecutive admissions was calculated to summarize the typical direction and magnitude of longitudinal representation changes.</p>
            </list-item>
          </list>
        </sec>
        <sec>
          <title>Embedding Space Geometric Variance and Dispersion</title>
          <p>To characterize the structural variability of longitudinal disease representations, we quantified the spatial dispersion of admission-level embeddings around each patient’s historical centroid.</p>
          <p>First, admission-level representations were aggregated to obtain the patient-specific history centroid, denoted as:</p>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig16.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>To quantify the structural variability of a patient’s disease trajectory, we computed the Euclidean distance between the max IG-weighted embedding (or max-pooled embedding in ablation variants) of each visit <italic>V</italic><sub>m</sub><sup>ig</sup> and their personal history centroid α. The overall trajectory dispersion, denoted as geometric variance (s<sup>2</sup><sub>dist</sub> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>1</sup></italic>), was formulated as equation 14:</p>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig17.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>This metric quantifies the extent to which a patient’s longitudinal disease representations are distributed within the embedding space.</p>
        </sec>
        <sec>
          <title>Trajectory Angular Coherence and Target-Guided Alignment</title>
          <p>Cosine similarity was used to characterize directional relationships among longitudinal disease representations, providing complementary information beyond Euclidean distance.</p>
          <list list-type="bullet">
            <list-item>
              <p>Trajectory angular coherence (<italic>μ<sub>cos</sub> ∈ </italic><inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>1</sup></italic>, <italic>σ<sub>cos</sub></italic><sup>2</sup> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>1</sup></italic>): to characterize the consistency and coordination of the patient’s internal clinical evolution, we computed the pairwise cosine similarity across all unique combinations of admission-level vectors within the patient’s own history (shown in equation 15),</p>
            </list-item>
          </list>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig18.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>In naive ablation models, <italic>V<sub>m</sub><sup>ig</sup></italic> is substituted as <italic>V<sub>m</sub><sup>max</sup></italic>. The mean (<italic>μ<sub>cos</sub></italic>) and variance (σ<sub>cos</sub><sup>2</sup>) of pairwise cosine similarities were obtained from the upper triangular elements of the similarity matrix, excluding self-comparisons. These features summarize the directional consistency and variability of longitudinal disease representations.</p>
          <list list-type="bullet">
            <list-item>
              <p>Target-guided alignment (<italic>μ<sub>cos_pos</sub></italic> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>1</sup></italic>, σ<sub>cos</sub><sup>2</sup> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>1</sup></italic>): to quantify the geometric relationship between patient trajectories and high-risk disease representations, a positive-reference centroid (<italic>μ<sub>pos</sub></italic> ∈ <inline-graphic xlink:href="medinform_v14i1e95929_fig24.png" xlink:type="simple" mimetype="image"/><italic><sup>d</sup></italic>) was derived by aggregating the baseline history mean vectors (<italic>P<sup>mean</sup></italic>) of all positive training samples (label=1). The cosine similarity between each patient’s admission-level representation <italic>V<sub>m</sub><sup>mean</sup></italic>and the high-risk reference vector was calculated as equation 16,</p>
            </list-item>
          </list>
          <disp-formula>
            <graphic xlink:href="medinform_v14i1e95929_fig19.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>In naive ablation models, <italic>V<sub>m</sub><sup>ig</sup></italic> is substituted as <italic>V<sub>m</sub><sup>mean</sup>.</italic> The resulting mean (<italic>μ<sub>cos_pos</sub></italic>) and variance (σ<sub>cos_pos</sub><sup>2</sup>) describe the degree and variability of alignment between individual trajectories and the high-risk reference space.</p>
          <p>For patients with a single admission (<italic>M</italic>≤1), trajectory transition and dispersion features could not be calculated due to insufficient longitudinal observations. These features were assigned zero values, while alignment-based features were assigned neutral values to maintain consistent feature dimensionality.</p>
        </sec>
      </sec>
      <sec>
        <title>Feature Integration and Classification</title>
        <p>For each index admission, all geometric features derived from the corresponding longitudinal patient history were concatenated into a 389-dimensional feature vector that served as the input to the downstream classifiers. This architecture preserves both the longitudinal disease context and the immediate diagnostic signals of the index admission, thereby enhancing the model’s ability to identify clinical risk states. To prevent data leakage and overestimation of model performance resulting from recurrent patient admissions, we implemented a patient-stratified data splitting strategy during 10-fold cross-validation. Under this framework, all admissions associated with a single patient were assigned to the same fold, ensuring complete independence between training and testing sets. We employed an extreme gradient boosting (XGBoost) classifier for risk identification and used logistic regression (LR) as a baseline to compare XGBoost with a conventional linear approach. The detailed hyperparameter settings for the XGBoost classifier and the LR baseline were summarized in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>. These hyperparameters were determined through preliminary experiments and remained fixed throughout all cross-validation folds, except for the fold-specific scale_pos_weight parameter, which was recalculated according to the class distribution within each training fold. To mitigate class imbalance (18.83% positive prevalence), a cost-sensitive learning strategy was adopted instead of resampling, thereby preserving the original class distribution during model training. Specifically, for the XGBoost model, the scale_pos_weight parameter was determined dynamically for each training fold according to the ratio of negative to positive samples in the corresponding training data. For the LR model, the class_weight parameter was set to balanced. This approach penalized the misclassification of the minority class during loss optimization. Finally, model performance was evaluated using the area under the curve (AUC) and the area under the precision-recall curve (AUPRC) [<xref ref-type="bibr" rid="ref31">31</xref>]. In addition, 95% CIs for the AUC and AUPRC were estimated using patient-level bootstrap resampling with replacement on the independent test set over 1000 bootstrap iterations. The resulting empirical bootstrap distributions were used to derive the corresponding 95% CIs.</p>
      </sec>
      <sec>
        <title>Baseline Models</title>
        <p>To benchmark the proposed maximum IG-weighted deviation geometric (mIGwDG) framework, we implemented 3 baseline approaches under the same training, validation, and evaluation protocol. First, to model longitudinal disease trajectories, we implemented a standard long short-term memory (LSTM) network using the same Node2Vec-based admission embeddings as sequential inputs. LSTM is a widely adopted deep learning architecture for modeling longitudinal EHR data and disease progression [<xref ref-type="bibr" rid="ref32">32</xref>]. Second, we implemented LR and XGBoost using sparse <italic>ICD</italic> one-hot encoded features representing all historical diagnosis codes. These models are widely used baselines for structured EHR-based risk prediction and allow evaluation of the proposed representation without feature compression [<xref ref-type="bibr" rid="ref33">33</xref>]. Finally, sparse <italic>ICD</italic> one-hot encoded features were concatenated with the proposed mIGwDG representation and used as input to both LR and XGBoost to evaluate whether the learned trajectory representation provided complementary predictive information beyond the original sparse <italic>ICD</italic> one-hot encoded features by incorporating longitudinal and geometric disease trajectory information.</p>
      </sec>
      <sec>
        <title>Risk-Based Visualization and Risk-Aware Pseudotime Stratification</title>
        <p>This study presented a risk-stratified visualization framework to characterize disease progression patterns based on model-inferred risk estimates. Throughout this study, the term “pseudotime” denoted a risk-ordered representation of index admissions derived from calibrated model-predicted probabilities, rather than an optimization-based trajectory inference method, as commonly used in single-cell transcriptomics. Out-of-fold (OOF) risk probabilities were obtained through 10-fold cross-validation to ensure unbiased risk estimation and mitigate data leakage. Because the raw probability outputs of tree-based models such as XGBoost were not necessarily well calibrated, probability calibration was incorporated into the predictive pipeline before risk stratification. Specifically, Platt scaling was applied within each cross-validation iteration by fitting an LR model to the raw OOF probabilities from the training folds. This fold-wise calibration strategy ensured that probability calibration remained independent of the validation data, thereby preventing information leakage. Calibration performance was evaluated using reliability diagrams (calibration curves) across 10 decile bins, as shown in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>.</p>
        <p>The calibrated probabilities were subsequently used for pseudotime risk stratification. To avoid reliance on arbitrary probability thresholds, we employed a quantile-based binning to divide index admissions into 5 risk strata (Very low, Low, Medium, High, and Very high risk) according to the calibrated probabilities. Formally, the risk stage of the <italic>i</italic>-th index admission was defined using equation 17,</p>
        <disp-formula>
          <graphic xlink:href="medinform_v14i1e95929_fig20.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>Where</p>
        <disp-formula>
          <graphic xlink:href="medinform_v14i1e95929_fig21.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>denotes the calibrated OOF probability, and <italic>Q</italic>(⋅) represents the quintile mapping function that partitions the cohort into 5 equal-sized risk strata.</p>
        <p>To characterize the accumulation of comorbidities across the inferred risk spectrum, we computed the prevalence of each <italic>ICD</italic> code within every risk stratum. For <italic>ICD</italic> code <italic>j</italic> in risk stage <italic>k</italic>, the prevalence was calculated using equation 18,</p>
        <disp-formula>
          <graphic xlink:href="medinform_v14i1e95929_fig22.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>where <italic>n<sub>jk</sub></italic> is the number of index admissions in risk stage <italic>k</italic> containing <italic>ICD</italic> code <italic>j</italic>, with each <italic>ICD</italic> counted at most once per admission, and <italic>N<sub>k</sub></italic> is the total number of index admissions assigned to that risk stage.</p>
        <p>To reveal the sequential emergence of comorbidities along the risk spectrum, <italic>ICD</italic> codes were ordered according to their weighted average risk stage (evolution score) and shown in equation 19,</p>
        <disp-formula>
          <graphic xlink:href="medinform_v14i1e95929_fig23.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </disp-formula>
        <p>Where <italic>w<sub>k</sub></italic> ∈ {0,1,2,3,4} denotes the ordinal index of the 5 risk strata from Very low to Very high. <italic>ICD</italic> codes were subsequently sorted in ascending order of <italic>S<sub>j</sub></italic>, thereby arranging diseases according to their predominant stage of occurrence.</p>
        <p>We prioritized the top 25-IG×PPMI-weighted comorbid <italic>ICD</italic> codes for visualization. Finally, this prevalence matrix was visualized as a heatmap highlighting the gradual and structured accumulation of clinically relevant comorbidities along the latent risk spectrum. The resulting heatmap organized comorbidities along a pseudo-temporal risk axis that reflects increasing model-inferred risk rather than chronological time. This framework was intended solely as a descriptive, hypothesis-generating representation of disease evolution based on model-inferred risk and does not imply chronological progression, direct temporal causality, or validated clinical disease staging.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Dataset and Validation Strategy</title>
        <p>We evaluated our framework on 226,992 hospital admissions with HF (<italic>ICD-10</italic>: I50) as the target condition. Notably, the positive class (Label=1) accounted for 18.83% of the data, representing a significant class imbalance. To ensure the integrity of our findings and prevent data leakage, we implemented a patient-stratified 10-fold cross-validation strategy. This approach guarantees that all encounters belonging to a specific patient remain in either the training or the test set, never both. Furthermore, within each fold, both the disease co-occurrence graphs and the IG-based importance weights were derived exclusively from the training partition. This protocol ensures that the learned representations are validated on entirely independent data, preserving the methodological integrity of our risk stratification evaluation.</p>
      </sec>
      <sec>
        <title>Admission-Level Risk Stratification and Architectural Ablation</title>
        <p>We first evaluated admission-level risk stratification performance using 10-fold cross-validation across different <italic>ICD</italic> embedding aggregation strategies. As shown in <xref ref-type="table" rid="table2">Table 2</xref>, XGBoost consistently outperformed LR in both AUC and AUPRC. For conventional static baselines, XGBoost achieved AUPRCs of 0.627 (SD 0.011; mean pooling) and 0.625 (SD 0.017; maximum pooling), compared with a mean of 0.538 (SD 0.013) and a mean of 0.527 (SD 0.029) for LR, respectively. In addition to the proposed framework and its internal ablation variants, 3 commonly used baseline approaches (LR, XGBoost with <italic>ICD</italic> one-hot encoding, and LSTM) were evaluated under the same experimental protocol.</p>
        <p>To further quantify the contribution of each feature module, we conducted an additional feature-module ablation study by progressively incorporating risk deviation, intervisit trajectory transition, and geometric variance/dispersion features (<xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>). Starting from the risk deviation representation, trajectory change and geometric features resulted in only marginal differences in predictive performance, with changes generally within the range of cross-validation variability. In contrast, IG weighting produced a more pronounced improvement compared with maximum-based aggregation. The complete mIGwDG representation achieved the best overall performance, although the incremental contributions of the individual trajectory-change and geometric modules were not significantly obtained.</p>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Global predictive performance and OOF<sup>a</sup> stability at the admission level under different feature designs (N=226,992 admissions).</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="200"/>
            <col width="0"/>
            <col width="190"/>
            <col width="0"/>
            <col width="190"/>
            <col width="0"/>
            <col width="190"/>
            <col width="0"/>
            <col width="200"/>
            <col width="0"/>
            <col width="0"/>
            <col width="0"/>
            <col width="0"/>
            <thead>
              <tr valign="top">
                <td colspan="3">Model</td>
                <td colspan="4">10-fold cross-validation</td>
                <td colspan="5">Admission level OOF</td>
                <td colspan="2">
                  <break/>
                </td>
              </tr>
              <tr valign="bottom">
                <td colspan="3">
                  <break/>
                </td>
                <td colspan="2">AUC<sup>b</sup></td>
                <td colspan="2">AUPRC<sup>c</sup></td>
                <td colspan="2">AUC (95% CI)</td>
                <td colspan="2">AUPRC (95% CI)</td>
                <td colspan="3">
                  <break/>
                </td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="13">
                  <bold>Deep learning baseline</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LSTM<sup>d</sup></td>
                <td colspan="2">0.877 (0.003)</td>
                <td colspan="2">0.642 (0.011)</td>
                <td colspan="2">0.877 (0.873-0.880)</td>
                <td colspan="2">0.639 (0.628-0.651)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="13">
                  <bold>Embedding approach</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR<sup>e</sup>-mean</td>
                <td colspan="2">0.856 (0.005)</td>
                <td colspan="2">0.538 (0.013)</td>
                <td colspan="2">0.856 (0.853-0.860)</td>
                <td colspan="2">0.538 (0.528-0.548)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR-max</td>
                <td colspan="2">0.842 (0.010)</td>
                <td colspan="2">0.527 (0.029)</td>
                <td colspan="2">0.842 (0.838-0.845)</td>
                <td colspan="2">0.527 (0.516-0.537)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR-maxDG<sup>f</sup></td>
                <td colspan="2">0.881 (0.003)</td>
                <td colspan="2">0.641 (0.013)</td>
                <td colspan="2">0.881 (0.877-0.884)</td>
                <td colspan="2">0.641 (0.629-0.653)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR-mIGwDG<sup>g</sup></td>
                <td colspan="2">0.881 (0.004)</td>
                <td colspan="2">0.647 (0.013)</td>
                <td colspan="2">0.881 (0.878-0.885)</td>
                <td colspan="2">0.646 (0.635-0.658)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost<sup>h</sup>-mean</td>
                <td colspan="2">0.875 (0.003)</td>
                <td colspan="2">0.627 (0.011)</td>
                <td colspan="2">0.875 (0.871-0.879)</td>
                <td colspan="2">0.627 (0.617-0.639)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost-max</td>
                <td colspan="2">0.874 (0.005)</td>
                <td colspan="2">0.625 (0.017)</td>
                <td colspan="2">0.874 (0.871-0.877)</td>
                <td colspan="2">0.624 (0.615-0.636)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost-maxDG</td>
                <td colspan="2">0.886 (0.003)</td>
                <td colspan="2">0.660 (0.014)</td>
                <td colspan="2">0.886 (0.883-0.889)</td>
                <td colspan="2">0.660 (0.650-0.670)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost-mIGwDG</td>
                <td colspan="2">0.888 (0.003)</td>
                <td colspan="2">0.667 (0.016)</td>
                <td colspan="2">0.888 (0.885-0.891)</td>
                <td colspan="2">0.667 (0.657-0.677)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="13">
                  <bold>One-hot encoding</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR</td>
                <td colspan="2">0.883 (0.004)</td>
                <td colspan="2">0.665 (0.016)</td>
                <td colspan="2">0.883 (0.879-0.886)</td>
                <td colspan="2">0.665 (0.655-0.676)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost</td>
                <td colspan="2">0.886 (0.004)</td>
                <td colspan="2">0.666 (0.016)</td>
                <td colspan="2">0.886 (0.883-0.889)</td>
                <td colspan="2">0.667 (0.656-0.677)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="13">
                  <bold>One-hot and embedding approach (mIGwDG)</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR</td>
                <td colspan="2">0.888 (0.003)</td>
                <td colspan="2">0.674 (0.014)</td>
                <td colspan="2">0.888 (0.884-0.891)</td>
                <td colspan="2">0.674 (0.665-0.684)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost</td>
                <td colspan="2">0.892 (0.003)</td>
                <td colspan="2">0.679 (0.017)</td>
                <td colspan="2">0.892 (0.889-0.895)</td>
                <td colspan="2">0.679 (0.669-0.689)</td>
                <td colspan="4">
                  <break/>
                </td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table2fn1">
              <p><sup>a</sup>OOF: out-of-fold.</p>
            </fn>
            <fn id="table2fn2">
              <p><sup>b</sup>AUC: area under the curve.</p>
            </fn>
            <fn id="table2fn3">
              <p><sup>c</sup>AUPRC: area under the precision-recall curve.</p>
            </fn>
            <fn id="table2fn4">
              <p><sup>d</sup>LSTM: long short-term memory.</p>
            </fn>
            <fn id="table2fn5">
              <p><sup>e</sup>LR: logistic regression.</p>
            </fn>
            <fn id="table2fn6">
              <p><sup>f</sup>maxDG: maximum-pooling deviation geometric.</p>
            </fn>
            <fn id="table2fn7">
              <p><sup>g</sup>mIGwDG: maximum information gain-weighted deviation geometric.</p>
            </fn>
            <fn id="table2fn8">
              <p><sup>h</sup>XGBoost: extreme gradient boosting.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>The complete mIGwDG framework achieved an AUC of 0.888 (SD 0.003) and an AUPRC of 0.667 (SD 0.016) under XGBoost in 10-fold cross-validation while maintaining comparable predictive performance to sparse <italic>ICD</italic> one-hot encoding with substantially lower feature dimensionality. Under LR, mIGwDG achieved an AUC of 0.881 (SD 0.004) and an AUPRC of 0.647 (SD 0.013). Importantly, the proposed hierarchical representation substantially narrowed the performance gap between the linear and nonlinear classifiers, suggesting that it transforms longitudinal disease trajectories into a more discriminative feature space that can be effectively exploited even by a linear classifier. <xref rid="figure1" ref-type="fig">Figure 1</xref> presents precision-recall curves across the evaluated models. Solid lines indicate the mean precision at each recall level across the 10 folds, and the shaded area represents the standard deviation of the proposed XGBoost-mIGwDG model. Mean AUPRC values and cross-validation variability are reported in the figure legend.</p>
        <p>To ensure an unbiased evaluation, we generated OOF risk predictions using 10-fold cross-validation and calculated AUPRC based on aggregated OOF predictions. The proposed mIGwDG representation combined with XGBoost achieved an aggregated OOF AUPRC of 0.677 (95% CI 0.657-0.677). The <italic>ICD</italic> one-hot XGBoost baseline achieved a comparable cross-validated AUPRC of 0.666 (SD 0.016). Although the one-hot representation retained the full <italic>ICD</italic> feature space, it resulted in a substantially higher-dimensional feature representation. In contrast, mIGwDG achieved similar predictive performance using a compact trajectory-based representation.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Ten-fold cross-validation precision-recall (PR) curves with cross-fold variance. AUPRC: area under the precision-recall curve; LR: logistic regression; LSTM: long short-term memory; mlGwDG: maximum information gain-weighted deviation geometric; XGBoost: extreme gradient boosting.</p>
          </caption>
          <graphic xlink:href="medinform_v14i1e95929_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Patient-Level Risk Stratification via Max-Pooled OOF Aggregation</title>
        <p>To evaluate patient-level risk stratification performance, we aggregated admission-level OOF predictions into patient-level risk scores using a max-pooling strategy across each patient’s longitudinal sequence. This resulted in 71,212 patient-level risk profiles derived from 226,992 admissions (19.52% positive prevalence).</p>
        <p>As shown in <xref ref-type="table" rid="table3">Table 3</xref>, patient-level aggregation improved performance across all evaluated models compared with admission-level evaluation. The proposed XGBoost-mIGwDG model achieved the best performance, with an OOF-AUC of 0.902 (95% CI 0.899-0.905) and an OOF-AUPRC of 0.730 (95% CI 0.722-0.737). The LSTM baseline achieved an OOF-AUPRC of 0.702 (95% CI 0.694-0.710), whereas LR using the full feature set achieved an OOF-AUPRC of 0.705 (95% CI 0.697-0.713).</p>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Patient-level predictive performance based on max-pooled OOF predictions. (number of patients=71,212)</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="300"/>
            <col width="300"/>
            <col width="370"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Model</td>
                <td>AUC<sup>a</sup> (95% CI)</td>
                <td>AUPRC<sup>b</sup> (95% CI)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">
                  <bold>Deep sequential baseline</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LSTM<sup>c</sup></td>
                <td>0.891 (0.888-0.894)</td>
                <td>0.702 (0.694-0.710)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Mean (basic)</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR<sup>d</sup></td>
                <td>0.861 (0.858-0.864)</td>
                <td>0.561 (0.552-0.571)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost<sup>e</sup></td>
                <td>0.888 (0.886-0.891)</td>
                <td>0.684 (0.676-0.692)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>mIGwDG<sup>f</sup> (proposed)</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR</td>
                <td>0.897 (0.894-0.900)</td>
                <td>0.705 (0.697-0.713)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost</td>
                <td>0.902 (0.899-0.905)</td>
                <td>0.730 (0.722-0.737)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup>AUC: area under the curve.</p>
            </fn>
            <fn id="table3fn2">
              <p><sup>b</sup>AUPRC: area under the precision-recall curve.</p>
            </fn>
            <fn id="table3fn3">
              <p><sup>c</sup>LSTM: long short-term memory.</p>
            </fn>
            <fn id="table3fn4">
              <p><sup>d</sup>LR: logistic regression.</p>
            </fn>
            <fn id="table3fn5">
              <p><sup>e</sup>XGBoost: extreme gradient boosting.</p>
            </fn>
            <fn id="table3fn6">
              <p><sup>f</sup>mIGwDG: maximum information gain-weighted deviation geometric.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Evaluation in Clinically Vulnerable Subgroups</title>
        <p>To evaluate performance within the most clinically vulnerable population, we performed a subgroup analysis using predefined clinical criteria that were independent of model predictions. The Charlson Comorbidity Index (CCI) was calculated for each index admission using all diagnosis codes recorded during the preceding 3-year observation window, thereby reflecting the cumulative burden of comorbidities prior to the index admission. Patients aged ≥75 years and with a CCI ≥4 were classified as the high-risk subgroup, isolating 24,574 high-acuity admissions (10.83%) and 7871 unique patients (11.05%). The predictive performance of all evaluated models within this subgroup is summarized in <xref ref-type="table" rid="table4">Table 4</xref>.</p>
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>The predictive performance of high-risk cohorts (age ≥75 years and CCIa≥4).</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="210"/>
            <col width="160"/>
            <col width="180"/>
            <col width="0"/>
            <col width="180"/>
            <col width="240"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Model</td>
                <td colspan="3">Admission level</td>
                <td colspan="2">Patient level</td>
              </tr>
              <tr valign="bottom">
                <td colspan="2">
                  <break/>
                </td>
                <td>AUC<sup>b</sup> (95% CI)</td>
                <td>AUPRC<sup>c</sup> (95% CI)</td>
                <td colspan="2">AUC (95% CI)</td>
                <td>AUPRC (95% CI)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="7">Deep learning baseline</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LSTM<sup>d</sup></td>
                <td>0.765 (0.754-0.775)</td>
                <td>0.787 (0.771-0.801)</td>
                <td colspan="2">0.817 (0.808-0.826)</td>
                <td>0.878 (0.869-0.885)</td>
              </tr>
              <tr valign="top">
                <td colspan="7">Embedding approach</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR<sup>e</sup>-mean</td>
                <td>0.739 (0.729-0.750)</td>
                <td>0.744 (0.730-0.758)</td>
                <td colspan="2">0.768 (0.757-0.779)</td>
                <td>0.815 (0.803-0.828)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>LR-mIGwDG<sup>f</sup></td>
                <td>0.765 (0.754-0.776)</td>
                <td>0.787 (0.771-0.802)</td>
                <td colspan="2">0.819 (0.810-0.828)</td>
                <td>0.873 (0.864-0.881)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost<sup>g</sup>-mean</td>
                <td>0.754 (0.743-0.764)</td>
                <td>0.772 (0.756-0.786)</td>
                <td colspan="2">0.800 (0.791-0.810)</td>
                <td>0.856 (0.845-0.865)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>XGBoost-mIGwDG</td>
                <td>0.776 (0.766-0.785)</td>
                <td>0.796 (0.783-0.809)</td>
                <td colspan="2">0.831 (0.822-0.839)</td>
                <td>0.884 (0.874-0.892)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup>CCI: Charlson Comorbidity Index.</p>
            </fn>
            <fn id="table4fn2">
              <p><sup>b</sup>AUC: area under the curve.</p>
            </fn>
            <fn id="table4fn3">
              <p><sup>c</sup>AUPRC: area under the precision-recall curve.</p>
            </fn>
            <fn id="table4fn4">
              <p><sup>d</sup>LSTM: long short-term memory.</p>
            </fn>
            <fn id="table4fn5">
              <p><sup>e</sup>LR: logistic regression.</p>
            </fn>
            <fn id="table4fn6">
              <p><sup>f</sup>mIGwDG: maximum information gain-weighted deviation geometric.</p>
            </fn>
            <fn id="table4fn7">
              <p><sup>g</sup>XGBoost: extreme gradient boosting.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>We further evaluated model performance within the high-risk subgroup at both the admission level (event rate: 54.98%) and the patient level (event rate: 61.34%). At the admission level, XGBoost models incorporating the proposed trajectory representations consistently outperformed conventional aggregation strategies. The XGBoost-mIGwDG model achieved the best performance, with an AUC of 0.776 and an AUPRC of 0.796, compared with an AUPRC of 0.787 for the LSTM baseline. LR also showed consistent performance improvements after incorporating the proposed trajectory representation. After patient-level aggregation, performance further improved across all evaluated models. The XGBoost-mIGwDG model achieved an AUPRC of 0.884, comparable to the LSTM baseline (AUPRC=0.878). LR also improved, with AUPRC increasing from 0.815 using mean aggregation to 0.873 with the proposed trajectory representation.</p>
        <p>These results demonstrate consistent performance of the proposed representation across admission-level and patient-level high-risk stratification settings. Because the high-risk subgroup has a higher baseline event rate than the overall cohort, these performance metrics should be interpreted within the subgroup rather than directly compared with those of the full population.</p>
      </sec>
      <sec>
        <title>Robustness to Incomplete Diagnostic Information</title>
        <p>To evaluate the robustness of the proposed disease trajectory representation to incomplete diagnostic information, we conducted an additional analysis by retaining admissions that lacked disease-specific diagnostic information after preprocessing. This expanded cohort comprised 71,323 patient-level risk profiles across 227,328 admissions, with positive prevalence rates of 18.80% and 19.49%, respectively. In the primary analysis, these admissions were excluded because they did not contribute meaningful disease signals to the trajectory representation. In the robustness analysis, these admissions were retained to represent increased structural uncertainty arising from incomplete diagnostic information, a common characteristic of real-world EHR data. Compared with the primary analysis, predictive performance showed only marginal reductions, suggesting that the learned trajectory representation is relatively robust to moderate levels of incomplete diagnostic information. The detailed predictive performance of this robustness analysis is presented in <xref ref-type="table" rid="table5">Table 5</xref>.</p>
        <table-wrap position="float" id="table5">
          <label>Table 5</label>
          <caption>
            <p>Performance comparison between the primary analysis and the robustness analysis with retained admissions lacking disease-specific diagnostic information.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="210"/>
            <col width="160"/>
            <col width="180"/>
            <col width="180"/>
            <col width="240"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Analysis</td>
                <td colspan="2">Admission level</td>
                <td colspan="2">Patient level</td>
              </tr>
              <tr valign="bottom">
                <td colspan="2">
                  <break/>
                </td>
                <td>AUC<sup>a</sup> (95% CI)</td>
                <td>AUPRC<sup>b</sup> (95% CI)</td>
                <td>AUC (95% CI)</td>
                <td>AUPRC (95% CI)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="6">
                  <bold>XGBoost<sup>c</sup>–mIGwDG<sup>d</sup></bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Primary</td>
                <td>0.888 (0.885-0.891)</td>
                <td>0.667 (0.657-0.677)</td>
                <td>0.902 (0.899-0.905)</td>
                <td>0.730 (0.722-0.737)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Robustness</td>
                <td>0.886 (0.883-0.890)</td>
                <td>0.660 (0.650-0.671)</td>
                <td>0.900 (0.898-0.904)</td>
                <td>0.722 (0.715-0.729)</td>
              </tr>
              <tr valign="top">
                <td colspan="6">
                  <bold>LR<sup>e</sup>–mIGwDG</bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Primary</td>
                <td>0.881 (0.878-0.885)</td>
                <td>0.646 (0.635-0.658)</td>
                <td>0.897 (0.894-0.900)</td>
                <td>0.705 (0.697-0.713)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Robustness</td>
                <td>0.881 (0.878-0.885)</td>
                <td>0.640 (0.628-0.652)</td>
                <td>0.897 (0.894-0.899)</td>
                <td>0.699 (0.690-0.706)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table5fn1">
              <p><sup>a</sup>AUC: area under the curve.</p>
            </fn>
            <fn id="table5fn2">
              <p><sup>b</sup>AUPRC: area under the precision-recall curve.</p>
            </fn>
            <fn id="table5fn3">
              <p><sup>c</sup>XGBoost: extreme gradient boosting.</p>
            </fn>
            <fn id="table5fn4">
              <p><sup>d</sup>mIGwDG: maximum information gain-weighted deviation geometric.</p>
            </fn>
            <fn id="table5fn5">
              <p><sup>e</sup>LR: logistic regression.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Analysis of Comorbidity Structure via the IG×PPMI Framework</title>
        <p>To interpret model risk identification specifically for HF (<italic>ICD</italic>: I50), we constructed an IG-weighted comorbidity subgraph that integrates statistical co-occurrence structure with IG-based feature relevance. For this post hoc interpretability analysis, the PPMI-based co-occurrence structure and IG values were calculated separately using unmasked diagnostic records. The IG values used to determine node weights in this visualization were derived specifically for the interpretability analysis, and they were not used for predictive feature construction, model training, or performance evaluation. In contrast, the predictive analyses were conducted using the masked diagnosis sequences described above. To synthesize structural relevance with feature relevance, node weights were assigned based on the separately calculated IG values, while edge weights represented the co-occurrence strength measured by PPMI. The resulting IG×PPMI comorbidity subgraph highlights diagnostic codes that were strongly represented in the observed comorbidity structure and informative in the IG-based interpretability analysis. It also provided an interpretable lens into the local comorbidity architecture surrounding the target diagnosis. Notably, this visualization serves as a post hoc interpretability tool, designed to elucidate informative comorbidity configurations rather than to infer direct causal pathways among diseases.</p>
        <p>To investigate how diagnostic roles influence comorbidity architectures, we compared I50-centered subgraphs across different contexts (<xref rid="figure2" ref-type="fig">Figure 2</xref>). In general diagnostic contexts (<xref rid="figure2" ref-type="fig">Figure 2</xref>A), the neighborhood is characterized by a broad spectrum of systemic conditions, including hypertension-related disorders (I11, I13) and metabolic syndromes (E11, E78, and M10), alongside acute critical events such as myocardial infarction (I21). These findings suggest that, in broader clinical contexts, I50 often manifests as a comorbid component within a milieu of chronic systemic burden and acute dysregulation. Conversely, when I50 is designated as the primary diagnosis (<xref rid="figure2" ref-type="fig">Figure 2</xref>B), the comorbidity architecture becomes more focused on intrinsic structural and functional pathologies. Notably, conditions such as renal anemia (D63), conduction disorders (I44), and venous congestion (I87) emerge as top-20 components exclusively in this primary diagnostic role. This divergence demonstrates that the IG×PPMI framework effectively captures nuanced contextual semantics, identifying distinct clinical profiles that transcend simple co-occurrence frequencies.</p>
        <p>Furthermore, the IG×PPMI framework revealed 2 prominent structural modules centered on E11 (type 2 diabetes) and N18 (CKD), respectively (<xref rid="figure3" ref-type="fig">Figure 3</xref>). The E11-centered module was primarily associated with cardiovascular and metabolic diseases, including dyslipidemia (E78) and chronic ischemic heart disease (I25), whereas the N18-centered module was closely associated with cardiorenal complications, including hypertensive heart and CKD (I13), electrolyte imbalance (E87), and hypertensive nephropathy (I12). These findings reveal 2 distinct comorbidity modules surrounding HF, providing a structural basis for subsequent interpretation of heterogeneous disease progression patterns.</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Top 20 IG-weighted comorbidity subgraphs centered on HF (I50). (a) Comorbidity subgraph constructed from all diagnostic contexts. (b) Comorbidity subgraph constructed from admissions in which I50 was the primary diagnosis. Node size reflects min-max normalized (IG) values and linearly mapped to the range of 200-3200 for visualization purposes. The target ICD node was assigned a fixed size of 3200. Edge width is proportional to the corresponding PPMI score.</p>
          </caption>
          <graphic xlink:href="medinform_v14i1e95929_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Visualization of the top-20 information gain (IG)–weighted comorbidity subgraphs centered on (A) E11 and (B) N18. Node size reflects minimum-maximum normalized (IG) values and is linearly mapped to the range of 200-3200 for visualization purposes. The target International Classification of Diseases (ICD) node was assigned a fixed size of 3200. Edge width is proportional to the corresponding positive pointwise mutual information (PPMI) score. IG: information gain; PPMI: positive pointwise mutual information.</p>
          </caption>
          <graphic xlink:href="medinform_v14i1e95929_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Longitudinal Trajectory Analysis and Geometric Interpretation</title>
        <p>To assess the clinical face validity of our framework, we visualized the disease histories of 3 low-risk and 3 high-risk patients, selected based on their calibrated OOF risk probabilities, using principal component analysis (PCA; <xref rid="figure4" ref-type="fig">Figure 4</xref>A). To provide a common visualization space, the PCA basis was fitted on the mean-pooled admission embeddings derived from all admissions in the cohort, and the visit-level maximum information gain-weighted (mIGw) embeddings were subsequently projected onto this shared coordinate system. Here, mIGw denotes the visit-level information-gain-weighted embedding (Equation 6), obtained by applying the IG weights to the embedded <italic>ICD</italic> codes within each hospitalization. These visit-level representations are subsequently aggregated along each patient’s longitudinal hospitalization history to construct the mIGwDG path-level representation used for model training and prediction. The first 2 principal components accounted for 41.3% of the total variance (25.2% and 16.1%, respectively). Each point represents an individual admission embedding, and consecutive admissions were connected chronologically with directed arrows to form a patient trajectory, illustrating the evolution of the patient's clinical state over time.</p>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Risk-stratified disease trajectory visualizations in the International Classification of Diseases (ICD) embedding space. (A) Principal component analysis (PCA) projection of trajectories in the learned disease geometry. Each sequential clinical encounter (admission) is labeled chronologically (t1, t2, etc). (B) Comparison of representative trajectories generated by conventional mean pooling and the proposed representation. The representative low-risk patient is shown in blue, the representative high-risk patient in red, and the learned high-risk centroid in black. mIGw: maximum information gain-weighted.</p>
          </caption>
          <graphic xlink:href="medinform_v14i1e95929_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>As illustrated in <xref rid="figure4" ref-type="fig">Figure 4</xref>A, representative high-risk (calibrated OOF&gt;60%) and low-risk (calibrated OOF&lt;0.1%) patients occupy visually distinct regions in the learned disease geometry. The representative high-risk trajectories remain localized near the learned high-risk centroid (marked by the black star), whereas the representative low-risk trajectories consistently remain distal to the high-risk centroid. Although this visualization is illustrative rather than quantitative, it qualitatively shows that patient trajectories are organized into a coherent geometric structure within the learned representation. This alignment between geometric movement and calibrated model-estimated risk probabilities provides evidence for the interpretability of our latent representation.</p>
        <p>To qualitatively examine how the proposed representation influences the learned disease geometry, representative patient trajectories and the corresponding high-risk centroid were projected into a 2D space using PCA. <xref rid="figure4" ref-type="fig">Figure 4</xref>B compares the trajectory representations generated by the conventional mean pooling strategy and the proposed mIGw representation using the same representative for patients with high-risk and low-risk. Both representations were projected onto the same PCA coordinate system to enable direct visual comparison. In both representations, the representative high-risk trajectory remained in the vicinity of the learned high-risk centroid, whereas the representative low-risk trajectory occupied a distinct region of the embedding space.</p>
        <p>Compared with the conventional mean pooling strategy, the proposed mIGw representation produced more compact trajectory distributions with clearer separation between the representatives of patients with high-risk and low-risk. The proposed representation also appeared to produce more localized high-risk trajectories, with the representative patient with high-risk remaining closer to the learned high-risk centroid while exhibiting reduced geometric variability around the centroid. Although these visualizations are qualitative rather than statistically conclusive, they provide a geometric perspective that complements the quantitative predictive performance reported for mIGwDG. These qualitative observations suggest that the proposed representation better preserves the local geometric organization of patients with similar disease risk, resulting in more coherent trajectory organization within the embedding space.</p>
      </sec>
      <sec>
        <title>Risk-Aware Pseudotime Analysis of Comorbidity Evolution</title>
        <p>In clinical practice, disease progression is highly heterogeneous; some patients remain stable over a decade of follow-up, while others experience rapid functional decline within only 2 years. Traditional temporal analyses often struggle to align these disparate trajectories when relying solely on chronological time or visit counts. To overcome this limitation, we visualized the top 25 comorbid <italic>ICD</italic> codes identified through the IG×PPMI framework using unmasked diagnostic records along a model-derived, risk-aware pseudotime axis derived from the masked predictive representation (<xref rid="figure5" ref-type="fig">Figure 5</xref>). Individual patient trajectories and their corresponding longitudinal comorbidity patterns were visualized using unmasked diagnostic records, whereas patients were ordered along the pseudotime axis according to mIGwDG risk scores rather than absolute time, thereby treating risk magnitude as the primary metric of progression. This ensures that comorbidity trajectories reflect the pathological evolution of the disease rather than mere temporal accumulation, providing a standardized scale to observe how comorbidity profiles transition across 5 risk strata (from Very low to Very high).</p>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Risk-aware pseudotime heatmap of the top 25 information gain (IG)×positive pointwise mutual information (PPMI) comorbidities. Pseudotime ordering was based on maximum information gain-weighted deviation geometric (mIGwDG) predictions from masked diagnosis sequences, whereas comorbidity patterns were obtained from unmasked diagnostic records for post hoc interpretation. ICD: International Classification of Diseases.</p>
          </caption>
          <graphic xlink:href="medinform_v14i1e95929_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>The analysis reveals a clear monotonic accrual of chronic systemic conditions rather than stochastic acute episodes. Foundational metabolic disorders, such as hyperlipidemia (E78) and type 2 diabetes (E11), are markedly elevated even in low-risk stages, with E78 reaching a prevalence of 0.78 at the very high-risk stage. As patients progress, a cardiorenal-metabolic signature emerges with increasing synchrony; CKD (N18), hypertensive kidney disease (I12), and electrolyte disorders (E87) exhibit a pronounced gradient. This trajectory mirrors the pathophysiological shift from localized injury to systemic homeostatic failure.</p>
        <p>Distinct temporal patterns were observed across disease categories. Cardiovascular comorbidities, including cardiomyopathy (I42) and atrial fibrillation (I48), show concentrated gains in the moderate-to-high risk range. In contrast, acute conditions like shock (R57) and myocardial infarction (I21) remain infrequent until the very high-risk stage, suggesting they serve as indicators of terminal decompensation rather than early risk markers.</p>
        <p>Collectively, the model-inferred risk stratification identifies a progressive accrual of chronic systemic comorbidities rather than stochastic acute episodes. This suggests that the model effectively prioritizes structural disease evolution. Consequently, as patients transition into high-risk strata, our findings advocate for a clinical shift toward integrated multiorgan management, addressing the complex interplay between cardiac, renal, and pulmonary systems.</p>
        <p>The y-axis represents <italic>ICD</italic> codes, and the x-axis represents 5 risk strata along the model-inferred pseudotime axis. Color intensity indicates the normalized prevalence of each <italic>ICD</italic> code within each risk stratum. The continuous pseudotime was divided into 5 ordinal risk strata (Very low, Low, Medium, High, and Very high) using quantile-based binning based on the empirical 20th, 40th, 60th, and 80th percentiles of the calibrated pseudotime distribution. This pseudotime representation is intended to summarize model-inferred risk progression and should not be interpreted as a direct temporal or causal ordering of diseases. Instead, it illustrates how clinically relevant comorbidities vary across increasing levels of model-estimated risk.</p>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>In this study, we developed a longitudinal <italic>ICD</italic> trajectory representation that incorporates geometric structural information for high-risk patient identification from EHR data. By integrating geometric features, including historical means and maxima, Euclidean distances, directional shifts, and cosine dispersion, with IG-based weighting, the proposed approach summarizes disease histories in a structurally informed manner. Rather than relying solely on conventional pooling or sequential modeling, the proposed approach is designed to preserve structural characteristics of disease trajectories that may reflect progression toward higher model-estimated risk. In addition, we introduced a risk-aware pseudotime framework that organizes heterogeneous patient trajectories along a latent risk continuum inferred from model predictions. Rather than relying on chronological alignment, this approach enables characterization of disease trajectory patterns according to increasing risk profiles, providing a complementary perspective for longitudinal risk stratification.</p>
        <p>The proposed framework consistently outperformed conventional embedding aggregation strategies while achieving predictive performance comparable to the sparse <italic>ICD</italic> one-hot representation despite reducing the feature space by approximately 75%, from approximately 1600 <italic>ICD</italic> variables to a 389-dimensional trajectory representation. Beyond prediction, the learned representation facilitates visualization of disease trajectories, risk-aware pseudotime analysis, and geometric characterization of disease evolution, providing additional interpretability through visualization and trajectory characterization that high-dimensional sparse one-hot features alone do not readily provide. Furthermore, combining mIGwDG with the original <italic>ICD</italic> one-hot representation consistently improved the performance of both LR and XGBoost, suggesting that the proposed representation captures complementary information beyond conventional sparse <italic>ICD</italic> encoding.</p>
      </sec>
      <sec>
        <title>Methodological and Practical Advantages</title>
        <p>While deep learning architectures (such as RNNs and Transformers) offer substantial flexibility for temporal modeling, their performance in clinical risk prediction may depend on large datasets, adequate representation of positive cases, and extensive hyperparameter tuning. In the context of HF, hospitalization data are characterized by high heterogeneity, sparse events, and pronounced class imbalance, conditions under which deep models may struggle with stability and generalizability.</p>
        <p>Recent GNN frameworks have demonstrated excellent predictive performance by jointly modeling longitudinal EHRs and comorbidity connectivity through heterogeneous graph attention mechanisms [<xref ref-type="bibr" rid="ref18">18</xref>]. These approaches represent an important direction in medical representation learning but generally require more sophisticated model architectures and greater computational resources. As a complementary alternative, the proposed framework employs Node2Vec embeddings coupled with geometric trajectory descriptors, providing a compact yet explicit representation of longitudinal comorbidity patterns. This design ensures robust learning and consistent performance even under moderate sample sizes. A key advantage of this approach is its intrinsic interpretability; it decomposes historical hospitalizations into IG-weighted representations and geometric measures (displacement and dispersion), and each component can be independently linked to clinically meaningful patterns.</p>
        <p>Furthermore, the computational efficiency of the Node2Vec and XGBoost pipeline facilitates deployment in standard information systems without specialized hardware. Notably, the proposed representation remains highly effective even when coupled with a simple LR classifier. This suggests that the proposed representation reshapes longitudinal clinical representations into a more separable risk space, reducing the reliance on high-capacity, noninterpretable nonlinear models. Recent studies have likewise demonstrated that constructing informative representations from high-dimensional clinical data prior to supervised learning can substantially improve predictive performance [<xref ref-type="bibr" rid="ref34">34</xref>]. Although our framework does not employ explicit feature selection through statistical correlation analysis or optimization-based search algorithms, it follows a similar methodological motivation by transforming sparse longitudinal disease histories into compact graph-based geometric representations before classification. Consequently, predictive performance is enhanced through more informative representations rather than by relying solely on more complex predictive models.</p>
      </sec>
      <sec>
        <title>Disease Trajectory Representation Framework</title>
        <p>Traditional pooling-based embedding approaches, such as mean pooling or max pooling, summarize diagnostic information either by representing an overall central tendency of a patient’s disease space or by emphasizing a small number of extreme diagnoses that emphasize the most prominent diagnostic features. While effective for dimensionality reduction, these methods fail to distinguish between stable disease burden and abrupt pathological deviations along the disease course.</p>
        <p>In contrast, our framework is designed to jointly capture chronic burden and acute shifts. By employing geometry-based features, we quantify the spatial relationships between diagnostic combinations and their proximity to a high-risk region within the embedding space. The average distance was designed to quantify diagnostic dispersion, indicating whether a patient’s profile is concentrated on a single clinical axis or spans multiple comorbidity modules. The variability of these distances characterizes systemic complexity; higher dispersion may reflect greater heterogeneity across comorbidity patterns.</p>
        <p>A distinctive innovation is the incorporation of deviation vectors, providing a directional geometric perspective on comorbidity evolution. We observed that high-risk trajectories deviate from low-risk regions, gravitating toward the high-risk centroid. This displacement may reflect systematic changes in disease trajectory organization rather than the influence of isolated diagnostic events. Consequently, this trajectory-level representation provides additional information for risk stratification, enabling the model to characterize the internal architecture of diagnostic combinations. By capturing this structural information, our framework enhances risk discrimination without necessitating the computational overhead of complex deep learning architectures. The primary contribution of these geometric features is to characterize changes in disease trajectories rather than individual diagnostic states.</p>
      </sec>
      <sec>
        <title>Diagnostic Interpretability via the IG×PPMI Comorbidity Framework</title>
        <p>The IG×PPMI comorbidity analysis provides an additional perspective for interpreting the learned representations. By integrating model-derived attribution (IG) with population-level co-occurrence (PPMI), the framework highlights clinically relevant comorbidity patterns that may not be apparent from either source alone. An advantage of this approach is its ability to identify comorbidities that receive relatively high IG attribution despite only moderate population co-occurrence. These findings suggest that the proposed representation may capture diagnostic patterns that contribute disproportionately to model-estimated risk beyond highly prevalent comorbidities such as hypertension. The combined IG×PPMI framework therefore complements conventional feature importance analyses by jointly considering model-derived predictive attribution and population-level disease co-occurrence.</p>
        <p>In the top 20 comorbidities in the HF-centered subgraph (I50), anemia (D63), and electrolyte disorders (E87) exhibit high IG weights, often emerging before overt symptoms like orthopnea or marked edema. Anemia, with a reported prevalence of 35%-70% in patients with HF [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref36">36</xref>], is a well-established marker of disease severity and is strongly associated with increased hospitalization and mortality [<xref ref-type="bibr" rid="ref37">37</xref>]. Similarly, electrolyte disturbances (E87), including hyponatremia and potassium imbalances, reflect both intrinsic neurohormonal dysregulation and the impact of pharmacological interventions. These imbalances serve as critical indicators of pathophysiological shifts and are robustly linked to adverse outcomes [<xref ref-type="bibr" rid="ref38">38</xref>,<xref ref-type="bibr" rid="ref39">39</xref>].</p>
        <p>Furthermore, among the identified comorbidity modules, the E11- and N18-centered modules are of particular clinical interest because they correspond to 2 well-established systemic syndromes in HF. The E11-centered module is consistent with the well-established cardiometabolic continuum, whereas the N18-centered module is consistent with a common cardiorenal syndrome in patients with advanced HF. These findings indicate that the proposed IG×PPMI framework could identify clinically meaningful comorbidity structures beyond what can be inferred from diagnostic frequency alone. By integrating feature importance with disease co-occurrence, the framework may reveal potential early warning signals embedded within routine EHRs, thereby highlighting clinically relevant comorbidity patterns associated with HF and facilitating clinical risk stratification.</p>
      </sec>
      <sec>
        <title>Risk-Aware Pseudotime Analysis Framework</title>
        <p>A second contribution of this study is the introduction of the risk-aware pseudotime framework, which provides a risk-oriented organization of longitudinal disease trajectories. Longitudinal EHR analyses are often challenged by temporal heterogeneity and irregular sampling, making direct alignment of clinical trajectories across individuals difficult. Our framework addresses this challenge by projecting discrete patient histories onto a “model-inferred risk continuum” derived from longitudinal disease representations. This continuum provides a common axis for characterizing heterogeneous patient trajectories according to increasing model-estimated risk rather than chronological timing alone.</p>
        <p>The resulting risk-aware organization enables investigation of how comorbidity patterns vary across the inferred risk spectrum. The observed enrichment of cardiorenal-metabolic conditions, including type 2 diabetes (E11) and CKD (N18), along the pseudotime axis highlights their importance in the disease trajectories captured by the model. Furthermore, the striking contrast between the gradual accrual of these chronic comorbidities and the abrupt, infrequent appearance of terminal events like shock (R57) validates the framework’s capacity to prioritize structural disease evolution over episodic triggers.</p>
        <p>Collectively, these findings suggest that the proposed geometric trajectory framework captures longitudinal patterns of multimorbidity associated with increasing HF risk. Beyond predictive modeling, the risk-aware pseudotime framework provides an interpretable approach for visualizing disease trajectory organization and identifying patterns of comorbidity evolution preceding high-risk states.</p>
      </sec>
      <sec>
        <title>Limitations</title>
        <p>Real-world longitudinal EHR data are inherently sparse and heterogeneous, often containing irregular follow-up intervals, variable numbers of historical admissions, and incomplete diagnosis coding due to administrative encounters or heterogeneous documentation practices. Such uncertainty may affect the construction of longitudinal disease trajectories by introducing admissions with limited disease-specific information. In our robustness analysis, retaining additional diagnosis-free admissions resulted in only marginal reductions in predictive performance, suggesting that the proposed trajectory representation maintained stable performance under moderate levels of incomplete diagnostic information. One possible explanation is that the representation aggregates disease information across multiple longitudinal encounters rather than relying on individual admissions alone, thereby reducing the impact of isolated incomplete records on the overall trajectory representation.</p>
        <p>In addition, the acute-care focus of the MIMIC-IV database may introduce cohort selection bias, as patients receiving frequent or severe hospital-based care may be overrepresented in the available longitudinal records. This may limit the generalizability of the observed disease trajectories and risk patterns to broader populations, particularly those managed predominantly in outpatient or community settings.</p>
        <p>Nevertheless, several limitations should be acknowledged. First, although the proposed framework naturally accommodates variable-length trajectories, patients with only a single prior admission inevitably contribute less longitudinal information than patients with multiple readmissions. Consequently, the richness of the learned trajectory representation remains dependent on the amount of historical clinical information available. Second, the present robustness analysis evaluated only one practical form of structural uncertainty. Other sources, including varying degrees of missing diagnoses, systematic coding bias, and missing encounters, warrant further investigation. Finally, this work lacks external validation on independent multicenter cohorts. Although the framework demonstrates strong internal validity, its generalizability across heterogeneous health care systems remains to be established in future studies.</p>
        <p>A further limitation of this study is the exclusion of diagnoses that are highly correlated with HF, including hypertensive heart disease and cardiomyopathies. Although this strategy is methodologically rigorous from a machine learning perspective, being adopted to reduce information leakage and ensure that the model learned broader longitudinal comorbidity patterns rather than relying on near-proxy indicators of the outcome, it also results in a simplified representation of the patient's clinical condition. In routine clinical practice, these diagnoses constitute important etiological and prognostic information and are frequently incorporated into clinical decision-making. Consequently, the present framework should be interpreted primarily as an evaluation of the predictive value of latent comorbidity structure rather than a fully comprehensive clinical risk assessment model. Future work should investigate the integration of both disease trajectory features and direct HF-related diagnoses to better reflect real-world clinical decision support scenarios.</p>
      </sec>
      <sec>
        <title>Future Directions</title>
        <p>Future work should focus on external validation across diverse cohorts, incorporation of multimodal clinical information, and further development of advanced trajectory modeling approaches to better characterize complex disease evolution across clinical domains.</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>In conclusion, we developed a longitudinal disease trajectory representation that integrates IG-based weighting, disease co-occurrence information, and geometric structural features to transform heterogeneous EHR data into compact and interpretable representations of clinical evolution. The proposed framework captures latent patterns associated with disease trajectories and provides a risk-aware perspective for longitudinal risk stratification in high-noise clinical data. Beyond predictive performance, this approach facilitates visualization and characterization of disease trajectories, providing a framework for further investigation of trajectory-based risk assessment in longitudinal clinical data.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>The detailed hyperparameter settings for the Node2Vec embedding model.</p>
        <media xlink:href="medinform_v14i1e95929_app1.pdf" xlink:title="PDF File  (Adobe PDF File), 61 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <p>The complete hyperparameter settings for XGBoost classifier and Logistic Regression model.</p>
        <media xlink:href="medinform_v14i1e95929_app2.pdf" xlink:title="PDF File  (Adobe PDF File), 13 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>Reliability diagram calibrated based on Platt scaling. The red line represents the probability curve of the original XGBoost model. The blue line represents the curve after Platt scaling calibration. The black dashed line indicates the 45° perfect calibration diagonal.</p>
        <media xlink:href="medinform_v14i1e95929_app3.png" xlink:title="PNG File , 217 KB"/>
      </supplementary-material>
      <supplementary-material id="app4">
        <label>Multimedia Appendix 4</label>
        <p>Progressive ablation analysis of the proposed feature modules.</p>
        <media xlink:href="medinform_v14i1e95929_app4.pdf" xlink:title="PDF File  (Adobe PDF File), 146 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">AUC</term>
          <def>
            <p>area under the curve</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">AUPRC</term>
          <def>
            <p>area under the precision-recall curve</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">BFS</term>
          <def>
            <p>breadth-first search</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">BIDMC</term>
          <def>
            <p>Beth Israel Deaconess Medical Center</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">CCI</term>
          <def>
            <p>Charlson Comorbidity Index</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">CKD</term>
          <def>
            <p>chronic kidney disease</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">CKM</term>
          <def>
            <p>cardiovascular-kidney-metabolic</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">CMS</term>
          <def>
            <p>Centers for Medicare &amp; Medicaid Services</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">DFS</term>
          <def>
            <p>depth-first search</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">EHR</term>
          <def>
            <p>electronic health record</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb11">GEM</term>
          <def>
            <p>General Equivalence Mapping</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb12">GNN</term>
          <def>
            <p>graph neural network</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb13">HF</term>
          <def>
            <p>heart failure</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb14">HIPAA</term>
          <def>
            <p>Health Insurance Portability and Accountability Act</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb15">ICD</term>
          <def>
            <p>International Classification of Diseases</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb16">ICD-9-CM</term>
          <def>
            <p>International Classification of Diseases, Ninth Revision, Clinical Modification</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb17">ICD-10-CM</term>
          <def>
            <p>International Classification of Diseases, 10th Revision, Clinical Modification</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb18">IG</term>
          <def>
            <p>information gain</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb19">IRB</term>
          <def>
            <p>Institutional Review Board</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb20">LR</term>
          <def>
            <p>logistic regression</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb21">LSTM</term>
          <def>
            <p>long short-term memory</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb22">MIMIC-IV</term>
          <def>
            <p>Medical Information Mart for Intensive Care IV</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb23">MIT</term>
          <def>
            <p>Massachusetts Institute of Technology</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb24">mIGw</term>
          <def>
            <p>maximum information gain-weighted</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb25">mIGwDG</term>
          <def>
            <p>maximum information gain-weighted deviation geometric</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb26">MRCA</term>
          <def>
            <p>most recent common ancestor</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb27">NLP</term>
          <def>
            <p>natural language processing</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb28">OOF</term>
          <def>
            <p>out-of-fold</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb29">PCA</term>
          <def>
            <p>principal component analysis</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb30">PMI</term>
          <def>
            <p>pointwise mutual information</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb31">PPMI</term>
          <def>
            <p>positive pointwise mutual information</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb32">RNN</term>
          <def>
            <p>recurrent neural network</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb33">TF-IDF</term>
          <def>
            <p>term frequency-inverse document frequency</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb34">T2DM</term>
          <def>
            <p>type 2 diabetes mellitus</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb35">XGBoost</term>
          <def>
            <p>extreme gradient boosting</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>The authors would like to thank the Massachusetts Institute of Technology (MIT) Laboratory for Computational Physiology for providing access to the MIMIC-IV database. We also appreciate the efforts of the clinical and technical staff at the Beth Israel Deaconess Medical Center for their data collection and curation efforts. This research was made possible through the use of the PhysioNet platform.</p>
    </ack>
    <notes>
      <sec>
        <title>Funding</title>
        <p>The article processing fee for this publication was supported by the National Science and Technology Council, Taiwan (Grant No. MOST 111-2221-E-027-113-MY2), and the joint research project between National Taipei University of Technology and Beijing University of Technology (Project No. NTUT-BJUT-111-062), coordinated by Dr. Maoshen Jia of the Faculty of Information Technology, Beijing University of Technology, Beijing, China.</p>
      </sec>
    </notes>
    <fn-group>
      <fn fn-type="con">
        <p>Conceptualization: J-LH, C-HY</p>
        <p>Data curation: J-LH, T-WP</p>
        <p>Formal analysis: J-LH, C-HY</p>
        <p>Investigation: J-LH</p>
        <p>Methodology: J-LH, C-HY</p>
        <p>Project administration: T-WP</p>
        <p>Resources: J-LH, T-WP</p>
        <p>Supervision: T-WP</p>
        <p>Software: J-LH, C-HY</p>
        <p>Validation: J-LH, C-HY</p>
        <p>Visualization: J-LH, C-HY</p>
        <p>Writing – original draft: J-LH, C-HY</p>
        <p>Writing – review &amp; editing: T-WP</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <notes>
      <sec>
        <title>Generative AI Use</title>
        <p>The authors used ChatGPT (OpenAI) to assist with language editing, grammar correction, improving clarity of scientific writing, and revising manuscript text. All study design, methodology development, data processing, statistical analyses, interpretation of results, and scientific conclusions were performed solely by the authors, who take full responsibility for the content of the manuscript.</p>
      </sec>
    </notes>
    <notes>
      <sec>
        <title>Data Availability</title>
        <p>The medical data analyzed in this study were obtained from the Medical Information Mart for Intensive Care IV (MIMIC-IV, version 2.2) database, hosted on PhysioNet. Due to patient privacy concerns and data protection policies, access to the dataset requires credentialed users to complete the required CITI training and agree to the data use terms.</p>
        <p>The source code and computational pipelines supporting the findings of this study are publicly available at the following GitHub repository. The repository contains the core implementation of the proposed mIGwDG-based modeling pipeline, including preprocessing, Node2Vec embedding, information gain weighting, XGBoost training, and model evaluation. Original MIMIC-IV data cannot be redistributed because of data-use and privacy restrictions.</p>
      </sec>
    </notes>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ndumele</surname>
              <given-names>CE</given-names>
            </name>
            <name name-style="western">
              <surname>Rangaswami</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Chow</surname>
              <given-names>SL</given-names>
            </name>
            <name name-style="western">
              <surname>Neeland</surname>
              <given-names>IJ</given-names>
            </name>
            <name name-style="western">
              <surname>Tuttle</surname>
              <given-names>KR</given-names>
            </name>
            <name name-style="western">
              <surname>Khan</surname>
              <given-names>SS</given-names>
            </name>
            <name name-style="western">
              <surname>Coresh</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Mathew</surname>
              <given-names>RO</given-names>
            </name>
            <name name-style="western">
              <surname>Baker-Smith</surname>
              <given-names>CM</given-names>
            </name>
            <name name-style="western">
              <surname>Carnethon</surname>
              <given-names>MR</given-names>
            </name>
            <name name-style="western">
              <surname>Despres</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Ho</surname>
              <given-names>JE</given-names>
            </name>
            <name name-style="western">
              <surname>Joseph</surname>
              <given-names>JJ</given-names>
            </name>
            <name name-style="western">
              <surname>Kernan</surname>
              <given-names>WN</given-names>
            </name>
            <name name-style="western">
              <surname>Khera</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Kosiborod</surname>
              <given-names>MN</given-names>
            </name>
            <name name-style="western">
              <surname>Lekavich</surname>
              <given-names>CL</given-names>
            </name>
            <name name-style="western">
              <surname>Lewis</surname>
              <given-names>EF</given-names>
            </name>
            <name name-style="western">
              <surname>Lo</surname>
              <given-names>KB</given-names>
            </name>
            <name name-style="western">
              <surname>Ozkan</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Palaniappan</surname>
              <given-names>LP</given-names>
            </name>
            <name name-style="western">
              <surname>Patel</surname>
              <given-names>SS</given-names>
            </name>
            <name name-style="western">
              <surname>Pencina</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>Powell-Wiley</surname>
              <given-names>TM</given-names>
            </name>
            <name name-style="western">
              <surname>Sperling</surname>
              <given-names>LS</given-names>
            </name>
            <name name-style="western">
              <surname>Virani</surname>
              <given-names>SS</given-names>
            </name>
            <name name-style="western">
              <surname>Wright</surname>
              <given-names>JT</given-names>
            </name>
            <name name-style="western">
              <surname>Rajgopal Singh</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Elkind</surname>
              <given-names>MSV</given-names>
            </name>
            <collab>American Heart Association</collab>
          </person-group>
          <article-title>Cardiovascular-kidney-metabolic health: a presidential advisory from the American Heart Association</article-title>
          <source>Circulation</source>
          <year>2023</year>
          <volume>148</volume>
          <issue>20</issue>
          <fpage>1606</fpage>
          <lpage>1635</lpage>
          <pub-id pub-id-type="doi">10.1161/CIR.0000000000001184</pub-id>
          <pub-id pub-id-type="medline">37807924</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>Shahim</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Kapelios</surname>
              <given-names>CJ</given-names>
            </name>
            <name name-style="western">
              <surname>Savarese</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Lund</surname>
              <given-names>LH</given-names>
            </name>
          </person-group>
          <article-title>Global public health burden of heart failure: an updated review</article-title>
          <source>Card Fail Rev</source>
          <year>2023</year>
          <volume>9</volume>
          <fpage>e11</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/37547123"/>
          </comment>
          <pub-id pub-id-type="doi">10.15420/cfr.2023.05</pub-id>
          <pub-id pub-id-type="medline">37547123</pub-id>
          <pub-id pub-id-type="pmcid">PMC10398425</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>Gimeno-Miguel</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Gracia Gutiérrez</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Poblador-Plou</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Coscollar-Santaliestra</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Pérez-Calvo</surname>
              <given-names>JI</given-names>
            </name>
            <name name-style="western">
              <surname>Divo</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>Calderón-Larrañaga</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Prados-Torres</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ruiz-Laiglesia</surname>
              <given-names>FJ</given-names>
            </name>
          </person-group>
          <article-title>Multimorbidity patterns in patients with heart failure: an observational Spanish study based on electronic health records</article-title>
          <source>BMJ Open</source>
          <year>2019</year>
          <month>12</month>
          <day>23</day>
          <volume>9</volume>
          <issue>12</issue>
          <fpage>e033174</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmjopen.bmj.com/lookup/pmidlookup?view=long&amp;pmid=31874886"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/bmjopen-2019-033174</pub-id>
          <pub-id pub-id-type="medline">31874886</pub-id>
          <pub-id pub-id-type="pii">bmjopen-2019-033174</pub-id>
          <pub-id pub-id-type="pmcid">PMC7008407</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>Chamberlain</surname>
              <given-names>AM</given-names>
            </name>
            <name name-style="western">
              <surname>St Sauver</surname>
              <given-names>JL</given-names>
            </name>
            <name name-style="western">
              <surname>Gerber</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Manemann</surname>
              <given-names>SM</given-names>
            </name>
            <name name-style="western">
              <surname>Boyd</surname>
              <given-names>CM</given-names>
            </name>
            <name name-style="western">
              <surname>Dunlay</surname>
              <given-names>SM</given-names>
            </name>
            <name name-style="western">
              <surname>Rocca</surname>
              <given-names>WA</given-names>
            </name>
            <name name-style="western">
              <surname>Finney Rutten</surname>
              <given-names>LJ</given-names>
            </name>
            <name name-style="western">
              <surname>Jiang</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Weston</surname>
              <given-names>SA</given-names>
            </name>
            <name name-style="western">
              <surname>Roger</surname>
              <given-names>VL</given-names>
            </name>
          </person-group>
          <article-title>Multimorbidity in heart failure: a community perspective</article-title>
          <source>Am J Med</source>
          <year>2015</year>
          <volume>128</volume>
          <issue>1</issue>
          <fpage>38</fpage>
          <lpage>45</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/25220613"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.amjmed.2014.08.024</pub-id>
          <pub-id pub-id-type="medline">25220613</pub-id>
          <pub-id pub-id-type="pii">S0002-9343(14)00790-6</pub-id>
          <pub-id pub-id-type="pmcid">PMC4282820</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>Tomasoni</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Vitale</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Guidetti</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Benson</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Braunschweig</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Dahlström</surname>
              <given-names>Ulf</given-names>
            </name>
            <name name-style="western">
              <surname>Melin</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Rosano</surname>
              <given-names>GMC</given-names>
            </name>
            <name name-style="western">
              <surname>Lund</surname>
              <given-names>LH</given-names>
            </name>
            <name name-style="western">
              <surname>Metra</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Savarese</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>The role of multimorbidity in patients with heart failure across the left ventricular ejection fraction spectrum: data from the swedish heart failure registry</article-title>
          <source>Eur J Heart Fail</source>
          <year>2024</year>
          <volume>26</volume>
          <issue>4</issue>
          <fpage>854</fpage>
          <lpage>868</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://onlinelibrary.wiley.com/doi/10.1002/ejhf.3112"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/ejhf.3112</pub-id>
          <pub-id pub-id-type="medline">38131248</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>Mentz</surname>
              <given-names>RJ</given-names>
            </name>
            <name name-style="western">
              <surname>O'Connor</surname>
              <given-names>CM</given-names>
            </name>
          </person-group>
          <article-title>Pathophysiology and clinical evaluation of acute heart failure</article-title>
          <source>Nat Rev Cardiol</source>
          <year>2016</year>
          <volume>13</volume>
          <issue>1</issue>
          <fpage>28</fpage>
          <lpage>35</lpage>
          <pub-id pub-id-type="doi">10.1038/nrcardio.2015.134</pub-id>
          <pub-id pub-id-type="medline">26370473</pub-id>
          <pub-id pub-id-type="pii">nrcardio.2015.134</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>Gerhardt</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Gerhardt</surname>
              <given-names>LMS</given-names>
            </name>
            <name name-style="western">
              <surname>Ouwerkerk</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Roth</surname>
              <given-names>GA</given-names>
            </name>
            <name name-style="western">
              <surname>Dickstein</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Collins</surname>
              <given-names>SP</given-names>
            </name>
            <name name-style="western">
              <surname>Cleland</surname>
              <given-names>JGF</given-names>
            </name>
            <name name-style="western">
              <surname>Dahlstrom</surname>
              <given-names>U</given-names>
            </name>
            <name name-style="western">
              <surname>Tay</surname>
              <given-names>WT</given-names>
            </name>
            <name name-style="western">
              <surname>Ertl</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Hassanein</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Perrone</surname>
              <given-names>SV</given-names>
            </name>
            <name name-style="western">
              <surname>Ghadanfar</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Schweizer</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Obergfell</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Filippatos</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Lam</surname>
              <given-names>CSP</given-names>
            </name>
            <name name-style="western">
              <surname>Tromp</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Angermann</surname>
              <given-names>CE</given-names>
            </name>
          </person-group>
          <article-title>Multimorbidity in patients with acute heart failure across world regions and country income levels (REPORT-HF): a prospective, multicentre, global cohort study</article-title>
          <source>Lancet Glob Health</source>
          <year>2023</year>
          <volume>11</volume>
          <issue>12</issue>
          <fpage>e1874</fpage>
          <lpage>e1884</lpage>
          <pub-id pub-id-type="doi">10.1016/s2214-109x(23)00408-4</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>Screever</surname>
              <given-names>EM</given-names>
            </name>
            <name name-style="western">
              <surname>van der Wal</surname>
              <given-names>MHL</given-names>
            </name>
            <name name-style="western">
              <surname>van Veldhuisen</surname>
              <given-names>DJ</given-names>
            </name>
            <name name-style="western">
              <surname>Jaarsma</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Koops</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>van Dijk</surname>
              <given-names>KS</given-names>
            </name>
            <name name-style="western">
              <surname>Warink-Riemersma</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Coster</surname>
              <given-names>JE</given-names>
            </name>
            <name name-style="western">
              <surname>Westenbrink</surname>
              <given-names>BD</given-names>
            </name>
            <name name-style="western">
              <surname>van der Meer</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>de Boer</surname>
              <given-names>RA</given-names>
            </name>
            <name name-style="western">
              <surname>Meijers</surname>
              <given-names>WC</given-names>
            </name>
          </person-group>
          <article-title>Comorbidities complicating heart failure: changes over the last 15 years</article-title>
          <source>Clin Res Cardiol</source>
          <year>2023</year>
          <volume>112</volume>
          <issue>1</issue>
          <fpage>123</fpage>
          <lpage>133</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/35976430"/>
          </comment>
          <pub-id pub-id-type="doi">10.1007/s00392-022-02076-1</pub-id>
          <pub-id pub-id-type="medline">35976430</pub-id>
          <pub-id pub-id-type="pii">10.1007/s00392-022-02076-1</pub-id>
          <pub-id pub-id-type="pmcid">PMC9849176</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>Goldstein</surname>
              <given-names>BA</given-names>
            </name>
            <name name-style="western">
              <surname>Navar</surname>
              <given-names>AM</given-names>
            </name>
            <name name-style="western">
              <surname>Pencina</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>Ioannidis</surname>
              <given-names>JPA</given-names>
            </name>
          </person-group>
          <article-title>Opportunities and challenges in developing risk prediction models with electronic health records data: a systematic review</article-title>
          <source>J Am Med Inform Assoc</source>
          <year>2017</year>
          <volume>24</volume>
          <issue>1</issue>
          <fpage>198</fpage>
          <lpage>208</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/27189013"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/jamia/ocw042</pub-id>
          <pub-id pub-id-type="medline">27189013</pub-id>
          <pub-id pub-id-type="pii">ocw042</pub-id>
          <pub-id pub-id-type="pmcid">PMC5201180</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>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>
            <name name-style="western">
              <surname>Dai</surname>
              <given-names>AM</given-names>
            </name>
            <name name-style="western">
              <surname>Hajaj</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Hardt</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>PJ</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Marcus</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Sun</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Sundberg</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Yee</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Flores</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Duggan</surname>
              <given-names>GE</given-names>
            </name>
            <name name-style="western">
              <surname>Irvine</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Le</surname>
              <given-names>Q</given-names>
            </name>
            <name name-style="western">
              <surname>Litsch</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Mossin</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Tansuwan</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Wexler</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Wilson</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Ludwig</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Volchenboum</surname>
              <given-names>SL</given-names>
            </name>
            <name name-style="western">
              <surname>Chou</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Pearson</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Madabushi</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Shah</surname>
              <given-names>NH</given-names>
            </name>
            <name name-style="western">
              <surname>Butte</surname>
              <given-names>AJ</given-names>
            </name>
            <name name-style="western">
              <surname>Howell</surname>
              <given-names>MD</given-names>
            </name>
            <name name-style="western">
              <surname>Cui</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Corrado</surname>
              <given-names>GS</given-names>
            </name>
            <name name-style="western">
              <surname>Dean</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Scalable and accurate deep learning with electronic health records</article-title>
          <source>NPJ Digit Med</source>
          <year>2018</year>
          <volume>1</volume>
          <issue>1</issue>
          <fpage>18</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41746-018-0029-1"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41746-018-0029-1</pub-id>
          <pub-id pub-id-type="medline">31304302</pub-id>
          <pub-id pub-id-type="pii">29</pub-id>
          <pub-id pub-id-type="pmcid">PMC6550175</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>Wei</surname>
              <given-names>WQ</given-names>
            </name>
            <name name-style="western">
              <surname>Bastarache</surname>
              <given-names>LA</given-names>
            </name>
            <name name-style="western">
              <surname>Carroll</surname>
              <given-names>RJ</given-names>
            </name>
            <name name-style="western">
              <surname>Marlo</surname>
              <given-names>JE</given-names>
            </name>
            <name name-style="western">
              <surname>Osterman</surname>
              <given-names>TJ</given-names>
            </name>
            <name name-style="western">
              <surname>Gamazon</surname>
              <given-names>ER</given-names>
            </name>
            <name name-style="western">
              <surname>Cox</surname>
              <given-names>NJ</given-names>
            </name>
            <name name-style="western">
              <surname>Roden</surname>
              <given-names>DM</given-names>
            </name>
            <name name-style="western">
              <surname>Denny</surname>
              <given-names>JC</given-names>
            </name>
          </person-group>
          <article-title>Evaluating phecodes, clinical classification software, and ICD-9-CM codes for phenome-wide association studies in the electronic health record</article-title>
          <source>PLoS One</source>
          <year>2017</year>
          <volume>12</volume>
          <issue>7</issue>
          <fpage>e0175508</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pone.0175508"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0175508</pub-id>
          <pub-id pub-id-type="medline">28686612</pub-id>
          <pub-id pub-id-type="pii">PONE-D-16-36822</pub-id>
          <pub-id pub-id-type="pmcid">PMC5501393</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>Ng</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Steinhubl</surname>
              <given-names>SR</given-names>
            </name>
            <name name-style="western">
              <surname>deFilippi</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Dey</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Stewart</surname>
              <given-names>WF</given-names>
            </name>
          </person-group>
          <article-title>Early detection of heart failure using electronic health records: practical implications for time before diagnosis, data diversity, data quantity, and data density</article-title>
          <source>Circ Cardiovasc Qual Outcomes</source>
          <year>2016</year>
          <volume>9</volume>
          <issue>6</issue>
          <fpage>649</fpage>
          <lpage>658</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/28263940"/>
          </comment>
          <pub-id pub-id-type="doi">10.1161/CIRCOUTCOMES.116.002797</pub-id>
          <pub-id pub-id-type="medline">28263940</pub-id>
          <pub-id pub-id-type="pii">CIRCOUTCOMES.116.002797</pub-id>
          <pub-id pub-id-type="pmcid">PMC5341145</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>Jensen</surname>
              <given-names>AB</given-names>
            </name>
            <name name-style="western">
              <surname>Moseley</surname>
              <given-names>PL</given-names>
            </name>
            <name name-style="western">
              <surname>Oprea</surname>
              <given-names>TI</given-names>
            </name>
            <name name-style="western">
              <surname>Ellesøe</surname>
              <given-names>SG</given-names>
            </name>
            <name name-style="western">
              <surname>Eriksson</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Schmock</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Jensen</surname>
              <given-names>PB</given-names>
            </name>
            <name name-style="western">
              <surname>Jensen</surname>
              <given-names>LJ</given-names>
            </name>
            <name name-style="western">
              <surname>Brunak</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Temporal disease trajectories condensed from population-wide registry data covering 6.2 million patients</article-title>
          <source>Nat Commun</source>
          <year>2014</year>
          <volume>5</volume>
          <issue>1</issue>
          <fpage>4022</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/ncomms5022"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/ncomms5022</pub-id>
          <pub-id pub-id-type="medline">24959948</pub-id>
          <pub-id pub-id-type="pii">ncomms5022</pub-id>
          <pub-id pub-id-type="pmcid">PMC4090719</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>Choi</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Chiu</surname>
              <given-names>CY</given-names>
            </name>
            <name name-style="western">
              <surname>Sontag</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Learning low-dimensional representations of medical concepts</article-title>
          <source>AMIA Jt Summits Transl Sci Proc</source>
          <year>2016</year>
          <volume>2016</volume>
          <fpage>41</fpage>
          <lpage>50</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/27570647"/>
          </comment>
          <pub-id pub-id-type="medline">27570647</pub-id>
          <pub-id pub-id-type="pmcid">PMC5001761</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>Miotto</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Kidd</surname>
              <given-names>BA</given-names>
            </name>
            <name name-style="western">
              <surname>Dudley</surname>
              <given-names>JT</given-names>
            </name>
          </person-group>
          <article-title>Deep patient: an unsupervised representation to predict the future of patients from the electronic health records</article-title>
          <source>Sci Rep</source>
          <year>2016</year>
          <volume>6</volume>
          <fpage>26094</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/srep26094"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/srep26094</pub-id>
          <pub-id pub-id-type="medline">27185194</pub-id>
          <pub-id pub-id-type="pii">srep26094</pub-id>
          <pub-id pub-id-type="pmcid">PMC4869115</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>Grover</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Leskovec</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>node2vec: Scalable feature learning for networks</article-title>
          <source>KDD</source>
          <year>2016</year>
          <volume>2016</volume>
          <fpage>855</fpage>
          <lpage>864</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/27853626"/>
          </comment>
          <pub-id pub-id-type="doi">10.1145/2939672.2939754</pub-id>
          <pub-id pub-id-type="medline">27853626</pub-id>
          <pub-id pub-id-type="pmcid">PMC5108654</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>Beam</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Kompa</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Schmaltz</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Fried</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Weber</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Palmer</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Shi</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Cai</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Kohane</surname>
              <given-names>IS</given-names>
            </name>
          </person-group>
          <article-title>Clinical concept embeddings learned from massive sources of multimodal medical data</article-title>
          <source>Pac Symp Biocomput</source>
          <year>2020</year>
          <volume>25</volume>
          <fpage>295</fpage>
          <lpage>306</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/31797605"/>
          </comment>
          <pub-id pub-id-type="medline">31797605</pub-id>
          <pub-id pub-id-type="pii">9789811215636_0027</pub-id>
          <pub-id pub-id-type="pmcid">PMC6922053</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>Ramamurthy</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Han</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Delen</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Miao</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Gin</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Paiva</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>Graph attention network with comorbidity connectivity embedding for post-traumatic epilepsy risk prediction using sparse time-series electronic health records</article-title>
          <source>Int J Med Inform</source>
          <year>2026</year>
          <volume>208</volume>
          <fpage>106239</fpage>
          <pub-id pub-id-type="doi">10.1016/j.ijmedinf.2025.106239</pub-id>
          <pub-id pub-id-type="medline">41478164</pub-id>
          <pub-id pub-id-type="pii">S1386-5056(25)00456-3</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>Rotmensch</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Halpern</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Tlimat</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Horng</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Sontag</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Learning a health knowledge graph from electronic medical records</article-title>
          <source>Sci Rep</source>
          <year>2017</year>
          <volume>7</volume>
          <issue>1</issue>
          <fpage>5994</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41598-017-05778-z"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41598-017-05778-z</pub-id>
          <pub-id pub-id-type="medline">28729710</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41598-017-05778-z</pub-id>
          <pub-id pub-id-type="pmcid">PMC5519723</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>Xiao</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Choi</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Sun</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Opportunities and challenges in developing deep learning models using electronic health records data: a systematic review</article-title>
          <source>J Am Med Inform Assoc</source>
          <year>2018</year>
          <volume>25</volume>
          <issue>10</issue>
          <fpage>1419</fpage>
          <lpage>1428</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/29893864"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/jamia/ocy068</pub-id>
          <pub-id pub-id-type="medline">29893864</pub-id>
          <pub-id pub-id-type="pii">5035024</pub-id>
          <pub-id pub-id-type="pmcid">PMC6188527</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>Ayala Solares</surname>
              <given-names>JR</given-names>
            </name>
            <name name-style="western">
              <surname>Diletta Raimondi</surname>
              <given-names>FE</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Rahimian</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Canoy</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Tran</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Pinho Gomes</surname>
              <given-names>AC</given-names>
            </name>
            <name name-style="western">
              <surname>Payberah</surname>
              <given-names>AH</given-names>
            </name>
            <name name-style="western">
              <surname>Zottoli</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Nazarzadeh</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Conrad</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Rahimi</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Salimi-Khorshidi</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Deep learning for electronic health records: a comparative review of multiple deep neural architectures</article-title>
          <source>J Biomed Inform</source>
          <year>2020</year>
          <volume>101</volume>
          <fpage>103337</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1532-0464(19)30256-4"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jbi.2019.103337</pub-id>
          <pub-id pub-id-type="medline">31916973</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(19)30256-4</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>Landi</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Glicksberg</surname>
              <given-names>BS</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Cherng</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Landi</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Danieletto</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Dudley</surname>
              <given-names>JT</given-names>
            </name>
            <name name-style="western">
              <surname>Furlanello</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Miotto</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Deep representation learning of electronic health records to unlock patient stratification at scale</article-title>
          <source>NPJ Digit Med</source>
          <year>2020</year>
          <volume>3</volume>
          <fpage>96</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41746-020-0301-z"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41746-020-0301-z</pub-id>
          <pub-id pub-id-type="medline">32699826</pub-id>
          <pub-id pub-id-type="pii">301</pub-id>
          <pub-id pub-id-type="pmcid">PMC7367859</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jain</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wallace</surname>
              <given-names>BC</given-names>
            </name>
          </person-group>
          <article-title>Attention is not Explanation</article-title>
          <source>Minneapolis, Minnesota: Association for Computational Linguistics</source>
          <year>2019</year>
          <conf-name>NAACL-HLT 2019</conf-name>
          <conf-date>June 2–7, 2019</conf-date>
          <conf-loc>Minneapolis, Minnesota</conf-loc>
          <publisher-loc>June; Minneapolis, Minnesota</publisher-loc>
          <publisher-name>Association for Computational Linguistics</publisher-name>
          <fpage>3543</fpage>
          <lpage>3556</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/N19-1357</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wiegreffe</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Pinter</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>Attention is not not Explanation</article-title>
          <year>2019</year>
          <conf-name>EMNLP-IJCNLP 2019</conf-name>
          <conf-date>November 3–7, 2019</conf-date>
          <conf-loc>Hong Kong, China</conf-loc>
          <publisher-loc>Hong Kong, China</publisher-loc>
          <publisher-name>Association for Computational Linguistics</publisher-name>
          <fpage>11</fpage>
          <lpage>20</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/D19-1002</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>Goldberger</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Amaral</surname>
              <given-names>LA</given-names>
            </name>
            <name name-style="western">
              <surname>Glass</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Hausdorff</surname>
              <given-names>JM</given-names>
            </name>
            <name name-style="western">
              <surname>Ivanov</surname>
              <given-names>PC</given-names>
            </name>
            <name name-style="western">
              <surname>Mark</surname>
              <given-names>RG</given-names>
            </name>
            <name name-style="western">
              <surname>Mietus</surname>
              <given-names>JE</given-names>
            </name>
            <name name-style="western">
              <surname>Moody</surname>
              <given-names>GB</given-names>
            </name>
            <name name-style="western">
              <surname>Peng</surname>
              <given-names>CK</given-names>
            </name>
            <name name-style="western">
              <surname>Stanley</surname>
              <given-names>HE</given-names>
            </name>
          </person-group>
          <article-title>PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals</article-title>
          <source>Circulation</source>
          <year>2000</year>
          <volume>101</volume>
          <issue>23</issue>
          <fpage>E215</fpage>
          <lpage>220</lpage>
          <pub-id pub-id-type="doi">10.1161/01.cir.101.23.e215</pub-id>
          <pub-id pub-id-type="medline">10851218</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>Johnson</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Bulgarelli</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Pollard</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Horng</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Celi</surname>
              <given-names>LA</given-names>
            </name>
            <name name-style="western">
              <surname>Mark</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>MIMIC-IV (version 2.2)</article-title>
          <source>PhysioNet</source>
          <year>2023</year>
          <pub-id pub-id-type="doi">10.13026/6mm1-ek67</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>Johnson</surname>
              <given-names>AEW</given-names>
            </name>
            <name name-style="western">
              <surname>Bulgarelli</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Shen</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Gayles</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Shammout</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Horng</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Pollard</surname>
              <given-names>TJ</given-names>
            </name>
            <name name-style="western">
              <surname>Hao</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Moody</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Gow</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Lehman</surname>
              <given-names>LH</given-names>
            </name>
            <name name-style="western">
              <surname>Celi</surname>
              <given-names>LA</given-names>
            </name>
            <name name-style="western">
              <surname>Mark</surname>
              <given-names>RG</given-names>
            </name>
          </person-group>
          <article-title>MIMIC-IV, a freely accessible electronic health record dataset</article-title>
          <source>Sci Data</source>
          <year>2023</year>
          <volume>10</volume>
          <issue>1</issue>
          <fpage>1</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/s41597-022-01899-x"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41597-022-01899-x</pub-id>
          <pub-id pub-id-type="medline">36596836</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41597-022-01899-x</pub-id>
          <pub-id pub-id-type="pmcid">PMC9810617</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="web">
          <source>ICD-10 Files &amp; News Archive</source>
          <access-date>2025-06-13</access-date>
          <publisher-name>Centers for Medicare &amp; Medicaid Services (CMS)</publisher-name>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.cms.gov/medicare/coding-billing/icd-10-codes/icd-10-cm-icd-10-pcs-gem-archive">https://www.cms.gov/medicare/coding-billing/icd-10-codes/icd-10-cm-icd-10-pcs-gem-archive</ext-link>
          </comment>
        </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>Quinlan</surname>
              <given-names>JR</given-names>
            </name>
          </person-group>
          <article-title>Induction of decision trees</article-title>
          <source>Mach Learn</source>
          <year>1986</year>
          <volume>1</volume>
          <issue>1</issue>
          <fpage>81</fpage>
          <lpage>106</lpage>
          <pub-id pub-id-type="doi">10.1007/bf00116251</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>Church</surname>
              <given-names>KW</given-names>
            </name>
            <name name-style="western">
              <surname>Hanks</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Word association norms, mutual information, and lexicography</article-title>
          <source>Computational Linguistics</source>
          <year>1990</year>
          <volume>16</volume>
          <issue>1</issue>
          <fpage>22</fpage>
          <lpage>29</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://aclanthology.org/J90-1003/"/>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Guestrin</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>XGBoost: a scalable tree boosting system</article-title>
          <year>2016</year>
          <conf-name>Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</conf-name>
          <conf-date>2016 Aug 16</conf-date>
          <conf-loc>New York, NY, USA</conf-loc>
          <publisher-name>Association for Computing Machinery</publisher-name>
          <fpage>785</fpage>
          <lpage>794</lpage>
          <pub-id pub-id-type="doi">10.1145/2939672.2939785</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>McGilvray</surname>
              <given-names>MMO</given-names>
            </name>
            <name name-style="western">
              <surname>Heaton</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Guo</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Masood</surname>
              <given-names>MF</given-names>
            </name>
            <name name-style="western">
              <surname>Cupps</surname>
              <given-names>BP</given-names>
            </name>
            <name name-style="western">
              <surname>Damiano</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Pasque</surname>
              <given-names>MK</given-names>
            </name>
            <name name-style="western">
              <surname>Foraker</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Electronic health record-based deep learning prediction of death or severe decompensation in heart failure patients</article-title>
          <source>JACC Heart Fail</source>
          <year>2022</year>
          <volume>10</volume>
          <issue>9</issue>
          <fpage>637</fpage>
          <lpage>647</lpage>
          <pub-id pub-id-type="doi">10.1016/j.jchf.2022.05.010</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>Liu</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Stansbury</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Singh</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Ryan</surname>
              <given-names>AM</given-names>
            </name>
            <name name-style="western">
              <surname>Sukul</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Mahmoudi</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Waljee</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Nallamothu</surname>
              <given-names>BK</given-names>
            </name>
          </person-group>
          <article-title>Predicting 30-day hospital readmissions using artificial neural networks with medical code embedding</article-title>
          <source>PLoS One</source>
          <year>2020</year>
          <volume>15</volume>
          <issue>4</issue>
          <fpage>e0221606</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pone.0221606"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0221606</pub-id>
          <pub-id pub-id-type="medline">32294087</pub-id>
          <pub-id pub-id-type="pii">PONE-D-19-22302</pub-id>
          <pub-id pub-id-type="pmcid">PMC7159221</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>Tutsoy</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Ozturk</surname>
              <given-names>HA</given-names>
            </name>
            <name name-style="western">
              <surname>Sumbul</surname>
              <given-names>HE</given-names>
            </name>
          </person-group>
          <article-title>Big data dimensionality reduction-based supervised machine learning algorithms for NASH diagnosis</article-title>
          <source>BMC Bioinformatics</source>
          <year>2025</year>
          <volume>26</volume>
          <issue>1</issue>
          <fpage>256</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-025-06263-5"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/s12859-025-06263-5</pub-id>
          <pub-id pub-id-type="medline">41120851</pub-id>
          <pub-id pub-id-type="pii">10.1186/s12859-025-06263-5</pub-id>
          <pub-id pub-id-type="pmcid">PMC12538836</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>Mirghani</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Alshreef</surname>
              <given-names>AA</given-names>
            </name>
            <name name-style="western">
              <surname>Al-Temani</surname>
              <given-names>HA</given-names>
            </name>
            <name name-style="western">
              <surname>Alanazi</surname>
              <given-names>NK</given-names>
            </name>
            <name name-style="western">
              <surname>Algohani</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Alrshidi</surname>
              <given-names>WM</given-names>
            </name>
            <name name-style="western">
              <surname>Alturki</surname>
              <given-names>NA</given-names>
            </name>
            <name name-style="western">
              <surname>Alqabli</surname>
              <given-names>AT</given-names>
            </name>
            <name name-style="western">
              <surname>Alruwaili</surname>
              <given-names>FM</given-names>
            </name>
            <name name-style="western">
              <surname>Almarwni</surname>
              <given-names>GS</given-names>
            </name>
          </person-group>
          <article-title>Updates on the association between anemia and heart failure: a systematic review</article-title>
          <source>Cureus</source>
          <year>2024</year>
          <volume>16</volume>
          <issue>9</issue>
          <fpage>e69101</fpage>
          <pub-id pub-id-type="doi">10.7759/cureus.69101</pub-id>
          <pub-id pub-id-type="medline">39391392</pub-id>
          <pub-id pub-id-type="pmcid">PMC11466361</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>Puri</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Kachhadia</surname>
              <given-names>MP</given-names>
            </name>
            <name name-style="western">
              <surname>Singla</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Kataria</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Singh</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Singh</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Singla</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Dutta</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Sibhai</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Shaikh</surname>
              <given-names>JD</given-names>
            </name>
            <name name-style="western">
              <surname>Ilyas</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Agrawal</surname>
              <given-names>V</given-names>
            </name>
          </person-group>
          <article-title>Anemia in heart failure: a systematic review of prevalence and prognostic impact</article-title>
          <source>Cureus</source>
          <year>2025</year>
          <volume>17</volume>
          <issue>11</issue>
          <fpage>e96363</fpage>
          <pub-id pub-id-type="doi">10.7759/cureus.96363</pub-id>
          <pub-id pub-id-type="medline">41367439</pub-id>
          <pub-id pub-id-type="pmcid">PMC12683961</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>Pan</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Huang</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Xu</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>Impact of anemia on clinical outcomes in patients with acute heart failure: a systematic review and meta-analysis</article-title>
          <source>Clin Cardiol</source>
          <year>2024</year>
          <volume>47</volume>
          <issue>2</issue>
          <fpage>e24228</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/38402548"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/clc.24228</pub-id>
          <pub-id pub-id-type="medline">38402548</pub-id>
          <pub-id pub-id-type="pmcid">PMC10823545</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Urso</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Brucculeri</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Caimi</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Acid-base and electrolyte abnormalities in heart failure: pathophysiology and implications</article-title>
          <source>Heart Fail Rev</source>
          <year>2015</year>
          <volume>20</volume>
          <issue>4</issue>
          <fpage>493</fpage>
          <lpage>503</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/25820346"/>
          </comment>
          <pub-id pub-id-type="doi">10.1007/s10741-015-9482-y</pub-id>
          <pub-id pub-id-type="medline">25820346</pub-id>
          <pub-id pub-id-type="pmcid">PMC4464645</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sato</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Koziolek</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>von Haehling</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Translating evidence into practice: managing electrolyte imbalances and iron deficiency in heart failure</article-title>
          <source>Eur J Intern Med</source>
          <year>2025</year>
          <volume>131</volume>
          <fpage>15</fpage>
          <lpage>26</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S0953-6205(24)00444-8"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.ejim.2024.10.024</pub-id>
          <pub-id pub-id-type="medline">39521682</pub-id>
          <pub-id pub-id-type="pii">S0953-6205(24)00444-8</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
