<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id><journal-id journal-id-type="publisher-id">jmir</journal-id><journal-id journal-id-type="index">1</journal-id><journal-title>Journal of Medical Internet Research</journal-title><abbrev-journal-title>J Med Internet Res</abbrev-journal-title><issn pub-type="epub">1438-8871</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">v27i1e70140</article-id><article-id pub-id-type="doi">10.2196/70140</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Deep Phenotyping of Obesity: Electronic Health Record&#x2013;Based Temporal Modeling Study</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Ruan</surname><given-names>Xiaoyang</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Lu</surname><given-names>Shuyu</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wang</surname><given-names>Liwei</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wen</surname><given-names>Andrew</given-names></name><degrees>MS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Murali</surname><given-names>Sameer</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Liu</surname><given-names>Hongfang</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Health Data Science and AI, McWilliams School of Biomedical Informatics, The University of Texas Health Science Center at Houston</institution><addr-line>7000 Fannin St</addr-line><addr-line>Houston</addr-line><addr-line>TX</addr-line><country>United States</country></aff><aff id="aff2"><institution>Department of Clinical and Health Informatics, McWilliams School of Biomedical Informatics, The University of Texas Health Science Center at Houston</institution><addr-line>Houston</addr-line><addr-line>TX</addr-line><country>United States</country></aff><aff id="aff3"><institution>Department of Surgery, McGovern Medical School, University of Texas Health Science Center at Houston</institution><addr-line>Houston</addr-line><addr-line>TX</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Coristine</surname><given-names>Andrew</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Thayil</surname><given-names>Jerry John</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Maamor</surname><given-names>Nur</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Kondapally</surname><given-names>Saritha</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Li</surname><given-names>Sheyu</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Hongfang Liu, PhD, Department of Health Data Science and AI, McWilliams School of Biomedical Informatics, The University of Texas Health Science Center at Houston, 7000 Fannin St, Houston, TX, 77030, United States, 1 713-500-3924; <email>hongfang.liu@uth.tmc.edu</email></corresp></author-notes><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>20</day><month>8</month><year>2025</year></pub-date><volume>27</volume><elocation-id>e70140</elocation-id><history><date date-type="received"><day>16</day><month>12</month><year>2024</year></date><date date-type="rev-recd"><day>08</day><month>05</month><year>2025</year></date><date date-type="accepted"><day>08</day><month>05</month><year>2025</year></date></history><copyright-statement>&#x00A9;Xiaoyang Ruan, Shuyu Lu, Liwei Wang, Andrew Wen, Sameer Murali, Hongfang Liu. Originally published in the Journal of Medical Internet Research (<ext-link ext-link-type="uri" xlink:href="https://www.jmir.org">https://www.jmir.org</ext-link>), 20.8.2025. </copyright-statement><copyright-year>2025</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://www.jmir.org/">https://www.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://www.jmir.org/2025/1/e70140"/><abstract><sec><title>Background</title><p>Obesity affects approximately 40% of adults and 15%&#x2010;20% of children and adolescents in the United States, and poses significant economic and psychosocial burdens. Currently, patient responses to any single antiobesity medication (AOM) vary significantly, making obesity deep phenotyping and associated precision medicine important targets of investigation.</p></sec><sec><title>Objective</title><p>This study aimed to evaluate the potential of electronic health records (EHR) as a primary data source for obesity deep phenotyping. We conducted an in-depth analysis of the data elements and quality available from obesity patients prior to pharmacotherapy and applied a multimodal longitudinal deep autoencoder to investigate the feasibility, data requirements, clustering patterns, and challenges associated with EHR-based obesity deep phenotyping.</p></sec><sec sec-type="methods"><title>Methods</title><p>We analyzed 53,688 pre-AOM periods from 32,969 patients with obesity or overweight who underwent medium- to long-term AOM treatment. A total of 92 laboratory and vital measurements, along with 79 <italic>ICD</italic> (<italic>International Classification of Diseases</italic>)-derived clinical classifications software (CCS) codes recorded within one year prior to AOM treatment, were used to train a gated recurrent unit with decay-based longitudinal autoencoder (GRU-D-AE) to generate dense embeddings for each pre-AOM record. Principal component analysis and Gaussian mixture modeling (GMM) were applied to identify clusters.</p></sec><sec sec-type="results"><title>Results</title><p>Our analysis identified at least 9 clusters, with 5 exhibiting distinct and explainable clinical relevance. Certain clusters show characteristics overlapping with phenotypes from traditional phenotyping strategy. Results from multiple training folds demonstrated stable clustering patterns in 2D space and reproducible clinical significance. However, challenges persist regarding the stability of missing data imputation across folds, maintaining consistency in input features, and effectively visualizing complex diseases in low-dimensional spaces.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>In this proof-of-concept study, we demonstrated longitudinal EHR as a valuable resource for deep phenotyping the pre-AOM period at per patient visit level. Our analysis revealed the presence of clusters with distinct clinical significance, which could have implications in AOM treatment options. Further research using larger, independent cohorts is necessary to validate the reproducibility and clinical relevance of these clusters, uncover more detailed substructures and corresponding AOM treatment responses.</p></sec></abstract><kwd-group><kwd>obesity</kwd><kwd>anti-obesity medication</kwd><kwd>EHR</kwd><kwd>phenotyping</kwd><kwd>precision medicine</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Obesity affects approximately 40% of adults and 15%&#x2010;20% of children and adolescents in the United States [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. It is projected that 49% of adults will have obesity, and 24.2% have severe obesity by 2030 in the USA [<xref ref-type="bibr" rid="ref3">3</xref>]. Obesity increases the risk of a wide spectrum of chronic diseases and causes profound economic and psychosocial burden. Obesity arises from a complex interplay of genetic [<xref ref-type="bibr" rid="ref4">4</xref>-<xref ref-type="bibr" rid="ref7">7</xref>], nongenetic [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>], and epigenetic factors [<xref ref-type="bibr" rid="ref10">10</xref>-<xref ref-type="bibr" rid="ref13">13</xref>]. Due to this multifaceted nature, no single therapy, either noninvasive (eg, antiobesity medications (AOMs), dietary control, hydrogel) or invasive (eg, bariatric surgeries), can robustly predict patient response. For example, meta-analysis indicates wide interindividual response after various bariatric surgeries during longer-term follow-up [<xref ref-type="bibr" rid="ref14">14</xref>,<xref ref-type="bibr" rid="ref15">15</xref>]. Roux-en-Y gastric bypass of 6000 patients showed 23.1% as nonresponders 5 years after surgery [<xref ref-type="bibr" rid="ref16">16</xref>]. Follow-up of 652 patients with sleeve gastrectomy for 7 years indicated 27.8% weight recidivism [<xref ref-type="bibr" rid="ref17">17</xref>]. For AOMs, even the most effective glucagon-like peptide-1 (GLP-1) drug Tirzepatide claimed 10% weight loss in only 69% participants after 1 year at a relatively safe dosage [<xref ref-type="bibr" rid="ref18">18</xref>]. Other AOMs [<xref ref-type="bibr" rid="ref19">19</xref>] and treatment strategies like hydrogels [<xref ref-type="bibr" rid="ref20">20</xref>] and vagal nerve blockade [<xref ref-type="bibr" rid="ref21">21</xref>,<xref ref-type="bibr" rid="ref22">22</xref>] generally show broader interindividual variations, which make them often an auxiliary part of a weight management plan [<xref ref-type="bibr" rid="ref23">23</xref>-<xref ref-type="bibr" rid="ref25">25</xref>].</p><p>The inconsistent therapeutic response makes obesity phenotyping (ie, classify obesity into subtypes) and associated precision management important targets of investigation. Earlier advancements in obesity staging [<xref ref-type="bibr" rid="ref26">26</xref>] and phenotyping-guided pragmatic trials [<xref ref-type="bibr" rid="ref27">27</xref>] have moved beyond the oversimplified classification by BMI [<xref ref-type="bibr" rid="ref28">28</xref>] and demonstrated clinical values [<xref ref-type="bibr" rid="ref29">29</xref>-<xref ref-type="bibr" rid="ref31">31</xref>]. However, health care practitioners (HCPs) still found major obstacles in adopting them for obesity precision medicine [<xref ref-type="bibr" rid="ref32">32</xref>]. One obstacle lies in the complexity of these strategies. For example, the trial by [<xref ref-type="bibr" rid="ref27">27</xref>] involves tedious (eg, satiation measured by ad libitum buffet meal) and subjective (eg, hunger measured by visual analog scale) measurement processes. There are also considerable gaps between the desired and actual level of acceptance of obesity treatment guidelines by HCPs [<xref ref-type="bibr" rid="ref33">33</xref>,<xref ref-type="bibr" rid="ref34">34</xref>]. Another major obstacle is the lack of granularity of the phenotypic information to personalized context [<xref ref-type="bibr" rid="ref32">32</xref>]. Phenotype-based pharmacotherapy has been successful only in rare monogenic obesity [<xref ref-type="bibr" rid="ref35">35</xref>]. To date, the sole predictor of the long-term response of pharmacotherapy is the short-term weight loss result, which is useless for guiding the initial treatment selection [<xref ref-type="bibr" rid="ref36">36</xref>].</p><p>Recent review articles [<xref ref-type="bibr" rid="ref37">37</xref>,<xref ref-type="bibr" rid="ref38">38</xref>] concluded with the necessity of obesity deep phenotyping for precision medicine, as &#x201C;when considering obesity, every person should be assessed based on their own specific and unique circumstances&#x201D; [<xref ref-type="bibr" rid="ref32">32</xref>]. Echoing this statement, our recent study covering more than 1 million obesity and overweight patients indicates wide interindividual responses to any single AOM regardless of exposure lengths [<xref ref-type="bibr" rid="ref39">39</xref>]. To date, there is a significant dearth of research on important questions like in what clinical context (eg, at the time of diagnosis; before initiating pharmacotherapy; postsurgical weight management) should we discuss &#x201C;deep phenotyping,&#x201D; the type or source or availability or quality of relevant data elements, the computational methodologies, and how &#x201C;deep&#x201D; should and can we go. To take a peek into this intricate and multifaceted research question, here we narrow down the scope to deep phenotyping before initiating pharmacotherapy, a period with direct relation to drug response and thus potential clinical impact. We propose that electronic health records (EHRs) are a valuable data source for this purpose, as they provide detailed information across patient journeys and have inspired relevant research [<xref ref-type="bibr" rid="ref40">40</xref>,<xref ref-type="bibr" rid="ref41">41</xref>]. Using real-world EHR data from 444,219 patients with obesity or overweight diagnosed between 2005 and 2023, we analyzed commonly available data elements and their quality before pharmacotherapy. We also tested a multimodal longitudinal deep autoencoder to examine the feasibility, data requirements, clustering patterns, and challenges of EHR-based obesity deep phenotyping.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>EHR Database and the Case Cohort</title><p>The study is based on EHR data from the outpatient practice of the University of Texas Health Sciences Center at Houston&#x2019;s McGovern Medical School. The data is transformed (from Allscripts Touchworks EHR pre-2021, GE Centricity EHR pre-2021 for billing, EPIC EHR post-2021) to Observational Medical Outcomes Partnership (OMOP) common data model (CDM) on a nightly basis to harmonize data query format. Currently, the OMOP CDM instance covers 6.5 million patients, among which approximately 3.7 million patients were documented between January 1, 2005, and December 31, 2023. From these patients, we identified 456,890 patients with either obesity (n=217,040; <xref ref-type="other" rid="box1">Textbox 1</xref>) or overweight (n=239,850) diagnosis. For the purpose of the study, overweight was defined as patients with certain comorbidities (<xref ref-type="other" rid="box2">Textbox 2</xref>) within 1 year prior to a BMI measurement &#x2265;27, to reflect a pragmatic, risk-based approach increasingly used in personalized obesity care. From the 456,890 patients we defined the case cohort as the 32,969 patients with medium (&#x003E;112 d) to long exposure to AOMs and who have no bariatric surgeries. Obesity diagnosis, comorbidities, and demographic information&#x2014;such as age, race, and gender&#x2014;were extracted from EHR data collected during routine clinical practice.</p><boxed-text id="box1"><title> Concept codes for obesity diagnoses</title><list list-type="bullet"><list-item><p>Obesity: 433,736;</p></list-item><list-item><p>Morbid obesity: 434,005;</p></list-item><list-item><p>Localized adiposity: 438,731;</p></list-item><list-item><p>Extreme obesity with alveolar hypoventilation: 4,100,857;</p></list-item><list-item><p>Drug-induced obesity: 4,097,996;</p></list-item><list-item><p>Simple obesity: 4,217,557.</p></list-item></list></boxed-text><boxed-text id="box2"><title> Comorbidities for determining overweight</title><p>Prediabetes, diabetes, hypertension, metabolic syndrome, obstructive sleep apnea, polycystic ovary syndrome, insulin resistance, hyperlipidemia, fatty liver, non-alcoholic steatohepatitis, coronary artery disease, cerebrovascular accident, stroke, peripheral vascular disease, congestive heart failure, colon or breast or renal or endometrial or liver cancer, osteoarthritis, or with a glycated hemoglobin level of &#x2265;5.7 and &#x003C;6.5.</p></boxed-text></sec><sec id="s2-2"><title>Food and Drug Administration&#x2013;Approved AOMs (F-AOMs) and Off-Label AOMs (O-AOMs)</title><p>For Food and Drug Administration&#x2013;Approved AOMs (F-AOMs), we considered bupropion, naltrexone, orlistat, phentermine, phentermine-topiramate, liraglutide, semaglutide, and tirzepatide that were approved by Food and Drug Administration (FDA) for obesity treatment. For Off-Label AOMs (O-AOMs), we considered bupropion, canagliflozin, dapagliflozin with or without saxagliptin, empagliflozin with or without linagliptin, lisdexamfetamine, metformin with or without (liflozin, liptin, litazone, and statin), topiramate, and zonisamide. Specifically, exposure to an O-AOM ingredient for less than 30 days without a neighboring (30 d before or after) record was removed to allow for occasional use of O-AOMs for other purposes. While most of the O-AOMs are for diabetes treatment, we make no explicit distinction between the treatment purposes when the treatment course is longer than 30 days, in which case an impact on body weight should be anticipated. For each drug ingredient, we searched the RxNav [<xref ref-type="bibr" rid="ref42">42</xref>] database for all aliases. We then searched the Observational Health Data Sciences and Informatics Athena [<xref ref-type="bibr" rid="ref43">43</xref>] database for concept ids of the original ingredient and all aliases. The concept IDs were combined to represent a single corresponding ingredient.</p></sec><sec id="s2-3"><title>Definition of AOM Treatment Session</title><p>An AOM treatment session represents a continuous period of exposure to generally the same active ingredients. Specifically, compared to an existing exposure record <italic>REC<sub>A</sub></italic>, a new exposure record <italic>REC<sub>B</sub></italic> belongs to the same treatment session (as RECA) if it (1) has exactly the same ingredient(s) as RECA and there is &#x2264;40 days gap between start of RECB and end of RECA, or (2) has less ingredient than RECA, and has both exposure length and gap to RECA &#x2264;40 days, or (3) has new ingredient(s) added within 40 days of initiating RECA and has exposure length &#x2264;40 days. For all other circumstances, we consider RECB as a new treatment session. For the 32,969 patients in the case cohort, we identified a total of 53,688 AOM treatment sessions.</p></sec><sec id="s2-4"><title>Pre-AOM Period, and Data Points Sampling Scheme</title><p>We defined &#x201C;pre-AOM period&#x201D; as 1 year (ie, 365 d) before starting each AOM treatment session. Thus, there are 53,688 pre-AOM periods corresponding to each of the 53,688 AOM treatment sessions. For each pre-AOM period, we sampled data points every 30 days with a maximum look-back period of 30 days, resulting in 13 sampling points and 12 intervals for each feature. Notably, the interval closest to the treatment session start date spans from 35 days to 5 days before initiation. Throughout the rest of the text, we refer to the date 4 days before AOM initiation as the index date. We designed a 4-day lead time to allow for any final data collection or assessments that can be completed without interfering with the treatment process.</p></sec><sec id="s2-5"><title>Normal BMI Control Period</title><p>We randomly selected 10,000 case pre-AOM periods to match with corresponding normal BMI control periods, of patients with no obesity or overweight diagnosis and no BMI&#x003E;25 kg/m&#x00B2;. The matching process followed these criteria: (1) the case and control periods were matched by gender, (2) the age at the normal BMI measurement was within one year of the case&#x2019;s age at AOM initiation, and (3) the normal BMI measurement date was within one year of the case&#x2019;s AOM initiation date. In the end, 8773 case pre-AOM periods were successfully matched one-to-one with normal BMI control periods that belonged to 8185 normal-BMI patients.</p></sec><sec id="s2-6"><title>Explored Features</title><sec id="s2-6-1"><title>Measurements</title><p>We examined all numerical measurements recorded in the OMOP &#x201C;measurement&#x201D; table, which includes all lab and vital records (referred to as &#x201C;measurements&#x201D; in the remaining text) from the original EHR databases. The units of each measurement were harmonized to the primary unit type through manual inspection. Specifically, data quality of each pre-AOM period was defined as the average proportion of observed measurements of the 13 sampling points before AOM initiation.</p></sec><sec id="s2-6-2"><title>Diagnosis Code</title><p>All <italic>ICD-9</italic> (<italic>International Classification of Diseases, Ninth Revision</italic>) diagnosis codes were cast into 265 categories of clinical classifications software (CCS) codes [<xref ref-type="bibr" rid="ref44">44</xref>]. All <italic>ICD-10</italic> (<italic>International Statistical Classification of Diseases, Tenth Revision</italic>) diagnosis codes were mapped to <italic>ICD-9</italic> code through general equivalence mapping provided by Center for Medicare &#x0026; Medicaid Services. CCS is a tool for clustering patient <italic>ICD-9</italic> diagnoses and procedures into a manageable number of clinically meaningful categories for easy presentation and statistical analysis. The CCS codes were one-hot encoded before presenting to the autoencoder model.</p></sec></sec><sec id="s2-7"><title>Embedding of Longitudinal EHR Data</title><p>We re-engineered the GRU-D [<xref ref-type="bibr" rid="ref45">45</xref>] based longitudinal deep learning architecture to function as an autoencoder (GRU-D-AE) for embedding the longitudinal EHR data from pre-AOM period. The basic architecture of the GRU-D model was systematically described by [<xref ref-type="bibr" rid="ref45">45</xref>], here we recapitulate the equations for handling missing values.</p><disp-formula id="E4"><mml:math id="eqn1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:msubsup><mml:mi>x</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>&#x03B3;</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow><mml:mi>d</mml:mi></mml:msubsup><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow><mml:mi>d</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>&#x03B3;</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow><mml:mi>d</mml:mi></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:msup><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">~</mml:mo></mml:mover></mml:mrow><mml:mi>d</mml:mi></mml:msup></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mi>m</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:math></inline-formula> is the missing value indicator for feature <inline-formula><mml:math id="ieqn2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula> at timestep <inline-formula><mml:math id="ieqn3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:math></inline-formula> takes value 1 when <inline-formula><mml:math id="ieqn4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:math></inline-formula> is observed, or 0 otherwise, in which case the function resorts to weighted sum of the last observed value <inline-formula><mml:math id="ieqn5"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow><mml:mi>d</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:math></inline-formula> and empirical mean <inline-formula><mml:math id="ieqn6"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msup><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">~</mml:mo></mml:mover></mml:mrow><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:mstyle></mml:math></inline-formula> calculated from the training data for the <inline-formula><mml:math id="ieqn7"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>th feature. Furthermore, the weighting factor <inline-formula><mml:math id="ieqn8"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mi>&#x03B3;</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow><mml:mi>d</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:math></inline-formula> is determined by</p><disp-formula id="E5"><mml:math id="eqn2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>&#x03B3;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>exp</mml:mi><mml:mo>&#x2061;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>&#x03B3;</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>&#x03B3;</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn9"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>W</mml:mi><mml:mi>&#x03B3;</mml:mi></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is a trainable weights matrix and <inline-formula><mml:math id="ieqn10"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is the time interval from the last observation to the current timestep. When <inline-formula><mml:math id="ieqn11"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>&#x03B4;</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is large (ie, the last observation is far away from current timestep), <inline-formula><mml:math id="ieqn12"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>&#x03B3;</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is small, resulting in smaller weights on the last observed value <inline-formula><mml:math id="ieqn13"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:msup><mml:mi>t</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow><mml:mi>d</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:math></inline-formula>, and higher weights on the empirical mean <inline-formula><mml:math id="ieqn14"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msup><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">~</mml:mo></mml:mover></mml:mrow><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:mstyle></mml:math></inline-formula> (ie, decay to mean).</p><p>The architecture of GRU-D-AE is illustrated in <xref ref-type="fig" rid="figure1">Figure 1A</xref>, where <italic>X<sub>t</sub></italic> represents all input data at timestep <italic>t</italic>, <italic>x<sub>t</sub></italic> is the normalized feature value (eg, converting lab measurements to corresponding z-scores; scaling age to a 0&#x2010;1 range), <italic>m<sub>t</sub></italic> is the missing indicator (0 for missing and 1 for presence), and <italic>d<sub>t</sub></italic> is the time since the last actual observation. The bottleneck layer <italic>h<sub>T</sub></italic> contains the dense embedding vector as the output of GRU-D from the last time step <italic>T. h<sub>T</sub></italic> is then passed to a native RNN network (in this case, a native GRU model) to generate the reconstructed feature value <inline-formula><mml:math id="ieqn15"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:munder><mml:mi>x</mml:mi><mml:mi mathvariant="normal">_</mml:mi></mml:munder></mml:mrow></mml:mstyle></mml:math></inline-formula>. <xref ref-type="fig" rid="figure1">Figure 1B</xref> shows the data processing flow, from raw EHR data to principal components, and how GRU-D-AE functions in the process.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>(A) GRU-D Autoencoder (GRU-D-AE) architecture. <italic>x<sub>t</sub></italic> is the normalized feature value <italic>m<sub>t</sub></italic> is the missing indicator (0 for missing and 1 for presence), and <italic>d<sub>t</sub></italic> is the time since the last actual observation. The bottleneck layer <italic>h<sub>T</sub></italic> contains the dense embedding vector used for clustering. (B) Sample processing flow and the generation of Principal Components (PCs) from longitudinal electronic health record. AOM: antiobesity medication; RNN: recurrent neural network; UT: University of Texas.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig01.png"/></fig><p>Specifically, the loss function for GRU-D-AE is expressed as</p><disp-formula id="E7"><mml:math id="eqn3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>L</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:munderover><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">&#x00AF;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>Where <italic>N</italic> represents the number of training samples, <italic>T</italic> the longitudinal time steps during pre-AOM period, <inline-formula><mml:math id="ieqn16"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:munder><mml:mi>x</mml:mi><mml:mo>_</mml:mo></mml:munder></mml:mrow></mml:mstyle></mml:math></inline-formula> the reconstructed feature value for sample <italic>i</italic> at time step <italic>t</italic>, <inline-formula><mml:math id="ieqn17"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula> the original observation or, if missing, an imputed value through the GRU-D missing parameterization mechanism.</p></sec><sec id="s2-8"><title>Embedding of Static-Transformed Longitudinal EHR Data</title><p>As a baseline comparison, we conducted experiments using an atemporal sparse autoencoder (SAE) to embed static-transformed longitudinal EHR data. The static transformation involved extracting the last observed feature within the 1-year period preceding AOM initiation. Features with no observations during this period were imputed with 0 and excluded from the loss function through masking. The experiment pipeline, including the training sample indices, was identical to that used in the GRU-D-AE model (<xref ref-type="fig" rid="figure1">Figure 1B</xref>).</p></sec><sec id="s2-9"><title>Principal Component Analysis and Clustering Algorithm</title><p>Principal component analysis (PCA) was conducted on the embeddings generated from the training data to derive eigenvectors. These eigenvectors were then applied to the embeddings from both the training and test datasets to calculate the corresponding principal components (PCs; <xref ref-type="fig" rid="figure1">Figure 1B</xref>). We used the Gaussian mixture model (GMM) to perform probability-based clustering on the top 40 PCs of each embedding. To visualize the embeddings in two-dimensional space, we explored 2 methods: a scatterplot of the top two PCs and a t-SNE plot of the top 40 PCs. Cluster characteristics&#x2014;including CCS prevalence rates, <italic>z</italic> score&#x2013;transformed mean measurement levels, and missing data proportions&#x2014;were visualized using a 2-way heatmap with Euclidean distance applied both rows and columns wise.</p></sec><sec id="s2-10"><title>Computational Environment</title><p>The computational environment for data analysis consisted of a Unix-based high-performance computing system with 192 CPUs. Deep learning models were developed using PyTorch version 2.3.1, implemented in Python version 3.12.2. Statistical analyses were conducted using R version 4.3.3. PCA was performed with the built-in <italic>stats</italic> package in R, while GMM was implemented using the <italic>mclust</italic> package (version 6.1.1). Two-way heatmap was implemented with the R pheatmap package (version 1.0.12). t-SNE dimensionality reduction was carried out with the <italic>Rtsne</italic> package (version 0.17). Data visualization tasks were completed using the ggplot2 package (version 3.5.0) in R.</p></sec><sec id="s2-11"><title>Ethical Considerations</title><p>This study was approved by The University of Texas institutional review board (IRB), and the Ethics Committee waived the need for written informed consent from participants.</p><p>The research involved secondary analysis of previously collected EHR data and was determined to be exempt from full IRB review, as it involved de-identified data with minimal risk to participants.</p><p>Informed consent was obtained from all individuals at the time of original data collection. The IRB determined that additional informed consent was not required for this secondary analysis, as the study used de-identified data and was consistent with the scope of the original consent.</p><p>All study data were de-identified prior to analysis in accordance with institutional and federal privacy regulations. No direct identifiers were used or linked, and all analyses were conducted in secure, access-controlled environments to ensure confidentiality.</p><p>No compensation was provided to individuals as this was a secondary analysis of existing data, and no direct interaction with participants occurred.</p><p>No images or other media containing identifiable information about individuals were included in the manuscript or supplementary materials. If any potentially identifiable images are included in future submissions, appropriate consent forms will be obtained and uploaded.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Baseline Characteristics of the Study Population</title><p>From January 1, 2005, to December 31, 2023, we identified 444,309 (12%) patients with either obesity (n=204,688) or overweight (n=239,621) diagnosis. Among these patients, 72,089 (16%) were exposed to AOM therapy, with a total of 136,728 AOM treatment sessions (ie, averagely ~2 treatment sessions for each patient). 53,688 (39%) of the AOM sessions from 32,969 patients belong to medium or long-term exposure (&#x003E;=112 d). The baseline characteristics of the study population were shown in <xref ref-type="table" rid="table1">Table 1</xref>. The sample processing flow is illustrated in <xref ref-type="fig" rid="figure1">Figure 1B</xref>.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Demographics of the study population.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">Total cohort</td><td align="left" valign="bottom">With AOMs<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup> exposure</td><td align="left" valign="bottom">With medium/long term AOMs exposure</td></tr></thead><tbody><tr><td align="left" valign="top">Patient count</td><td align="left" valign="top">444,219</td><td align="left" valign="top">72,089</td><td align="left" valign="top">32,969</td></tr><tr><td align="left" valign="top">AOM session count</td><td align="left" valign="top">&#x2014;<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">136,728</td><td align="left" valign="top">53,688</td></tr><tr><td align="left" valign="top">Gender</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Male</td><td align="left" valign="top">178,097 (40)</td><td align="left" valign="top">26,891 (37)</td><td align="left" valign="top">11,924 (36)</td></tr><tr><td align="left" valign="top">&#x2003;Female</td><td align="left" valign="top">266,057 (60)</td><td align="left" valign="top">45,188 (63)</td><td align="left" valign="top">21,037 (64)</td></tr><tr><td align="left" valign="top">Race</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;White</td><td align="left" valign="top">150,802 (34)</td><td align="left" valign="top">30,425 (42)</td><td align="left" valign="top">12,752 (39)</td></tr><tr><td align="left" valign="top">&#x2003;Black or African American</td><td align="left" valign="top">108,170 (24)</td><td align="left" valign="top">17,501 (24)</td><td align="left" valign="top">8815 (27)</td></tr><tr><td align="left" valign="top">&#x2003;Asian</td><td align="left" valign="top">9499 (2.1)</td><td align="left" valign="top">1896 (2.6)</td><td align="left" valign="top">1089 (3.3)</td></tr><tr><td align="left" valign="top">&#x2003;Others</td><td align="left" valign="top">1758 (0.4)</td><td align="left" valign="top">279 (0.4)</td><td align="left" valign="top">133 (0.4)</td></tr><tr><td align="left" valign="top">&#x2003;Unknown</td><td align="left" valign="top">173,990 (39)</td><td align="left" valign="top">21,988 (31)</td><td align="left" valign="top">10,180 (31)</td></tr><tr><td align="left" valign="top">Age at first diagnosis</td><td align="left" valign="top">51 (37, 63)</td><td align="left" valign="top">56 (42, 66)</td><td align="left" valign="top">51 (39, 64)</td></tr><tr><td align="left" valign="top">Diagnosis</td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Obesity</td><td align="left" valign="top">139,880 (31)</td><td align="left" valign="top">20,537 (28)</td><td align="left" valign="top">11,842 (36)</td></tr><tr><td align="left" valign="top">&#x2003;Morbid obesity</td><td align="left" valign="top">61,495 (14)</td><td align="left" valign="top">12,399 (17)</td><td align="left" valign="top">5989 (18)</td></tr><tr><td align="left" valign="top">&#x2003;Localized adiposity</td><td align="left" valign="top">1738 (0.4)</td><td align="left" valign="top">288 (0.4)</td><td align="left" valign="top">155 (0.5)</td></tr><tr><td align="left" valign="top">&#x2003;Extreme obesity</td><td align="left" valign="top">1032 (0.2)</td><td align="left" valign="top">136 (0.2)</td><td align="left" valign="top">63 (0.2)</td></tr><tr><td align="left" valign="top">&#x2003;Drug-induced obesity</td><td align="left" valign="top">456 (0.1)</td><td align="left" valign="top">141 (0.2)</td><td align="left" valign="top">83 (0.3)</td></tr><tr><td align="left" valign="top">&#x2003;Simple obesity</td><td align="left" valign="top">17 (0.004)</td><td align="left" valign="top">7 (0.01)</td><td align="left" valign="top">6 (0.1)</td></tr><tr><td align="left" valign="top">&#x2003;Overweight</td><td align="left" valign="top">239,600 (54)</td><td align="left" valign="top">38,581 (54)</td><td align="left" valign="top">14,831 (45%)</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>AOM: antiobesity medication.</p></fn><fn id="table1fn2"><p><sup>b</sup>Not applicable.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-2"><title>Overall Feature Availability During Pre-AOM Period</title><p>During the pre-AOM period, which has potentially the most relevant data for deep phenotyping, we identified 92 measurements with &#x2265;5% overall presence rate and nonzero standard deviation (Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). The measurements with &#x2265;70% presence rate are body weight, body surface area, BMI, height, blood pressure (BP), and heart rate. Whereas lab measurements for basic metabolic panels (eg, glucose, calcium, sodium), and lipid levels (eg, high-density-lipoprotein cholesterol, low-density-lipoprotein cholesterol, triglyceride) generally have around or &#x2265;50% presence rate. Examining the distribution of overall feature presence rates among patient subgroups reveals no differences between males and females, nor across racial groups (ie, White, Black or African American, Asian, etc).</p><p>Out of 285 CCS categories, we identified 79 with &#x2265;5% overall presence rate (Table S2 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>). The most common CCS categories are diabetes mellitus without complications (63%), hypertension (55%), hypertension with complications (55%), and hyperlipidemia (51%). Nutritional disorders, including any type of obesity diagnosis, were present in 40% of cases within one year prior to the AOM session, generally aligning with the percentage (46%) of obesity patients in our case cohort (ie, obesity + overweight).</p></sec><sec id="s3-3"><title>Temporal Windows Based Feature Presence Rate</title><p>We sampled features every 30 days within one year surrounding the treatment session initiation date to examine the feature presence rates across the 24 corresponding time intervals. For both measurements (<xref ref-type="fig" rid="figure2">Figure 2</xref>, Figure S1 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>) and CCS codes (<xref ref-type="fig" rid="figure2">Figure 2</xref>, Figure S2 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>), the feature presence rates were remarkably higher in the time interval immediately before the index date (ie, Day &#x2212;35 to &#x2212;5), and slightly elevated around 180, 90, and 30 days before the index date. This pattern of increased feature presence was not evident after the index date and was not seen in the normal BMI control periods (data not shown). For the pre-AOM periods, 50% measurements were contributed by 22% treatment sessions. On the other hand, 9.9% patients and 11% treatment sessions had no single measurement during this period.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Feature presence rate of the top 10, (A) Measurements, (B) Clinical Classification Software (CCS) codes appeared within 1 year before and after initiating medium to long term Anti-Obesity Medication (AOM) therapy.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig02.png"/></fig></sec><sec id="s3-4"><title>Feature Presence Rate Throughout Years</title><p>Analyzing feature presence rates from 2005 to 2023 revealed a general upward trend for both measurements and CCS codes over the years. Specifically, the Mann-Kendall nonparametric trend test showed that all 92 measurements have significantly increased presence rates (<italic>P</italic>&#x2264;.05) over time. The top five measurements with the highest increase are microalbumin, creatinine in urine, high-density-lipoprotein cholesterol, total cholesterol, and ferritin in serum or plasma. Additionally, 50 out of the 79 CCS categories demonstrated a significant increase in presence rates over the years, with the top five being anxiety disorders, nutritional deficiencies, other acquired deformities, other non-traumatic joint disorders, and screening and history of mental health and substance abuse codes (Figure S3 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). Two CCS categories&#x2014;chest pain and skin and subcutaneous tissue infections&#x2014;showed a significant (<italic>P</italic>&#x2264;.05) or marginally significant (<italic>P</italic>&#x2264;.10) decrease in presence rates over the years.</p></sec><sec id="s3-5"><title>Encoding and Reconstruction of Longitudinal EHR Data</title><p>We experimented with various bottleneck layer neuron sizes (n=40, 60, and 120) for the GRU-D-AE model. Generally, larger bottleneck sizes allow the autoencoder to capture more intricate temporal structures. Figure S4 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref> shows the GRU-D-AE based reconstructions of 171 temporal features (92 measurements and 79 CCS codes) from a single patient, using 5-fold cross-validation with a bottleneck layer of 120 neurons. Comparing results across the 5 models indicates slightly different imputation patterns across temporal steps and successful reconstruction of input feature patterns at high levels. For the remainder of the paper, we present results exclusively based on 120 bottleneck layer size, as this configuration demonstrated optimal performance.</p></sec><sec id="s3-6"><title>Clustering of Case Pre-AOM Periods</title><p>By encoding the pre-AOM periods and projecting them onto principal component (PC) spaces, we visualized clustering patterns in lower-dimensional spaces, as shown in <xref ref-type="fig" rid="figure3">Figure 3</xref>. Specifically, <xref ref-type="fig" rid="figure3">Figure 3A</xref> highlights the distribution of pre-AOM periods across different data quality quartiles. Data points from the bottom quartile (red) are densely packed in the lower-left corner, while those from the top quartile (purple) are more dispersed and form distinct clusters. The T-SNE plot with top 40 PCs (explained 80% variance) reveals a complete separation of bottom quartile data points and partial separation of 2nd quartile data points. Importantly, applying the same pipeline (<xref ref-type="fig" rid="figure1">Figure 1B</xref>) to each of the 5-fold models shows highly reproducible clustering patterns, with different projection angles (Figure S5 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). After removing low-quality pre-AOM periods (ie, the 1st and 2nd quartiles), the remaining high-quality periods (ie, the 3rd and 4th quartiles) form clusters that are less relevant to data quality (<xref ref-type="fig" rid="figure3">Figure 3B</xref>). GMM clustering of the 40 PCs of the high-quality periods suggests at least 9 distinct clusters within the case group (<xref ref-type="fig" rid="figure3">Figure 3C</xref>). Notably, GMM-based clusters may align (eg, clusters 2, 5, 7) or differ (eg, clusters 1, 6, 9) from the visually identifiable cluster centers based on the two PCs (Figure S6 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). The visual separation between clusters improves slightly with T-SNE-based dimensionality reduction (Figure 7 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). When the clustering results are colored by traditional obesity diagnosis categories (eg, drug-induced obesity, extreme obesity, localized adiposity, morbid obesity), no clear relationship emerges between traditional obesity diagnoses and the EHR-based clustering of pre-AOM periods (Figure S8 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>GRU-D autoencoder (GRU-D-AE) based clustering of case pre-Anti-Obesity Medication (pre-AOM) periods. (A) Coloring all pre-AOM periods according to data quality quartiles. (B) Low-quality data points (below the median) are removed, with the remaining points colored by data quality quartiles. (C) Colored by Gaussian Mixture Model (GMM)-based clustering of the high-quality data points (Principal component analysis (PCA) plot was dimmed to highlight cluster center).</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig03.png"/></fig></sec><sec id="s3-7"><title>Clustering of Case Versus Control Periods</title><p>Visualization of the top two PCs and T-SNE plot (<xref ref-type="fig" rid="figure4">Figure 4</xref>) from the case pre-AOM periods and the control periods showed clear separation of the majority of control periods from the high-quality case periods. However, a minor proportion of the control periods formed clusters with centers overlapping the case group on the top two PCs (<xref ref-type="fig" rid="figure4">Figure 4A</xref>), with no clear pattern of overlap on the T-SNE plot (<xref ref-type="fig" rid="figure4">Figure 4B</xref>).</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Clusters of pre-Anti-Obesity medication (pre-AOM) periods in obesity cases versus normal Body Mass Index (BMI) controls. (A) All case data points versus control data points. (B) High quality case data points versus control data points.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig04.png"/></fig></sec><sec id="s3-8"><title>Clustering of Multiple Pre-AOM Periods From the Same Patient</title><p>For patients with multiple pre-AOM periods from corresponding multiple AOM treatment sessions, their clustering behavior is influenced by both data quality and intrinsic physiological factors reflected through measurements and diagnosis status. In <xref ref-type="fig" rid="figure5">Figure 5</xref>, all three patients exhibit improved data quality over time (later pre-AOM periods are indicated by larger dots, which generally have better data quality), with varying degrees of clustering tightness in the high-quality pre-AOM periods (represented by cyan and purple points).</p><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>Illustration of three patients, each with multiple Anti-Obesity Medication (AOM) sessions and respective pre-Anti-Obesity Medication (pre-AOM) periods. Smaller point sizes indicate pre-AOM periods earlier in time, while colors represent different data quality quartiles.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig05.png"/></fig></sec><sec id="s3-9"><title>Characterizing GMM-Based Clusters of Pre-AOM Periods</title><p>We conducted two-way clustering of the GMM-based clusters of pre-AOM periods against CCS prevalence rates (<xref ref-type="fig" rid="figure6">Figure 6</xref>), average measurement values (<xref ref-type="fig" rid="figure7">Figure 7</xref>), and temporal measurement presence rate (Figure S9 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). Here we briefly describe the 5 clusters with remarkable clinical relevance.</p><p>The <italic>1st cluster</italic> is distinguished by the highest prevalence of chronic kidney disease (CKD), coronary atherosclerosis, and diabetes mellitus with complications (<xref ref-type="fig" rid="figure6">Figure 6 X1</xref>). This cluster also shows notably low glomerular filtration rates, elevated blood urea nitrogen, and comparatively lower levels of low-density cholesterols and myeloperoxidase (<xref ref-type="fig" rid="figure7">Figure 7 X1</xref>).</p><p>The <italic>5th cluster</italic> is primarily characterized by the highest levels of low-density lipoprotein, very-low-density lipoprotein, triglyceride, systolic or diastolic blood pressure (SBP and DBP), and myeloperoxidase among all clusters. This cluster also has slightly higher glomerular filtration rates than other clusters except cluster 6 (<xref ref-type="fig" rid="figure7">Figure 7 X5</xref>). However, its disease prevalence rates are not significantly distinct from those of other clusters (<xref ref-type="fig" rid="figure6">Figure 6 X5</xref>).</p><p>The <italic>6th cluster</italic> is marked by a higher prevalence of reproductive and genital health disorders (eg, female genital disorders, menstrual disorders, and postabortion complications; <xref ref-type="fig" rid="figure6">Figure 6 X6</xref>). It also features higher heart rates, the highest body weight and glomerular filtration rates, and increased levels of leukocytes, lymphocytes, monocytes, neutrophils, and glucose levels (<xref ref-type="fig" rid="figure7">Figure 7 X6</xref>).</p><p>The <italic>7th Cluster</italic> is characterized by a high level of primary malignancies (eg, head and neck cancer, bone and connective tissue cancer, and colon cancer) (<xref ref-type="fig" rid="figure6">Figure 6 X7</xref>), the highest presence rate of temporal anthropometric and physiological measurements (eg, body height, body weight, body temperature, BP, heart rate), and a lower to average presence rate of other more advanced lab tests. It is also featured with a mildly higher body weight (Figure S9 X7 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p><p>The <italic>9th cluster</italic> is notable for significantly lower prevalence rates of primary malignancies (<xref ref-type="fig" rid="figure6">Figure 6 X9</xref>), and remarkably lower leukocyte levels (including lymphocytes, monocytes, and neutrophils) alongside elevated globulin levels (<xref ref-type="fig" rid="figure7">Figure 7 X9</xref>).</p><p>No notable difference was observed between the clusters on average ADI-based SDOH (social determinants of health) factors including median household income, mean education percentage, and mean insurance percentage (data not shown). Inspecting demographic characteristics (ie, age, gender, race) indicates a relatively lower male proportion in cluster 6, slightly higher proportion of black people in cluster 9, and slightly older age in cluster 1 (data not shown).</p><p>Interestingly, clusters characterized by distinct clinical traits (eg, reproductive and genital health disorders in Cluster 6 and the absence of primary cancer in Cluster 9) were not visually distinguishable on the first two PCs (Figure S6 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>) and only formed vague boundaries in the 40-PC based T-SNE plot (Figure S7 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). In contrast, clusters that showed clear separation in the low-dimensional spaces (eg, Cluster 2) may not have distinct clinical characteristics as other clusters, at least based on the available study features. We also tried GMM clustering using just the top two PCs, which produced visually distinguishable clusters but lacked meaningful clinical differentiation (data not shown).</p><fig position="float" id="figure6"><label>Figure 6.</label><caption><p>Two-way clustering of Clinical Classification Software (CCS) diagnosis prevalence rates against Gaussian mixture model (GMM)&#x2013;based clusters of pre-Anti-Obesity Medication (pre-AOM) periods. Prevalence rates are calculated based on any diagnoses made within one year prior to the index date. Black circles indicate the defining characteristics of the corresponding clusters, which are referenced in the main text for guided interpretation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig06.png"/></fig><fig position="float" id="figure7"><label>Figure 7.</label><caption><p>Two-way clustering of mean measurement values (z-score transformed) against Gaussian mixture model (GMM)&#x2013;based clusters of pre-Anti-Obesity Medication (pre-AOM) periods. The measurement values represent the most recent observations within one year prior to the index date. Black circles indicate the defining characteristics of the corresponding clusters, which are referenced in the main text for guided interpretation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v27i1e70140_fig07.png"/></fig></sec><sec id="s3-10"><title>SAE-Based Embedding and Clustering of Pre-AOM Periods</title><p>As a baseline comparison, we evaluated the SAE-based embedding of static-transformed pre-AOM periods and summarized the results here. Using the same bottleneck layer size (n=120), the SAE model reliably reconstructed the static-transformed features (Figure S11 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). However, embeddings generated by the SAE model do not exhibit visually distinct clusters on the top two PCs (Figure 12a in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). When colored by data quality quartiles, pre-AOM periods with lower data quality appear less separable (Figure S12a in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>), aligning with the results observed in the GRU-D-AE model (<xref ref-type="fig" rid="figure3">Figure 3A</xref>). Additionally, SAE-based embeddings show weaker differentiation between pre-AOM periods across different data quality quartiles (Figure 12 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). For high-quality pre-AOM periods, GMM clustering reveals less defined cluster boundaries on both the top two PCs (Figure S13a in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>) and the T-SNE plot (Figure 13b in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). Overall, the SAE-based model demonstrates less distinct separation between normal BMI controls and high-quality case pre-AOM periods (Figure S14 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Background</title><p>In this preliminary work, we outlined a workflow for obtaining EHR-based fine-grained obesity phenotypes at per patient visit level prior to initiating AOM therapy. Since EHR chronicled a patient&#x2019;s physiological and pathological status, this may potentially help with AOM treatment decision making. This study aligns with the growing interest in classifying obesity into distinct subtypes and the adoption of the plural term &#x201C;obesities&#x201D; [<xref ref-type="bibr" rid="ref46">46</xref>,<xref ref-type="bibr" rid="ref47">47</xref>]. It also lays the foundation for using EHR-based digital fingerprints as an alternative to traditional phenotyping approaches, which have shown potential in certain contexts [<xref ref-type="bibr" rid="ref27">27</xref>,<xref ref-type="bibr" rid="ref48">48</xref>] but not yet widely adopted by healthcare providers for precision obesity treatment due to their labor-intensive nature and insufficient granularity [<xref ref-type="bibr" rid="ref32">32</xref>].</p></sec><sec id="s4-2"><title>Principal Findings</title><p>Our analysis identified at least 9 distinct clusters before AOM initiation. Five clusters show clear clinical relevance independent of traditional obesity diagnoses (eg, extreme obesity, localized adiposity). Below is a brief overview of the clinical significance of these clusters: Cluster 1<bold> </bold>primarily includes patients with CKD and metabolic disorders. Obesity drives risk factors for CKD, most notably hypertension and type 2 diabetes, and also through obstructive sleep apnea. Hypertension is the #1 modifiable risk factor for CKD [<xref ref-type="bibr" rid="ref49">49</xref>], while type 2 diabetes remains the leading cause of CKD worldwide [<xref ref-type="bibr" rid="ref50">50</xref>]. Obstructive sleep apnea contributes to nocturnal hypoxia and worsens hypertension &#x2014; both of which accelerate kidney injury. Beyond these indirect pathways, visceral adiposity itself promotes a proinflammatory state (marked by TNF-alpha, IL-6, MCP-1) that drives renal fibrosis and activates the renin-angiotensin-aldosterone system, leading to glomerular hyperfiltration. Additionally, increased intra-abdominal pressure from central obesity can directly alter renal hemodynamics, further contributing to hyperfiltration and progressive kidney damage. On the other hand, CKD can lead to water retention and increased body weight. The bidirectional relationship between obesity and CKD [<xref ref-type="bibr" rid="ref51">51</xref>] makes it critical in selecting appropriate anti-obesity therapies [<xref ref-type="bibr" rid="ref52">52</xref>]. For example, a recent review article concluded that bariatric surgery should be considered in morbidly obese adults with CKD to improve the cardio-metabolic status and kidney outcomes [<xref ref-type="bibr" rid="ref53">53</xref>]. Cluster 5 includes patients with obesity-related hyperlipidemia, elevated atherogenic lipoproteins, and higher blood pressure, but fewer severe comorbidities and clinical measurements than other clusters&#x2014;possibly reflecting better overall health, shorter obesity duration, or fewer complications. Limited healthcare access may also contribute to underreported comorbidities. These patients may have a lower genetic predisposition to visceral fat accumulation, allowing them to tolerate higher BMI without metabolic dysfunction. This underscores the limitations of BMI as a sole indicator of obesity-related morbidity and highlights the need for more precise phenotyping to capture the true burden of disease. <italic>Cluster 6</italic> includes individuals with reproductive and genital health disorders, often related to hormonal imbalances and insulin resistance. Unlike Cluster 5, these individuals are more likely to seek medical care due to the impact of these conditions on reproductive health [<xref ref-type="bibr" rid="ref54">54</xref>]. Recent evidence has linked maternal diabetes to neurodevelopmental disorders like autism, ADHD, intellectual disability, and other learning disorders [<xref ref-type="bibr" rid="ref55">55</xref>]. Given maternal obesity is a driving risk factor for gestational diabetes, this cluster represents an important demographic for prenatal intervention. For example, metformin and GLP-1 receptor agonists are potential AOM options for patients in this cluster. By enhancing insulin sensitivity, metformin not only supports weight loss but also helps regulate menstrual cycles and improve ovulation in obese women [<xref ref-type="bibr" rid="ref56">56</xref>]. Similarly, GLP-1 receptor agonists may contribute to hormonal balance and enhance fertility outcomes [<xref ref-type="bibr" rid="ref57">57</xref>,<xref ref-type="bibr" rid="ref58">58</xref>]. Cluster 7 predominance of primary malignancies with low frequency of cancer-related lab tests may be representative of patients who have a history of cancer and are seeking medical weight management to reduce their risk of recurrence [<xref ref-type="bibr" rid="ref59">59</xref>]. In patients with obesity, those who underwent bariatric surgery had a 57% lower risk of cancer-related death compared to non-surgical patients matched for pre-operative BMI [<xref ref-type="bibr" rid="ref60">60</xref>]. Bariatric surgery recipients also have a 25% lower incidence of cancer compared to a nonsurgical comparison group matched for preoperative BMI [<xref ref-type="bibr" rid="ref61">61</xref>]. Both of these examples demonstrate the significance of weight loss interventions on cancer risk and mortality. The remarkably lower inflammatory response of Cluster 9 may be caused by less visceral adiposity and more subcutaneous adiposity. This may be an overall healthier cluster with a lower threshold for seeking treatment. Compared to visceral adiposity, subcutaneous adiposity allows for more flexible treatment options. For instance, central abdominal adiposity&#x2014;a type of subcutaneous fat&#x2014;can be addressed through noninvasive or minimally invasive procedures such as cryolipolysis, high-intensity focused ultrasound, nonthermal ultrasound, radiofrequency, and injection lipolysis [<xref ref-type="bibr" rid="ref62">62</xref>]. Prospective surveillance of cluster 9 may prove fruitful in understanding if there are early clinical features that could help identify if these individuals fractionate into new clusters or previously defined clusters. These observations highlight the method&#x2019;s potential to uncover unique patient groups, marking an important first step in digital phenotyping. Future steps would be to test cluster stability in a larger cohort and incorporate additional environmental, psychological, behavioral, functional factors, and even microbiome profiles or genetic markers. Finally, linking these phenotypes to treatment responses would provide more comprehensive insights and reveal any subtle subgroup patterns.</p></sec><sec id="s4-3"><title>Comparison to Prior Work</title><p>The EHR-based clusters emphasize clinical manifestations and comorbidities, whereas traditional phenotyping, as described by [<xref ref-type="bibr" rid="ref27">27</xref>], classifies obesity within a behavioral and metabolic framework (ie, hungry brain, emotional hunger, hungry gut, and slow burn). While there is no exact mapping between the two, certain overlaps exist. For example, <italic>Cluster 1</italic> shares features with both the hungry brain and hungry gut phenotypes, reflecting advanced metabolic dysfunction (eg, diabetes and coronary atherosclerosis) and CKD associated with chronic overeating. <italic>Cluster 5</italic> aligns with the emotional hunger phenotype, given its hyperlipidemia, high levels of atherogenic lipoproteins, elevated blood pressure, and fewer comorbidities. <italic>Cluster 9</italic> corresponds to the slow burn phenotype, with its low prevalence of malignancies, reduced systemic inflammation, preserved renal function, and absence of dramatic metabolic derangements, consistent with slower metabolic turnover. These potential overlaps suggest combining the strengths of each approach may provide a more complete understanding of obesity and its related disorders.</p></sec><sec id="s4-4"><title>Future Direction of GRU-D-AE for Encoding Longitudinal EHR</title><p>We demonstrate the proposed GRU-D-AE architecture, along with its error function, effectively captures the nuances of high-dimensional, extremely sparse longitudinal EHR data. We also show that embeddings from native longitudinal data provide more clearly separated and distinct clusters than embeddings from static-transformed data. These characteristics make the architecture a highly valuable candidate for encoding longitudinal EHRs of obesity, as well as various other diseases. However, there are several caveats that deserve discussion and further investigation. First, the model exhibits a certain level of arbitrariness in handling missing values in different training folds. This behavior aligns with expectations, as the error function primarily minimizes the difference between input features (both observed and imputed) and reconstructed features. As a result, the model may exploit shortcuts (eg, imputing all missing values as zero, as an extreme example) to satisfy the error function. A similar concern was raised by Daniel Jarrett et al [<xref ref-type="bibr" rid="ref63">63</xref>], who proposed target-embedding autoencoders, co-training the autoencoder with a target value to enhance stability. In another study [<xref ref-type="bibr" rid="ref64">64</xref>], using target variables and clinical confounders improved the stability of embeddings in complex biomedical datasets. Nonetheless, selecting appropriate co-training targets (eg, clinical outcomes, BMI trajectories, treatment responses) for deep phenotyping during pre-AOM periods remains challenging and is an important area for future investigation. Second, unlike the arbitrariness in missing data imputation, the top two PCs from the five training folds consistently formed similar clustering patterns, differing only in orientation. Moreover, examination of diagnosis and measurement characteristics of clusters in other training folds revealed highly consistent clinical traits (data not shown). These findings suggest that the bottleneck layer may capture essential temporal feature characteristics independent of the missing data imputation methods. Future studies should carefully assess the impact of imputation mechanisms on cluster stability.</p></sec><sec id="s4-5"><title>Challenges</title><sec id="s4-5-1"><title>Visualization of Complex Disease Phenotypes</title><p>At this stage, we observed no obvious connection between visual separation in low-dimensional spaces, particularly the top two PCs, and clinical relevance. Even with advanced dimensionality reduction techniques like T-SNE, there are generally no clear-cut boundaries between clinically distinct clusters. The findings highlight the challenges of visualizing complex diseases which often cannot be adequately captured in low-dimensional representations. Further research, such as MapperPlus [<xref ref-type="bibr" rid="ref65">65</xref>] and other open frameworks [<xref ref-type="bibr" rid="ref66">66</xref>], will be helpful to explore how to effectively visualize these clusters in a more clinically meaningful way beyond the static heatmap employed in current study.</p></sec><sec id="s4-5-2"><title>Considerations for Low-Quality Samples</title><p>In this study, we defined data quality as the observed proportion of lab or vital measurements within 1 year before AOM initiation. While this may be arbitrary given the anticipatable variation in feature availability across time and health care systems, it provides an intuitive reflection of how well a patient is documented by the EHR system during the pre-AOM period. Given the observation that pre-AOM periods with above median measurement proportion (ie, 0.0453) formed clusters generally independent of data quality levels, we propose 5% as a cut-off threshold, below which the pre-AOM periods might be less distinguishable from each other. On the other hand, further research is needed to carefully assess the source of these low-quality pre-AOM periods (eg, limited access to health care, first-time visits, and fewer comorbidities).</p></sec><sec id="s4-5-3"><title>Feature Variability in High-Dimensional EHR</title><p>The laboratory and vital measurements used in this study are derived from the most commonly available features among obesity patients in the current EHR system. However, feature availability can vary over time and across healthcare systems. This variability, combined with the high dimensionality of EHR data, poses challenges for ensuring feature consistency, which can significantly affect the stability and reliability of clustering results. Bellman first introduced this issue in 1957, referring to it as the &#x201C;curse of dimensionality&#x201D; [<xref ref-type="bibr" rid="ref67">67</xref>]. Similar challenges [<xref ref-type="bibr" rid="ref68">68</xref>-<xref ref-type="bibr" rid="ref71">71</xref>] are prevalent in the medical field, where large feature sets and limited sample sizes are common. Specifically, Loftus et al [<xref ref-type="bibr" rid="ref70">70</xref>] reviewed these challenges in disease phenotyping, highlighting the importance of cohort representativeness and discussing caveats in data outliers, missing data, categorical variables, scaling, data transformation, and feature selection. For obesity, while certain strategies may improve cluster stability and potential clinical utility in the pre-AOM period, substantial challenges remain. Further research combining large cohorts with diverse demographic and SDOH backgrounds and intricately designed clustering approaches is needed to generate a holistic view that can inform clinical practice.</p></sec></sec><sec id="s4-6"><title>Limitations</title><p>In this exploratory study, we only shed light on a few limited aspects of obesity deep phenotyping from the perspective of EHR. Below, we outline key limitations and suggest areas for future research. First, although Houston is one of the most ethnically and racially diverse cities in the United States, this study is still subject to the limitations inherent in a single-site study, such as selection bias, environmental and institutional influences, and regulatory differences. Broader studies conducted at the state or national level are necessary to validate the generalizability of the findings and to uncover more nuanced clustering structures. Second, due to the limited sample size, we only considered laboratory/vital measurements, diagnosis codes for deep phenotyping, which do not provide comprehensive coverage of the factors that may influence obesity phenotypes (eg, medications, social determinants of health, and genetic/epigenetic information, demographics). Future research should include these factors as phenotyping features or examine clustering patterns across different subgroups (eg, age subgroups). Third, this study focuses on clustering patterns during the pre-AOM period, but it does not explore how different clusters respond to various AOMs in body weight, BMI, lipid levels, and side effects. Given the numerous types, combinations, and exposure lengths of AOMs, this area needs to be thoroughly investigated in larger cohorts. Fourth, we did not distinguish treatment intent when the course of O-AOMs (eg, bupropion and metformin) extended beyond 30 days, based on the assumption that a sustained treatment duration is likely to affect body weight. A more refined study could exclude non&#x2013;obesity-related treatment purposes by reviewing clinical notes. Finally, we demonstrate that data quality significantly influences the visual separability of the top two PCs. However, due to space limitations, we did not delve deeply into the sources of low-quality pre-AOM periods (eg, limited access to healthcare, first-time visits, fewer comorbidities) or how changes in data quality affect a given patient&#x2019;s clustering behavior. Further investigation into these aspects is needed to better understand the context in which EHR-based deep phenotyping can be faithfully applied in clinical practice.</p></sec><sec id="s4-7"><title>Conclusions</title><p>Obesity is a complex, chronic condition, and its multifaceted nature poses significant challenges for deep phenotyping and precision medicine. Here we demonstrated that longitudinal EHR data can potentially serve as a valuable resource for deep phenotyping during the pre-AOM period at the individual patient visit level. Our analysis revealed the presence of clusters with distinct clinical significance, which could have an implication on AOM treatment options. Further research using larger, independent cohorts is necessary to validate the reproducibility and clinical relevance of these clusters, uncover more detailed substructures, and assess cluster-specific responses to AOM treatment.</p></sec></sec></body><back><ack><p>The study was funded by The University of Texas Health Science Center at Houston (CPRIT RR230020) and National Institutes of Health (grant R01LM011934). Generative artificial intelligence was not used in the preparation of this manuscript.</p></ack><notes><sec><title>Data Availability</title><p>The data supporting this study are not publicly available due to restrictions related to patient privacy and confidentiality. Access to the deidentified UT-Physician data may be granted upon reasonable request and with appropriate institutional approvals.</p></sec></notes><fn-group><fn fn-type="con"><p>XR led the study design, conducted data analysis, and drafted the manuscript. SL conducted data analysis on atemporal clustering. LW contributed to manuscript preparation. AW oversaw the harmonization of the UT-Physician EHR with the OMOP CDM. SM provided expert insights as an obesity clinician. HL contributed to the study design and coordinated the overall project.</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AOM</term><def><p>Antiobesity Medication</p></def></def-item><def-item><term id="abb2">BP</term><def><p>blood pressure</p></def></def-item><def-item><term id="abb3">CCS</term><def><p>clinical classifications software</p></def></def-item><def-item><term id="abb4">CDM</term><def><p>Common Data Model</p></def></def-item><def-item><term id="abb5">CKD</term><def><p>chronic kidney disease</p></def></def-item><def-item><term id="abb6">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb7">F-AOM</term><def><p>Food and Drug Administration&#x2013;approved antiobesity medication</p></def></def-item><def-item><term id="abb8">FDA</term><def><p>Food and Drug Administration</p></def></def-item><def-item><term id="abb9">GMM</term><def><p>Gaussian mixture model</p></def></def-item><def-item><term id="abb10">HCP</term><def><p>health care practitioner</p></def></def-item><def-item><term id="abb11"><italic>ICD-10</italic></term><def><p><italic>International Statistical Classification of Diseases, Tenth Revision</italic></p></def></def-item><def-item><term id="abb12"><italic>ICD-9</italic></term><def><p><italic>International Classification of Diseases, Ninth Revision</italic></p></def></def-item><def-item><term id="abb13">IRB</term><def><p>institutional review board</p></def></def-item><def-item><term id="abb14">O-AOM</term><def><p>Off-label AOM</p></def></def-item><def-item><term id="abb15">OMOP</term><def><p>Observational Medical Outcomes Partnership</p></def></def-item><def-item><term id="abb16">PC</term><def><p>principal component</p></def></def-item><def-item><term id="abb17">PCA</term><def><p>principal component analysis</p></def></def-item><def-item><term id="abb18">SAE</term><def><p>atemporal sparse autoencoder</p></def></def-item><def-item><term id="abb19">SDOH</term><def><p>social determinants of health</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="web"><person-group person-group-type="author"><collab>Centers for disease control and prevention (CDC)</collab></person-group><source>Obesity and Severe Obesity Prevalence in Adults: United States, August 2021&#x2013;August 2023</source><access-date>2025-08-15</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.cdc.gov/nchs/products/databriefs/db508.htm">https://www.cdc.gov/nchs/products/databriefs/db508.htm</ext-link></comment></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>Sanyaolu</surname><given-names>A</given-names> </name><name name-style="western"><surname>Okorie</surname><given-names>C</given-names> </name><name name-style="western"><surname>Qi</surname><given-names>X</given-names> </name><name name-style="western"><surname>Locke</surname><given-names>J</given-names> </name><name name-style="western"><surname>Rehman</surname><given-names>S</given-names> </name></person-group><article-title>Childhood and Adolescent Obesity in the United States: A Public Health Concern</article-title><source>Glob Pediatr Health</source><year>2019</year><volume>6</volume><fpage>2333794X19891305</fpage><pub-id pub-id-type="doi">10.1177/2333794X19891305</pub-id><pub-id pub-id-type="medline">31832491</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>Ward</surname><given-names>ZJ</given-names> </name><name name-style="western"><surname>Bleich</surname><given-names>SN</given-names> </name><name name-style="western"><surname>Cradock</surname><given-names>AL</given-names> </name><etal/></person-group><article-title>Projected U.S. State-Level Prevalence of Adult Obesity and Severe Obesity</article-title><source>N Engl J Med</source><year>2019</year><month>12</month><day>19</day><volume>381</volume><issue>25</issue><fpage>2440</fpage><lpage>2450</lpage><pub-id pub-id-type="doi">10.1056/NEJMsa1909301</pub-id><pub-id pub-id-type="medline">31851800</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>Stunkard</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>Foch</surname><given-names>TT</given-names> </name><name name-style="western"><surname>Hrubec</surname><given-names>Z</given-names> </name></person-group><article-title>A twin study of human obesity</article-title><source>JAMA</source><year>1986</year><month>07</month><day>4</day><volume>256</volume><issue>1</issue><fpage>51</fpage><lpage>54</lpage><pub-id pub-id-type="medline">3712713</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>Stunkard</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>S&#x00F8;rensen</surname><given-names>TI</given-names> </name><name name-style="western"><surname>Hanis</surname><given-names>C</given-names> </name><etal/></person-group><article-title>An adoption study of human obesity</article-title><source>N Engl J Med</source><year>1986</year><month>01</month><day>23</day><volume>314</volume><issue>4</issue><fpage>193</fpage><lpage>198</lpage><pub-id pub-id-type="doi">10.1056/NEJM198601233140401</pub-id><pub-id pub-id-type="medline">3941707</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>Paolacci</surname><given-names>S</given-names> </name><name name-style="western"><surname>Pompucci</surname><given-names>G</given-names> </name><name name-style="western"><surname>Paolini</surname><given-names>B</given-names> </name><etal/></person-group><article-title>Mendelian non-syndromic obesity</article-title><source>Acta Biomed</source><year>2019</year><month>09</month><day>30</day><volume>90</volume><issue>10-S</issue><fpage>87</fpage><lpage>89</lpage><pub-id pub-id-type="doi">10.23750/abm.v90i10-S.8766</pub-id><pub-id pub-id-type="medline">31577261</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>G&#x00F3;rczy&#x0144;ska-Kosiorz</surname><given-names>S</given-names> </name><name name-style="western"><surname>Kosiorz</surname><given-names>M</given-names> </name><name name-style="western"><surname>Dzi&#x0119;gielewska-G&#x0119;siak</surname><given-names>S</given-names> </name></person-group><article-title>Exploring the Interplay of Genetics and Nutrition in the Rising Epidemic of Obesity and Metabolic Diseases</article-title><source>Nutrients</source><year>2024</year><month>10</month><day>21</day><volume>16</volume><issue>20</issue><fpage>3562</fpage><pub-id pub-id-type="doi">10.3390/nu16203562</pub-id><pub-id pub-id-type="medline">39458556</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="book"><person-group person-group-type="author"><collab>World Health Organization</collab></person-group><source>Obesity: Preventing and Managing the Global Epidemic: Report of a WHO Consultation</source><year>2000</year><publisher-name>World Health Organization</publisher-name><pub-id pub-id-type="other">9789241208949</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>Segal</surname><given-names>NL</given-names> </name><name name-style="western"><surname>Allison</surname><given-names>DB</given-names> </name></person-group><article-title>Twins and virtual twins: bases of relative body weight revisited</article-title><source>Int J Obes Relat Metab Disord</source><year>2002</year><month>04</month><volume>26</volume><issue>4</issue><fpage>437</fpage><lpage>441</lpage><pub-id pub-id-type="doi">10.1038/sj.ijo.0801941</pub-id><pub-id pub-id-type="medline">12075568</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>Barres</surname><given-names>R</given-names> </name><name name-style="western"><surname>Kirchner</surname><given-names>H</given-names> </name><name name-style="western"><surname>Rasmussen</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Weight loss after gastric bypass surgery in human obesity remodels promoter methylation</article-title><source>Cell Rep</source><year>2013</year><month>04</month><day>25</day><volume>3</volume><issue>4</issue><fpage>1020</fpage><lpage>1027</lpage><pub-id pub-id-type="doi">10.1016/j.celrep.2013.03.018</pub-id><pub-id pub-id-type="medline">23583180</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>Keller</surname><given-names>M</given-names> </name><name name-style="western"><surname>Hopp</surname><given-names>L</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>X</given-names> </name><etal/></person-group><article-title>Genome-wide DNA promoter methylation and transcriptome analysis in human adipose tissue unravels novel candidate genes for obesity</article-title><source>Mol Metab</source><year>2017</year><month>01</month><volume>6</volume><issue>1</issue><fpage>86</fpage><lpage>100</lpage><pub-id pub-id-type="doi">10.1016/j.molmet.2016.11.003</pub-id><pub-id pub-id-type="medline">28123940</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>Nilsson</surname><given-names>E</given-names> </name><name name-style="western"><surname>Jansson</surname><given-names>PA</given-names> </name><name name-style="western"><surname>Perfilyev</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Altered DNA methylation and differential expression of genes influencing metabolism and inflammation in adipose tissue from subjects with type 2 diabetes</article-title><source>Diabetes</source><year>2014</year><month>09</month><volume>63</volume><issue>9</issue><fpage>2962</fpage><lpage>2976</lpage><pub-id pub-id-type="doi">10.2337/db13-1459</pub-id><pub-id pub-id-type="medline">24812430</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>Wahl</surname><given-names>S</given-names> </name><name name-style="western"><surname>Drong</surname><given-names>A</given-names> </name><name name-style="western"><surname>Lehne</surname><given-names>B</given-names> </name><etal/></person-group><article-title>Epigenome-wide association study of body mass index, and the adverse outcomes of adiposity</article-title><source>Nature New Biol</source><year>2017</year><month>01</month><day>5</day><volume>541</volume><issue>7635</issue><fpage>81</fpage><lpage>86</lpage><pub-id pub-id-type="doi">10.1038/nature20784</pub-id><pub-id pub-id-type="medline">28002404</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>Chang</surname><given-names>SH</given-names> </name><name name-style="western"><surname>Stoll</surname><given-names>CRT</given-names> </name><name name-style="western"><surname>Song</surname><given-names>J</given-names> </name><name name-style="western"><surname>Varela</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Eagon</surname><given-names>CJ</given-names> </name><name name-style="western"><surname>Colditz</surname><given-names>GA</given-names> </name></person-group><article-title>The effectiveness and risks of bariatric surgery: an updated systematic review and meta-analysis, 2003-2012</article-title><source>JAMA Surg</source><year>2014</year><month>03</month><volume>149</volume><issue>3</issue><fpage>275</fpage><lpage>287</lpage><pub-id pub-id-type="doi">10.1001/jamasurg.2013.3654</pub-id><pub-id pub-id-type="medline">24352617</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>Courcoulas</surname><given-names>AP</given-names> </name><name name-style="western"><surname>King</surname><given-names>WC</given-names> </name><name name-style="western"><surname>Belle</surname><given-names>SH</given-names> </name><etal/></person-group><article-title>Seven-Year Weight Trajectories and Health Outcomes in the Longitudinal Assessment of Bariatric Surgery (LABS) Study</article-title><source>JAMA Surg</source><year>2018</year><month>05</month><day>1</day><volume>153</volume><issue>5</issue><fpage>427</fpage><lpage>434</lpage><pub-id pub-id-type="doi">10.1001/jamasurg.2017.5025</pub-id><pub-id pub-id-type="medline">29214306</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>Brissman</surname><given-names>M</given-names> </name><name name-style="western"><surname>Beamish</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>Olbers</surname><given-names>T</given-names> </name><name name-style="western"><surname>Marcus</surname><given-names>C</given-names> </name></person-group><article-title>Prevalence of insufficient weight loss 5 years after Roux-en-Y gastric bypass: metabolic consequences and prediction estimates: a prospective registry study</article-title><source>BMJ Open</source><year>2021</year><month>03</month><day>2</day><volume>11</volume><issue>3</issue><fpage>e046407</fpage><pub-id pub-id-type="doi">10.1136/bmjopen-2020-046407</pub-id><pub-id pub-id-type="medline">33653767</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>Clapp</surname><given-names>B</given-names> </name><name name-style="western"><surname>Wynn</surname><given-names>M</given-names> </name><name name-style="western"><surname>Martyn</surname><given-names>C</given-names> </name><name name-style="western"><surname>Foster</surname><given-names>C</given-names> </name><name name-style="western"><surname>O&#x2019;Dell</surname><given-names>M</given-names> </name><name name-style="western"><surname>Tyroch</surname><given-names>A</given-names> </name></person-group><article-title>Long term (7 or more years) outcomes of the sleeve gastrectomy: a meta-analysis</article-title><source>Surg Obes Relat Dis</source><year>2018</year><month>06</month><volume>14</volume><issue>6</issue><fpage>741</fpage><lpage>747</lpage><pub-id pub-id-type="doi">10.1016/j.soard.2018.02.027</pub-id><pub-id pub-id-type="medline">29625744</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>Jastreboff</surname><given-names>AM</given-names> </name><name name-style="western"><surname>Aronne</surname><given-names>LJ</given-names> </name><name name-style="western"><surname>Ahmad</surname><given-names>NN</given-names> </name><collab>SURMOUNT-1 Investigators</collab><etal/></person-group><article-title>Tirzepatide Once Weekly for the Treatment of Obesity</article-title><source>N Engl J Med</source><year>2022</year><month>07</month><day>21</day><volume>387</volume><issue>3</issue><fpage>205</fpage><lpage>216</lpage><pub-id pub-id-type="doi">10.1056/NEJMoa2206038</pub-id><pub-id pub-id-type="medline">35658024</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>Chakhtoura</surname><given-names>M</given-names> </name><name name-style="western"><surname>Haber</surname><given-names>R</given-names> </name><name name-style="western"><surname>Ghezzawi</surname><given-names>M</given-names> </name><name name-style="western"><surname>Rhayem</surname><given-names>C</given-names> </name><name name-style="western"><surname>Tcheroyan</surname><given-names>R</given-names> </name><name name-style="western"><surname>Mantzoros</surname><given-names>CS</given-names> </name></person-group><article-title>Pharmacotherapy of obesity: an update on the available medications and drugs under investigation</article-title><source>EClinicalMedicine</source><year>2023</year><month>04</month><volume>58</volume><fpage>101882</fpage><pub-id pub-id-type="doi">10.1016/j.eclinm.2023.101882</pub-id><pub-id pub-id-type="medline">36992862</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>Aronne</surname><given-names>LJ</given-names> </name><name name-style="western"><surname>Anderson</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Sannino</surname><given-names>A</given-names> </name><name name-style="western"><surname>Chiquette</surname><given-names>E</given-names> </name></person-group><article-title>Recent advances in therapies utilizing superabsorbent hydrogel technology for weight management: A review</article-title><source>Obes Sci Pract</source><year>2022</year><month>06</month><volume>8</volume><issue>3</issue><fpage>363</fpage><lpage>370</lpage><pub-id pub-id-type="doi">10.1002/osp4.574</pub-id><pub-id pub-id-type="medline">35664250</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>Morton</surname><given-names>JM</given-names> </name><name name-style="western"><surname>Shah</surname><given-names>SN</given-names> </name><name name-style="western"><surname>Wolfe</surname><given-names>BM</given-names> </name><etal/></person-group><article-title>Effect of Vagal Nerve Blockade on Moderate Obesity with an Obesity-Related Comorbid Condition: the ReCharge Study</article-title><source>Obes Surg</source><year>2016</year><month>05</month><volume>26</volume><issue>5</issue><fpage>983</fpage><lpage>989</lpage><pub-id pub-id-type="doi">10.1007/s11695-016-2143-y</pub-id><pub-id pub-id-type="medline">27048437</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>Apovian</surname><given-names>CM</given-names> </name><name name-style="western"><surname>Shah</surname><given-names>SN</given-names> </name><name name-style="western"><surname>Wolfe</surname><given-names>BM</given-names> </name><etal/></person-group><article-title>Two-Year Outcomes of Vagal Nerve Blocking (vBloc) for the Treatment of Obesity in the ReCharge Trial</article-title><source>Obes Surg</source><year>2017</year><month>01</month><volume>27</volume><issue>1</issue><fpage>169</fpage><lpage>176</lpage><pub-id pub-id-type="doi">10.1007/s11695-016-2325-7</pub-id><pub-id pub-id-type="medline">27506803</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Raynor</surname><given-names>HA</given-names> </name><name name-style="western"><surname>Champagne</surname><given-names>CM</given-names> </name></person-group><article-title>Position of the Academy of Nutrition and Dietetics: Interventions for the Treatment of Overweight and Obesity in Adults</article-title><source>J Acad Nutr Diet</source><year>2016</year><month>01</month><volume>116</volume><issue>1</issue><fpage>129</fpage><lpage>147</lpage><pub-id pub-id-type="doi">10.1016/j.jand.2015.10.031</pub-id><pub-id pub-id-type="medline">26718656</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Koliaki</surname><given-names>C</given-names> </name><name name-style="western"><surname>Spinos</surname><given-names>T</given-names> </name><name name-style="western"><surname>Spinou</surname><given-names>&#x039C;</given-names> </name><name name-style="western"><surname>Brinia</surname><given-names>&#x039C;E</given-names> </name><name name-style="western"><surname>Mitsopoulou</surname><given-names>D</given-names> </name><name name-style="western"><surname>Katsilambros</surname><given-names>N</given-names> </name></person-group><article-title>Defining the Optimal Dietary Approach for Safe, Effective and Sustainable Weight Loss in Overweight and Obese Adults</article-title><source>Healthcare (Basel)</source><year>2018</year><month>06</month><day>28</day><volume>6</volume><issue>3</issue><fpage>73</fpage><pub-id pub-id-type="doi">10.3390/healthcare6030073</pub-id><pub-id pub-id-type="medline">29958395</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>Wharton</surname><given-names>S</given-names> </name><name name-style="western"><surname>Lau</surname><given-names>DCW</given-names> </name><name name-style="western"><surname>Vallis</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Obesity in adults: a clinical practice guideline</article-title><source>CMAJ</source><year>2020</year><month>08</month><day>4</day><volume>192</volume><issue>31</issue><fpage>E875</fpage><lpage>E891</lpage><pub-id pub-id-type="doi">10.1503/cmaj.191707</pub-id><pub-id pub-id-type="medline">32753461</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>Sharma</surname><given-names>AM</given-names> </name><name name-style="western"><surname>Kushner</surname><given-names>RF</given-names> </name></person-group><article-title>A proposed clinical staging system for obesity</article-title><source>Int J Obes</source><year>2009</year><month>03</month><volume>33</volume><issue>3</issue><fpage>289</fpage><lpage>295</lpage><pub-id pub-id-type="doi">10.1038/ijo.2009.2</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>Acosta</surname><given-names>A</given-names> </name><name name-style="western"><surname>Camilleri</surname><given-names>M</given-names> </name><name name-style="western"><surname>Abu Dayyeh</surname><given-names>B</given-names> </name><etal/></person-group><article-title>Selection of Antiobesity Medications Based on Phenotypes Enhances Weight Loss: A Pragmatic Trial in an Obesity Clinic</article-title><source>Obesity (Silver Spring)</source><year>2021</year><month>04</month><volume>29</volume><issue>4</issue><fpage>662</fpage><lpage>671</lpage><pub-id pub-id-type="doi">10.1002/oby.23120</pub-id><pub-id pub-id-type="medline">33759389</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Garvey</surname><given-names>WT</given-names> </name><name name-style="western"><surname>Mechanick</surname><given-names>JI</given-names> </name></person-group><article-title>Proposal for a Scientifically Correct and Medically Actionable Disease Classification System (ICD) for Obesity</article-title><source>Obesity (Silver Spring)</source><year>2020</year><month>03</month><volume>28</volume><issue>3</issue><fpage>484</fpage><lpage>492</lpage><pub-id pub-id-type="doi">10.1002/oby.22727</pub-id><pub-id pub-id-type="medline">32090513</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Padwal</surname><given-names>RS</given-names> </name><name name-style="western"><surname>Pajewski</surname><given-names>NM</given-names> </name><name name-style="western"><surname>Allison</surname><given-names>DB</given-names> </name><name name-style="western"><surname>Sharma</surname><given-names>AM</given-names> </name></person-group><article-title>Using the Edmonton obesity staging system to predict mortality in a population-representative cohort of people with overweight and obesity</article-title><source>CMAJ</source><year>2011</year><month>10</month><day>4</day><volume>183</volume><issue>14</issue><fpage>E1059</fpage><lpage>66</lpage><pub-id pub-id-type="doi">10.1503/cmaj.110387</pub-id><pub-id pub-id-type="medline">21844111</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>Rodr&#x00ED;guez-Flores</surname><given-names>M</given-names> </name><name name-style="western"><surname>Goicochea-Turcott</surname><given-names>EW</given-names> </name><name name-style="western"><surname>Mancillas-Adame</surname><given-names>L</given-names> </name><etal/></person-group><article-title>The utility of the Edmonton Obesity Staging System for the prediction of COVID-19 outcomes: a multi-centre study</article-title><source>Int J Obes</source><year>2022</year><month>03</month><volume>46</volume><issue>3</issue><fpage>661</fpage><lpage>668</lpage><pub-id pub-id-type="doi">10.1038/s41366-021-01017-8</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Atlantis</surname><given-names>E</given-names> </name><name name-style="western"><surname>John</surname><given-names>JR</given-names> </name><name name-style="western"><surname>Hocking</surname><given-names>SL</given-names> </name><etal/></person-group><article-title>Development and internal validation of the Edmonton Obesity Staging System-2 Risk screening Tool (EOSS-2 Risk Tool) for weight-related health complications: a case-control study in a representative sample of Australian adults with overweight and obesity</article-title><source>BMJ Open</source><year>2022</year><month>06</month><volume>12</volume><issue>6</issue><fpage>e061251</fpage><pub-id pub-id-type="doi">10.1136/bmjopen-2022-061251</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>Portincasa</surname><given-names>P</given-names> </name><name name-style="western"><surname>Fr&#x00FC;hbeck</surname><given-names>G</given-names> </name></person-group><article-title>Phenotyping the obesities: reality or utopia?</article-title><source>Rev Endocr Metab Disord</source><year>2023</year><month>10</month><volume>24</volume><issue>5</issue><fpage>767</fpage><lpage>773</lpage><pub-id pub-id-type="doi">10.1007/s11154-023-09829-x</pub-id><pub-id pub-id-type="medline">37537402</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>Turner</surname><given-names>M</given-names> </name><name name-style="western"><surname>Jannah</surname><given-names>N</given-names> </name><name name-style="western"><surname>Kahan</surname><given-names>S</given-names> </name><name name-style="western"><surname>Gallagher</surname><given-names>C</given-names> </name><name name-style="western"><surname>Dietz</surname><given-names>W</given-names> </name></person-group><article-title>Current Knowledge of Obesity Treatment Guidelines by Health Care Professionals</article-title><source>Obesity (Silver Spring)</source><year>2018</year><month>04</month><volume>26</volume><issue>4</issue><fpage>665</fpage><lpage>671</lpage><pub-id pub-id-type="doi">10.1002/oby.22142</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>Kaplan</surname><given-names>LM</given-names> </name><name name-style="western"><surname>Golden</surname><given-names>A</given-names> </name><name name-style="western"><surname>Jinnett</surname><given-names>K</given-names> </name><etal/></person-group><article-title>Perceptions of Barriers to Effective Obesity Care: Results from the National ACTION Study</article-title><source>Obesity (Silver Spring)</source><year>2018</year><month>01</month><volume>26</volume><issue>1</issue><fpage>61</fpage><lpage>69</lpage><pub-id pub-id-type="doi">10.1002/oby.22054</pub-id><pub-id pub-id-type="medline">29086529</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>Oral</surname><given-names>EA</given-names> </name><name name-style="western"><surname>Simha</surname><given-names>V</given-names> </name><name name-style="western"><surname>Ruiz</surname><given-names>E</given-names> </name><etal/></person-group><article-title>Leptin-replacement therapy for lipodystrophy</article-title><source>N Engl J Med</source><year>2002</year><month>02</month><day>21</day><volume>346</volume><issue>8</issue><fpage>570</fpage><lpage>578</lpage><pub-id pub-id-type="doi">10.1056/NEJMoa012437</pub-id><pub-id pub-id-type="medline">11856796</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>Hocking</surname><given-names>S</given-names> </name><name name-style="western"><surname>Sumithran</surname><given-names>P</given-names> </name></person-group><article-title>Individualised prescription of medications for treatment of obesity in adults</article-title><source>Rev Endocr Metab Disord</source><year>2023</year><month>10</month><volume>24</volume><issue>5</issue><fpage>951</fpage><lpage>960</lpage><pub-id pub-id-type="doi">10.1007/s11154-023-09808-2</pub-id><pub-id pub-id-type="medline">37202547</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>Trang</surname><given-names>K</given-names> </name><name name-style="western"><surname>Grant</surname><given-names>SFA</given-names> </name></person-group><article-title>Genetics and epigenetics in the obesity phenotyping scenario</article-title><source>Rev Endocr Metab Disord</source><year>2023</year><month>10</month><volume>24</volume><issue>5</issue><fpage>775</fpage><lpage>793</lpage><pub-id pub-id-type="doi">10.1007/s11154-023-09804-6</pub-id><pub-id pub-id-type="medline">37032403</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>Preda</surname><given-names>A</given-names> </name><name name-style="western"><surname>Carbone</surname><given-names>F</given-names> </name><name name-style="western"><surname>Tirandi</surname><given-names>A</given-names> </name><name name-style="western"><surname>Montecucco</surname><given-names>F</given-names> </name><name name-style="western"><surname>Liberale</surname><given-names>L</given-names> </name></person-group><article-title>Obesity phenotypes and cardiovascular risk: From pathophysiology to clinical management</article-title><source>Rev Endocr Metab Disord</source><year>2023</year><month>10</month><volume>24</volume><issue>5</issue><fpage>901</fpage><lpage>919</lpage><pub-id pub-id-type="doi">10.1007/s11154-023-09813-5</pub-id><pub-id pub-id-type="medline">37358728</pub-id></nlm-citation></ref><ref id="ref39"><label>39</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Ruan</surname><given-names>X</given-names> </name><name name-style="western"><surname>Li</surname><given-names>R</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>L</given-names> </name><etal/></person-group><article-title>Current status of anti-obesity medications and performance, an EHR based survey</article-title><source>Health Informatics</source><comment>Preprint posted online on 2024</comment><pub-id pub-id-type="doi">10.1101/2024.12.02.24318314</pub-id></nlm-citation></ref><ref id="ref40"><label>40</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Alzoubi</surname><given-names>H</given-names> </name><name name-style="western"><surname>Alzubi</surname><given-names>R</given-names> </name><name name-style="western"><surname>Ramzan</surname><given-names>N</given-names> </name><name name-style="western"><surname>West</surname><given-names>D</given-names> </name><name name-style="western"><surname>Al-Hadhrami</surname><given-names>T</given-names> </name><name name-style="western"><surname>Alazab</surname><given-names>M</given-names> </name></person-group><article-title>A Review of Automatic Phenotyping Approaches using Electronic Health Records</article-title><source>Electronics (Basel)</source><year>2019</year><volume>8</volume><issue>11</issue><fpage>1235</fpage><pub-id pub-id-type="doi">10.3390/electronics8111235</pub-id></nlm-citation></ref><ref id="ref41"><label>41</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Weng</surname><given-names>C</given-names> </name><name name-style="western"><surname>Shah</surname><given-names>NH</given-names> </name><name name-style="western"><surname>Hripcsak</surname><given-names>G</given-names> </name></person-group><article-title>Deep phenotyping: Embracing complexity and temporality-Towards scalability, portability, and interoperability</article-title><source>J Biomed Inform</source><year>2020</year><month>05</month><volume>105</volume><fpage>103433</fpage><pub-id pub-id-type="doi">10.1016/j.jbi.2020.103433</pub-id><pub-id pub-id-type="medline">32335224</pub-id></nlm-citation></ref><ref id="ref42"><label>42</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zeng</surname><given-names>K</given-names> </name><name name-style="western"><surname>Bodenreider</surname><given-names>O</given-names> </name><name name-style="western"><surname>Kilbourne</surname><given-names>J</given-names> </name><name name-style="western"><surname>Nelson</surname><given-names>S</given-names> </name></person-group><article-title>RxNav: a web service for standard drug information</article-title><source>AMIA Annu Symp Proc</source><year>2006</year><volume>2006</volume><fpage>1156</fpage><pub-id pub-id-type="medline">17238775</pub-id></nlm-citation></ref><ref id="ref43"><label>43</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Reich</surname><given-names>C</given-names> </name><name name-style="western"><surname>Ostropolets</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ryan</surname><given-names>P</given-names> </name><etal/></person-group><article-title>OHDSI Standardized Vocabularies&#x2014;a large-scale centralized reference ontology for international data harmonization</article-title><source>J Am Med Inform Assoc</source><year>2024</year><month>02</month><day>16</day><volume>31</volume><issue>3</issue><fpage>583</fpage><lpage>590</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocad247</pub-id></nlm-citation></ref><ref id="ref44"><label>44</label><nlm-citation citation-type="journal"><article-title>Healthcare Cost and Utilization Project (HCUP)</article-title><source>Encyclopedia of Health Services Research</source><year>2009</year><pub-id pub-id-type="doi">10.4135/9781412971942</pub-id></nlm-citation></ref><ref id="ref45"><label>45</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Che</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Purushotham</surname><given-names>S</given-names> </name><name name-style="western"><surname>Cho</surname><given-names>K</given-names> </name><name name-style="western"><surname>Sontag</surname><given-names>D</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>Y</given-names> </name></person-group><article-title>Recurrent Neural Networks for Multivariate Time Series with Missing Values</article-title><source>Sci Rep</source><year>2018</year><month>04</month><day>17</day><volume>8</volume><issue>1</issue><fpage>6085</fpage><pub-id pub-id-type="doi">10.1038/s41598-018-24271-9</pub-id><pub-id pub-id-type="medline">29666385</pub-id></nlm-citation></ref><ref id="ref46"><label>46</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Y&#x00E1;rnoz-Esquiroz</surname><given-names>P</given-names> </name><name name-style="western"><surname>Olazar&#x00E1;n</surname><given-names>L</given-names> </name><name name-style="western"><surname>Aguas-Ayesa</surname><given-names>M</given-names> </name></person-group><article-title>&#x201C;Obesities&#x201D;: Position statement on a complex disease entity with multifaceted drivers</article-title><source>Eur J Clin Invest</source><year>2022</year><month>07</month><volume>52</volume><issue>7</issue><fpage>e13811</fpage><pub-id pub-id-type="doi">10.1111/eci.13811</pub-id><pub-id pub-id-type="medline">35514242</pub-id></nlm-citation></ref><ref id="ref47"><label>47</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Salm&#x00F3;n-G&#x00F3;mez</surname><given-names>L</given-names> </name><name name-style="western"><surname>Catal&#x00E1;n</surname><given-names>V</given-names> </name><name name-style="western"><surname>Fr&#x00FC;hbeck</surname><given-names>G</given-names> </name><name name-style="western"><surname>G&#x00F3;mez-Ambrosi</surname><given-names>J</given-names> </name></person-group><article-title>Relevance of body composition in phenotyping the obesities</article-title><source>Rev Endocr Metab Disord</source><year>2023</year><month>10</month><volume>24</volume><issue>5</issue><fpage>809</fpage><lpage>823</lpage><pub-id pub-id-type="doi">10.1007/s11154-023-09796-3</pub-id><pub-id pub-id-type="medline">36928809</pub-id></nlm-citation></ref><ref id="ref48"><label>48</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cifuentes</surname><given-names>L</given-names> </name><name name-style="western"><surname>Ghusn</surname><given-names>W</given-names> </name><name name-style="western"><surname>Feris</surname><given-names>F</given-names> </name><etal/></person-group><article-title>Phenotype tailored lifestyle intervention on weight loss and cardiometabolic risk factors in adults with obesity: a single-centre, non-randomised, proof-of-concept study</article-title><source>EClinicalMedicine</source><year>2023</year><month>04</month><volume>58</volume><fpage>101923</fpage><pub-id pub-id-type="doi">10.1016/j.eclinm.2023.101923</pub-id><pub-id pub-id-type="medline">37007741</pub-id></nlm-citation></ref><ref id="ref49"><label>49</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hamrahian</surname><given-names>SM</given-names> </name><name name-style="western"><surname>Falkner</surname><given-names>B</given-names> </name></person-group><article-title>Hypertension in Chronic Kidney Disease</article-title><source>Adv Exp Med Biol</source><year>2017</year><volume>956</volume><fpage>307</fpage><lpage>325</lpage><pub-id pub-id-type="doi">10.1007/5584_2016_84</pub-id><pub-id pub-id-type="medline">27873228</pub-id></nlm-citation></ref><ref id="ref50"><label>50</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chaudhry</surname><given-names>K</given-names> </name><name name-style="western"><surname>Karalliedde</surname><given-names>J</given-names> </name></person-group><article-title>Chronic kidney disease in type 2 diabetes: The size of the problem, addressing residual renal risk and what we have learned from the CREDENCE trial</article-title><source>Diabetes Obes Metab</source><year>2024</year><month>10</month><volume>26 Suppl 5</volume><fpage>25</fpage><lpage>34</lpage><pub-id pub-id-type="doi">10.1111/dom.15765</pub-id><pub-id pub-id-type="medline">39044385</pub-id></nlm-citation></ref><ref id="ref51"><label>51</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Prasad</surname><given-names>R</given-names> </name><name name-style="western"><surname>Jha</surname><given-names>RK</given-names> </name><name name-style="western"><surname>Keerti</surname><given-names>A</given-names> </name></person-group><article-title>Chronic Kidney Disease: Its Relationship With Obesity</article-title><source>Cureus</source><year>2022</year><month>10</month><volume>14</volume><issue>10</issue><fpage>e30535</fpage><pub-id pub-id-type="doi">10.7759/cureus.30535</pub-id><pub-id pub-id-type="medline">36415443</pub-id></nlm-citation></ref><ref id="ref52"><label>52</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Chintam</surname><given-names>K</given-names> </name><name name-style="western"><surname>Chang</surname><given-names>AR</given-names> </name></person-group><article-title>Strategies to Treat Obesity in Patients With CKD</article-title><source>Am J Kidney Dis</source><year>2021</year><month>03</month><volume>77</volume><issue>3</issue><fpage>427</fpage><lpage>439</lpage><pub-id pub-id-type="doi">10.1053/j.ajkd.2020.08.016</pub-id><pub-id pub-id-type="medline">33075388</pub-id></nlm-citation></ref><ref id="ref53"><label>53</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Parvathareddy</surname><given-names>VP</given-names> </name><name name-style="western"><surname>Ella</surname><given-names>KM</given-names> </name><name name-style="western"><surname>Shah</surname><given-names>M</given-names> </name><name name-style="western"><surname>Navaneethan</surname><given-names>SD</given-names> </name></person-group><article-title>Treatment options for managing obesity in chronic kidney disease</article-title><source>Curr Opin Nephrol Hypertens</source><year>2021</year><month>09</month><day>1</day><volume>30</volume><issue>5</issue><fpage>516</fpage><lpage>523</lpage><pub-id pub-id-type="doi">10.1097/MNH.0000000000000727</pub-id><pub-id pub-id-type="medline">34039849</pub-id></nlm-citation></ref><ref id="ref54"><label>54</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zheng</surname><given-names>L</given-names> </name><name name-style="western"><surname>Yang</surname><given-names>L</given-names> </name><name name-style="western"><surname>Guo</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Yao</surname><given-names>N</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>S</given-names> </name><name name-style="western"><surname>Pu</surname><given-names>P</given-names> </name></person-group><article-title>Obesity and its impact on female reproductive health: unraveling the connections</article-title><source>Front Endocrinol</source><year>2024</year><volume>14</volume><fpage>1326546</fpage><pub-id pub-id-type="doi">10.3389/fendo.2023.1326546</pub-id></nlm-citation></ref><ref id="ref55"><label>55</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ye</surname><given-names>W</given-names> </name><name name-style="western"><surname>Luo</surname><given-names>C</given-names> </name><name name-style="western"><surname>Zhou</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Association between maternal diabetes and neurodevelopmental outcomes in children: a systematic review and meta-analysis of 202 observational studies comprising 56&#x00B7;1 million pregnancies</article-title><source>Lancet Diabetes Endocrinol</source><year>2025</year><month>06</month><volume>13</volume><issue>6</issue><fpage>494</fpage><lpage>504</lpage><pub-id pub-id-type="doi">10.1016/S2213-8587(25)00036-1</pub-id></nlm-citation></ref><ref id="ref56"><label>56</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><collab>Practice Committee of the American Society for Reproductive Medicine. Electronic address: ASRM@asrm.org</collab><collab>Practice Committee of the American Society for Reproductive Medicine</collab></person-group><article-title>Role of metformin for ovulation induction in infertile patients with polycystic ovary syndrome (PCOS): a guideline</article-title><source>Fertil Steril</source><year>2017</year><month>09</month><volume>108</volume><issue>3</issue><fpage>426</fpage><lpage>441</lpage><pub-id pub-id-type="doi">10.1016/j.fertnstert.2017.06.026</pub-id><pub-id pub-id-type="medline">28865539</pub-id></nlm-citation></ref><ref id="ref57"><label>57</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cena</surname><given-names>H</given-names> </name><name name-style="western"><surname>Chiovato</surname><given-names>L</given-names> </name><name name-style="western"><surname>Nappi</surname><given-names>RE</given-names> </name></person-group><article-title>Obesity, Polycystic Ovary Syndrome, and Infertility: A New Avenue for GLP-1 Receptor Agonists</article-title><source>J Clin Endocrinol Metab</source><year>2020</year><month>08</month><day>1</day><volume>105</volume><issue>8</issue><fpage>e2695</fpage><lpage>709</lpage><pub-id pub-id-type="doi">10.1210/clinem/dgaa285</pub-id><pub-id pub-id-type="medline">32442310</pub-id></nlm-citation></ref><ref id="ref58"><label>58</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Han</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Li</surname><given-names>Y</given-names> </name><name name-style="western"><surname>He</surname><given-names>B</given-names> </name></person-group><article-title>GLP-1 receptor agonists versus metformin in PCOS: a systematic review and meta-analysis</article-title><source>Reprod Biomed Online</source><year>2019</year><month>08</month><volume>39</volume><issue>2</issue><fpage>332</fpage><lpage>342</lpage><pub-id pub-id-type="doi">10.1016/j.rbmo.2019.04.017</pub-id></nlm-citation></ref><ref id="ref59"><label>59</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Demark-Wahnefried</surname><given-names>W</given-names> </name><name name-style="western"><surname>Schmitz</surname><given-names>KH</given-names> </name><name name-style="western"><surname>Alfano</surname><given-names>CM</given-names> </name><etal/></person-group><article-title>Weight management and physical activity throughout the cancer care continuum</article-title><source>CA Cancer J Clin</source><year>2018</year><month>01</month><volume>68</volume><issue>1</issue><fpage>64</fpage><lpage>89</lpage><pub-id pub-id-type="doi">10.3322/caac.21441</pub-id><pub-id pub-id-type="medline">29165798</pub-id></nlm-citation></ref><ref id="ref60"><label>60</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aminian</surname><given-names>A</given-names> </name><name name-style="western"><surname>Wilson</surname><given-names>R</given-names> </name><name name-style="western"><surname>Al-Kurd</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Association of Bariatric Surgery With Cancer Risk and Mortality in Adults With Obesity</article-title><source>JAMA</source><year>2022</year><month>06</month><day>28</day><volume>327</volume><issue>24</issue><fpage>2423</fpage><lpage>2433</lpage><pub-id pub-id-type="doi">10.1001/jama.2022.9009</pub-id><pub-id pub-id-type="medline">35657620</pub-id></nlm-citation></ref><ref id="ref61"><label>61</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Adams</surname><given-names>TD</given-names> </name><name name-style="western"><surname>Meeks</surname><given-names>H</given-names> </name><name name-style="western"><surname>Fraser</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Long-term cancer outcomes after bariatric surgery</article-title><source>Obesity (Silver Spring)</source><year>2023</year><month>09</month><volume>31</volume><issue>9</issue><fpage>2386</fpage><lpage>2397</lpage><pub-id pub-id-type="doi">10.1002/oby.23812</pub-id><pub-id pub-id-type="medline">37605634</pub-id></nlm-citation></ref><ref id="ref62"><label>62</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Friedmann</surname><given-names>DP</given-names> </name></person-group><article-title>A review of the aesthetic treatment of abdominal subcutaneous adipose tissue: background, implications, and therapeutic options</article-title><source>Dermatol Surg</source><year>2015</year><month>01</month><volume>41</volume><issue>1</issue><fpage>18</fpage><lpage>34</lpage><pub-id pub-id-type="doi">10.1097/DSS.0000000000000209</pub-id><pub-id pub-id-type="medline">25521101</pub-id></nlm-citation></ref><ref id="ref63"><label>63</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Jarrett</surname><given-names>D</given-names> </name><name name-style="western"><surname>Schaar</surname><given-names>M</given-names> </name></person-group><article-title>Target-embedding autoencoders for supervised representation learning</article-title><access-date>2024-10-09</access-date><conf-name>International Conference on Learning Representations 2019</conf-name><comment><ext-link ext-link-type="uri" xlink:href="https://openreview.net/pdf?id=BygXFkSYDH">https://openreview.net/pdf?id=BygXFkSYDH</ext-link></comment></nlm-citation></ref><ref id="ref64"><label>64</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Yu</surname><given-names>T</given-names> </name></person-group><article-title>AIME: Autoencoder-based integrative multi-omics data embedding that allows for confounder adjustments</article-title><source>PLoS Comput Biol</source><year>2022</year><month>01</month><volume>18</volume><issue>1</issue><fpage>e1009826</fpage><pub-id pub-id-type="doi">10.1371/journal.pcbi.1009826</pub-id><pub-id pub-id-type="medline">35081109</pub-id></nlm-citation></ref><ref id="ref65"><label>65</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Datta</surname><given-names>E</given-names> </name><name name-style="western"><surname>Ballal</surname><given-names>A</given-names> </name><name name-style="western"><surname>L&#x00F3;pez</surname><given-names>JE</given-names> </name><name name-style="western"><surname>Izu</surname><given-names>LT</given-names> </name></person-group><article-title>MapperPlus: Agnostic clustering of high-dimension data for precision medicine</article-title><source>PLOS Digit Health</source><year>2023</year><volume>2</volume><issue>8</issue><fpage>e0000307</fpage><pub-id pub-id-type="doi">10.1371/journal.pdig.0000307</pub-id></nlm-citation></ref><ref id="ref66"><label>66</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Abdullah</surname><given-names>SS</given-names> </name><name name-style="western"><surname>Rostamzadeh</surname><given-names>N</given-names> </name><name name-style="western"><surname>Sedig</surname><given-names>K</given-names> </name><name name-style="western"><surname>Garg</surname><given-names>AX</given-names> </name><name name-style="western"><surname>McArthur</surname><given-names>E</given-names> </name></person-group><article-title>Visual Analytics for Dimension Reduction and Cluster Analysis of High Dimensional Electronic Health Records</article-title><source>Informatics (MDPI)</source><year>2020</year><month>05</month><day>27</day><volume>7</volume><issue>2</issue><fpage>17</fpage><pub-id pub-id-type="doi">10.3390/informatics7020017</pub-id></nlm-citation></ref><ref id="ref67"><label>67</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Bellman</surname><given-names>R</given-names> </name></person-group><source>Dynamic Programming</source><year>1957</year><publisher-name>Princeton University Press</publisher-name><pub-id pub-id-type="other">9780691079516</pub-id></nlm-citation></ref><ref id="ref68"><label>68</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Alelyani</surname><given-names>S</given-names> </name></person-group><article-title>Stable bagging feature selection on medical data</article-title><source>J Big Data</source><year>2021</year><month>12</month><volume>8</volume><issue>1</issue><fpage>1</fpage><lpage>18</lpage><pub-id pub-id-type="doi">10.1186/s40537-020-00385-8</pub-id></nlm-citation></ref><ref id="ref69"><label>69</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Ma</surname><given-names>X</given-names> </name><name name-style="western"><surname>Chu</surname><given-names>X</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>Y</given-names> </name><etal/></person-group><article-title>MedFACT: modeling medical feature correlations in patient health representation learning via feature clustering</article-title><access-date>2025-08-15</access-date><comment>Preprint posted online on  Apr 21, 2022</comment><comment><ext-link ext-link-type="uri" xlink:href="http://arxiv.org/abs/2204.10011">http://arxiv.org/abs/2204.10011</ext-link></comment><pub-id pub-id-type="doi">10.48550/arXiv.2204.10011</pub-id></nlm-citation></ref><ref id="ref70"><label>70</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Loftus</surname><given-names>TJ</given-names> </name><name name-style="western"><surname>Shickel</surname><given-names>B</given-names> </name><name name-style="western"><surname>Balch</surname><given-names>JA</given-names> </name><etal/></person-group><article-title>Phenotype clustering in health care: A narrative review for clinicians</article-title><source>Front Artif Intell</source><year>2022</year><month>08</month><day>12</day><volume>5</volume><fpage>842306</fpage><pub-id pub-id-type="doi">10.3389/frai.2022.842306</pub-id></nlm-citation></ref><ref id="ref71"><label>71</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>X</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>H</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Ma</surname><given-names>X</given-names> </name><name name-style="western"><surname>Luo</surname><given-names>J</given-names> </name><name name-style="western"><surname>Zhu</surname><given-names>Y</given-names> </name></person-group><article-title>PWSC: a novel clustering method based on polynomial weight-adjusted sparse clustering for sparse biomedical data and its application in cancer subtyping</article-title><source>BMC Bioinformatics</source><year>2023</year><month>12</month><day>21</day><volume>24</volume><issue>1</issue><pub-id pub-id-type="doi">10.1186/s12859-023-05595-4</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>92 measurements within 1 year before exposure to antiobesity medication.</p><media xlink:href="jmir_v27i1e70140_app1.xlsx" xlink:title="XLSX File, 13 KB"/></supplementary-material><supplementary-material id="app2"><label>Multimedia Appendix 2</label><p>Clinical classifications software codes within 1 year before exposure to antiobesity medication.</p><media xlink:href="jmir_v27i1e70140_app2.xlsx" xlink:title="XLSX File, 11 KB"/></supplementary-material><supplementary-material id="app3"><label>Multimedia Appendix 3</label><p>Additional figures.</p><media xlink:href="jmir_v27i1e70140_app3.docx" xlink:title="DOCX File, 18230 KB"/></supplementary-material></app-group></back></article>