Abstract
Background
A cancer diagnosis is a source of psychological and emotional stress, which are often maintained for sustained periods of time that may lead to depressive disorders. Depression is one of the most common psychological conditions in patients with cancer. According to the Global Cancer Observatory, breast and colorectal cancers are the most prevalent cancers in both sexes and across all age groups in Spain.
Objective
This study aimed to compare the prevalence of depression in patients before and after the diagnosis of breast or colorectal cancer, as well as to assess the usefulness of the analysis of free-text clinical notes in 2 languages (Spanish or Catalan) for detecting depression in combination with encoded diagnoses.
Methods
We carried out an analysis of the electronic health records from a general hospital by considering the different sources of clinical information related to depression in patients with breast and colorectal cancer. This analysis included ICD-9-CM (International Classification of Diseases, Ninth Revision, Clinical Modification) diagnosis codes and unstructured information extracted by mining free-text clinical notes via natural language processing tools based on Systematized Nomenclature of Medicine Clinical Terms that mentions symptoms and drugs used for the treatment of depression.
Results
We observed that the percentage of patients diagnosed with depressive disorders significantly increased after cancer diagnosis in the 2 types of cancer considered—breast and colorectal cancers. We managed to identify a higher number of patients with depression by mining free-text clinical notes than the group selected exclusively on ICD-9-CM codes, increasing the number of patients diagnosed with depression by 34.8% (441/1269). In addition, the number of patients with depression who received chemotherapy was higher than those who did not receive this treatment, with significant differences (P<.001).
Conclusions
This study provides new clinical evidence of the depression-cancer comorbidity and supports the use of natural language processing for extracting and analyzing free-text clinical notes from electronic health records, contributing to the identification of additional clinical data that complements those provided by coded data to improve the management of these patients.
Keywords: cancer, depression, electronic health records, text mining, natural language processing
Introduction
Background
Cancer continues to be one of the main causes of morbidity and mortality in the world, with approximately 19.3 million new cancer cases in 2020 [1]. Population estimates indicate that the number of new cases will increase in the next 2 decades to 30.2 million cases per year in 2040 [2]. The Global Cancer Observatory estimated that breast, prostate, and colorectal cancers were among the most frequent cancers in 2020 [3]. The Global Cancer Observatory pointed out that in Spain, with a population of 46,754,783, the most prevalent cancers in both sexes and across all age groups were colorectal (14.3%, 40,441/282,421) and breast (12.1%, 34,088/282,421) cancers [2,4]. With the advances in treatment efficacy, cancer is being increasingly viewed and treated as a chronic disease that can be effectively managed for many years [5].
A cancer diagnosis is life‑changing; it is a source of important psychological and emotional stress, which is usually maintained for sustained periods of time that may lead to depressive disorders [6]. Depression is one of the most common psychological conditions experienced by patients with cancer [6-9], a frequent comorbidity [6], and one of the factors impairing the life quality of these patients [10]. Depressive disorders are related to psychophysiological side effects, poorer treatment outcomes [6,9], longer hospital stays [6,11], higher mortality rates [5,8], and poorer quality of life [6]. The prevalence of depressive disorders in patients with cancer depends on different aspects such as cancer type and stage, diagnostic criteria applied, or population studied [7]. In patients with cancer, the prevalence of depression is 2 to 3 times higher than in the general population [10,12-14], and in some studies, depression is associated with worse overall survival rates due to impaired immune response and higher rates of suicide in patients with cancer [10,15,16]. Depression is also one of the most common mental disorders among patients with breast and colorectal cancers [17-20], affecting their daily lives and deteriorating the quality of life [18,21]. The consequence of this mental disorder affects patients during cancer treatment and endures beyond the end of the treatment [20,22]. Moreover, depression remains an underdiagnosed disease in patients with cancer and is markedly different from depression in healthy individuals [6,23]. The different symptoms of cancer and its treatment, such as fatigue, anorexia or loss of weight, and sleep and cognitive disorders, overlap with those of depression, which leads to an underdiagnosis of this mental disorder in these patients [6,7,14].
For these reasons, it is critical to detect, diagnose, and treat depression symptoms in patients with cancer and depression. Based on the information available in electronic health records (EHRs), it is possible to have a complete clinical history of these patients, but it is necessary to fully exploit its content to make the most of these information systems [24]. EHRs are increasingly implemented in many health care systems around the world, but the clinical information included in these information systems is underused in general and for research purposes and not exploited to its full potential [25]. The reuse of data from EHRs for biomedical research deals with 2 main types of information. Structured data, such as patient demographics, encoded diagnosis, procedures, or drug information, are the easiest data sources to process using standard statistical methods [26]. Unstructured data, including free-text clinical notes, often requires more complex analysis approaches, relying on text mining and natural language processing (NLP) tools to make it possible to extract relevant, structured information [25]. NLP is used to process large amounts of unstructured text from clinical notes and return structured information about their meaning [27]. The textual content of clinical notes constitutes a valuable source of information that is useful to obtaining a complete knowledge of patients’ phenotypes by complementing the information encoded in structured clinical data [27-29]. The capacity to integrate these 2 types of clinical knowledge sources by using biomedical informatics tools is especially critical for the management of complex diseases such as cancer and depression [30].
In this study, we identified and analyzed the presence of depressive disorders in patients with the most common cancers in Spain—breast or colorectal cancer—using 2 different sources of clinical information: diagnosis codes in ICD-9-CM (International Classification of Diseases, Ninth Revision, Clinical Modification) and free-text clinical notes, including mentions of depression diagnoses, their symptoms, and antidepressants.
Objectives
The aim of the study was twofold: (1) to compare the association between depression in patients with breast or colorectal cancer before and after these diagnoses and (2) to determine the usefulness of the free-text clinical notes analysis using NLP for detecting the diagnosis of depression among patients with cancer in combination with encoded structured clinical information.
Methods
Clinical Database
The clinical database used for the study was the EHR of the Parc de Salut Mar Barcelona, a complete health care services organization with its information system database (IMASIS). IMASIS includes the clinical information of 2 general hospitals, 1 mental health care center, and 1 social health care center in the Barcelona city area (Catalonia, Spain) since 1990, including different settings such as admissions, outpatient consultations, and emergency department visits [31]. IMASIS-2 is the anonymized relational database of IMASIS, being the data source used for research purposes. To identify the diagnosis of depressive disorders, we analyzed both structured and free-text clinical notes obtained from the IMASIS-2 database [32].
The diagnoses included in IMASIS-2 are encoded using the ICD-9-CM codification [33]. In addition, during the interaction with their patients, physicians generate clinical notes to record the details of the anamnesis such as the diagnosis performed, prescription of drugs, as well as any kind of related information of clinical interest. At the time of the study, IMASIS-2 included the anonymized clinical information of 876,747 patients, with more than 16.7 million visits from the beginning of 1992 to the end of 2018.
The Hospital del Mar Cancer Registry, which included 37,741 diagnosed malignant tumors, was also used as an additional source of information, providing data on the number of cases, characteristics, diagnostic and therapeutic process, and survival of patients with cancer at Parc de Salut Mar Barcelona [34]. Each clinical record includes the timeline of the patient visits. In addition, each visit is characterized by ICD-9-CM diagnosis codes and 1 or more free-text notes written in Spanish or Catalan (both official languages used in Catalonia) generated by physicians during their interactions with patients that include the anamnesis, diagnosis, and prescriptions.
Patients’ Selection Criteria
The initial group of patients considered in our study consisted of the 10,668 individuals who were diagnosed with breast cancer (in women; ICD-9-CM–related code 174) and colorectal cancer (ICD-9-CM–related codes 153 and 154). The patients with cancer were classified in the Cancer Registry by stage (one of in situ, I, II, III, or IV stages) and the type of treatment received including chemotherapy. We obtained a sample of 10,668 patients with breast cancer or colorectal cancer. Of the total 10,668 patients, 2485 were excluded due to having more than 1 cancer or incomplete clinical information, with 8147 patients remaining. Of these 8147 patients, we selected 4238 individuals for the study who had (1) at least 4 or more visits recorded in the IMASIS-2, including 2 before and 2 after the cancer diagnosis; (2) breast or colorectal cancer that were in the “in situ” stage or stages I, II, or III; and (3) complete information about the treatments received for cancer. Patients in stage IV were not included because these patients were in an advanced stage of cancer, and they usually received palliative care or experienced depression [9]. Each visit is characterized by the diagnosis codes and 1 or more free-text notes written in Spanish or Catalan generated by physicians during their interaction with the patients. Physicians and health care practitioners usually rely on clinical notes to record the details of the anamnesis and diagnosis they performed, prescriptions and doses of drugs, as well as any kind of related information of interest. Considering that patients with cancer usually have several visits and clinical complexity, we decided to include at least 4 visits to ensure that enough clinical information of the follow-up was analyzed. The flow diagram of the study is depicted in Figure 1.
To get thorough information describing the occurrence of depressive disorders among patients with breast and colorectal cancers, we used a combination of different sources of clinical information present in the EHR. The included sources are the occurrence of ICD-9-CM diagnosis codes registered and related to depressive disorders (Multimedia Appendix 1) and the text mining of clinical notes by means of NLP tools to detect mentions of (1) terms and expressions that are commonly used to describe depressive disorders (based on Systematized Nomenclature of Medicine Clinical Terms [SNOMED CT] related to depressive disorders) [35] and (2) drugs used for the treatment of depression (Multimedia Appendix 2).
We analyzed the textual content of the 272,575 clinical notes from the visits of the 4238 patients with the considered cancers. The text of each clinical note was processed by means of the FreeLing [36] open-source language analysis framework, and the following text analysis steps were performed (see Figure 2).
Language identification: The FreeLing language analyzer determined, for each clinical note, the language used (Spanish or Catalan). All subsequent NLP analyses performed were language-specific.
Tokenization and part-of-speech tagging: The text of each clinical note was divided into tokens (substrings with assigned and identified meaning), and the part of speech of each token was identified (determiner, preposition, conjunction, punctuation, verb, adjective, pronoun, adverb, and name).
Terms detection: In the text of each clinical note, mentions of the following types of terms were identified: (1) names of the active substances of the 35 antidepressants and their corresponding 82 brand names used in Spain; and (2) SNOMED CT with depressive disorders–related terms, including the lexicalizations of the 139 concepts classified under the concept “trastorno depresivo (trastorno)” (depressive disorder [disorder] in Spanish; SNOMED CT ID 35489007). We searched for mentions of antidepressant active substances and their commercial drug names over the whole textual content of clinical notes. For this purpose, we exploited the Elasticsearch search and analytics tool [37]. This search engine, apart from substantially speeding up the search for relevant mentions in the huge collections of clinical notes, allowed us to properly match the variations of the considered terms with respect to misspellings that are frequent in free-text clinical notes.
Negation characterization: A negation detection algorithm tailored to the Spanish and Catalan languages was applied to the clinical notes for both SNOMED CT depressive disorders terms and antidepressant active substance and brand names to exclude the negated occurrences of these terms from our study. This detection was performed using a negation detection algorithm implemented as a token sequence tagger, relying on Conditional Random Fields. For this purpose, a corpus of 949 sentences (572 in Spanish and 277 in Catalan) extracted from clinical notes were manually annotated, detecting for each sentence the negation marker and the related negation span (ie, the portion of the text of the sentence that is actually negated). This corpus has been used to train a Conditional Random Fields sequence tagger that is able to automatically identify negation markers and related spans inside the text of clinical notes in Spanish and Catalan.
When needed, the names of antidepressant active substances as well as the names of depressive disorders–related terms from SNOMED CT were manually translated into Spanish and Catalan by a bilingual psychologist, since the textual content of the clinical notes analyzed in our study includes both languages.
Ethics Approval
The study was approved by the Hospital del Mar Research Ethics Committee (Comitè Ètic d'Investigació Clínica del Parc de Salut Mar; 2016/7130/l) and performed according to the Declaration of Helsinki, the General Data Protection Regulation (EU 2016/679), and the Spanish Law (3/2018) for data protection. All data were anonymized and treated with maximal confidentiality and respect according to good clinical practice guidelines.
Results
The number of patients with cancer included in our study was 4238. There were 2032 women with breast cancer with a mean age of 62.3 (SD 13.2) years, and there were 2206 patients with colorectal cancer with a mean age of 70.5 (SD 11.4) years, including 1277 (57.9%) men and 929 (42.1%) women with significant differences in the ages of both groups of patients with these cancers (P<.001). The distribution of age by stages of both cancers is shown in Figure 3. The median age increases gradually according to the stage of the cancer, and it is higher in patients with colorectal cancer. The median age changed from 60 years in the “in situ” stage to 68 years in stage III for breast cancer and from 68 years in the “in situ” stage to 73 years in stage III for colorectal cancer.
The total number of patients with depression based on the use of ICD-9-CM, antidepressants drug mentions, SNOMED CT concepts related to depressive disorders, or the combination of these 3 methods was 1269. The percentage of patients diagnosed with depressive disorders increased after cancer diagnosis, with significant differences across all the types of cancer considered (P=.004) and the stages of cancer (P<.001). In Table 1, the distribution of patients according to the type of cancer, stage, and depression after the date of diagnosis of cancer based on ICD-9-CM codes is shown.
Table 1.
Cancer type, cancer stage | Number of patients, n/N (%) | Depression (ICD-9-CM) after cancer diagnosis, n/N (%) | |
Breast | |||
|
In situ | 234/2032 (11.5) | 40/234 (17.1) |
|
Stage I | 739/2032 (36.4) | 152/739 (20.6) |
|
Stage II | 781/2032 (38.4) | 166/781 (21.3) |
|
Stage III | 278/2032 (13.7) | 82/278 (29.5) |
|
All stages | 2032/2032 (100) | 440/2032 (21.7) |
Colorectal | |||
|
In situ | 544/2206 (24.7) | 48/544 (8.8) |
|
Stage I | 438/2206 (19.9) | 61/438 (13.9) |
|
Stage II | 656/2206 (29.7) | 94/656 (14.3) |
|
Stage III | 568/2206 (25.7) | 96/568 (16.9) |
|
All stages | 2206/2206 (100) | 299/2206 (13.6) |
Total | 4238/4238 (100) | 739/4238 (17.4) |
The increase in the number of patients with depression observed was a trend that we found separately in the ICD-9-CM codes, mentions of antidepressant drugs, and mentions of the set of SNOMED CT depression concepts. In the tables below, we show the number of patients with depression before and after the diagnosis of cancer using 3 different methods to detect them: the ICD-9-CM depression codes, antidepressant drug mentions, and SNOMED CT concepts related to “trastorno depresivo,” and the combination of the 3 methods.
Considering exclusively the ICD-9-CM codes of depressive disorders and excluding patients diagnosed with depression in visits both before and after the date of cancer diagnosis (n=164), of the 4074 remaining patients, 16.3% (n=664) were diagnosed with depression, and 86.6% (575/664) were diagnosed after the cancer diagnosis date (see Table 2). The total number of patients with depression increased significantly after the date of cancer diagnosis (McNemar test: χ21=354.25; P<.001).
Table 2.
Cancer type | Before cancer diagnosis date, n/N (%) | After cancer diagnosis date, n/N (%) | Patients with depression, n/N (%) | Patients without depression, n/N (%) |
Breast | 39/398 (9.8) | 359/398 (90.2) | 398/1951 (20.4) | 1553/1951 (79.6) |
Colorectal | 50/266 (18.8) | 216/266 (81.2) | 266/2123 (12.5) | 1857/2123 (84.5) |
Total | 89/664 (13.4) | 575/664 (86.6) | 664/4074 (16.3) | 3410/4074 (83.7) |
Considering the diagnosis of depression based on antidepressant drug mentions and excluding patients diagnosed with depression in visits both before and after the date of diagnosis cancer (n=68), of the 4170 remaining patients, 15% (n=624) were diagnosed with depression, and 91% (568/624) were diagnosed after the cancer diagnosis date (see Table 3). The total number of patients with depression increased significantly after the diagnosis date of cancer (McNemar test: χ21=418.46: P<.001).
Table 3.
Cancer type | Before cancer diagnosis date, n/N (%) | After cancer diagnosis date, n/N (%) | Patients with depression, n/N (%) | Patients without depression, n/N (%) |
Breast | 27/352 (7.7) | 325/352 (92.3) | 352/2009 (17.5) | 1657/2009 (82.5) |
Colorectal | 29/272 (10.7) | 243/272 (89.3) | 272/2161 (12.6) | 1889/2161 (87.4) |
Total | 56/624 (9) | 568/624 (91) | 624/4170 (15) | 3546/4170 (85) |
Of the 824 antidepressant mentions, the most frequent were citalopram (n=274, 33.3%), escitalopram (n=174, 21.1%), amitriptyline (n=125, 15.2%), trazodone (n=64, 7.8%), venlafaxine (n=57, 6.9%), paroxetine (n=37, 4.5%), desvenlafaxine (n=22, 2.7%), fluoxetine (n=22, 2.7%), and bupropion (n=21, 2.5%).
Considering the mentions of SNOMED CT depression concepts and excluding patients diagnosed with depression in visits both before and after the date of cancer diagnosis (n=20), of the 4218 remaining patients, 379 (89%, N=426) patients with depression were diagnosed after the data of cancer diagnosis—222 (94.5%) out of 235 for breast cancer and 157 (82.2%) out of 191 for colorectal cancer (see Table 4). The total number of patients with depression increased significantly after the diagnosis date of cancer (McNemar test: χ21=257.19; P<.001).
Table 4.
Cancer type | Before cancer diagnosis date, n/N (%) | After cancer diagnosis date, n/N (%) | Patients with depression, n/N (%) | Patients without depression, n/N (%) |
Breast | 13/235 (5.5) | 222/235 (94.5) | 235/2021 (11.6) | 1786/2021 (88.4) |
Colorectal | 34/191 (17.8) | 157/191 (82.2) | 191/2197 (8.7) | 2006/2197 (91.3) |
Total | 47/426 (11) | 379/426 (89) | 426/4218 (10) | 3792/4218 (90) |
When we considered the previous 3 selection criteria together (ICD-9 codes, drug mentions, and SNOMED CT concepts) to detect patients with a diagnosis of depression and excluded the patients with a depression diagnosis both before and after cancer diagnosis date (n=248), of a total of 1021 patients, 920 (90.1%) were diagnosed after the cancer diagnosis date—533 (92.5%) out of 576 for breast cancer and 387 (87%) out of 445 for colorectal cancer (see Table 5).
Table 5.
Cancer type | ICD-9-CM codes or mentions of drugs and SNOMED CT concepts before cancer diagnosis date, n/N (%) | ICD-9-CM codes or mentions of drugs and SNOMED CT concepts after cancer diagnosis date, n/N (%) | ICD-9-CM codes or mentions of drugs and SNOMED CT concepts, n/N (%) | No ICD-9-CM codes or mentions of drugs and SNOMED CT, concepts, n/N (%) |
Breast | 43/576 (7.5) | 533/576 (92.5) | 576/1918 (30) | 1342/1918 (70) |
Colorectal | 58/445 (13) | 387/445 (87) | 445/2072 (21.5) | 1627/2072 (78.5) |
Total | 101/1021 (9.9) | 920/1021 (90.1) | 1021/3990 (25.6) | 2969/3990 (74.4) |
Of the total 4238 individuals, we identified 1269 (30%) characterized by 1 or more diagnoses of depression by analyzing their clinical histories (both ICD-9-CM codes and clinical notes, including drug mentions and SNOMED CT concepts detection). The identification of a diagnosis of depression in 441 (34.8%) patients out of 1269 has been performed by relying exclusively on the analysis of clinical notes using text mining (drugs and SNOMED CT concepts detection)—such patients would have not been considered as having been diagnosed with depression by relying on ICD-9-CM clinical codes. If we consider patients with breast cancer, the diagnosis of depression has been performed by relying exclusively on text mining in 30.6% (211/690) of the patients; this percentage is 39.7% (230/579) when we consider patients with colorectal cancer. Consequently, thanks to the analysis of clinical notes, we detected a considerably larger number (828/1269, 65.2%) of patients diagnosed with depression, with 34.8% (441/1269) more individuals using text mining (drugs or SNOMED CT concept mentions), by relying on ICD-9-CM codes in combination or not with drugs or SNOMED CT concepts mentions (see Table 6).
Table 6.
Cancer type | ICD-9-CM codes without mentions of drugs or SNOMED CT concepts, n/N (%) | ICD-9-CM codes with mentions of drugs or SNOMED CT concepts, n/N (%) |
Breast | 479/690 (69.4) | 211/690 (30.6) |
Colorectal | 349/579 (60.3) | 230/579 (39.7) |
Total | 828/1269 (65.2) | 441/1269 (34.8) |
Finally, we tried to determine if there was a relationship between the onset of depression and receiving chemotherapy. Of the 2032 patients with breast cancer, 907 (44.6%) received chemotherapy and 1125 (55.4%) did not. Of the 2206 patients with colorectal cancer, 564 (25.6%) received chemotherapy and 1642 (74.4%) did not. The number of patients with depression who received chemotherapy was higher than those who did not receive chemotherapy, with significant differences (P<.001).
Discussion
Principal Findings
The detection of depressive disorders in patients with cancer is a key element in the management of these patients, which can impact the treatment outcomes of cancer [6]. In this study, we analyzed the relationship between depression and cancer diagnosis, particularly in breast and colorectal cancers. We considered the diagnosis of depression based on both structured information encoded by ICD-9-CM codes and extracted information from free-text clinical notes, using text mining and NLP tools for the mentions of antidepressant drugs and SNOMED CT concepts related to the concept “trastorno depresivo” (depressive disorder in Spanish). We identified a significantly higher number of patients with depression after the diagnosis of cancer, in both breast and colorectal cancers, thus highlighting the importance of such comorbidity in patients with these conditions [9]. The proportion of patients with depression increased with the progression of the cancer stage and when receiving chemotherapy. In addition, this trend was maintained when we detected patients with depression using the different sources of information that are available in the EHR, including structured data and free-text clinical notes in which antidepressants and depressive symptoms are mentioned. Nevertheless, our study demonstrates that the diagnosis of depression detected by medical doctors is not always registered using codifications (ie, ICD-9-CM codes), but it is often mentioned exclusively in free text in clinical notes where it can be indirectly detected based on the mentions of depressive symptoms or antidepressant drugs [38]. The detection of information related to depression from unstructured EHR data identified individuals among the patients included in the study who were missed based only on the information from encoded data.
The use of unstructured data for the identification of conditions such as depression, as well as other diseases and comorbidities [26], should be considered as a source of information that can contribute to the management of complex diseases such as cancer and depression. Using NLP methods to detect patients with conditions that are previously encoded can improve the codification process and follow-up of these patients. In addition, the use of NLP to detect symptoms and comorbidities from free text in the EHR can contribute to the characterization of diseases or predict response to treatment [39-41].
The value of relying on these 2 types of clinical information—structured and unstructured—has been analyzed in other conditions such as geriatric syndrome [26], different mental illnesses [42], and psychiatric phenotyping [43], helping in the identification of additional clinical information not registered using codifications, although the extraction of this data is challenging and resource intensive.
Limitations
This study has some limitations. It is not uncommon that if the main cause of admission of a patient is a complication of cancer, other secondary diagnoses such as depression are not included in the medical discharge report, and for this reason, these diagnoses can be underrecorded. However, specific words and expressions used by medical doctors to mention depression-related symptoms in clinical notes may not have been included among the terms used in this study. We based our analyses of clinical notes exclusively on the terminology encoded in SNOMED CT to capture mentions of depressive disorders, and therefore, our terminology could underestimate the number of patients with depression. In this regard, free text can be further explored to identify other expressions and terms used by clinicians to describe depression symptoms [26]. Finally, the mentions of antidepressant drugs could not always be associated with a diagnosis of depression but rather with other mental disorders in which these drugs are prescribed.
Conclusions
This study demonstrated that the use of NLP for extracting and processing unstructured clinical information, which is present in free-text clinical notes in the EHR, in combination with encoded diagnosis can contribute to the identification of relevant clinical data—in this case, the detection of depressive disorders in patients with breast and colorectal cancers. This study shows the possibility of combining structured and unstructured data included in the EHR, providing new opportunities to better understand and manage complex diseases and their comorbidities, such as cancer and depression, to the benefit of these patients. In future works, we intend to extract information from the EHR using NLP in combination with machine learning methods and apply prediction models to estimate different possible outcomes.
Acknowledgments
The Research Programme on Biomedical Informatics (GRIB) is a member of the Spanish National Bioinformatics Institute and funded by Instituto de Salud Carlos III and FEDER (PT17/0009/0014). The GRIB is also supported by the Agència de Gestió d’Ajuts Universitaris i de Recerca, Generalitat de Catalunya (2017 SGR 00519). This research was carried out under the framework of the project Creating medically-driven integrative bioinformatics applications focused on oncology, CNS disorders and their comorbidities (MedBioinformatics, H2020-EU; grant 634143); and partially funded by the Institute of Health Carlos III (project IMPaCT-Data; IMP/00019) and cofunded by the European Union, European Regional Development Fund (“A way to make Europe”); and the Clinical Knowledge Aggregation by Mining Medical Reports (CliKA-MinE; PI17/00230), which is funded by Institute of Health Carlos III and cofunded by the European Union.
Abbreviations
- EHR
electronic health record
- ICD-9-CM
International Classification of Diseases, Ninth Revision, Clinical Modification
- NLP
natural language processing
- SNOMED CT
Systematized Nomenclature of Medicine Clinical Terms
ICD-9-CM (International Classification of Diseases, Ninth Revision, Clinical Modification) diagnosis codes related to depressive disorders used in the study.
Names of the active substances of the 35 antidepressants and their corresponding 82 brand names used in Spain.
Data Availability
The study involves the use of patients’ medical data from the Hospital del Mar according to the General Data Protection Regulation. The data is not publicly available due to the ethical regulations under which the data is collected from our hospital database.
Footnotes
Authors' Contributions: The first draft was written jointly by AL, MAM, and FR. All the authors have read and agreed to the final version of the manuscript.
Conflicts of Interest: None declared.
References
- 1.Sung H, Ferlay J, Siegel RL, Laversanne M, Soerjomataram I, Jemal A, Bray F. Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. 2021 May;71(3):209–249. doi: 10.3322/caac.21660. doi: 10.3322/caac.21660. [DOI] [PubMed] [Google Scholar]
- 2.Las cifras del cáncer en España 2021. Sociedad Española de Oncología Médica (SEOM) 2021. [2022-06-28]. https://seom.org/images/Cifras_del_cancer_en_Espnaha_2021.pdf .
- 3.World summary statistics (2020) The Global Cancer Observatory. 2021. Mar, [2022-02-01]. https://gco.iarc.fr/today/data/factsheets/populations/900-world-fact-sheets.pdf .
- 4.Spain summary statistics (2020) The Global Cancer Observatory. 2021. Mar, [2022-02-01]. https://gco.iarc.fr/today/data/factsheets/populations/724-spain-fact-sheets.pdf .
- 5.Watts S, Leydon G, Birch B, Prescott P, Lai L, Eardley S, Lewith G. Depression and anxiety in prostate cancer: a systematic review and meta-analysis of prevalence rates. BMJ Open. 2014 Mar 13;4(3):e003901. doi: 10.1136/bmjopen-2013-003901.bmjopen-2013-003901 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Smith HR. Depression in cancer patients: pathogenesis, implications and treatment (review) Oncol Lett. 2015 Apr;9(4):1509–1514. doi: 10.3892/ol.2015.2944.ol-09-04-1509 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Li M, Fitzgerald P, Rodin G. Evidence-based treatment of depression in patients with cancer. J Clin Oncol. 2012 Apr 10;30(11):1187–96. doi: 10.1200/JCO.2011.39.7372.JCO.2011.39.7372 [DOI] [PubMed] [Google Scholar]
- 8.Hinz A, Herzberg PY, Lordick F, Weis J, Faller H, Brähler Elmar, Härter Martin, Wegscheider K, Geue K, Mehnert A. Age and gender differences in anxiety and depression in cancer patients compared with the general population. Eur J Cancer Care (Engl) 2019 Sep 09;28(5):e13129. doi: 10.1111/ecc.13129. [DOI] [PubMed] [Google Scholar]
- 9.Hinz A, Krauss O, Hauss J, Höckel M, Kortmann R, Stolzenburg J, Schwarz R. Anxiety and depression in cancer patients compared with the general population. Eur J Cancer Care (Engl) 2010 Jul;19(4):522–9. doi: 10.1111/j.1365-2354.2009.01088.x.ECC1088 [DOI] [PubMed] [Google Scholar]
- 10.Mayr M, Schmid RM. Pancreatic cancer and depression: myth and truth. BMC Cancer. 2010 Oct 20;10(1):569. doi: 10.1186/1471-2407-10-569. https://bmccancer.biomedcentral.com/articles/10.1186/1471-2407-10-569 .1471-2407-10-569 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Satin JR, Linden W, Phillips MJ. Depression as a predictor of disease progression and mortality in cancer patients: a meta-analysis. Cancer. 2009 Nov 15;115(22):5349–61. doi: 10.1002/cncr.24561. doi: 10.1002/cncr.24561. [DOI] [PubMed] [Google Scholar]
- 12.Linden W, Vodermaier A, Mackenzie Regina, Greig D. Anxiety and depression after cancer diagnosis: prevalence rates by cancer type, gender, and age. J Affect Disord. 2012 Dec 10;141(2-3):343–51. doi: 10.1016/j.jad.2012.03.025.S0165-0327(12)00221-2 [DOI] [PubMed] [Google Scholar]
- 13.Mehnert A, Brähler Elmar, Faller H, Härter Martin, Keller M, Schulz H, Wegscheider K, Weis J, Boehncke A, Hund B, Reuter K, Richard M, Sehner S, Sommerfeldt S, Szalai C, Wittchen H, Koch U. Four-week prevalence of mental disorders in patients with cancer across major tumor entities. J Clin Oncol. 2014 Nov 01;32(31):3540–6. doi: 10.1200/JCO.2014.56.0086.JCO.2014.56.0086 [DOI] [PubMed] [Google Scholar]
- 14.Dauchy S, Dolbeault S, Reich M. Depression in cancer patients. EJC Suppl. 2013 Sep;11(2):205–15. doi: 10.1016/j.ejcsup.2013.07.006. https://linkinghub.elsevier.com/retrieve/pii/S1359-6349(13)00007-4 .S1359-6349(13)00007-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Misono S, Weiss NS, Fann JR, Redman M, Yueh B. Incidence of suicide in persons with cancer. J Clin Oncol. 2008 Oct 10;26(29):4731–8. doi: 10.1200/JCO.2007.13.8941. http://europepmc.org/abstract/MED/18695257 .JCO.2007.13.8941 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Pinquart M, Duberstein PR. Depression and cancer mortality: a meta-analysis. Psychol Med. 2010 Nov;40(11):1797–810. doi: 10.1017/S0033291709992285. http://europepmc.org/abstract/MED/20085667 .S0033291709992285 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Tsaras K, Papathanasiou IV, Mitsi D, Veneti A, Kelesi M, Zyga S, Fradelos E. Assessment of depression and anxiety in breast cancer patients: prevalence and associated factors. Asian Pac J Cancer Prev. 2018 Jun 25;19(6):1661–1669. doi: 10.22034/APJCP.2018.19.6.1661. http://journal.waocp.org/?sid=Entrez:PubMed&id=pmid:29938451&key=2018.19.6.1661 . [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Pilevarzadeh M, Amirshahi M, Afsargharehbagh R, Rafiemanesh H, Hashemi S, Balouchi A. Global prevalence of depression among breast cancer patients: a systematic review and meta-analysis. Breast Cancer Res Treat. 2019 Aug 13;176(3):519–533. doi: 10.1007/s10549-019-05271-3.10.1007/s10549-019-05271-3 [DOI] [PubMed] [Google Scholar]
- 19.Lloyd S, Baraghoshi D, Tao R, Garrido-Laguna I, Gilcrease IG, Whisenant J, Weis J, Scaife C, Pickron T, Huang L, Monroe M, Abdelaziz Sarah, Fraser Alison M, Smith Ken R, Deshmukh Vikrant, Newman Michael, Rowe Kerry G, Snyder John, Samadder Niloy J, Hashibe Mia. Mental health disorders are more common in colorectal cancer survivors and associated with decreased overall survival. Am J Clin Oncol. 2019 Apr;42(4):355–362. doi: 10.1097/COC.0000000000000529. http://europepmc.org/abstract/MED/30844850 . [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Peng Y, Huang M, Kao C. Prevalence of depression and anxiety in colorectal cancer patients: a literature review. Int J Environ Res Public Health. 2019 Jan 31;16(3):411. doi: 10.3390/ijerph16030411. https://www.mdpi.com/resolver?pii=ijerph16030411 .ijerph16030411 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Aminisani N, Nikbakht H, Asghari Jafarabadi Mohammad, Shamshirgaran SM. Depression, anxiety, and health related quality of life among colorectal cancer survivors. J Gastrointest Oncol. 2017 Feb;8(1):81–88. doi: 10.21037/jgo.2017.01.12. doi: 10.21037/jgo.2017.01.12.jgo-08-01-081 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Cvetković J, Nenadović M. Depression in breast cancer patients. Psychiatry Res. 2016 Jun 30;240:343–347. doi: 10.1016/j.psychres.2016.04.048.S0165-1781(16)30519-4 [DOI] [PubMed] [Google Scholar]
- 23.Lloyd-Williams M. Depression--the hidden symptom in advanced cancer. J R Soc Med. 2003 Dec 01;96(12):577–81. doi: 10.1258/jrsm.96.12.577. http://europepmc.org/abstract/MED/14645605 . [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Tayefi M, Ngo P, Chomutare T, Dalianis H, Salvi E, Budrionis A, Godtliebsen F. Challenges and opportunities beyond structured data in analysis of electronic health records. WIREs Comp Stat. 2021 Feb 14;13(6):e1549. doi: 10.1002/wics.1549. [DOI] [Google Scholar]
- 25.Jensen PB, Jensen LJ, Brunak S. Mining electronic health records: towards better research applications and clinical care. Nat Rev Genet. 2012 May 02;13(6):395–405. doi: 10.1038/nrg3208.nrg3208 [DOI] [PubMed] [Google Scholar]
- 26.Kharrazi H, Anzaldi LJ, Hernandez L, Davison A, Boyd CM, Leff B, Kimura J, Weiner JP. The value of unstructured electronic health record data in geriatric syndrome case identification. J Am Geriatr Soc. 2018 Aug;66(8):1499–1507. doi: 10.1111/jgs.15411. [DOI] [PubMed] [Google Scholar]
- 27.Simmons M, Singhal A, Lu Z. Text mining for precision medicine: bringing structure to EHRs and biomedical literature to understand genes and health. Adv Exp Med Biol. 2016;939:139–166. doi: 10.1007/978-981-10-1503-8_7. http://europepmc.org/abstract/MED/27807747 . [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Shao Y, Zeng QT, Chen KK, Shutes-David A, Thielke SM, Tsuang DW. Detection of probable dementia cases in undiagnosed patients using structured and unstructured electronic health records. BMC Med Inform Decis Mak. 2019 Jul 09;19(1):128. doi: 10.1186/s12911-019-0846-4. https://bmcmedinformdecismak.biomedcentral.com/articles/10.1186/s12911-019-0846-4 .10.1186/s12911-019-0846-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Sheikhalishahi S, Miotto R, Dudley JT, Lavelli A, Rinaldi F, Osmani V. Natural language processing of clinical notes on chronic diseases: systematic review. JMIR Med Inform. 2019 Apr 27;7(2):e12239. doi: 10.2196/12239. https://medinform.jmir.org/2019/2/e12239/ v7i2e12239 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Jackson RG, Patel R, Jayatilleke N, Kolliakou A, Ball M, Gorrell G, Roberts A, Dobson RJ, Stewart R. Natural language processing to extract symptoms of severe mental illness from clinical text: the Clinical Record Interactive Search Comprehensive Data Extraction (CRIS-CODE) project. BMJ Open. 2017 Jan 17;7(1):e012012. doi: 10.1136/bmjopen-2016-012012. https://bmjopen.bmj.com/lookup/pmidlookup?view=long&pmid=28096249 .bmjopen-2016-012012 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Mayer A, Gutierrez-Sacristan Alba, Leis A, De La Peña Santiago, Sanz F, Furlong L. Using electronic health records to assess depression and cancer comorbidities. Stud Health Technol Inform. 2017;235:236–240. doi: 10.3233/978-1-61499-753-5-236. [DOI] [PubMed] [Google Scholar]
- 32.Aerts H, Kalra D, Sáez Carlos, Ramírez-Anguita Juan Manuel, Mayer M, Garcia-Gomez JM, Durà-Hernández Marta, Thienpont G, Coorevits P. Quality of hospital electronic health record (EHR) data based on the International Consortium for Health Outcomes Measurement (ICHOM) in heart failure: pilot data quality assessment study. JMIR Med Inform. 2021 Aug 04;9(8):e27842. doi: 10.2196/27842. https://medinform.jmir.org/2021/8/e27842/ v9i8e27842 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.International Classification of Diseases, Ninth Revision, Clinical Modification (ICD-9-CM) Centers for Disease Control and Prevention. [2022-02-09]. https://www.cdc.gov/nchs/icd/icd9cm.htm .
- 34.Agüero Fernando, Murta-Nascimento C, Gallén Manuel, Andreu-García Montserrat, Pera M, Hernández Cristina, Burón Andrea, Macià Francesc. Colorectal cancer survival: results from a hospital-based cancer registry. Rev Esp Enferm Dig. 2012 Dec;104(11):572–7. doi: 10.4321/s1130-01082012001100004. http://www.grupoaran.com/mrmUpdate/lecturaPDFfromXML.asp?IdArt=4620427&TO=RVN&Eng=1 . [DOI] [PubMed] [Google Scholar]
- 35.SNOMED International SNOMED CT Browser. SNOMED International. [2022-02-09]. https://browser.ihtsdotools.org .
- 36.Padró L, Stanilovsky E. FreeLing 3.0: Towards wider multilinguality. Proceedings of the Eighth International Conference on Language Resources and Evaluation; LREC'12; May 21-27, 2012; Istanbul, Turkey. 2012. pp. 2473–2479. http://www.lrec-conf.org/proceedings/lrec2012/pdf/430_Paper.pdf . [Google Scholar]
- 37.Elasticsearch. [2022-02-01]. https://www.elastic.co/
- 38.Vaci N, Liu Q, Kormilitzin A, De Crescenzo F, Kurtulmus A, Harvey J, O'Dell B, Innocent S, Tomlinson A, Cipriani A, Nevado-Holgado A. Natural language processing for structuring clinical text data on depression using UK-CRIS. Evid Based Ment Health. 2020 Feb 11;23(1):21–26. doi: 10.1136/ebmental-2019-300134.ebmental-2019-300134 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Koleck T, Dreisbach C, Bourne P, Bakken S. Natural language processing of symptoms documented in free-text narratives of electronic health records: a systematic review. J Am Med Inform Assoc. 2019 Apr 01;26(4):364–379. doi: 10.1093/jamia/ocy173. http://europepmc.org/abstract/MED/30726935 .5307912 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Yim W, Yetisgen M, Harris WP, Kwan SW. Natural language processing in oncology: a review. JAMA Oncol. 2016 Jun 01;2(6):797–804. doi: 10.1001/jamaoncol.2016.0213.2517402 [DOI] [PubMed] [Google Scholar]
- 41.Menasalvas Ruiz E, Tuñas Juan Manuel, Bermejo G, Gonzalo Martín Consuelo, Rodríguez-González Alejandro, Zanin M, González de Pedro Cristina, Méndez Marta, Zaretskaia O, Rey J, Parejo C, Cruz Bermudez JL, Provencio M. Profiling lung cancer patients using electronic health records. J Med Syst. 2018 May 31;42(7):126. doi: 10.1007/s10916-018-0975-9.10.1007/s10916-018-0975-9 [DOI] [PubMed] [Google Scholar]
- 42.Spiranovic C, Matthews A, Scanlan J, Kirkby KC. Increasing knowledge of mental illness through secondary research of electronic health records: opportunities and challenges. Adv Ment Health. 2015 Jul 21;14(1):14–25. doi: 10.1080/18387357.2015.1063635. [DOI] [Google Scholar]
- 43.Smoller JW. The use of electronic health records for psychiatric phenotyping and genomics. Am J Med Genet B Neuropsychiatr Genet. 2018 Oct 30;177(7):601–612. doi: 10.1002/ajmg.b.32548. http://europepmc.org/abstract/MED/28557243 . [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
ICD-9-CM (International Classification of Diseases, Ninth Revision, Clinical Modification) diagnosis codes related to depressive disorders used in the study.
Names of the active substances of the 35 antidepressants and their corresponding 82 brand names used in Spain.
Data Availability Statement
The study involves the use of patients’ medical data from the Hospital del Mar according to the General Data Protection Regulation. The data is not publicly available due to the ethical regulations under which the data is collected from our hospital database.