<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3-mathml3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Endocrinol.</journal-id>
<journal-title-group>
<journal-title>Frontiers in Endocrinology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Endocrinol.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">1664-2392</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fendo.2026.1652252</article-id>
<article-version article-version-type="Version of Record" vocab="NISO-RP-8-2008"/>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Type D personality, social support and depression in patients with diabetes: a structural equation model</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Lin</surname><given-names>Yingjie</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3066626/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Xu</surname><given-names>Na</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3357200/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="supervision" vocab-term-identifier="https://credit.niso.org/contributor-roles/supervision/">Supervision</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Sui</surname><given-names>Yi</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/535145/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Zou</surname><given-names>Qiangwei</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3357178/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Zhang</surname><given-names>Jinglan</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>*</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3357022/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Zhao</surname><given-names>Li</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>*</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1001981/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="software" vocab-term-identifier="https://credit.niso.org/contributor-roles/software/">Software</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="supervision" vocab-term-identifier="https://credit.niso.org/contributor-roles/supervision/">Supervision</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
</contrib-group>
<aff id="aff1"><label>1</label><institution>School of Geriatrics and Elderly Care Industry, Shenyang Medical College</institution>, <city>Shenyang</city>, <state>Liaoning</state>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff2"><label>2</label><institution>Department of Nursing, Beijing Health Vocational College</institution>, <city>Beijing</city>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff3"><label>3</label><institution>Department of Neurology, The Fourth People&#x2019;s Hospital of Shenyang, China Medical University</institution>, <city>Shenyang</city>, <state>Liaoning</state>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff4"><label>4</label><institution>Shenyang Red Cross Hospital</institution>, <city>Shenyang</city>, <state>Liaoning</state>,&#xa0;<country country="cn">China</country></aff>
<author-notes>
<corresp id="c001"><label>*</label>Correspondence: Jinglan Zhang, <email xlink:href="mailto:zhangjinglan@symc.edu.cn">zhangjinglan@symc.edu.cn</email>; Li Zhao, <email xlink:href="mailto:halljolly@163.com">halljolly@163.com</email></corresp>
</author-notes>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2026-02-03">
<day>03</day>
<month>02</month>
<year>2026</year>
</pub-date>
<pub-date publication-format="electronic" date-type="collection">
<year>2026</year>
</pub-date>
<volume>17</volume>
<elocation-id>1652252</elocation-id>
<history>
<date date-type="received">
<day>23</day>
<month>06</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>08</day>
<month>01</month>
<year>2026</year>
</date>
<date date-type="rev-recd">
<day>27</day>
<month>12</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2026 Lin, Xu, Sui, Zou, Zhang and Zhao.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>Lin, Xu, Sui, Zou, Zhang and Zhao</copyright-holder>
<license>
<ali:license_ref start_date="2026-02-03">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
<license-p>This is an open-access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License (CC BY)</ext-link>. The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</license-p>
</license>
</permissions>
<abstract>
<sec>
<title>Objective</title>
<p>To investigate the current status of depression among patients with diabetes and the influencing factors, and to analyze the relationship between Type D personality, social support and depression.</p>
</sec>
<sec>
<title>Methods</title>
<p>This study is a multi-center cross-sectional study. Using the cluster random sampling method, 1000 patients with diabetes were randomly selected from 6 tertiary hospitals in Shenyang from June to August 2024. Data was collected using a questionnaire consisting of the Type D Personality Scale, Perceived Social Support Scale, and Self-rating Depression Scale. Statistical analysis was conducted using SPSS 22.0 and AMOS 24.0. &#x3c7;<sup>2</sup> test, logistic regression model, and decision tree model were employed to investigate the influencing factors of depression in patients with diabetes. The predictive performance of the logistic regression and decision tree models was compared using the ROC curve. Pearson correlation analysis was conducted to examine the correlations between key variables. Additionally, a structural equation model was constructed to explore the relationships among type D personality, social support, and depression, as well as to evaluate the mediating role of social support.</p>
</sec>
<sec>
<title>Results</title>
<p>The ROC curve analysis indicated that the predictive performance of the logistic regression model was marginally superior to that of the decision tree model. Structural equation modeling demonstrated a significant negative association between social support and type D personality (<italic>&#x3b2;</italic> = -0.669, <italic>P</italic> &lt; 0.01) as well as between social support and depression (<italic>&#x3b2;</italic> = -0.370, <italic>P</italic> &lt; 0.01). When social support was treated as a mediating variable, the absolute value of the path coefficient between type D personality and depression decreased (<italic>&#x3b2;</italic> = 0.628, <italic>P</italic>&#xa0;&lt;&#xa0;0.01), suggesting a partial mediating effect.</p>
</sec>
<sec>
<title>Conclusion</title>
<p>The prevalence of depression is higher in patients with diabetes, and type D personality in patients with diabetes increases their risk of developing depression, while social support plays a crucial role in maintaining and regulating mental health, which may reduce the risk of depression. Patients with diabetes who have a type D personality tendency may mediate the development of depression through their perception of social support. Therefore, interventions should aim to strengthen social support for these patients, improve their ability to utilize it, mitigate type D personality traits, and ultimately enhance their mental health.</p>
</sec>
</abstract>
<kwd-group>
<kwd>depression</kwd>
<kwd>Diabetes</kwd>
<kwd>social support</kwd>
<kwd>structural equation modeling</kwd>
<kwd>type D personality</kwd>
</kwd-group>
<funding-group>
<funding-statement>The author(s) declared that financial support was received for this work and/or its publication. This research were funded by the Liaoning Provincial Science and Technology Program Joint Project (Natural Science Foundation - Doctoral Research Initiation Project) (2025-BSLH-384) and the Technical Skills Innovation Platform Project of &#x201c;Foundation Building Action Plan&#x201d; of Beijing Health College (X-JS2026001).</funding-statement>
</funding-group>
<counts>
<fig-count count="3"/>
<table-count count="5"/>
<equation-count count="0"/>
<ref-count count="34"/>
<page-count count="12"/>
<word-count count="6472"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Clinical Diabetes</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Currently, diabetes is considered to be one of the most common chronic diseases in the world. With the development of modern society, living standards have improved, and eating habits are also quite different from the traditional ones. Modern people prefer high-oil, high-salt and high-sugar diets, leading to an increase in the prevalence of obesity. At the same time, the incidence rate of diabetes is also increasing year by year. According to the 10th diabetes map in 2021, the total number of patients with diabetes in the world is about 537 million, which is predicted to increase to 643 million by 2030 and 783 million by 2045. Among the existing patients with diabetes, the number of Chinese patients has reached 114 million. In China, the prevalence of diabetes is 12.8%, indicating that nearly 13 people in every 100 people have diabetes (<xref ref-type="bibr" rid="B1">1</xref>). Other studies have shown that (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B3">3</xref>), patients with diabetes often suffer from psychological and mental diseases, of which depression and anxiety are the main diseases. Diabetes has become a prominent global public health problem and an important cause of death, disease burden, and economic burden.</p>
<p>Depression, as a serious mood disorder, can lead to significant deterioration of physical and social functions (<xref ref-type="bibr" rid="B4">4</xref>). More importantly, diabetes has a long course of the disease, which easily causes more complications, resulting in a heavy mental burden for patients, depression, anxiety, and other negative emotions, thus affecting treatment compliance, leading to poor blood glucose control, and a decline in patients&#x2019; living standards. As the Chinese mental health survey recorded in the Blue Book of Depression shows, the incidence rate of depression among Chinese adult population is 3.4%. Many studies have shown that depression can affect the occurrence and development of diabetes by influencing patients&#x2019; health-related behavior (<xref ref-type="bibr" rid="B5">5</xref>, <xref ref-type="bibr" rid="B6">6</xref>). The question of whether depression is a risk factor for diabetes remains controversial. However, studies indicate that the incidence of depression in patients with diabetes is approximately two to three times higher than in those without diabetes. Studies have found that patients with diabetes have a high burden of depression, with an incidence rate of about 31% (<xref ref-type="bibr" rid="B7">7</xref>) and a reported prevalence in China of 25.9% (<xref ref-type="bibr" rid="B8">8</xref>). In addition, depression generates negative emotions that reduce self-management, treatment compliance, and the abilities for interpersonal relationship management and self-care in patients with diabetes, ultimately contributing to a worsening of their disease status.</p>
<p>Personality attributes are closely related to the occurrence and development of diseases, and indirectly or directly affect individual mental health. Among them, type D personality is considered to be a risk factor for depression in patients with diabetes (<xref ref-type="bibr" rid="B8">8</xref>). Type D personality, also known as &#x201c;depressive personality&#x201d;, is characterized by negative emotions and social suppression. Individuals with type D personalities are more likely to perceive negative emotions such as loneliness, sadness, and anger in daily life and suppress the expression of emotions (<xref ref-type="bibr" rid="B7">7</xref>, <xref ref-type="bibr" rid="B9">9</xref>). Some studies have shown that type D personality is significantly related to diabetes related complications. Moreover, the ability of patients with diabetes with type D personality to comprehend social support is lower than that of patients with non-type D personality, and type D personality is one of the influencing factors of social support of patients.</p>
<p>Social support refers to the personal care and help from others from the social network, including objective material support and subjective emotional support. The types of social support mainly include spiritual and material help and support given to individuals by family members, relatives, friends, community organizations (<xref ref-type="bibr" rid="B10">10</xref>). Social support plays a buffer role in mental health, helping to avoid psychological barriers, improve patients&#x2019; self-management level, improve lifestyle, and enhance blood glucose control (<xref ref-type="bibr" rid="B11">11</xref>, <xref ref-type="bibr" rid="B12">12</xref>). Research indicates that low social support is associated with depression, reduced treatment compliance, and poor glycemic control in patients with diabetes (<xref ref-type="bibr" rid="B13">13</xref>&#x2013;<xref ref-type="bibr" rid="B15">15</xref>), all of which contribute to a decline in their physical and mental health. In addition, family-related social support is significant in improving the treatment compliance of patients with diabetes (<xref ref-type="bibr" rid="B16">16</xref>). The less social support an individual feels, the more likely it is to have negative emotions such as anxiety and depression, to improve the ability to feel social support and reduce the occurrence of negative emotions.</p>
<p>Many studies have explored the relationship between social support and depression. These studies focus on understanding how social support affects depression through mediating factors, or on the mediating role of social support as a mediating variable between type D personality and depression in the elderly. However, in patients with diabetes, limited studies have not clarified the relationship between the three. Some studies have provided relevant evidence that there is a negative correlation between social support and depression in elderly patients with confirmed diabetes. Type D personality has a positive predictive effect on depression in patients with diabetes foot ulcers. Patients with diabetes who have a type D personality tend to have lower levels of social support. Based on this, according to the social support theory, individuals&#x2019; psychological or material support in social relations can alleviate the negative effects of other factors on physical and mental health. We put forward the following four hypotheses.</p>
<list list-type="simple">
<list-item>
<p>Hypothesis 1: Type D personality was positively correlated with depression.</p></list-item>
<list-item>
<p>Hypothesis 2: Type D personality was negatively correlated with social support.</p></list-item>
<list-item>
<p>Hypothesis 3: Social support was negatively correlated with depression.</p></list-item>
<list-item>
<p>Hypothesis 4: Social support played a mediating role between Type D personality and depression.</p></list-item>
</list>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Research participants</title>
<p>In this study, A cross-sectional study was employed to select patients with diabetes who were hospitalized in six tertiary hospitals in Shenyang City from June to August 2024 to conduct a questionnaire survey. The inclusion criteria were as follows: (1) Age &#x2265;18 years old; (2) Meeting the clinical diagnostic criteria for diabetes, fasting plasma glucose greater than or equal to 7.0 mmol/L or plasma glucose value of greater than or equal to 11.1 mmol/L at 2 hours after the 75g glucose to lerance test; (3) Being conscious and capable of communicating and exchanging information with the researcher, (4) Voluntarily participating in this study. The exclusion criteria were as follows: (1) Combined with other serious acute diseases, requiring strict bed rest; (2) Presence of cognitive impairment, auditory dysfunction, etc. affecting the completion of the questionnaire; (3) Confirmed diagnosis of mental disorder.</p>
<p>According to the sample size estimation method of Kendall&#x2019;s multi-factor study, the sample size should be 5 to 10 times the number of the studied variables. This study includes the type D personality scale (14 items), the social support scale (12 items), and the self-rating depression scale (20 items), totaling 46 factors. In this study, we took 10 times the number of the studied factors. Considering that there might be invalid questionnaires in the survey research, we increased the original sample size (460 people) by 10%. Therefore, the sample size to be surveyed should be at least 506 people. A total of 1,000 questionnaires were distributed in this study, with 936 valid questionnaires and a response rate of 93.6%.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Research tools</title>
<sec id="s2_2_1">
<label>2.2.1</label>
<title>Demographic characteristics</title>
<p>Demographic data includes gender, age, ethnicity, height, weight, education level, marital status, work situation, area of residence, family income, chronic disease, family history of diabetes, duration of diabetes, smoking, drinking, daily exercise time, daily sleep time, and types of diabetes complications.</p>
</sec>
<sec id="s2_2_2">
<label>2.2.2</label>
<title>Type D personality scale</title>
<p>We used the type D personality scale developed by the Dutch psychologist Denollet (<xref ref-type="bibr" rid="B17">17</xref>). It consists of 14 items and 2 dimensions: negative emotions(seven items) and social inhibition(seven items). It is scored on a 5-point likert scale, ranging from &#x201c;0-4&#x201d; for &#x201c;very non-conforming&#x201d; to &#x201c;very conforming.&#x201d; Negative emotions and social inhibition with a total score of &gt;10 are considered to be Type D personality. Cronbach&#x2019;s &#x3b1; coefficient was 0.917.</p>
</sec>
<sec id="s2_2_3">
<label>2.2.3</label>
<title>Perceived social support scale</title>
<p>The scale was developed by ZIMET et&#xa0;al (<xref ref-type="bibr" rid="B18">18</xref>). It has 12 entries and 3 dimensions: friend support, family support, and other support. The scale adopts a 7-point likert scale, with &#x201c;1-7&#x201d; indicating &#x201c;strongly disagree&#x201d; to &#x201c;strongly agree&#x201d;, and the total score is the sum of each item, and the higher the total score is, the higher the level of perceived social support is. The higher the total score, the higher the level of social support, of which, 61&#x2013;84 is considered high comprehension social support, 37&#x2013;60 is regarded as medium comprehension social support, and 12&#x2013;36 is regarded as low comprehension social support. Cronbach&#x2019;s &#x3b1; coefficient was 0.837.</p>
</sec>
<sec id="s2_2_4">
<label>2.2.4</label>
<title>Self-rating depression scale</title>
<p>The scale developed by Zung in 1965 (<xref ref-type="bibr" rid="B19">19</xref>). The scale consists of 20 items and four dimensions: psycho-emotional symptoms, physical symptoms, psychomotor symptoms, and psychological symptoms, and adopts a 4-point likert scale ranging from 1&#xa0;=&#x2009;&#x201d;rarely or none of the time&#x201d; to 4 =&#x2009;&#x201d;most or all of the time&#x201d;. The standardized score is less than 53 as no depression, 53&#x2013;62 as mild depression, 63&#x2013;72 as moderate depression, and more than 72 as severe depression. Cronbach&#x2019;s &#x3b1; coefficient was 0.846.</p>
</sec>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Statistical analysis</title>
<p>Using SPSS 26.0, frequencies and constituent ratios were used for description, and the chi-square test was employed for statistical analysis. Variables with statistical significance (<italic>P</italic> &lt; 0.05) were included in the logistic regression model and decision tree model to analyze how these variables affect depression in patients with diabetes. The logistic regression model used whether depression as the dependent variable, and the meaningful variables from the univariate analysis as the independent variables. The decision tree model used the CHAID algorithm, with a maximum tree depth of 3, a minimum sample size of 100 for parent nodes, and a minimum sample size of 50 for child nodes. The receiver operating characteristic (ROC) curves of the logistic regression model and decision tree model were drawn, and the differences between the two models were analyzed by comparing the area under the ROC curve (AUC), sensitivity, and specificity. Pearson correlation analysis was used to explore the relationship between Type D personality, social support, and depression in patients with diabetes. AMOS 24.0 was used to construct a structural equation model, with Type D personality as the independent variable, depression as the dependent variable, and social support as the mediating variable, and parameter estimation was performed using the maximum likelihood method.</p>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>Ethical declaration</title>
<p>This research complies with ethical standards and has been approved by the Ethics Committee of Shenyang Medical College.</p>
</sec>
</sec>
<sec id="s3" sec-type="results">
<label>3</label>
<title>Results</title>
<sec id="s3_1">
<label>3.1</label>
<title>Univariate analysis of depression in patients with diabetes</title>
<p>The results of the <italic>&#x3c7;<sup>2</sup></italic> test analysis showed that there were no statistically significant differences in depression scores among ethnic group, educational level, average monthly family income per person, hypertension, hyperlipidemia, daily sleep time, family history of diabetes, insulin injection, and types of complications (<italic>P</italic>&#xa0;&gt; 0.05); while gender, age, BMI, marital status, work situation, family location, coronary heart disease, stroke, smoking, passive smoking, drinking, daily exercise time, duration of diabetes, and oral hypoglycemic drugs did have statistically significant differences in depression scores (<italic>P</italic> &lt; 0.01, <italic>P</italic> &lt; 0.05). As shown in <xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref>.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Univariate analysis of depression in patients with type 2 diabetes.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Variates</th>
<th valign="middle" align="center">Classification</th>
<th valign="middle" align="center">Number</th>
<th valign="middle" align="center">No depression</th>
<th valign="middle" align="center">Depression</th>
<th valign="middle" align="center">&#x3c7;<sup>2</sup></th>
<th valign="middle" align="center">P</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" rowspan="2" align="center">Gender</td>
<td valign="middle" align="center">Male</td>
<td valign="middle" align="center">503(53.70%)</td>
<td valign="middle" align="center">464(55.00%)</td>
<td valign="middle" align="center">87(41.90%)</td>
<td valign="middle" align="center">5.787</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">Female</td>
<td valign="middle" align="center">433(46.30%)</td>
<td valign="middle" align="center">379(45.00%)</td>
<td valign="middle" align="center">54(58.10%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Age</td>
<td valign="middle" align="center">&lt;60</td>
<td valign="middle" align="center">400(42.70%)</td>
<td valign="middle" align="center">376(44.60%)</td>
<td valign="middle" align="center">24(25.80%)</td>
<td valign="middle" align="center">12.092</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2265;60</td>
<td valign="middle" align="center">536(57.30%)</td>
<td valign="middle" align="center">467(55.40%)</td>
<td valign="middle" align="center">69(74.20%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Ethnicity</td>
<td valign="middle" align="center">Han Chinese</td>
<td valign="middle" align="center">850(90.80%)</td>
<td valign="middle" align="center">763(90.50%)</td>
<td valign="middle" align="center">87(93.50%)</td>
<td valign="middle" align="center">0.927</td>
<td valign="middle" align="center">0.336</td>
</tr>
<tr>
<td valign="middle" align="center">Others</td>
<td valign="middle" align="center">86(9.20%)</td>
<td valign="middle" align="center">80(9.50%)</td>
<td valign="middle" align="center">6(6.50%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">BMI</td>
<td valign="middle" align="center">&lt;28.0</td>
<td valign="middle" align="center">803(85.80%)</td>
<td valign="middle" align="center">732(86.80%)</td>
<td valign="middle" align="center">71(76.30%)</td>
<td valign="middle" align="center">7.559</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2265;28.0</td>
<td valign="middle" align="center">133(14.20%)</td>
<td valign="middle" align="center">111(13.20%)</td>
<td valign="middle" align="center">22(23.70%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Literacy level</td>
<td valign="middle" align="center">High school and below</td>
<td valign="middle" align="center">502(53.60%)</td>
<td valign="middle" align="center">446(52.90%)</td>
<td valign="middle" align="center">56(60.20%)</td>
<td valign="middle" align="center">1.799</td>
<td valign="middle" align="center">0.180</td>
</tr>
<tr>
<td valign="middle" align="center">Above high school</td>
<td valign="middle" align="center">434(46.40%)</td>
<td valign="middle" align="center">397(47.10%)</td>
<td valign="middle" align="center">37(39.80%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Marital status</td>
<td valign="middle" align="center">Married</td>
<td valign="middle" align="center">827(88.40%)</td>
<td valign="middle" align="center">738(87.50%)</td>
<td valign="middle" align="center">89(95.70%)</td>
<td valign="middle" align="center">5.413</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">Others</td>
<td valign="middle" align="center">109(11.60%)</td>
<td valign="middle" align="center">105(12.50%)</td>
<td valign="middle" align="center">4(4.30%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Work situation</td>
<td valign="middle" align="center">Retirement</td>
<td valign="middle" align="center">627(67.00%)</td>
<td valign="middle" align="center">556(66.00%)</td>
<td valign="middle" align="center">71(76.30%)</td>
<td valign="middle" align="center">4.088</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">Others</td>
<td valign="middle" align="center">309(33.00%)</td>
<td valign="middle" align="center">287(34.00%)</td>
<td valign="middle" align="center">22(23.70%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Home location</td>
<td valign="middle" align="center">Urban</td>
<td valign="middle" align="center">674(72.00%)</td>
<td valign="middle" align="center">619(73.40%)</td>
<td valign="middle" align="center">55(59.10%)</td>
<td valign="middle" align="center">8.484</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">Rural</td>
<td valign="middle" align="center">262(28.00%)</td>
<td valign="middle" align="center">224(26.60%)</td>
<td valign="middle" align="center">38(40.90%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Monthly income</td>
<td valign="middle" align="center">&#x2264;4000</td>
<td valign="middle" align="center">605(64.60%)</td>
<td valign="middle" align="center">542(64.30%)</td>
<td valign="middle" align="center">63(67.70%)</td>
<td valign="middle" align="center">0.436</td>
<td valign="middle" align="center">0.509</td>
</tr>
<tr>
<td valign="middle" align="center">&gt;4000</td>
<td valign="middle" align="center">331(35.40%)</td>
<td valign="middle" align="center">301(35.70%)</td>
<td valign="middle" align="center">30(32.30%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Hypertension</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">611(65.00%)</td>
<td valign="middle" align="center">542(64.30%)</td>
<td valign="middle" align="center">69(74.20%)</td>
<td valign="middle" align="center">3.621</td>
<td valign="middle" align="center">0.057</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">325(34.70%)</td>
<td valign="middle" align="center">301(35.70%)</td>
<td valign="middle" align="center">24(25.80%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Hyperlipidemia</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">94(10.00%)</td>
<td valign="middle" align="center">86(10.20%)</td>
<td valign="middle" align="center">8(8.60%)</td>
<td valign="middle" align="center">0.237</td>
<td valign="middle" align="center">0.626</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">842(90.00%)</td>
<td valign="middle" align="center">757(89.80%)</td>
<td valign="middle" align="center">85(91.40%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Coronary heart disease</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">291(31.10%)</td>
<td valign="middle" align="center">246(29.20%)</td>
<td valign="middle" align="center">45(48.40%)</td>
<td valign="middle" align="center">14.421</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">645(68.90%)</td>
<td valign="middle" align="center">597(70.80%)</td>
<td valign="middle" align="center">48(51.60%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Stroke</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">225(24.00%)</td>
<td valign="middle" align="center">184(21.80%)</td>
<td valign="middle" align="center">41(44.10%)</td>
<td valign="middle" align="center">22.728</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">711(76.00%)</td>
<td valign="middle" align="center">659(78.20%)</td>
<td valign="middle" align="center">52(55.90%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Smoking</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">512(54.70%)</td>
<td valign="middle" align="center">478(56.70%)</td>
<td valign="middle" align="center">34(36.60%)</td>
<td valign="middle" align="center">13.715</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">424(45.30%)</td>
<td valign="middle" align="center">365(43.30%)</td>
<td valign="middle" align="center">59(63.40%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Passive smoking</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">393(42.00%)</td>
<td valign="middle" align="center">344(40.80%)</td>
<td valign="middle" align="center">49(52.70%)</td>
<td valign="middle" align="center">4.854</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">543(58.00%)</td>
<td valign="middle" align="center">499(59.20%)</td>
<td valign="middle" align="center">44(47.30%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Drinking alcohol</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">452(48.30%)</td>
<td valign="middle" align="center">426(50.50%)</td>
<td valign="middle" align="center">26(28.00%)</td>
<td valign="middle" align="center">17.097</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">484(51.70%)</td>
<td valign="middle" align="center">417(49.50%)</td>
<td valign="middle" align="center">67(72.00%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Sleeping time</td>
<td valign="middle" align="center">&lt;8 hours</td>
<td valign="middle" align="center">387(41.30%)</td>
<td valign="middle" align="center">347(41.20%)</td>
<td valign="middle" align="center">40(43.00%)</td>
<td valign="middle" align="center">0.118</td>
<td valign="middle" align="center">0.731</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2265;8 hours</td>
<td valign="middle" align="center">549(58.70%)</td>
<td valign="middle" align="center">496(58.80%)</td>
<td valign="middle" align="center">53(57.00%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Physical activity time</td>
<td valign="middle" align="center">&#x2264;1hours</td>
<td valign="middle" align="center">764(81.60%)</td>
<td valign="middle" align="center">672(79.70%)</td>
<td valign="middle" align="center">92(98.90%)</td>
<td valign="middle" align="center">20.606</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">&gt;1hours</td>
<td valign="middle" align="center">172(18.40%)</td>
<td valign="middle" align="center">171(20.30%)</td>
<td valign="middle" align="center">1(1.10%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Family history of diabetes</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">535(57.20%)</td>
<td valign="middle" align="center">482(57.20%)</td>
<td valign="middle" align="center">53(57.00%)</td>
<td valign="middle" align="center">0.001</td>
<td valign="middle" align="center">0.972</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">401(42.80%)</td>
<td valign="middle" align="center">361(42.80%)</td>
<td valign="middle" align="center">40(43.00%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Duration of diabetes</td>
<td valign="middle" align="center">&lt;10years</td>
<td valign="middle" align="center">596(63.70%)</td>
<td valign="middle" align="center">523(62.00%)</td>
<td valign="middle" align="center">73(78.50%)</td>
<td valign="middle" align="center">9.804</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2265;10years</td>
<td valign="middle" align="center">340(36.30%)</td>
<td valign="middle" align="center">320(38.00%)</td>
<td valign="middle" align="center">20(21.50%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Oral hypoglycemic drugs</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">443(47.30%)</td>
<td valign="middle" align="center">408(48.40%)</td>
<td valign="middle" align="center">35(37.60%)</td>
<td valign="middle" align="center">3.893</td>
<td valign="middle" align="center">&lt;0.05</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">493(52.70%)</td>
<td valign="middle" align="center">435(51.60%)</td>
<td valign="middle" align="center">58(62.40%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Insulin injection</td>
<td valign="middle" align="center">Yes</td>
<td valign="middle" align="center">486(51.90%)</td>
<td valign="middle" align="center">434(51.50%)</td>
<td valign="middle" align="center">52(55.90%)</td>
<td valign="middle" align="center">0.659</td>
<td valign="middle" align="center">0.417</td>
</tr>
<tr>
<td valign="middle" align="center">No</td>
<td valign="middle" align="center">450(48.10%)</td>
<td valign="middle" align="center">409(48.50%)</td>
<td valign="middle" align="center">41(44.10%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" rowspan="2" align="center">Diabetes complications</td>
<td valign="middle" align="center">&#x2264;2 kinds</td>
<td valign="middle" align="center">636(67.90%)</td>
<td valign="middle" align="center">567(67.30%)</td>
<td valign="middle" align="center">69(74.20%)</td>
<td valign="middle" align="center">1.849</td>
<td valign="middle" align="center">0.174</td>
</tr>
<tr>
<td valign="middle" align="center">&gt;2 kinds</td>
<td valign="middle" align="center">300(32.10%)</td>
<td valign="middle" align="center">276(32.70%)</td>
<td valign="middle" align="center">24(25.80%)</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>*<italic>p</italic>&lt;0.05, **<italic>p</italic>&lt;0.01.</p></fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Binary logistic regression analysis of the influencing factors of depression in patients with diabetes</title>
<p>Taking whether patients with diabetes are depressed as the dependent variable (0 = no, 1 = yes), and using 14 independent variables including gender, age, BMI, marital status, work situation, family location, coronary heart disease, stroke, smoking, passive smoking, drinking, daily exercise time, duration of diabetes, and oral hypoglycemic drugs as independent variables, a binary logistic regression analysis was conducted. The results showed that gender, age, marital status, family location, coronary heart disease, stroke, and exercise time were the main factors contributing to depression in patients with diabetes. Among them, female gender, age &#x2265; 60 years old, rural location, having coronary heart disease, having stroke, and daily exercise time &#x2264; 1 hour were risk factors for depression in patients with diabetes, while other marital statuses were protective factors for depression. As shown in <xref ref-type="table" rid="T2"><bold>Table&#xa0;2</bold></xref>.</p>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Binary logistic regression analysis of factors affecting depression in diabetic patients.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Variates</th>
<th valign="middle" align="center">Classification</th>
<th valign="middle" align="center">B</th>
<th valign="middle" align="center">SE</th>
<th valign="middle" align="center"><italic>Wald</italic></th>
<th valign="middle" align="center"><italic>P</italic></th>
<th valign="middle" align="center">OR</th>
<th valign="middle" colspan="2" align="center">95%CI</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Gender</td>
<td valign="middle" align="center" style="background-color:#ffffff">Male vs Female</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.605</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.248</td>
<td valign="middle" align="center" style="background-color:#ffffff">5.977</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.05</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.832</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.128</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.976</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Age</td>
<td valign="middle" align="center" style="background-color:#ffffff">&lt;60 vs &#x2265;60</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.648</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.534</td>
<td valign="middle" align="center" style="background-color:#ffffff">9.534</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.01</td>
<td valign="middle" align="center" style="background-color:#ffffff">5.198</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.826</td>
<td valign="middle" align="center" style="background-color:#ffffff">14.8</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">BMI</td>
<td valign="middle" align="center" style="background-color:#ffffff">&lt;28.0 vs &#x2265;28.0</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.452</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.293</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.378</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.123</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.572</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.885</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.792</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Marital status</td>
<td valign="middle" align="center" style="background-color:#ffffff">Married vs Others</td>
<td valign="middle" align="center" style="background-color:#ffffff">-1.363</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.552</td>
<td valign="middle" align="center" style="background-color:#ffffff">6.092</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.05</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.256</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.087</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.755</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Work situation</td>
<td valign="middle" align="center" style="background-color:#ffffff">Retirement vs Others</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.803</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.542</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.197</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.138</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.233</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.772</td>
<td valign="middle" align="center" style="background-color:#ffffff">6.459</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Home location</td>
<td valign="middle" align="center" style="background-color:#ffffff">Urban vs Rural</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.541</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.247</td>
<td valign="middle" align="center" style="background-color:#ffffff">4.814</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.05</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.718</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.059</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.785</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Coronary heart disease</td>
<td valign="middle" align="center" style="background-color:#ffffff">No vs Yes</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.721</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.25</td>
<td valign="middle" align="center" style="background-color:#ffffff">8.306</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.01</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.057</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.260</td>
<td valign="middle" align="center" style="background-color:#ffffff">3.359</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Stroke</td>
<td valign="middle" align="center" style="background-color:#ffffff">No vs Yes</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.875</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.246</td>
<td valign="middle" align="center" style="background-color:#ffffff">12.635</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.01</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.398</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.481</td>
<td valign="middle" align="center" style="background-color:#ffffff">3.885</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Smoking</td>
<td valign="middle" align="center" style="background-color:#ffffff">No vs Yes</td>
<td valign="middle" align="center" style="background-color:#ffffff">-0.009</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.334</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.001</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.977</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.991</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.514</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.908</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Passive smoking</td>
<td valign="middle" align="center" style="background-color:#ffffff">No vs Yes</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.229</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.254</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.815</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.367</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.258</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.764</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.069</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Drinking alcohol</td>
<td valign="middle" align="center" style="background-color:#ffffff">No vs Yes</td>
<td valign="middle" align="center" style="background-color:#ffffff">-0.641</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.373</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.955</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.086</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.527</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.254</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.094</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Physical activity time</td>
<td valign="middle" align="center" style="background-color:#ffffff">&gt;1hours vs &#x2264;1hours</td>
<td valign="middle" align="center" style="background-color:#ffffff">2.623</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.025</td>
<td valign="middle" align="center" style="background-color:#ffffff">6.543</td>
<td valign="middle" align="center" style="background-color:#ffffff">P&lt;0.05</td>
<td valign="middle" align="center" style="background-color:#ffffff">13.77</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.846</td>
<td valign="middle" align="center" style="background-color:#ffffff">102.718</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Duration of diabetes</td>
<td valign="middle" align="center" style="background-color:#ffffff">&#x2265;10years vs &lt;10years</td>
<td valign="middle" align="center" style="background-color:#ffffff">-0.022</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.303</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.005</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.943</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.979</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.54</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.773</td>
</tr>
<tr>
<td valign="middle" align="center" style="background-color:#ffffff">Oral hypoglycemic drugs</td>
<td valign="middle" align="center" style="background-color:#ffffff">No vs Yes</td>
<td valign="middle" align="center" style="background-color:#ffffff">-0.279</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.249</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.254</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.263</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.757</td>
<td valign="middle" align="center" style="background-color:#ffffff">0.465</td>
<td valign="middle" align="center" style="background-color:#ffffff">1.232</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Decision tree model for influencing factors of depression in patients with diabetes</title>
<p>The decision tree model for the influencing factors of depression in patients with diabetes was grown into 4 layers, with 9 nodes and 5 terminal nodes, as shown in <xref ref-type="fig" rid="f1"><bold>Figure&#xa0;1</bold></xref>. The model results indicated that stroke, alcohol consumption, passive smoking, and coronary heart disease were important influencing factors for depression. Among them, the root node was age, indicating that the correlation between stroke and depression was the highest. Among patients with diabetes, the depression detection rate was higher in those with a history of stroke (18.2%) than in those without (7.3%). The second layer variable of the decision tree was alcohol consumption. In the subgroup without stroke, the depression detection rate of patients with diabetes who did not drink alcohol was higher (11.70%). The third layer variable was passive smoking and coronary heart disease. Among patients with diabetes who did not consume alcohol, the depression detection rate was higher in those exposed to passive smoking (17.2%) than in those not exposed (5.4%). Among those who consumed alcohol, the rate was higher in patients with diabetes with coronary heart disease (6.7%) than in those without (1.5%).</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>Decision tree model.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-17-1652252-g001.tif">
<alt-text content-type="machine-generated">Decision tree diagram showing the relationship between depression, stroke, drinking alcohol, passive smoking, and coronary heart disease. The tree starts with depression, followed by nodes representing stroke (Node 0), drinking alcohol (Node 1 and Node 2), passive smoking (Node 3 and Node 4), and coronary heart disease (Node 5 to Node 8). Percentages and sample sizes (n) are displayed for each node, alongside statistical values such as adjusted P-value, Chi-square, and degrees of freedom. The diagram visually maps the branching paths of these health factors.</alt-text>
</graphic></fig>
</sec>
<sec id="s3_4">
<label>3.4</label>
<title>Comparison of logistic regression model and decision tree model for factors affecting depression in patients with diabetes</title>
<p>Both the logistic regression and decision tree model results indicated that stroke and coronary heart disease were the main influencing factors for depression in patients with diabetes. By using the predicted probabilities obtained from the two models as the test variables to draw the ROC curve, as shown in <xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref>, it can be seen that the effects of the two models are similar, but there are also certain differences. Gender, age, marital status, place of residence, and daily exercise time were statistically significant in the logistic regression analysis, but were excluded in the decision tree model. In the ROC curve, the area under the curve of the logistic regression analysis was 0.811 (95% CI: 0.722, 0.849), with a sensitivity of 79.60% and a specificity of 72.00%; the area under the curve of the decision tree model was 0.717 (95% CI: 0.671, 0.764), with a sensitivity of 79.60% and a specificity of 59.30%, both of which were statistically significant (<italic>P</italic> &lt; 0.05), as shown in <xref ref-type="table" rid="T3"><bold>Table&#xa0;3</bold></xref>. The area under the curve of the logistic regression analysis was slightly larger than that of the decision tree model, indicating that the effect of logistic regression analysis was better than that of the decision tree.</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>Direct effect of type D personality and depression in diabetics.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-17-1652252-g002.tif">
<alt-text content-type="machine-generated">Diagram showing a connection between &#x201c;Type D personality&#x201d; and &#x201c;Depression&#x201d; with an arrow. The path is labeled with the value 0.887, suggesting a statistical relationship.</alt-text>
</graphic></fig>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>ROC curve indicators of the logistic regression model and the decision tree model.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Classification of model</th>
<th valign="middle" align="center">AUC</th>
<th valign="middle" align="center">95%CI</th>
<th valign="middle" align="center">Cut-off</th>
<th valign="middle" align="center">Sensitivity(%)</th>
<th valign="middle" align="center">Specificity(%)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">Logistic regression model</td>
<td valign="middle" align="center">0.811</td>
<td valign="middle" align="center">0.772,0.849</td>
<td valign="middle" align="center">0.516</td>
<td valign="middle" align="center">79.60</td>
<td valign="middle" align="center">72.00</td>
</tr>
<tr>
<td valign="middle" align="center">Decision tree</td>
<td valign="middle" align="center">0.717</td>
<td valign="middle" align="center">0.671,0.764</td>
<td valign="middle" align="center">0.483</td>
<td valign="middle" align="center">79.60</td>
<td valign="middle" align="center">59.30</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_5">
<label>3.5</label>
<title>Correlation among study variables</title>
<p>Pearson correlation analysis of type D personality, social support, and depression in patients with diabetes showed that type D personality was significantly positively correlated with depression (<italic>r</italic> = 0.464, <italic>P</italic> &lt; 0.01), type D personality was significantly negatively correlated with social support (<italic>r</italic> = -0.356, <italic>P</italic> &lt; 0.01), and social support was significantly negatively correlated with depression (<italic>r</italic> = -0.322, <italic>P</italic> &lt; 0.01). As shown in <xref ref-type="table" rid="T4"><bold>Table&#xa0;4</bold></xref>.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>Correlation analysis of type D personality, social support, and depression.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Variables</th>
<th valign="middle" align="center">Type D personality</th>
<th valign="middle" align="center">Social support</th>
<th valign="middle" align="center">Depression</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">Type D personality</td>
<td valign="middle" align="center">1</td>
<td valign="middle" align="center"/>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" align="center">Social support</td>
<td valign="middle" align="center">-0.356**</td>
<td valign="middle" align="center">1</td>
<td valign="middle" align="center"/>
</tr>
<tr>
<td valign="middle" align="center">Depression</td>
<td valign="middle" align="center">0.464**</td>
<td valign="middle" align="center">-0.322**</td>
<td valign="middle" align="center">1</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>**<italic>p</italic>&lt;0.01.</p></fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s3_6">
<label>3.6</label>
<title>Structural equation modeling analysis of type D personality, social support, and depression</title>
<p>A structural equation model was constructed using AMOS 24.0, taking type D personality in patients with diabetes as the independent variable, social support as the mediator, and depression as the dependent variable. The results of the model showed that type D personality not only directly affects depression, but also has a significant indirect effect on depression through social support. The direct path of type D personality affecting depression is shown in <xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref>, indicating a significant effect of type D personality on depression (<italic>&#x3b2;</italic> = 0.887, <italic>P</italic> &lt; 0.01). All the fit indices of the model were met(&#x3c7;<sup>2</sup>/df=3.514&lt;5,CFI= 0.914&gt;0.9, RMSEA = 0.064&lt;0.10, TLI = 0.905&gt;0.9, IFI = 0.917&gt;0.9, NFI = 0.894&gt;0.8).</p>
<p>The indirect pathway from Type D personality to depression mediated by social support is shown in <xref ref-type="fig" rid="f3"><bold>Figure&#xa0;3</bold></xref>. All the fit indices of the model were met(&#x3c7;<sup>2</sup>/df=4.853&lt;5,CFI= 0.879&gt;0.8, RMSEA = 0.064&lt;0.10, TLI = 0.870&gt;0.8, IFI = 0.880&gt;0.8, NFI = 0.853&gt;0.8). The results showed that social support was significantly associated with both type D personality (<italic>&#x3b2;</italic> = -0.669, <italic>P</italic> &lt; 0.01) and depression (<italic>&#x3b2;</italic> = -0.370, <italic>P</italic> &lt; 0.01). The absolute value of the path coefficient between type D personality and depression decreased when social support was used as a mediator (<italic>&#x3b2;</italic> = 0.628, <italic>P</italic> &lt; 0.01), and in the present study, controlling for the mediator variable, the effect of the independent variable on the dependent variable decreased, suggesting that social support plays a mediating role in the relationship between type D personality and depression.</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Structural equation modeling of social support in type D personality and depression in diabetics.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-17-1652252-g003.tif">
<alt-text content-type="machine-generated">Diagram showing relationships between Type D personality, social support, and depression. Arrows indicate influence, with Type D personality negatively impacting social support (-0.669**), which in turn negatively affects depression (-0.370**). Additionally, Type D personality has a direct positive effect on depression (0.628**).</alt-text>
</graphic></fig>
<p>From the results of the SEM model path test, it can be seen that there is a negative correlation between type D personality and social support in patients with diabetes, and there is a positive correlation with depression; there is a negative correlation between social support and depression. The path coefficients and their specific results are shown in <xref ref-type="table" rid="T5"><bold>Table&#xa0;5</bold></xref>.</p>
<table-wrap id="T5" position="float">
<label>Table&#xa0;5</label>
<caption>
<p>Structural equation modeling path relationship test results.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Path</th>
<th valign="middle" align="center">Estimate</th>
<th valign="middle" align="center">S.E.</th>
<th valign="middle" align="center">C.R.</th>
<th valign="middle" align="center">P</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">Type D personality&#x2192;Social support</td>
<td valign="middle" align="center">-0.669</td>
<td valign="middle" align="center">0.073</td>
<td valign="middle" align="center">-14.179</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">Type D personality&#x2192;Depression</td>
<td valign="middle" align="center">0.628</td>
<td valign="middle" align="center">0.033</td>
<td valign="middle" align="center">3.710</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="center">Social support&#x2192;Depression</td>
<td valign="middle" align="center">-0.370</td>
<td valign="middle" align="center">0.016</td>
<td valign="middle" align="center">-2.932</td>
<td valign="middle" align="center">&lt;0.01</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s4" sec-type="discussion">
<label>4</label>
<title>Discussion</title>
<sec id="s4_1">
<label>4.1</label>
<title>Psychological and social risk factors and underlying mechanisms associated with the development of diabetes in individuals with type D personality</title>
<p>The type D personality, as a stable psychological trait, is characterized by negative emotional tendencies and social inhibition. In patients with diabetes, this trait significantly increases the risk of depression and complicates disease management through interconnected psychosocial and biological mechanisms. At the behavioral level, persistent negative emotions and social inhibition impair treatment adherence and self-management capacity, manifesting as inconsistent medication use, irregular blood glucose monitoring, poor dietary control, and reduced engagement in social interactions and group activities&#x2014;ultimately leading to decreased daily physical activity. At the physiological level, individuals with type D personality and diabetes often experience chronic stress, resulting in sustained activation of the hypothalamic-pituitary-adrenal axis and excessive cortisol secretion. Elevated cortisol levels not only reduce insulin sensitivity and promote hepatic gluconeogenesis and glycogenolysis, thereby exacerbating glycemic fluctuations, but also suppress immune function and increase susceptibility to complications. Furthermore, negative emotions and diminished self-efficacy contribute to a vicious cycle that reinforces negative perceptions of health status, intensifying emotional distress and psychological burden. Consequently, through dual pathways&#x2014;behavioral maladaptation and neuroendocrine dysregulation&#x2014;type D personality contributes to poor glycemic control, higher complication rates, and increased vulnerability to depression, illustrating the complex interplay between psychological traits and metabolic dysfunction within a multifactorial framework.</p>
</sec>
<sec id="s4_2">
<label>4.1</label>
<title>Higher prevalence of depression in patients with diabetes</title>
<p>The results of this study showed that the prevalence of depressive symptoms in patients with diabetes was 49.1%, consistent with previous findings (<xref ref-type="bibr" rid="B20">20</xref>). This rate was notably higher than the 12.3% reported in an international study by Angela Chieh (<xref ref-type="bibr" rid="B21">21</xref>) and the 21.3% reported for hospitalized patients with type 2 diabetes in another study (<xref ref-type="bibr" rid="B22">22</xref>). This difference may be because the present study used a larger sample size to reduce sampling error and improve the representativeness and accuracy of the findings, thus revealing a more complete picture of the prevalence and severity of depression in the patients with diabetes population. There are differences in the prevalence of depression, which may also be related to different regions, different populations, changes in medical conditions depression screening methods, so it is extremely important to explore the influencing factors of depression in patients with diabetes.</p>
<p>This study employed the Self-Rating Depression Scale, which is widely used among various populations and is applicable to diabetic inpatients. This scale has been used in previous studies to assess the depressive symptoms of diabetic patients and has demonstrated good reliability and validity (<xref ref-type="bibr" rid="B23">23</xref>). In this study, the Cronbach&#x2019;s &#x3b1; coefficient of SDS was 0.917, indicating that it has good internal consistency within the sample and supports its reliability for use in hospitalized diabetic patients. Hospitalized patients often have more severe disease conditions, acute complications, or are undergoing treatment, which may contribute to higher levels of psychological stress compared to community-dwelling diabetic patients, leading to an increased prevalence of detected depression. Furthermore, the hospital environment may restrict patients&#x2019; daily activities and social interactions, potentially impairing their perceived social support and emotional well-being. Future research should systematically compare depression levels between hospitalized and non-hospitalized patients with diabetes to clarify the influence of clinical setting on mental health outcomes.</p>
</sec>
<sec id="s4_3">
<label>4.2</label>
<title>Factors influencing depression in patients with diabetes</title>
<p>By combining the analysis results of the logistic regression and decision tree models, it was found that stroke and coronary heart disease are the main factors contributing to depression. Gender, age, marital status, place of residence in the family, and daily exercise time have statistical significance in the logistic regression model, but they did not enter the decision tree model. On one hand, this might be due to the depth of the decision tree and the sample size limit of each node. Some potential influencing factors failed to be fully manifested in the current model and might be captured in a deeper decision tree model. On the other hand, it could be that the influence of some variables is relatively small and they were eliminated during the model growth and pruning process. However, existing studies have confirmed that gender, age, place of residence in the family, and exercise time are closely related to depression (<xref ref-type="bibr" rid="B24">24</xref>&#x2013;<xref ref-type="bibr" rid="B26">26</xref>). Patients with diabetes suffering from coronary heart disease and stroke are more prone to depression, mainly due to the severity and suddenness of cardiovascular and cerebrovascular diseases, which leads to a decrease in the quality of life of patients with diabetes, increasing their tension and psychological burden, which in turn leads to depressive symptoms (<xref ref-type="bibr" rid="B27">27</xref>). In this study, the efficacy of the logistic regression model was superior to that of the decision tree model. However, the sensitivities of the two models were the same. In practical applications, these two models can complement each other and provide valuable references and guidance for the mental health work of undergraduate students majoring in medical and elderly care health from different perspectives. In this study, the efficacy of the logistic regression model was superior to that of the decision tree model. However, the sensitivities of the two models were the same. In practical applications, these two models can complement each other and provide valuable references and guidance for the mental health work of undergraduate students majoring in medicine and geriatric care from different perspectives. The results of the logistic regression model offer precise influence coefficients, which help to deeply understand the direction and degree of each factor&#x2019;s impact on depression. The decision tree model provides an intuitive decision process and a clear tree structure, capable of identifying key decision paths and variable combinations. The combination of these two models can improve the reliability and robustness of the analysis results by comparing the consistency of different prediction results, providing a novel method for a more comprehensive study of the impact of depression in diabetic patients and the predictive factors.</p>
</sec>
<sec id="s4_4">
<label>4.3</label>
<title>Relationship between type D personality and depression in patients with diabetes</title>
<p>The results of Pearson&#x2019;s correlation analysis in this study showed a significant positive correlation between type D personality and depression in patients with diabetes (<italic>P</italic> &lt; 0.01), the higher the score of type D personality, the more severe the patients&#x2019; depression, which is consistent with the results of a cross-sectional study (<xref ref-type="bibr" rid="B28">28</xref>). The results of regression and structural equation modeling showed that type D personality in Chinese patients with diabetes has a direct effect on the occurrence of depression, which can directly lead to an increased risk of depression. This finding is consistent with the results of a prospective observational study by Yamaguchi et&#xa0;al., which enrolled 89 patients with coronary heart disease. Using logistic regression analysis, the study found a significant positive association between Type D personality and depressive mood (<xref ref-type="bibr" rid="B23">23</xref>). Type D personality is mainly manifested in two aspects, namely, negative emotions and social inhibition, and related studies have shown that people with high levels of negative emotions and social inhibition are more likely to experience worry, anger, frustration, and despair (<xref ref-type="bibr" rid="B29">29</xref>) patients with diabetes with type D personality are interested in the disease itself, excessive worry about possible complications and treatment costs may exacerbate their negative emotions such as anxiety and pessimism, which in turn may lead to depressive symptoms. At the same time, long-term blood glucose monitoring, medication, and lifestyle management may cause patients with diabetes to feel depressed, tired, and frustrated. Patients with type D personality have difficulties in socialization, which may lead to loneliness and exclusion in their interactions with others, further exacerbating the depressive mood.</p>
<p>Type D personality is a significant psychosocial risk factor, particularly among patients with cardiovascular diseases, and is strongly associated with adverse prognosis and diminished psychological well-being. This personality trait not only directly impairs emotion regulation but may also indirectly increase the likelihood of depression onset. Characterized by negative emotional tendencies and social inhibition, individuals with type D personality are more vulnerable to chronic stress, which in turn elevates susceptibility to negative emotional states such as depression. The progression from a stable personality disposition to recurrent emotional distress influences how individuals perceive and respond to stress, often resulting in avoidance or passive coping strategies that further intensify psychological strain. Furthermore, psychosocial risk factors rarely occur in isolation; instead, they tend to co-occur within individuals, creating an interplay among personality, emotional functioning, and stress responses. This dynamic interaction collectively impacts mental health outcomes, contributing to the emergence and persistence of depressive symptoms. Therefore, attention should be paid to the type D personality tendency in patients with diabetes to avoid the impact of type D personality on their mental health.</p>
</sec>
<sec id="s4_5">
<label>4.4</label>
<title>Relationship between social support and depression in patients with diabetes</title>
<p>The main effect model in the social support theory believes that social support can promote the physical and mental health of individuals, the level of social support felt by individuals is positively correlated with the level of physical and mental health, and the results of Pearson&#x2019;s correlation analysis in the present study showed that the social support of patients with diabetes was significantly negatively correlated with depression (<italic>P</italic> &lt; 0.01), patients with a stronger ability to comprehend social support had a lower degree of depression, which is consistent with the theory. The results of regression and structural equation modeling showed that social support in Chinese patients with diabetes had a direct effect on the occurrence of depression, which could directly reduce the risk of depression and was a protective factor for depression, which was consistent with the results of previous studies (<xref ref-type="bibr" rid="B30">30</xref>, <xref ref-type="bibr" rid="B31">31</xref>). Social support is associated with the development of diabetes-related problems and psychological well-being, and when patients with diabetes comprehend social support, they feel cared for, accepted, and appreciated, their subjective well-being rises, and they adopt a positive attitude toward their chronic disease (<xref ref-type="bibr" rid="B32">32</xref>). The provision of social support by spouses, family, and friends may influence the attitude of patients with diabetes towards the disease, and patients with greater ability to comprehend social support are more relaxed in their psychological state and deal with their health problems more positively.</p>
</sec>
<sec id="s4_6">
<label>4.5</label>
<title>The mediating role of social support between type D personality and depression</title>
<p>The buffering effect model of social support theory suggests that individuals who receive psychological or material support in social relationships can mitigate the negative effects of other factors on physical and mental health, and the findings of this study are consistent with this theory, type D personality not only has a direct effect on depression in patients with diabetes but also has an indirect effect on depression through the mediating path of social support. The present study showed that patients with diabetes with D personality were more likely to experience depressive symptoms, and improving their ability to feel social support may reduce the probability of depressive symptoms, which is consistent with a study in China (<xref ref-type="bibr" rid="B33">33</xref>). Social support is a mediator between type D personality and depressive mood, probably because patients with type D personality traits have the manifestation of social inhibition, which suppresses the expression of emotions and behaviors in social interaction, leading to higher levels of social detachment in the long term, which in turn may lead to a decrease in the social support they receive and a decrease in the utilization of social support, resulting in negative moods such as anxiety and depression (<xref ref-type="bibr" rid="B34">34</xref>). Therefore, attention should be paid to the social support of patients with diabetes with type D personality traits, which can be used to promote the physical and mental health of patients with diabetes by providing more social support with the improvement of the patient&#x2019;s ability to comprehend social support.</p>
<p>First, type D personality has been reported as a risk factor for depression in patients with cardiovascular and cerebrovascular diseases. However, this study, through a structural equation model, clearly confirmed that in the group of hospitalized diabetic patients, type D personality has a positive effect on depressive mood. Second, through a large sample survey and regression analysis, this study further confirmed the negative effect of social support on depression in diabetic patients. Third, it deeply explored the intrinsic relationship between type D personality and social support in diabetic patients. The research results show that diabetic patients with type D personality have significantly lower levels of perceived social support. That is, type D personality not only directly causes emotional distress but may also indirectly affect their social support system. Fourth, an intermediary model was constructed and verified in diabetic patients, indicating that social support plays a partial mediating role between type D personality and depression. That is, type D personality can directly increase the risk of depression and also indirectly cause depression by reducing patients&#x2019; ability to perceive social support.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Limitation</title>
<p>At present, there are limitations in this present study. First, only one city was selected for this study, which may limit the generalizability of the study. Second, the results of this study may be limited by unmeasured confounders such as individual social status and regional differences in health levels.</p>
</sec>
<sec id="s6" sec-type="conclusions">
<label>6</label>
<title>Conclusion</title>
<p>This study, focusing on hospitalized patients with diabetes in China, employed structural equation modeling to confirm that social support partially mediates the relationship between Type D personality and depression. These findings indicate that Type D personality not only directly increases the risk of depression but also indirectly contributes to depression by diminishing patients&#x2019; perceived levels of social support. Moreover, the study revealed that the prevalence of depressive symptoms among hospitalized diabetic patients in China is substantially higher than that observed in most outpatient or community-based populations, underscoring the severity of mental health issues within this clinical group. Furthermore, by comparing logistic regression and decision tree models, the study demonstrated that logistic regression offers superior predictive accuracy for this type of data, thereby providing a methodological reference for future research.</p>
</sec>
</body>
<back>
<sec id="s7" sec-type="data-availability">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p></sec>
<sec id="s8" sec-type="ethics-statement">
<title>Ethics statement</title>
<p>The studies involving humans were approved by Ethics Committee of Shenyang Medical College. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.</p></sec>
<sec id="s9" sec-type="author-contributions">
<title>Author contributions</title>
<p>YL: Writing &#x2013; original draft. NX: Supervision, Conceptualization, Writing &#x2013; review &amp; editing. YS: Investigation, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. QZ: Investigation, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. JZ: Resources, Writing &#x2013; review &amp; editing. LZ: Investigation, Methodology, Software, Supervision, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing.</p></sec>
<ack>
<title>Acknowledgments</title>
<p>The author would like to express sincere gratitude to all patients who participated in this survey.</p>
</ack>
<sec id="s11" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p></sec>
<sec id="s12" sec-type="ai-statement">
<title>Generative AI statement</title>
<p>The author(s) declared that generative AI was not used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p></sec>
<sec id="s13" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1</label>
<mixed-citation publication-type="book">
<person-group person-group-type="author"><collab>International Diabetes Federation</collab>
</person-group>. <source>IDF diabetes atlas</source>, <edition>10th ed</edition>. <publisher-loc>Brussels</publisher-loc>: 
<publisher-name>International Diabetes Federation</publisher-name>. (<year>2021</year>).
</mixed-citation>
</ref>
<ref id="B2">
<label>2</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Rodr&#xed;guez-S&#xe1;nchez</surname> <given-names>B</given-names></name>
<name><surname>Angelini</surname> <given-names>V</given-names></name>
<name><surname>Feenstra</surname> <given-names>T</given-names></name>
<name><surname>Alessie</surname> <given-names>RJ</given-names></name>
</person-group>. 
<article-title>Diabetes-associated factors as predictors of nursing home admission and costs in the elderly across Europe</article-title>. <source>J Am Med Directors Assoc</source>. (<year>2017</year>) <volume>18</volume>:<fpage>74</fpage>&#x2013;<lpage>82</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jamda.2016.09.011</pub-id>, PMID: <pub-id pub-id-type="pmid">27815109</pub-id>
</mixed-citation>
</ref>
<ref id="B3">
<label>3</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Valiyeva</surname> <given-names>E</given-names></name>
<name><surname>Russell</surname> <given-names>LB</given-names></name>
<name><surname>Miller</surname> <given-names>JE</given-names></name>
<name><surname>Safford</surname> <given-names>MM</given-names></name>
</person-group>. 
<article-title>Lifestyle-related risk factors and risk of future nursing home admission</article-title>. <source>Arch Internal Med</source>. (<year>2006</year>) <volume>166</volume>:<page-range>985&#x2013;90</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1001/archinte.166.9.985</pub-id>, PMID: <pub-id pub-id-type="pmid">16682571</pub-id>
</mixed-citation>
</ref>
<ref id="B4">
<label>4</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Tovar</surname> <given-names>E</given-names></name>
<name><surname>Rayens</surname> <given-names>MK</given-names></name>
<name><surname>Gokun</surname> <given-names>Y</given-names></name>
<name><surname>Clark</surname> <given-names>M</given-names></name>
</person-group>. 
<article-title>Mediators of adherence among adults with comorbid diabetes and depression: The role of self-efficacy and social support</article-title>. <source>J Health Psychol</source>. (<year>2015</year>) <volume>20</volume>:<page-range>1405&#x2013;15</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/1359105313512514</pub-id>, PMID: <pub-id pub-id-type="pmid">24357864</pub-id>
</mixed-citation>
</ref>
<ref id="B5">
<label>5</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Sacco</surname> <given-names>WP</given-names></name>
<name><surname>Yanover</surname> <given-names>T</given-names></name>
</person-group>. 
<article-title>Diabetes and depression: the role of social support and medical symptoms</article-title>. <source>J Behav Med</source>. (<year>2006</year>) <volume>29</volume>:<page-range>523&#x2013;31</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s10865-006-9072-5</pub-id>, PMID: <pub-id pub-id-type="pmid">17082974</pub-id>
</mixed-citation>
</ref>
<ref id="B6">
<label>6</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Talbot</surname> <given-names>F</given-names></name>
<name><surname>Nouwen</surname> <given-names>A</given-names></name>
</person-group>. 
<article-title>A review of the relationship between depression and diabetes in adults: is there a link</article-title>? <source>Diabetes Care</source>. (<year>2000</year>) <volume>23</volume>:<page-range>1556&#x2013;62</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.2337/diacare.23.10.1556</pub-id>, PMID: <pub-id pub-id-type="pmid">11023152</pub-id>
</mixed-citation>
</ref>
<ref id="B7">
<label>7</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Prabu</surname> <given-names>P</given-names></name>
<name><surname>Poongothai</surname> <given-names>S</given-names></name>
<name><surname>Shanthirani</surname> <given-names>CS</given-names></name>
<name><surname>Anjana</surname> <given-names>RM</given-names></name>
<name><surname>Mohan</surname> <given-names>V</given-names></name>
<name><surname>Balasubramanyam</surname> <given-names>M</given-names></name>
</person-group>. 
<article-title>Altered circulatory levels of miR-128, BDNF, cortisol and shortened telomeres in patients with type 2 diabetes and depression</article-title>. <source>Acta Diabetol</source>. (<year>2020</year>) <volume>57</volume>:<fpage>799</fpage>&#x2013;<lpage>807</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s00592-020-01486-9</pub-id>, PMID: <pub-id pub-id-type="pmid">32025863</pub-id>
</mixed-citation>
</ref>
<ref id="B8">
<label>8</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Liu</surname> <given-names>X</given-names></name>
<name><surname>Li</surname> <given-names>Y</given-names></name>
<name><surname>Guan</surname> <given-names>L</given-names></name>
<name><surname>He</surname> <given-names>X</given-names></name>
<name><surname>Zhang</surname> <given-names>H</given-names></name>
<name><surname>Zhang</surname> <given-names>J</given-names></name>
<etal/>
</person-group>. 
<article-title>A systematic review and meta-analysis of the prevalence and risk factors of depression in type 2 diabetes patients in China</article-title>. <source>Front Med</source>. (<year>2022</year>) <volume>9</volume>:<fpage>759499</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/medicina55090569</pub-id>, PMID: <pub-id pub-id-type="pmid">35620713</pub-id>
</mixed-citation>
</ref>
<ref id="B9">
<label>9</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Bai</surname> <given-names>S</given-names></name>
<name><surname>Wang</surname> <given-names>J</given-names></name>
<name><surname>Liu</surname> <given-names>J</given-names></name>
<name><surname>Miao</surname> <given-names>Y</given-names></name>
<name><surname>Zhang</surname> <given-names>A</given-names></name>
<name><surname>Zhang</surname> <given-names>Z</given-names></name>
</person-group>. 
<article-title>Analysis of depression incidence and influence factors among middle-aged and elderly diabetic patients in China: based on CHARLS data</article-title>. <source>BMC Psychiatry</source>. (<year>2024</year>) <volume>24</volume>:<fpage>146</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1186/s12888-023-05473-6</pub-id>, PMID: <pub-id pub-id-type="pmid">38383298</pub-id>
</mixed-citation>
</ref>
<ref id="B10">
<label>10</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Li</surname> <given-names>T</given-names></name>
<name><surname>Zhang</surname> <given-names>Y</given-names></name>
</person-group>. 
<article-title>Social network types and the health of older adults: exploring reciprocal associations</article-title>. <source>Soc Sci Med (1982)</source>. (<year>2015</year>) <volume>130</volume>:<fpage>59</fpage>&#x2013;<lpage>68</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.socscimed.2015.02.007</pub-id>, PMID: <pub-id pub-id-type="pmid">25681715</pub-id>
</mixed-citation>
</ref>
<ref id="B11">
<label>11</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Gan</surname> <given-names>Y</given-names></name>
<name><surname>Tian</surname> <given-names>F</given-names></name>
<name><surname>Fan</surname> <given-names>X</given-names></name>
<name><surname>Wang</surname> <given-names>H</given-names></name>
<name><surname>Zhou</surname> <given-names>J</given-names></name>
<name><surname>Yang</surname> <given-names>N</given-names></name>
<etal/>
</person-group>. 
<article-title>A study of the relationship between social support, depression, alexithymia and glycemic control in patients with type 2 diabetes mellitus: a structural equation modeling approach</article-title>. <source>Front Endocrinol</source>. (<year>2024</year>) <volume>15</volume>:<elocation-id>1390564</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fendo.2024.1390564</pub-id>, PMID: <pub-id pub-id-type="pmid">39229377</pub-id>
</mixed-citation>
</ref>
<ref id="B12">
<label>12</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Williams</surname> <given-names>JS</given-names></name>
<name><surname>Walker</surname> <given-names>RJ</given-names></name>
<name><surname>Egede</surname> <given-names>LE</given-names></name>
</person-group>. 
<article-title>Gender invariance in the relationship between social support and glycemic control</article-title>. <source>PloS One</source>. (<year>2023</year>) <volume>18</volume>:<fpage>e0285373</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1371/journal.pone.0285373</pub-id>, PMID: <pub-id pub-id-type="pmid">37155683</pub-id>
</mixed-citation>
</ref>
<ref id="B13">
<label>13</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Burns</surname> <given-names>RJ</given-names></name>
<name><surname>Desch&#xea;nes</surname> <given-names>SS</given-names></name>
<name><surname>Schmitz</surname> <given-names>N</given-names></name>
</person-group>. 
<article-title>Associations between depressive symptoms and social support in adults with diabetes: comparing directionality hypotheses with a longitudinal cohort</article-title>. <source>Ann Behav Med</source>. (<year>2016</year>) <volume>50</volume>:<page-range>348&#x2013;57</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s12160-015-9760-x</pub-id>, PMID: <pub-id pub-id-type="pmid">26631086</pub-id>
</mixed-citation>
</ref>
<ref id="B14">
<label>14</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ibarra-Rovillard</surname> <given-names>MS</given-names></name>
<name><surname>Kuiper</surname> <given-names>NA</given-names></name>
</person-group>. 
<article-title>Social support and social negativity findings in depression: perceived responsiveness to basic psychological needs</article-title>. <source>Clin Psychol Rev</source>. (<year>2011</year>) <volume>31</volume>:<page-range>342&#x2013;52</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cpr.2011.01.005</pub-id>, PMID: <pub-id pub-id-type="pmid">21382539</pub-id>
</mixed-citation>
</ref>
<ref id="B15">
<label>15</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Strom</surname> <given-names>JL</given-names></name>
<name><surname>Egede</surname> <given-names>LE</given-names></name>
</person-group>. 
<article-title>The impact of social support on outcomes in adult patients with type 2 diabetes: a systematic review</article-title>. <source>Curr Diabetes Rep</source>. (<year>2012</year>) <volume>12</volume>:<page-range>769&#x2013;81</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s11892-012-0317-0</pub-id>, PMID: <pub-id pub-id-type="pmid">22949135</pub-id>
</mixed-citation>
</ref>
<ref id="B16">
<label>16</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Onyango</surname> <given-names>JT</given-names></name>
<name><surname>Namatovu</surname> <given-names>JF</given-names></name>
<name><surname>Besigye</surname> <given-names>IK</given-names></name>
<name><surname>Kaddumukasa</surname> <given-names>M</given-names></name>
<name><surname>Mbalinda</surname> <given-names>SN</given-names></name>
</person-group>. 
<article-title>The relationship between perceived social support from family and diabetes self-management among patients in Uganda</article-title>. <source>Pan Afr Med J</source>. (<year>2022</year>) <volume>41</volume>:<elocation-id>279</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.11604/pamj.2022.41.279.33723</pub-id>, PMID: <pub-id pub-id-type="pmid">35784601</pub-id>
</mixed-citation>
</ref>
<ref id="B17">
<label>17</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Denollet</surname> <given-names>J</given-names></name>
</person-group>. 
<article-title>DS14: standard assessment of negative affectivity, social inhibition, and Type D personality</article-title>. <source>Psychosom Med</source>. (<year>2005</year>) <volume>67</volume>:<fpage>89</fpage>&#x2013;<lpage>97</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1097/01.psy.0000149256.81953.49</pub-id>, PMID: <pub-id pub-id-type="pmid">15673629</pub-id>
</mixed-citation>
</ref>
<ref id="B18">
<label>18</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zimet</surname> <given-names>GD</given-names></name>
<name><surname>Dahlem</surname> <given-names>NW</given-names></name>
<name><surname>Zimet</surname> <given-names>SG</given-names></name>
<name><surname>Farley</surname> <given-names>GK</given-names></name>
</person-group>. 
<article-title>The multidimensional scale of perceived social support</article-title>. <source>Clin Psychol</source>. (<year>1988</year>) <volume>52</volume>:<page-range>756&#x2013;61</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1207/s15327752jpa5206_6</pub-id>
</mixed-citation>
</ref>
<ref id="B19">
<label>19</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zung</surname> <given-names>WWK</given-names></name>
</person-group>. 
<article-title>A self-rating depression scale</article-title>. <source>Arch Gen Psychiatry</source>. (<year>1965</year>) <volume>12</volume>:<fpage>63</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1001/archpsyc.1965.01720310065008</pub-id>, PMID: <pub-id pub-id-type="pmid">14221692</pub-id>
</mixed-citation>
</ref>
<ref id="B20">
<label>20</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>XM</given-names></name>
<name><surname>Zhang</surname> <given-names>XG</given-names></name>
<name><surname>Liang</surname> <given-names>XL</given-names></name>
</person-group>. 
<article-title>Study on the correlationbetween stigma and depressive symptoms in community elderlypatients with type 2 diabetes in Chengdu</article-title>. <source>Med Soc</source>. (<year>2020</year>) <volume>33</volume>:<page-range>95 &#x2013;98</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.13723/j.yxysh.2020.06.022</pub-id>
</mixed-citation>
</ref>
<ref id="B21">
<label>21</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Chieh</surname> <given-names>A</given-names></name>
<name><surname>Chu</surname> <given-names>J</given-names></name>
<name><surname>Wallace</surname> <given-names>LA</given-names></name>
<name><surname>Li</surname> <given-names>L</given-names></name>
<name><surname>Xie</surname> <given-names>R</given-names></name>
</person-group>. 
<article-title>Depression prevalence, screening, and treatment in adult outpatients with type 1 and type 2 diabetes: A nationally representative cross-sectional study (National Ambulatory Medical Care Survey 2014-2019)</article-title>. <source>J Affect Disord</source>. (<year>2025</year>) <volume>368</volume>:<page-range>471&#x2013;6</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jad.2024.09.088</pub-id>, PMID: <pub-id pub-id-type="pmid">39293603</pub-id>
</mixed-citation>
</ref>
<ref id="B22">
<label>22</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Madkhali</surname> <given-names>JM</given-names></name>
<name><surname>Hakami</surname> <given-names>AA</given-names></name>
<name><surname>Dallak</surname> <given-names>AH</given-names></name>
<name><surname>Hakami</surname> <given-names>RM</given-names></name>
<name><surname>Yatimi</surname> <given-names>AA</given-names></name>
<name><surname>Hamdi</surname> <given-names>ME</given-names></name>
<etal/>
</person-group>. 
<article-title>Prevalence and Associated Factors of Depression among Patients with Diabetes at Jazan Province, Saudi Arabia: A Cross-Sectional Study</article-title>. <source>Psychiatry J</source>. (<year>2019</year>) <volume>2019</volume>:<elocation-id>6160927</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1155/2019/6160927</pub-id>, PMID: <pub-id pub-id-type="pmid">30792987</pub-id>
</mixed-citation>
</ref>
<ref id="B23">
<label>23</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Yamaguchi</surname> <given-names>D</given-names></name>
<name><surname>Izawa</surname> <given-names>A</given-names></name>
<name><surname>Matsunaga</surname> <given-names>Y</given-names></name>
</person-group>. 
<article-title>The association of depression with type D personality and coping strategies in patients with coronary artery disease</article-title>. <source>Internal Med (Tokyo Japan)</source>. (<year>2020</year>) <volume>59</volume>:<page-range>1589&#x2013;95</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.2169/internalmedicine.3803-19</pub-id>, PMID: <pub-id pub-id-type="pmid">32612062</pub-id>
</mixed-citation>
</ref>
<ref id="B24">
<label>24</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Wu</surname> <given-names>YX</given-names></name>
<name><surname>Cheng</surname> <given-names>YX</given-names></name>
<name><surname>Li</surname> <given-names>LJ</given-names></name>
</person-group>. 
<article-title>Prevalence of depression and inluencing factors in patients with type 2 diabeles: amulti-center study in Beijing, China</article-title>. <source>Chin Gen Pract</source>. (<year>2019</year>) <volume>22</volume>:<page-range>2557&#x2013;63</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.12114/.issn.1007-9572.2019.00.070</pub-id>
</mixed-citation>
</ref>
<ref id="B25">
<label>25</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Gao</surname> <given-names>S</given-names></name>
<name><surname>Liu</surname> <given-names>X</given-names></name>
</person-group>. 
<article-title>Analysis of anxiety and depression status and their influencing factors in patients with diabetic retinopathy</article-title>. <source>World J Psychiatry</source>. (<year>2024</year>) <volume>14</volume>:<page-range>1905&#x2013;17</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.5498/wjp.v14.i12.1905</pub-id>, PMID: <pub-id pub-id-type="pmid">39704376</pub-id>
</mixed-citation>
</ref>
<ref id="B26">
<label>26</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Al-Ozairi</surname> <given-names>A</given-names></name>
<name><surname>Irshad</surname> <given-names>M</given-names></name>
<name><surname>Alsaraf</surname> <given-names>H</given-names></name>
<name><surname>AlKandari</surname> <given-names>J</given-names></name>
<name><surname>Al-Ozairi</surname> <given-names>E</given-names></name>
<name><surname>Gray</surname> <given-names>SR</given-names></name>
</person-group>. 
<article-title>Association of physical activity and sleep metrics with depression in people with type 1 diabetes</article-title>. <source>Psychol Res Behav Manage</source>. (<year>2024</year>) <volume>17</volume>:<page-range>2717&#x2013;25</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.2147/PRBM.S459097</pub-id>, PMID: <pub-id pub-id-type="pmid">39051018</pub-id>
</mixed-citation>
</ref>
<ref id="B27">
<label>27</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>ZW</given-names></name>
<name><surname>Hua</surname> <given-names>YM</given-names></name>
<name><surname>Chen</surname> <given-names>YY</given-names></name>
</person-group>. 
<article-title>Regional distribution of depressive symptoms and its relationship with cardiovascular diseases in Chinese elderly</article-title>. <source>Chin J Dis Control</source>. (<year>2023</year>) <volume>27</volume>:<fpage>195</fpage>&#x2013;<lpage>200</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.16462/j.cnki.zhjbkz.2023.02.012</pub-id>
</mixed-citation>
</ref>
<ref id="B28">
<label>28</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Nefs</surname> <given-names>G</given-names></name>
<name><surname>Speight</surname> <given-names>J</given-names></name>
<name><surname>Pouwer</surname> <given-names>F</given-names></name>
<name><surname>Pop</surname> <given-names>V</given-names></name>
<name><surname>Bot</surname> <given-names>M</given-names></name>
<name><surname>Denollet</surname> <given-names>J</given-names></name>
</person-group>. 
<article-title>Type D personality, suboptimal health behaviors and emotional distress in adults with diabetes: results from Diabetes MILES-The Netherlands</article-title>. <source>Diabetes Res Clin Pract</source>. (<year>2015</year>) <volume>108</volume>:<fpage>94</fpage>&#x2013;<lpage>105</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.diabres.2015.01.015</pub-id>, PMID: <pub-id pub-id-type="pmid">25686507</pub-id>
</mixed-citation>
</ref>
<ref id="B29">
<label>29</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Lin</surname> <given-names>YH</given-names></name>
<name><surname>Chen</surname> <given-names>DA</given-names></name>
<name><surname>Lin</surname> <given-names>C</given-names></name>
<name><surname>Huang</surname> <given-names>H</given-names></name>
</person-group>. 
<article-title>Type D personality Is associated with glycemic control and socio-psychological factors on patients with type 2 diabetes mellitus: A cross-sectional study</article-title>. <source>Psychol Res Behav Manage</source>. (<year>2020</year>) <volume>13</volume>:<page-range>373&#x2013;81</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.2147/PRBM.S245226</pub-id>, PMID: <pub-id pub-id-type="pmid">32431557</pub-id>
</mixed-citation>
</ref>
<ref id="B30">
<label>30</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Kaya</surname> <given-names>UP</given-names></name>
<name><surname>Caydam</surname> <given-names>OD</given-names></name>
</person-group>. 
<article-title>Association between social support and diabetes burden among elderly patients with diabetes: A cross-sectional study from Turkey</article-title>. <source>Saudi J Med Med Sci</source>. (<year>2019</year>) <volume>7</volume>:<fpage>86</fpage>&#x2013;<lpage>92</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.4103/sjmms.sjmms_44_18</pub-id>, PMID: <pub-id pub-id-type="pmid">31080388</pub-id>
</mixed-citation>
</ref>
<ref id="B31">
<label>31</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Beverly</surname> <given-names>EA</given-names></name>
<name><surname>Ritholz</surname> <given-names>MD</given-names></name>
<name><surname>Dhanyamraju</surname> <given-names>K</given-names></name>
</person-group>. 
<article-title>The buffering effect of social support on diabetes distress and depressive symptoms in adults with Type 1 and Type 2 diabetes</article-title>. <source>Diabetic Med</source>. (<year>2021</year>) <volume>38</volume>:<elocation-id>e14472</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/dme.14472</pub-id>, PMID: <pub-id pub-id-type="pmid">33258148</pub-id>
</mixed-citation>
</ref>
<ref id="B32">
<label>32</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Cobo-Rend&#xf3;n</surname> <given-names>R</given-names></name>
<name><surname>L&#xf3;pez-Angulo</surname> <given-names>Y</given-names></name>
<name><surname>P&#xe9;rez-Villalobos</surname> <given-names>MV</given-names></name>
<name><surname>D&#xed;az-Mujica</surname> <given-names>A</given-names></name>
</person-group>. 
<article-title>Perceived social support and its effects on changes in the affective and eudaimonic well-being of Chilean university students</article-title>. <source>Front Psychol</source>. (<year>2020</year>) <volume>11</volume>:<elocation-id>590513</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fpsyg.2020.590513</pub-id>, PMID: <pub-id pub-id-type="pmid">33362657</pub-id>
</mixed-citation>
</ref>
<ref id="B33">
<label>33</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Wang</surname> <given-names>MY</given-names></name>
<name><surname>Li</surname> <given-names>JL</given-names></name>
<name><surname>Guo</surname> <given-names>H</given-names></name>
</person-group>. 
<article-title>Mechanisms of the influence of type D personality on depressed mood in older adults: the mediating role of social support and psychological resilience</article-title>. <source>Chin J Geriatr Multiorgan Dis</source>. (<year>2021</year>) <volume>20</volume>:<page-range>650&#x2013;4</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.11915/j.issn.1671-5403.2021.09</pub-id>. 138.
</mixed-citation>
</ref>
<ref id="B34">
<label>34</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Polman</surname> <given-names>R</given-names></name>
<name><surname>Borkoles</surname> <given-names>E</given-names></name>
<name><surname>Nicholls</surname> <given-names>AR</given-names></name>
</person-group>. 
<article-title>Type D personality, stress, and symptoms of burnout: the influence of avoidance coping and social support</article-title>. <source>Br J Health Psychol</source>. (<year>2010</year>) <volume>15</volume>:<page-range>681&#x2013;96</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1348/135910709X479069</pub-id>, PMID: <pub-id pub-id-type="pmid">19930789</pub-id>
</mixed-citation>
</ref>
</ref-list>
<fn-group>
<fn id="n1" fn-type="custom" custom-type="edited-by">
<p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2100054">Havagiray R. Chitme</ext-link>, Amity University, India</p></fn>
<fn id="n2" fn-type="custom" custom-type="reviewed-by">
<p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/229165">Carlos Manuel Zapata-Mart&#xed;n del Campo</ext-link>, National Institute of Cardiology Ignacio Chavez, Mexico</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3125491">Hyder Mirghani</ext-link>, University of Tabuk, Saudi Arabia</p></fn>
</fn-group>
</back>
</article>