Buscar en
Endocrinología, Diabetes y Nutrición (English ed.)
Toda la web
Inicio Endocrinología, Diabetes y Nutrición (English ed.) Prevalence of cancer in patients with hypothyroidism: Analysis using big data to...
Journal Information
Vol. 70. Issue S3.
Pages 50-58 (September 2023)
Visits
83
Vol. 70. Issue S3.
Pages 50-58 (September 2023)
Original article
Full text access
Prevalence of cancer in patients with hypothyroidism: Analysis using big data tools
Prevalencia de cáncer en pacientes con hipotiroidismo: análisis mediante herramientas de big data
Visits
83
Juan J. Díeza,b,
Corresponding author
juanjose.diez@salud.madrid.org

Corresponding author.
, Luis Cabreraa,b, Pedro Iglesiasa,b, María Benaventc, Guillermo Argüelloc, Guillermo Lópezc, Alejandro Parralejoc, Javier Leald
a Servicio de Endocrinología y Nutrición, Hospital Universitario Puerta de Hierro Majadahonda, Instituto de Investigación Sanitaria Puerta de Hierro Segovia de Arana, Majadahonda, Madrid, Spain
b Departamento de Medicina, Universidad Autónoma de Madrid, Madrid, Spain
c MedSavana S.L., Madrid, Spain
d Servicio de Informática, Hospital Universitario Puerta de Hierro Majadahonda, Instituto de Investigación Sanitaria Puerta de Hierro Segovia de Arana, Majadahonda, Madrid, Spain
This item has received
Article information
Abstract
Full Text
Bibliography
Download PDF
Statistics
Figures (2)
Tables (4)
Table 1. Performance of Savana expressed by means of the F measurement for the principal variables of the study.
Table 2. Frequency of total cancer in the complete cohort of patients studied and in patients classified by age groups and sex.
Table 3. Frequency of selected neoplasms in all patients studied with and without hypothyroidism.
Table 4. Frequency of total cancer and of selected neoplasms in the group of 23,570 hypothyroid patients classified according to initiation of replacement therapy with levothyroxine.
Show moreShow less
Special issue
This article is part of special issue:
Vol. 70. Issue S3
More info
Abstract
Objective

To evaluate the frequency of different types of cancer in patients diagnosed with hypothyroidism using big data methodology on the Savana Manager platform.

Methods

An observational, retrospective study was carried out using electronic medical record (EMR) data from the Hospital Universitario Puerta de Hierro Majadahonda (Madrid). Information from the EMRs was extracted using artificial intelligence techniques and analysed using the Savana Manager v3.0 software. Searches were performed using the term “hypothyroidism” and the terms corresponding to the tumours analysed.

Results

Of a total population of 506,749 patients, 23,570 (4.7%) were diagnosed with hypothyroidism. Patients with this diagnosis had a significantly higher frequency of cancer than that found in non-hypothyroid subjects (OR 2.09, 95% confidence interval [CI] 2.01−2.17). This higher frequency was found both in women (OR 1.99, 95% CI 1.90−2.08) and in men (OR 2.83, 95% CI 2.63−3.05). However, this higher frequency of cancer was not observed in hypothyroid patients older than 60 years (OR 0.97, 95% CI 0.92−1.02). Although the frequency of most of the neoplasms studied individually was higher in the population with hypothyroidism, we observed that hypothyroid patients over 60 years of age had a significant decrease in the frequency of prostate, lung, colorectal, and liver cancer.

Conclusion

Data from this hospital cohort suggest that there is a significant association between the diagnosis of hypothyroidism and cancer. However, this association is less evident in hypothyroid patients older than 60 years.

Keywords:
Hypothyroidism
Cancer
Prevalence
Big data
Resumen
Objetivo

Evaluar la frecuencia de diferentes tipos de cáncer en pacientes con el diagnóstico de hipotiroidismo utilizando metodología de big data mediante la plataforma Savana Manager.

Métodos

Se realizó un estudio observacional, retrospectivo, empleando datos de la historia clínica electrónica (HCE) del Hospital Universitario Puerta de Hierro Majadahonda (Madrid). La información de las HCE se extrajo mediante técnicas de inteligencia artificial y se analizó mediante el sofware Savana Manager 3.0. Se realizaron búsquedas empleando el término hipotiroidismo y los términos correspondientes a los tumores analizados.

Resultados

De un total de 506.749 pacientes estudiados se encontraron 23.570 (4,7%) con el diagnóstico de hipotiroidismo. Los pacientes con este diagnóstico presentaron una frecuencia de cáncer significativamente superior a la hallada en sujetos no hipotiroideos (OR 2,09, intervalo de confianza [IC] al 95% 2,01–2,17). Esta mayor frecuencia se encontró tanto en mujeres (OR 1,99, IC 95% 1,90–2,08) como en varones (OR 2,83, IC 95% 2,63–3,05). Sin embargo, no se objetivó en los pacientes hipotiroideos mayores de 60 años (OR 0,97, IC 95% 0,92–1,02). Aunque la frecuencia de la mayoría de las neoplasias estudiadas individualmente fue mayor en la población con hipotiroidismo, observamos que, los pacientes hipotiroideos de más de 60 años presentaban una disminución significativa de la frecuencia de cáncer de próstata, pulmón, colorrectal y hepático.

Conclusión

Los datos de esta cohorte hospitalaria sugieren que existe una asociación significativa entre el diagnóstico de hipotiroidismo y el cáncer. Sin embargo, esta asociación es menos manifiesta en pacientes hipotiroideos mayores de 60 años.

Palabras clave:
Hipotiroidismo
Cáncer
Prevalencia
Big data
Full Text
Introduction

For a number of years, different clinical and epidemiological studies have been carried out to ascertain the relationships between thyroid dysfunction and different types of cancerous diseases,1–4 though the results obtained have not been conclusive, particularly with regard to the tumour groups of greater prevalence among the population. A recent systematic review of controlled clinical trials and non-interventional studies found no relationship between subclinical hypothyroidism and breast and prostate cancers, although it did with colorectal cancer.5 An increased risk of thyroid cancer was also found in patients with a high serum concentration of thyrotropin (TSH) in excess of 1.64mU/l. Another systematic review and meta-analysis of 15 non-interventional studies on the association between thyroid dysfunction and different types of cancer6 showed that, in comparison to euthyroid subjects, hypothyroidism was associated with a greater risk of thyroid cancer in the first 10 years after diagnosis of thyroid hormone deficiency.

Recently, in the healthcare sector, and particularly among clinicians, there has been an increasing need to use tools of artificial intelligence (AI) to extract valuable information from the enormous quantity of data that are generated in healthcare centres.7,8 A good deal of consultation time is devoted to filling out the patient's electronic health record (EHR),9 and the majority of the information generated is in the form of free text. Owing to its size and format, this unstructured information is not easily accessible in a traditional manual review.

In this setting, the recent advances in the fields of natural language processing (NLP), big data and AI are of particular relevance. This is due to various reasons. Firstly, these tools allow the extraction of real, verifiable and direct information from clinical practice; secondly, access to information is fast, simple and less burdensome than with traditional forms of reviewing clinical data; and, thirdly, they make it possible to obtain huge quantities of data on subjects which, otherwise, it would be impossible to cover. Using techniques from NLP, based on unstructured and hard-to-exploit data, a fully structured database is generated by recognising the clinical entities of interest, thanks to AI models formed by mathematical algorithms. This database can be used for research purposes through Savana Manager, a structured database browser which makes it possible to analyse free texts, interpret the content of EHRs independently of the management system used in hospitals, and to evaluate the principle indicators of a determined clinical process, avoiding selection bias beyond the very existence of the register itself, and requiring no knowledge of programming language.10 Additionally, the extraction of this clinical information adheres to an external validation methodology which allows the quality of the process to be confirmed.10,11 The recent literature shows that this NLP technology for extracting information automatically from EHRs has been used successfully in pulmonology,7,8,12 cardiology,13 clinical nutrition14 and gastroenterology.15,16

Given that the number of studies that have examined the association of hypothyroidism with the prevalence of different tumours is limited and with very disparate results, we deemed it appropriate to analyse these possible relationships using AI methods. Thus, the main objective of this study is the description, using big data tools, of the frequencies of different types of cancer in patients with hypothyroidism on the basis of data extracted from the EHRs of the Hospital Universitario Puerta de Hierro Majadahonda [Puerta de Hierro Majadahonda University Hospital (HUPHM)]. As a secondary objective, we sought to analyse whether the relationships found varied with the age and sex of subjects, as well as with replacement treatment for hypothyroidism.

Material and methodsStudy design

An observational, retrospective, non-interventional study was conducted using the data found in the EHR of the HUPHM. The study comprised clinical data collected between 1 January 2008 and 31 December 2018, and included a total of 506,749 patients. These data came from documents generated on inpatient wards, in the Accident and Emergency department, and in outpatient consultations. The study was approved by the HUPHM Independent Ethics Committee (Code PI 193/21).

Extraction of information from electronic medical records

Using AI techniques, and specifically NLP, information was extracted from the EHRs and analysed using Savana Manager V.3.0, software that interprets and uses the clinical information found in the health records, converting the data generated in the hospital, including the information contained in the free text, into structured and reusable data for research purposes. Regarding the variables included in the study, the potential number of variables included was limited to the information contained in EHRs during the study period.

Evaluation of the information

The first phase in constructing the database visible through Savana Manager was data acquisition. In compliance with the General Data Protection Regulation, this acquisition was the responsibility of the HUPHM IT Department, which worked with Savana technical staff to pseudonymise the data and transfer them to Savana. The data were integrated into an aggregate database to be processed with EHRead® technology. This technology includes NLP techniques for extracting information from the free text, recognising clinical variables of interest, denials and temporality, among other expressions, and allows a synthetic database of patients to be built. Savana terminology is based on SNOMED CT and includes over 400,000 medical concepts, acronyms and laboratory parameters. Terminological entities detected in patients' medical records were subsequently classified according to the sections in the EHR (e.g. demographics, medical history, medications, diagnoses, etc.). Finally, the HUPHM authors validated the results of the tool and the performance of the technology.

This evaluation was intended to verify the validity of the EHRead® technology in the identification of the records that mentioned hypothyroidism and related variables. A set of 91 documents were manually verified that guaranteed the reliability of the manual notation/review and constituted the gold standard. Savana's performance was calculated using this gold standard evaluation resource created by the experts; i.e. Savana's accuracy in identifying records in which the disease in question and related variables were detected was measured against the gold standard. The performance was calculated by the standard metrics of precision (P), recall (R) and the F-score, which is the harmonic mean of the previous two metrics.17

Precision indicated the reliability of the information retrieved by the system and was calculated as P=tp/(tp+fp). Recall, an indicator of how much information the system retrieves, was calculated as R=tp/(tp+fn). The F-score was calculated as F=2×precision×recall/(precision+recall). This parameter offered an indicator of the overall performance of information retrieval.

In all cases, true positives (tp) were the sum of correctly identified records, false negatives (fn) were the sum of unidentified records, and false positives (fp) were the sum of incorrectly retrieved records.11

In the data extraction process for the study, the hypothyroidism variable took into account all those patients in whom the term hypothyroidism has been recognised in their EHR throughout their clinical course, irrespective of the aetiology of the hormone deficiency (primary or hypothyrotropic), the duration of the disorder (permanent or transitory), the degree of hypofunction (subclinical or overt), the association or not of other clinical syndromes, or the fact that the patient has not received replacement therapy. The linguistic evaluation of the hypothyroidism variable has been analysed in the context of the study, yielding a precision, a recall and an F measurement of 0.97, 0.99 and 0.98, respectively. This indicated that hypothyroidism diagnoses were accurately detected in the study population.

The rest of the variables annotated (breast, prostate, lung, colorectal, bladder, thyroid, lymphoma, renaland Gastric cancer, as well as leukaemia) showed an F-score greater than 0.75, with the exception of the hepatic cancer variable, in which only three had annotations, this sample not being significant, and the total cancer variable, in which the degree of agreement among the annotators was 0.56, demonstrating the complexity in the terminological determination of this generic concept (Table 1).

Table 1.

Performance of Savana expressed by means of the F measurement for the principal variables of the study.

Variables  F measurement 
Total Cancer  0.48 
Breast  0.81 
Prostate  0.86 
Lung  0.95 
Colorectal  0.76 
Liver  0.67 
Bladder  0.86 
Leukaemia  1.00 
Thyroid  1.00 
Lymphoma  0.79 
Renal  0.94 
Gastric  1.00 
Statistical analysis

The statistical approach to the data included a descriptive analysis of all the variables evaluated, in which the qualitative variables are expressed as absolute frequencies and percentages. To measure the association and compare proportions between qualitative variables, the chi-square test was used. The relative risk of cancer in patients with hypothyroidism in comparison with subjects without hypothyroidism is estimated using the odds ratio (OR). In all cases, differences with a comparison test-associated “P” value less than .05 were considered significant.

ResultsPatients studied

Of the 506,749 subjects registered in the Savana tool, 53.45% were female and 48.71% were male. In total, 2.17% of the population was classified at some point during their clinical course as male or female, probably due to administrative errors. The mean age of the subjects was 41 years (95% confidence interval: 40.89–41.02).

Frequency of cancer in subjects with hypothyroidism

The total frequency of malign neoplasms in the cohort of patients with hypothyroidism studied was 13.80%, which was significantly higher than that found in patients without the diagnosis of hypothyroidism (7.11%, OR 2.09 [2.01−2.17]; P<.001) (Table 2). This greater frequency was detected in both females (OR 1.99 [1.90−2.08]) and males (OR 2.83 [2.63−3.05]; P<.001 in both cases) but not in the group of patients with double assignment of sex (OR 1.14 [0.97−1.34]; P=.111). Although the group of young patients (up to 59 years) showed a greater frequency of cancer among hypothyroid patients as opposed to non-hypothyroid patients (OR 2.46 [2.31−2.63]; P<.001), this did not occur in the group of patients aged over 60 years, in which the frequencies were very similar (OR 0.97 [0.92−1.02]; P=.267) (Table 2).

Table 2.

Frequency of total cancer in the complete cohort of patients studied and in patients classified by age groups and sex.

  AllSubjects with hypothyroidismSubjects without hypothyroidismOR  95% CI  P 
       
All  506,749  37,597  23,570  3253  13.80  483,179  34,344  7.11  2.09  2.01−2.17  < .001 
Female  270,858  18,798  19,321  2359  12.21  251,537  16,439  6.53  1.99  1.90−2.08  < .001 
Males  246,858  19,149  4747  891  18.77  242,111  18,258  7.54  2.83  2.63−3.05  < .001 
Double assignation  11,004  1275  1598  204  12.77  9406  1071  11.39  1.14  0.97−1.34  .111 
Age up to 59 years  391,810  13,947  13,250  1058  7.98  378,560  12,889  3.40  2.46  2.31−2.63  < .001 
Age: 60 years or older  114,939  23,650  10,320  3080  20.16  104,619  21,570  20.62  0.97  0.92−1.02  .267 

CI: confidence interval; N: number of subjects in each group or sub-group; n: number of subjects with cancer in each group or sub-group; OR: odds ratio.

Table 3 shows the frequency of tumours studied. As can be seen, the frequency of all tumours, with the exception of prostate cancer, was significantly higher in patients with hypothyroidism.

Table 3.

Frequency of selected neoplasms in all patients studied with and without hypothyroidism.

  All (n=506,749)  Subjects with hypothyroidism (n=23,570)Subjects without hypothyroidism (n=483,179)P 
  No.  No.  No.   
Breast  6348  687  2.91  5,661  1.17  < .001 
Prostate  3973  151  0.64  3,822  0.79  .011 
Lung  3603  212  0.90  3,391  0.07  < .001 
Colorectal  3388  262  1.11  3,126  0.65  < .001 
Liver  2055  155  0.66  1,900  0.39  < .001 
Bladder  1699  114  0.48  1,585  0.33  < .001 
Leukaemia  1677  139  0.59  1,538  0.32  < .001 
Thyroid  1246  287  1.22  959  0.20  < .001 
Lymphoma  853  108  0.46  749  0.16  < .001 
Renal  804  89  0.38  715  0.15  < .001 
Gastric  745  77  0.33  668  0.14  < .001 
Frequency of cancer by sex and age groups

When the frequencies of the different cancers were analysed by sex groups, it was observed that women with hypothyroidism presented a significantly higher frequency than that found in women without this disease, in all neoplasms analysed (P<.001) (Fig. 1). The frequency of the different neoplasms was also significantly higher in male hypothyroid patients compared to those who were not hypothyroid (P<.001), the sole exception being breast cancer (Fig. 1).

Figure 1.

Frequency of neoplasms selected in patients with hypothyroidism (black rectangles) and without hypothyroidism (white rectangles), classified by sex.

X axis: types of neoplasms studied. Y axis: percentage of patients in each group. *P<.05. **P<.01. ***P<.001.

(0.17MB).

Young patients with hypothyroidism (up to 59 years) also presented a significantly higher prevalence of breast, lung, colorectal, hepatic, renal, thyroid, and lymphoma cancer, as well as leukaemia, but no significant differences were found between patients with and without hypothyroidism in the prevalence of prostate, bladder and gastric cancer (Fig. 2). In the group of patients aged over 60 years, the diagnosis of hypothyroidism was accompanied by a lower frequency of prostate, lung, colorectal and liver cancer. On the contrary, the prevalence of breast, thyroid, gastric, renal, and lymphoma cancer was significantly higher in subjects with the diagnosis of hypothyroidism. There were no significant differences in the frequencies of bladder cancer and leukaemia (Fig. 2).

Figure 2.

Frequency of neoplasms selected in patients with hypothyroidism (black rectangles) and without hypothyroidism (white rectangles), classified by age groups.

X axis: types of neoplasms studied. Y axis: percentage of patients in each group. *P<.05. **P<.01. ***P<.001.

(0.17MB).
Frequency of cancer in subjects with hypothyroidism classified by treatment groups

The total frequency of cancer found in the group of 7075 patients with hypothyroidism under replacement therapy was 22.72% (Table 4). This value was significantly higher than that found in the group of 16,495 patients without treatment with levothyroxine (9.97%, OR 2.66 [2.46–2.86]; P>.001). When each one of these tumours studied were analysed individually, it was found that, in all cases, replacement therapy for hypothyroidism was associated with a greater frequency of cancer (P<.001).

Table 4.

Frequency of total cancer and of selected neoplasms in the group of 23,570 hypothyroid patients classified according to initiation of replacement therapy with levothyroxine.

  All (n=23,570)  Subjects with treatment (n=7075)Subjects without treatment (n=16,495)P 
  No.  No.  No.   
Total Cancer  3253  1608  22.72  1645  9.97  < .001 
Breast  687  248  3.51  439  2.67  < .001 
Prostate  151  76  1.07  75  0.45  < .001 
Lung  212  129  1.82  83  0.50  < .001 
Colorectal  262  110  1.55  152  0.92  < .001 
Liver  155  89  1.26  66  0.40  < .001 
Bladder  114  59  0.83  55  0.33  < .001 
Leukaemia  139  80  1.13  59  0.36  < .001 
Thyroid  287  226  3.19  61  0.37  < .001 
Lymphoma  108  68  0.96  40  0.24  < .001 
Renal  89  46  0.65  43  0.26  < .001 
Gastric  77  40  0.57  37  0.22  < .001 
Discussion

To the best of our knowledge, this is the first study carried out in Spain which uses real-life data with big data tools to analyse the relationship between hypothyroidism and cancer. The results show that the global frequency of cancer is significantly higher in patients with a diagnosis of hypothyroidism compared to non-hypothyroid subjects. This ratio persisted in both males and females, but is not maintained in subjects aged over 60 years. The analysis of individual cancers shows that all neoplasms (with the exception of prostate cancer) present with greater frequency in hypothyroid patients and, within these, in those undergoing replacement treatment with levothyroxine. Another finding of interest is that in patients aged over 60 years, there were four neoplasms (prostate, lung, colorectal and hepatic) whose frequency was found to be significantly reduced in hypothyroidism, and a further 2 (bladder and leukaemia) with a frequency similar to that of subjects without this disease.

The relationship between thyroid dysfunction and cancer is complex. Although some studies have shown that both hypothyroidism18 and hypothyroidism19,20 are associated with an increase in mortality from cancer, the data on the incidence of the different tumours have been highly disparate. Thus it is not surprising that the results obtained in our patients contrast with some of those published in recent studies on some of the neoplasms.

Various studies have shown that high TSH3,4 and the diagnosis of hypothyroidism5,21 are associated with a greater risk of cancer, while other researchers have not found any such association.1,2,22 An analysis of the data from the Women’s Health Initiative study, conducted on 134,122 menopausal women, showed the existence of a significant inverse association between invasive breast cancer and a history of hypothyroidism.23 A British study,24 which included data on more than 200,000 women, of whom 8.7% were hypothyroid, found no association between hypothyroidism and breast cancer; however, it did record a reduction in risk after more than 10 years from diagnosis of hypothyroidism. On the contrary, and in line with our results, 2 studies on national databases, one in Taiwan25 and another in the Netherlands,26 showed that women with hypothyroidism presented a greater risk of breast cancer than non-hypothyroid women. It was also demonstrated that low levels of thyroid hormone were an independent risk factor for developing breast cancer in peri- and post-menopausal women.26

In a study which included 402 cases of prostate cancer, Mondul et al.27 found that men with higher serum TSH Values presented a lower risk of prostate cancer in comparison to men with low concentrations of this hormone. Males with the diagnosis of hypothyroidism had a lower risk of prostate cancer in comparison to euthyroid subjects. These data appear to be consistent with those found in our cohort of subjects aged over 60 years.

A Norwegian prospective study, which included a cohort of over 29,000 subjects, found a non-significant reduction in the risk of lung cancer in patients with hypothyroidism.1 Two other studies found no relationship between hypothyroidism and lung cancer.28

Mu et al.29 showed that the prevalence of subclinical hypothyroidism was significantly higher in the group of subjects with colorectal cancer in comparison with the controls. Moreover, patients with subclinical hypothyroidism presented advanced colon cancer with greater frequency in comparison to euthyroid subject. Another study,30 conducted on a population database with more than 20.000 patients with colorectal cancer, found a slight increase in the risk of this tumour in patients with untreated hypothyroidism in comparison to euthyroid patients. In contrast to our findings, in said study a negative association was found between colorectal cancer and replacement therapy with levothyroxine.

The study by Reddy et al.31 showed that hypothyroidism was more prevalent in patients with hepatocellular carcinoma. A subsequent study of cases and controls32 showed that a history of hypothyroidism is associated with an increased risk of hepatocellular cancer in women. Our data show a higher prevalence of liver cancer in hypothyroid patients. Although we detected no difference between sexes, we did find that the risk of this tumour disappeared in subjects over 60 years of age.

Thyroid dysfunction has also been considered a factor of risk for thyroid cancer in a number of studies.6,33,34 A recent meta-analysis of 12 prospective studies35 revealed that, in patients with hypothyroidism, the relative risk of thyroid cancer was 2.72. Consistent with these results, our data show that the frequency of thyroid cancer is high in hypothyroid subjects, as well as in all sub-groups of age and sex studied.

Information on other tumours is scarcer. In a cohort of 57,326 subjects discharged from a Danish hospital, a higher risk of renal cancer was found in women with the diagnosis of myxedema and thyrotoxicosis, as well as an increase in the risk of bladder cancer in women with myxedema and non-functioning goitre. The incidence of haematopoietic cancers was also found to be higher in women with myxedema.36

The disparity of the results found in the different studies could be explained by the different criteria employed in the definition of hypothyroidism (laboratory determinations, review of clinical histories or records, interviews with patients), laboratory methods for quantifying TSH, and thyroid hormones or reference intervals for these parameters. The origin of patients also gives rise to heterogeneity in results since studies conducted in hospitals obtain higher risks than those with a population basis or those which use laboratory determinations.6 The different risk estimates between the studies could also reflect different degrees of severity of thyroid dysfunction or comorbidities. On the other hand, the interpretation of the results is complicated by the lack of longitudinal studies, of data on treatments for thyroid dysfunction, on factors of confusion, or owing to the inclusion of prevalent cases of cancer and the possibility of reverse causality; i.e. cases in which thyroid dysfunction may be a consequence of the cancer or the treatments thereof. From the above comments, the biological plausibility of the relation between hypothyroidism and cancer is deduced, but with the nuances of the disparity of results found in the literature. In the same way, we can interpret the usefulness of studies which, like this study, use big data for the analysis of an enormous quantity of information which is difficult or impossible to obtain with traditional retrospective or case-control studies.

Although the mechanisms which relate hypothyroidism with cancer are not well known, a number of hypotheses have been suggested which involve the participation of thyroid hormone receptors as oncogenesis inhibitors,37 or the effects of thyroid hormones on the immune system.38 TSH is known to stimulate the growth and differentiation of thyroid follicular cells.39 On the other hand, hypothyroidism is associated with clinical situations such as obesity, diabetes40 and cardiovascular disease18 which, in turn, have been related with an increased risk of cancer.

One of the most surprising findings of this study is the increased prevalence of cancer in patients with hypothyroidism and replacement treatment. This could be due to a greater frequency of over hypothyroidism and, thus, a greater disease burden in the group of subjects with substitution medication, who could represent the subgroup of patients in which the association of cancer with thyroid hormone deficiency is more evident and, therefore, statistically significant. Another potential explanation for this is a possible proliferative effect induced by thyroid hormones. Indeed, some experimental studies have shown that thyroxine and tri-iodothyronine could be anti-apoptotics and may have a proliferative effect on the cell lines of thyroid, breast and prostate cancer, regulating gene expression,41,42 triggering phosphorylation through the MAPK pathway,43,44 and stimulating similar effects to oestrogens.45 Nonetheless, the computer tool used in this study does not allow these potential mechanisms to be substantiated, but our finding could open doors for future research.

The main strength of our study is given by the extraction of real-life data and the large sample size, which has enabled us to study the frequencies of different neoplasms without losing statistical power. The use of big data techniques, along with and the EHRead technology developed by Savana, has allowed us to evaluate an enormous amount of information, as well as to read, process and organise the free text from the EHRs and convert it into structured data. All diagnoses of more than half a million patients during the study period were included in the analysed data, in a verifiable, bias-free manner, owing to which conclusions can be drawn from actual clinical practice.

The main limitations are those inherent to the use of artificial intelligence tools in large databases, in which detailed individual analysis of the subjects studied is not possible. Hence we have not been able to differentiate between overt and subclinical hypothyroidism. We cannot, therefore, determine the percentage of patients with subclinical hypothyroidism, although we could speculate, but not demonstrate, that it is higher than that of patients with overt hypothyroidism, given that we have found a greater proportion of patients without replacement treatment. Nor was it possible to assess the various aetiologies of hypothyroidism, or assess the development timeline of the different tumours with reference to the date of diagnosis of hypothyroidism. Consequently, we can only infer a diagnostic coincidence, but not speculate on the temporal relationship between thyroid dysfunction and cancer. Although the information was obtained in a verifiable, bias-free manner, we cannot rule out the bias generated by diagnostic errors or omissions in the EHRs.

The cohort studied was drawn from patients treated at our hospital, owing to which it may not be representative of the general population. Moreover, the frequencies of tumours may be overestimated due to the fact that the HUPHM is a tertiary hospital which receives highly complex patients from outside its catchment area. The double assignation of sex in some patients is a further limitation, although the study of this subgroup showed no significant differences in the frequency of the majority of tumours, owing to which its impact on the final results may be minimal. Although the majority of variables presented a high F score, some of them show a value below 0.75.

Despite its limitations, we believe that our analysis can be considered a pilot study with clinical interest, given that it includes a considerable number of patients with the clinical problems studied, and that hypothyroidism is a hormonal disorder of high prevalence in our setting. Our results could serve as a basis for prospective studies to analyse the incidence of different types of cancer in hypothyroid patients in a targeted manner.

By way of conclusion, in the cohort of hospital patients studied using artificial intelligence tools, we have found a significant association between the diagnoses of hypothyroidism total cancer, as well as between hypothyroidism and different neoplasms studied individually. These associations are maintained in patients classified by sex, but not in different age groups, since in patients over 60 years of age, our data point to the absence of a relationship between hypothyroidism and cancer in general, and the reduction in the frequency of prostate, lung, colorectal and hepatic cancer. Given that the reliability of results obtained with big data is conditional on the proper coding of diagnoses and the proper clinical judgement being recorded in EHRs, specific studies will need to be carried out in order to confirm the results obtained.

Funding

This article has received no funding from any public or private entity.

Conflicts of interest

María Benavent, Guillermo Argüello, Guillermo López and Alejandro Parraljo are employees Savana and they declare that they have no other conflicts of interest. Juan J. Díez, Luis Cabrera, Pedro Iglesias and Javier Leal declare that they have no conflicts of interest relating to this study.

References
[1]
A.I. Hellevik, B.O. Asvold, T. Bjøro, P.R. Romundstad, T.I. Nilsen, L.J. Vatten.
Thyroid function and cancer risk: a prospective population study.
Cancer Epidemiol Biomarkers Prev., 18 (2009), pp. 570-574
[2]
S.R. Khan, L. Chaker, R. Ruiter, J.G. Aerts, A. Hofman, A. Dehghan, et al.
Thyroid function and cancer risk: the Rotterdam study.
J Clin Endocrinol Metab., 101 (2016), pp. 5030-5036
[3]
E.Y. Kim, Y. Chang, K.H. Lee, J.S. Yun, Y.L. Park, C.H. Park, et al.
Serum concentration of thyroid hormones in abnormal and euthyroid ranges and breast cancer risk: a cohort study.
Int J Cancer., 145 (2019), pp. 3257-3266
[4]
S. Yuan, S. Kar, M. Vithayathil, P. Carter, A.M. Mason, S. Burgess, et al.
Causal associations of thyroid function and dysfunction with overall, breast and thyroid cancer: a two-sample Mendelian randomization study.
Int J Cancer., 147 (2020), pp. 1895-1903
[5]
J. Gómez-Izquierdo, K.B. Filion, J.F. Boivin, L. Azoulay, M. Pollak, O.H.Y. Yu.
Subclinical hypothyroidism and the risk of cancer incidence and cancer mortality: a systematic review.
BMC Endocr Disord., 20 (2020), pp. 83
[6]
T.V. Tran, C.M. Kitahara, F. de Vathaire, M.C. Boutron-Ruault, N. Journy.
Thyroid dysfunction and cancer incidence: a systematic review and meta-analysis.
Endocr Relat Cancer., 27 (2020), pp. 245-259
[7]
J.L. Izquierdo, D. Morena, Y. González, J.M. Paredero, B. Pérez, D. Graziani, et al.
Clinical management of COPD in a real-world setting. A big data analysis.
Arch Bronconeumol (Engl Ed)., 57 (2021), pp. 94-100
[8]
J.L. Izquierdo, C. Almonacid, C. Campos, D. Morena, M. Benavent, D. González-de-Olano, et al.
Systemic corticosteroids in patients with bronchial asthma: a real-life study.
J Investig Allergol Clin Immunol., 11 (2021),
[9]
C. Sinsky, L. Colligan, L. Li, M. Prgomet, S. Reynolds, L. Goeders, et al.
Allocation of physician time in ambulatory practice: a time and motion study in 4 specialties.
Ann Intern Med., 165 (2016), pp. 753-760
[10]
I. Hernández-Medrano, C. Belda, A. Urena, I. Salcedo, L.T. Espinosa-Anke, H. Saggion.
Savana: re-using electronic health records with artificial intelligence.
IJIMAI., 4 (2017), pp. 8-12
[11]
L. Canales, S. Menke, S. Marchesseau, A. D’Agostino, C. Del Rio-Bermudez, M. Taberna, et al.
Assessing the performance of clinical natural language processing systems: development of an evaluation methodology.
JMIR Med Inform., 9 (2021), pp. e20492
[12]
J.L. Izquierdo, C. Almonacid, Y. González, C. Del Rio-Bermudez, J. Ancochea, R. Cárdenas, et al.
The impact of COVID-19 on patients with asthma.
[13]
C. González-Juanatey, M. Anguita-Sá Nchez, V. Barrios, I. Núñez-Gil, J.J. Gómez-Doblas, X. García-Moll, et al.
SAVANA Research Group. Assessment of medical management in coronary type 2 diabetic patients with previous percutaneous coronary intervention in Spain: a retrospective analysis of electronic health records using Natural Language Processing.
[14]
M.D. Ballesteros Pomar, B. Pintor de la Maza, D. Barajas Galindo, I. Cano Rodríguez.
Searching for disease-related malnutrition using big data tools.
Endocrinol Diabetes Nutr (Engl Ed)., 67 (2020), pp. 224-227
[15]
C. Montoto, J.P. Gisbert, I. Guerra, R. Plaza, R. Pajares Villarroya, L. Moreno Almazán, et al.
PREMONITION-CD Study Group. Evaluation of natural language processing for the identification of crohn disease-related variables in Spanish electronic health records: a validation study for the PREMONITION-CD project.
JMIR Med Inform., 10 (2022),
[16]
F. Gomollón, J.P. Gisbert, I. Guerra, R. Plaza, R. Pajares Villarroya, L. Moreno Almazán, et al.
Premonition-CD Study Group. Clinical characteristics and prognostic factors for Crohn’s disease relapses using natural language processing and machine learning: a pilot study.
Eur J Gastroenterol Hepatol., 34 (2022), pp. 389-397
[17]
R.A. Baeza-Yates, B. Ribeiro-Neto.
Modern information retrieval.
Addison-Wesley Longman Publishing Co, Inc., (1999),
[18]
F. Brandt, M. Thvilum, D. Almind, K. Christensen, A. Green, L. Hegedüs, et al.
Graves’ disease and toxic nodular goiter are both associated with increased mortality but differ with respect to the cause of death: a Danish population-based register study.
Thyroid., 23 (2013), pp. 408-413
[19]
F.Y. Tseng, W.Y. Lin, C.I. Li, T.C. Li, C.C. Lin, K.C. Huang.
Subclinical hypothyroidism is associated with increased risk for cancer mortality in adult Taiwanese—a 10 years population-based cohort.
[20]
E. Krashin, B. Silverman, D.M. Steinberg, D. Yekutieli, S. Giveon, O. Fabian, et al.
Pre-diagnosis thyroid hormone dysfunction is associated with cancer mortality.
Endocr Relat Cancer., 28 (2021), pp. 705-713
[21]
S. Chen, F. Wu, R. Hai, Q. You, L. Xie, L. Shu, et al.
Thyroid disease is associated with an increased risk of breast cancer: a systematic review and meta-analysis.
Gland Surg., 10 (2021), pp. 336-346
[22]
B. Wang, Z. Lu, Y. Huang, R. Li, T. Lin.
Does hypothyroidism increase the risk of breast cancer: evidence from a meta-analysis.
BMC Cancer., 20 (2020), pp. 733
[23]
C.H. Weng, E.R. Okawa, M.B. Roberts, S.K. Park, C.B. Umbricht, J.E. Manson, et al.
Breast cancer risk in postmenopausal women with medical history of thyroid disorder in the women’s health initiative.
Thyroid., 30 (2020), pp. 519-530
[24]
T.V. Tran, C. Maringe, S. Benitez Majano, B. Rachet, M.C. Boutron-Ruault, N. Journy.
Thyroid dysfunction and breast cancer risk among women in the UK Biobank cohort.
Cancer Med., 10 (2021), pp. 4604-4614
[25]
C.H. Huang, J.C. Wei, T.C. Chien, C.W. Kuo, S.H. Lin, Y.C. Su, et al.
Risk of breast cancer in females with hypothyroidism: a nationwide, population-based, cohort study.
Endocr Pract., 27 (2021), pp. 298-305
[26]
J.L. Kuijpens, I. Nyklíctek, M.W. Louwman, T.A. Weetman, V.J. Pop, J.W. Coebergh.
Hypothyroidism might be related to breast cancer in post-menopausal women.
Thyroid., 15 (2005), pp. 1253-1259
[27]
A.M. Mondul, S.J. Weinstein, T. Bosworth, A.T. Remaley, J. Virtamo, D. Albanes.
Circulating thyroxine, thyroid-stimulating hormone, and hypothyroid status and the risk of prostate cancer.
[28]
Y.X. Chan, M.W. Knuiman, M.L. Divitini, S.J. Brown, J. Walsh, B.B. Yeap.
Lower TSH and higher free thyroxine predict incidence of prostate but not breast, colorectal or lung cancer.
Eur J Endocrinol., 177 (2017), pp. 297-308
[29]
G. Mu, X. Mu, H. Xing, R. Xu, G. Sun, C. Dong, et al.
Subclinical hypothyroidism as an independent risk factor for colorectal neoplasm.
Clin Res Hepatol Gastroenterol., 39 (2015), pp. 261-266
[30]
B. Boursi, K. Haynes, R. Mamtani, Y.X. Yang.
Thyroid dysfunction, thyroid hormone replacement and colorectal cancer risk.
J Natl Cancer Inst., 107 (2015), pp. djv084
[31]
A. Reddy, C. Dash, A. Leerapun, T.A. Mettler, L.M. Stadheim, K.N. Lazaridis, et al.
Hypothyroidism: a possible risk factor for liver cancer in patients with no known underlying cause of liver disease.
Clin Gastroenterol Hepatol., 5 (2007), pp. 118-123
[32]
M.M. Hassan, A. Kaseb, D. Li, Y.Z. Patt, J.N. Vauthey, M.B. Thomas, et al.
Association between hypothyroidism and hepatocellular carcinoma: a case-control study in the United States.
Hepatology., 49 (2009), pp. 1563-1570
[33]
C.M. Kitahara, D.K. Farkas, J.O.L. Jørgensen, D. Cronin-Fenton, H.T. Sørensen.
Benign thyroid diseases and risk of thyroid cancer: a nationwide cohort study.
J Clin Endocrinol Metab., 103 (2018), pp. 2216-2224
[34]
M.R. Montúfar Silva, J.P. Cevallos Montalvo, B.M. Sánchez Andino, J.I. Villavicencio Soledispa, S.E. Espinoza López.
Relación entre hipotiroidismo y cáncer de tiroides en el Hospital Pablo Arturo Suárez de la ciudad de Quito de enero 2014 a diciembre 2017.
[35]
L. Liang, X.C. Zheng, M.J. Hu, Q. Zhang, S.Y. Wang, F. Huang.
Association of benign thyroid diseases with thyroid cancer risk: a meta-analysis of prospective observational studies.
J Endocrinol Invest., 42 (2019), pp. 673-685
[36]
A. Mellemgaard, G. From, T. Jørgensen, C. Johansen, J.H. Olsen, H. Perrild.
Cancer risk in individuals with benign thyroid disorders.
Thyroid., 8 (1998), pp. 751-754
[37]
L. Ruiz-Llorente, O. Martínez-Iglesias, S. García-Silva, S. Tenbaum, J. Regadera, A. Aranda.
The thyroid hormone receptors as tumor suppressors.
Horm Mol Biol Clin Investig., 5 (2011), pp. 79-89
[38]
P. De Vito, S. Incerpi, J.Z. Pedersen, P. Luly, F.B. Davis, P.J. Davis.
Thyroid hormones as modulators of immune activities at the cellular level.
Thyroid., 21 (2011), pp. 879-890
[39]
G.C. Hard.
Recent developments in the investigation of thyroid regulation and thyroid carcinogenesis.
Environ Health Perspect., 106 (1998), pp. 427-436
[40]
J.J. Díez, P. Iglesias.
An analysis of the relative risk for hypothyroidism in patients with type 2 diabetes.
Diabet Med., 29 (2012), pp. 1510-1514
[41]
K.H. Tsui, W.C. Hsieh, M.H. Lin, P.L. Chang, H.H. Juang.
Triiodothyronine modulates cell proliferation of human prostatic carcinoma cells by downregulation of the B-cell translocation gene 2.
Prostate., 68 (2008), pp. 610-619
[42]
M. Pinto, P. Soares, D. Ribatti.
Thyroid hormone as a regulator of tumor induced angiogenesis.
Cancer Lett., 301 (2011), pp. 119-126
[43]
L.C. Moeller, D. Führer.
Thyroid hormone, thyroid hormone receptors, and cancer: a clinical perspective.
Endocr Relat Cancer., 20 (2013), pp. R19-29
[44]
A. Hercbergs, S.A. Mousa, M. Leinung, H.Y. Lin, P.J. Davis.
Thyroid hormone in the clinic and breast cancer.
Horm Cancer., 9 (2018), pp. 139-143
[45]
S. Dinda, A. Sanchez, V. Moudgil.
Estrogen-like effects of thyroid hormone on the regulation of tumor suppressor proteins, p53 and retinoblastoma, in breast cancer cells.
Oncogene., 21 (2002), pp. 761-768
Copyright © 2022. SEEN and SED
Article options
Tools
es en pt

¿Es usted profesional sanitario apto para prescribir o dispensar medicamentos?

Are you a health professional able to prescribe or dispense drugs?

Você é um profissional de saúde habilitado a prescrever ou dispensar medicamentos