key: cord-0745901-hc3q9glg authors: Ma, He; Ding, Jingjing; Liu, Mei; Liu, Ying title: Connections between Various Disorders: Combination Pattern Mining Using Apriori Algorithm Based on Diagnosis Information from Electronic Medical Records date: 2022-05-13 journal: Biomed Res Int DOI: 10.1155/2022/2199317 sha: 73acb6272889b288a38981a8b5681faa5556eeae doc_id: 745901 cord_uid: hc3q9glg OBJECTIVE: Short-term or long-term connections between different diseases have not been fully acknowledged. This study was aimed at exploring the network association pattern between disorders that occurred in the same individual by using the association rule mining technique. METHODS: Raw data were extracted from the large-scale electronic medical record database of the affiliated hospital of Xuzhou Medical University. 1551732 pieces of diagnosis information from 144207 patients were collected from 2015 to 2020. Clinic diagnoses were categorized according to “International Classification of Diseases, 10th revision”. The Apriori algorithm was used to explore the association patterns among those diagnoses. RESULTS: 12889 rules were generated after running the algorithm at first. After threshold filtering and manual examination, 110 disease combinations (support ≥ 0.001, confidence ≥ 60%, lift > 1) with strong association strength were obtained eventually. Association rules about the circulatory system and metabolic diseases accounted for a significant part of the results. CONCLUSION: This research elucidated the network associations between disorders from different body systems in the same individual and demonstrated the usefulness of the Apriori algorithm in comorbidity or multimorbidity studies. The mined combinations will be helpful in improving prevention strategies, early identification of high-risk populations, and reducing mortality. Everyone suffers from multiple kinds of diseases in their whole lives. It is believed that some illnesses can cooccur within a certain period. That is, these disorders may have some sort of connection with each other in the same individual. These connections can last for years, while other conditions can occur simultaneously. From the perspective of causality, the connections can be divided into two situations: comorbidity and multimorbidity. The former refers to the combined effects of additional conditions in reference to an index chronic condition, and the latter depicts that no single condition holds priority over any of the cooccurring conditions [1] . Sometimes, it is complicated and challenging to sort out this causal relationship and distinguish comorbidities from multimorbidities. But one thing is for sure. For individual patients, multimorbidities or comorbidities are always associated with a greater demand for professional help, a poorer prognosis, greater interference with everyday life, and lower socioeconomic status [2] . Also, higher prevalence, mortality, and disability rate that result from multiple coexisting conditions lead to increased social burdens. Hence, it is imperative to develop a thorough understanding of the association between diseases in individuals. Can we identify a disorder that puts someone at more risk of developing a second disorder? Increased scientific interest in the underlying relationship between different conditions has led to the generation of many theories and reports. Morikawa et al. revealed the coexistence of adenomyomatosis and primary gallbladder carcinoma [3] . Akpinar pointed out that thyroid dysfunction was an underestimated comorbidity of chronic obstructive pulmonary disease and reviewed the mechanism of the occurrence and the clinical outcome [4] . Wicklein and Gosch reported multimorbidity interactions of osteoporosis with shared pathophysiological mechanisms in older age [5] . Di Angelantonio et al. evaluated the mortality risk and estimated reductions in life expectancy associated with cardiometabolic multimorbidity [6] . In addition, several case reports were published to describe individual patients with concomitant diseases from the same or different body systems such as genitourinary system, digestive system, and circulatory system. [7] [8] [9] Although considerable progress towards furthering our understanding of the connections between diseases has been made, most studies had relatively insufficient sample sizes (e.g., case reports), resulting in low epidemiological and statistical significance. Furthermore, almost all researches merely focused on comorbidities or multimorbidities of one disease or one body system. A whole network association remained under investigation. The association rule mining technique is one of the most popular and effective unsupervised data mining approaches that are always conducted to extract useful information from large amounts of stored data in databases. It is usually applied to discover relations between items in big data [10] . Association rule mining has been used in various medical applications such as detecting near-crash events of traffic accidents [11] , mining risk factors of diseases [12] , and classifying the care needs of patients [13] . Recently, pattern mining technique was applied on the novel coronavirus (COVID-19) genome sequences to discover frequently occurring nucleotides, sequential relationships between nucleotides, and predict the next nucleotides bases of a sequence [14] . Additionally, running the mining algorithm could help make the medication combination recommendations for obstetric hypertension patients [15] . Apriori algorithm is a classic and great candidate of all association rule mining approaches. It processes by identifying noticeable rules among frequent patterns that are mined first through establishing threshold values of support and confidence [16] . Apriori algorithm-based association rule analysis provides interpretable and intuitive results to inform general trends in the database [17] . It has already been introduced in the field of exploring the comorbidity of attentiondeficit hyperactivity disorder for the most critical parameter, "confidence" in the Apriori algorithm, which is arithmetically equal to the "comorbidity" in epidemiology [18, 19] . In this study, we designed a data mining model aiming at discovering frequent rules of associations between diseases that cooccurred in the same individuals by using the Apriori algorithm and the massive electronic medical record (EMR) database of the affiliated hospital of Xuzhou Medical University. We expected that considering and utilizing these associations between disorders would not only provide evidence and clues for further clinical mechanism researches but also prove that the Apriori algorithm was a practical approach for data mining in the EMR database. Criteria. The raw data in this study were extracted from the electronic medical record database of the affiliated hospital of Xuzhou Medical University, a well-known Tertiary-Class-A medical center in Jiangsu Province, China. Patients from 142 cities and 32 provinces aged from newborn to 115 years old came to the hospital for diagnosis and treatment. The EMR database was established in 2011 and accumulated over 1.53 million records by the end of 2020. So it could be approximated as a population-based database. Each record in the database contained various sociodemographic and clinical information. Characteristics relevant to this analysis included patients' sex, age, medical record identification number, citizen ID number, and all discharge diagnosis information consisting of codes and corresponding descriptions during the hospitalization. Patients' sex and age at first admission were screened out to estimate the population distribution only, and they would not be involved in the mining model. Many patients had multiple visits to our hospital, and it became the basis of this research. The medical record identification number was used to represent and distinguish each hospitalization. In other words, each hospitalization could generate a medical record identification number, and the medical record system did not consider whether it was the same patient or not. However, the citizen ID number was a different story, and it played an essential role in the constructing of the dataset in the analysis. It was extracted as the personal identifier that allowed for linkage of multiple hospitalizations for the same person. That is to say, different medical records for different hospitalizations of the same person contained the same citizen ID number. Both medical record identification numbers and citizen ID numbers were processed through recoding and original identity erasure to avoid disclosure of the identity of the enrollee. As a result, this study was deemed exempt by the Ethical Committee of the affiliated hospital of Xuzhou Medical University, for we only constituted an analysis of deidentified hospital discharge data within the database, and no human experiment was involved. Discharge diagnosis information was the critical data of this analysis and served as final diagnosis encoded in the form of codes and descriptions that were listed in International Classification of Diseases, 10th revision (ICD-10) in the database. ICD-10 coding system has been widely used for counting of diseases, injuries, symptoms for epidemiology, prevention, managing health care and allocation of resources for many years. ICD-10 codes are structured by an alphabetical character followed by two digits at the three-character level, then a point and a fourth character. Each character within each position has a specific meaning, allowing for flexibility in expansion and consistency within the coding system. The first alphabetical character usually represents "chapters" that are divided by body system, disease state, or reason for encounter. Then, "chapters" are divided into "categories" represented by three-character codes, and these, in turn, may be subdivided into "subcategories" with specific fourth characters. Although subcategories enable the coding of a disease or condition more specifically, the three-character category codes are always used for international reporting and comparisons and have more epidemiological and statistical characteristics. Hence, for each hospitalization, we scanned all available diagnosis codes that indicated both main conditions and other conditions. Then, we intercepted the first three characters of the 2 BioMed Research International full-length code, which was the categories, and incorporated them into the mining model. Furthermore, diagnosis codes from the chapters of "factors influencing health status and contact with health services" (ICD-10 "Z" codes) and "external causes of morbidity and mortality" (ICD-10 "V", "W", "X", and "Y" codes) were excluded for they did not represent any diseases or conditions. Those codes with corresponding descriptions, including the word "other", were also excluded because the conditions these codes represent could not be simply classified into one category. It was ensured that these codes would not disturb the performance of the model. Professional coders constructed the code by translating and "abstracting" information from medical documentation written by clinicians and selecting the appropriate value for each of the characters. The coding staff were all welltrained and very familiar with the ICD-10 language, coding structure, and rules. To ensure that everyone who coded with ICD-10 did so in the same way and that the resulting codes were consistent and comparable, the search tools in the EMR system helped coders to easily choose a correct code and clinicians, and coders worked together to ensure the best outcome in terms of the codes assigned. Besides, a rigorous coding protocol was followed. First, two coders independently coded the same cases with preferably a third person to be adjudicator should the two coders disagree. Second, where documentation appeared incomplete or the coder required clarification, advice from the clinicians involved in the case should be sought before a final decision on the appropriate codes for a case was made. Third, if the classification provided a four-character subcategory, then this should be utilized rather than using the higher level three-character category. That is, the assigned codes should be valid, preferably to the lowest level of the classification, to maximize the information that could be extracted from the coded data. Some records were excluded in this research: (1) patients with single hospitalization during the period (2) diagnosis information containing ICD-10 "V", "W", "X", "Y', and "Z" codes or codes with corresponding descriptions including the word "other" (3) records with incomplete data or missing values. Considering the coding quality and data integrity, records from Jan 1, 2015, to Dec 31, 2020, were enrolled in this analysis. Finally, 144207 patients with 555565 hospitalizations were selected, and all their diagnosis codes (1551732 codes) and corresponding descriptions consisting of main conditions and other conditions were collected after the data preprocessing and filtering according to the selection criteria. Analysis. Frequent rules of associations between coexisting diseases were mined using the Apriori algorithm. The Apriori algorithm was first presented by R. Agrawal to mine rules in a customer transaction database in 1993 [20] and has been proven to be one of the ten classic algorithms in the field of data mining [12] . Before applying the Apriori algorithm, the extracted data from the EMR were prepared through the data preprocessing step. First, raw data were transformed using the recoded personal identifier to merge the diagnosis information from different hospitalizations of the same individual patient and reconstruct these codes in the same row. The merged dataset represented the match between the patient arrivals and corresponding diagnosis codes that were expressed as "categories" in ICD-10. Second, the notations for each diagnosis code were "True" or "False". For each transaction, diagnosis codes of the conditions that the patients ever had were represented as "True", while the other codes were defined as "False" using binary values. The structured dataset that had binary representation was finally prepared for the Apriori algorithm. A sample of the structured dataset is illustrated in Table 1 . A whole collection of the diagnosis codes represented by the binary values in the same row was denoted as a "transaction" which originated in the field of shopping. In one transaction, every diagnosis that the patient ever had was an "item," and every possible combination of items in the transaction was called "itemset." So an itemset could contain 1 item, 2 items, or more. Every itemset was a subset of codes from A00 to U99. The purpose of the Apriori algorithm was to extract association rules of each itemset from every transaction. For example, a rule "itemset1 − >itemset2" depicted that the appearance of itemset1 implied the appearance of itemset2 in the same transaction. In this rule, itemset1 and itemset2 were called "antecedent" and "consequent," respectively. However, it was crucial to note that the implication was just cooccurrence and not traditional deterministic causality. Rules that the Apriori algorithm generated did not have to imply cause and effect necessarily. A lot of combinations of rules can be mined from the structured dataset once the Apriori algorithm starts. Luckily, not every one of them is meaningful and remarkable. Three kernel values are involved for evaluating the performance of the algorithm and filtering out meaningful rules preliminarily before the manual screening: support, confidence, and lift. The support of itemset1 − >itemset2 is defined as the percentage of transactions in the whole dataset that contains both itemset1 and itemset2 (Equation (1)). In the context of epidemiology, the support of itemset1 − >itemset2 is equivalent to the prevalence rate of both item-set1 and itemset2: "Confidence" is the critical metric in the Apriori algorithm. The confidence of itemset1 − >itemset2 is the conditional probability of occurrence of itemset2, given itemset1 (Equation (2)). In other words, it means the percentage of transactions containing both itemset1 and itemset2 in all transactions containing itemset1. It resembles the comorbidity of itemset2 with itemset1 within the same period in terms of epidemiology: 3 BioMed Research International The lift of itemset1 -> itemset2 is the ratio of the joint probability of itemset1 and itemset2 and product of their marginal probabilities, mathematically (Equation (3)). In sample terms, 'lift' measures the independence between itemset1 and itemset2. The lift value of an association rule greater than 1 indicates the antecedent itemset and the consequent itemset are dependent and correlated positively. Otherwise, the two itemsets are independent and there's a weak association between them: In general, the Apriori algorithm can be simplified in two steps: First, find out all of the frequent sets that are satisfied with a minimum support degree or minimum confidence degree. Second, from these frequent itemsets, strong association rules that meet minimum support and minimum confidence are generated. To avoid generating misleading rules, threshold settings for support, confidence and lift are critical. But there is no universal approach to set up threshold values according to the previous researches. The process of thresholds setting may suffer a certain level of subjectivity, and there is a trade-off between higher or lower support values. Setting a higher threshold value would reduce the number of rules that might result in missing some essential rules with low frequencies and setting a lower threshold value could result in a large number of rules that might hinder the management from summarizing rules because too many rules should be examined and interpreted manually. Besides, a high lift value suggests the strong dependency between the antecedent and consequent, and an association rule containing the two itemsets would be worthy of reporting if the lift value of this rule is high. This is an advantage of the Apriori algorithm to discover some less frequent but important patterns. Thus, many rounds of testing and evaluation were done before defining final thresholds to mine reasonable rules and to ensure the robustness of the model performance. Considering the vast amounts of types of diseases in the dataset, the rules satisfying support ≥ 0:001, confidence ≥ 60%, and lift > 1 were selected. Rules were sorted by confidence in descending order because the ones with the highest confidence value were the ones most interesting. After being filtered with thresholds, all the extracted rules were validated and reviewed by experts to remove duplicates and intermediate items and to ensure they were in line with basic scientific facts. Finally, rules with antecedent containing no more than two items (two ICD-10 diagnosis code categories) and consequent containing only one item (one ICD-10 diagnosis code category) were chosen for too many items in antecedent or consequent would result in relatively low population representation. In this study, data query and extraction were conducted in the EMR database that was constructed based on ORA-CLE 10 g (Integrated Development Environment: PL/SQL Developer 7.1.5.1399). Data preprocessing and the Apriori algorithm were employed by the package "pandas" (ver.1.1.5) and "mlxtend" (ver.0.18.0) in Python 3.6.4 (Ana-conda3 ver.5.1.0), respectively. Visualization of the result was fitted using Excel 2016. The data extracted from the EMR database was stored in "Comma-Separated values" (.csv) format before applying the algorithm. The data file consumed approximately 70 MB, which was not actually regarded as large-scale data compared to the real big data file. However, the Apriori algorithm has a common drawback when handling data: it processes slowly because it considers the whole transaction database. In order to address this issue, we imported the package "joblib" (ver.0.13.2) to implement parallel computation in Python using a quad-core CPU. The execution time was shortened to nearly a quarter of the original time when just using the single thread of CPU. Corresponding Extracted Diagnosis Information. Among 144207 participants in this study, 73133 male patients' diagnosis information was extracted, while the female cases were 71074. The median age of all participants at first admission was 56 years old, and the minimum age, lower-quartile age, upper-quartile age, and maximum age were 1d, 42 years old, 67 years old, and 102 years old, respectively. The age distribution is represented in Figure 1 . All enrollees were hospitalized at least two times and the highest frequency of hospitalizations in one individual was 102. 1551732 codes from these participants' diagnosis information were intercepted and classified into 1268 ICD-10 categories that accounted for 79.7% of all ICD-10 categories (1591 categories except for "V", "W", "X", "Y", and "Z" code). The frequency distributions of diagnosis codes classified by "chapters" (first alphabetical character) and "categories" (first three characters) are shown in Figures 2 and 3 , respectively. When classified by "chapters", the most prevalent disease cluster was "disease of the circulatory system" ("I" codes, 28.60%), followed by "neoplasms" ("C" codes, 20.13%), "endocrine, nutritional and metabolic diseases" ("E" codes, 9.20%), "diseases of the digestive system" ("K" codes, 7.65%), "diseases of the respiratory system" ("J" codes, 6.62%). When classified by "categories", the most prevalent disease cluster was "essential (primary) hypertension" ("I10" code, 9.62%), followed by "cerebral infarction" ("I63" code, 6.19%), "type 2 diabetes mellitus" ("E11" code, 5.47%), "chronic ischaemic heart disease" ("I25" code, 3.58%), "malignant neoplasm of bronchus and lung" ("C34" code, 3.53%), "malignant neoplasm of breast" ("C50" code, 3.18%), "pneumonia, organism unspecified" ("J18" code, 1.68%), "gastritis and duodenitis" ("K29" code, 1.61%), "angina pectoris" ("I20" code, 1.59%), and "chronic kidney disease" ("N18" code, 1.28%). Among the 1268 ICD-10 categories, five categories reached the frequency level of more than 50000. Twenty-two categories reached the frequency level of 10000-49999. One hundred eighty-eight categories reached the frequency level of 1000-9999. Four hundred fourteen categories reached the frequency level of 100-999. Six hundred thirty-nine categories reached the frequency level of 1-99. To avoid missing any critical association rule, we set the support threshold to 0.001 at the beginning, and no minimum confidence or lift thresholds were limited. 12889 rules were generated after running the Apriori algorithm on the preprocessed dataset. One hundred ten rules were finally kept through threshold filtering and manual examination. In order to clarify associations between diseases, we divided these mined rules into two parts according to ICD-10 "chapters" that usually represented body systems: associations between different ICD-10 "chapters" and associations within the same ICD-10 "chapter." Mining between Different ICD-10 "Chapters." Among 110 rules, there were 13 rules whose antecedent codes and consequent codes came from different ICD-10 "chapters" ( Table 2 ). All consequents of the rules were about the diseases of the circulatory system-essential (primary) hypertension and cerebral infarction. Type 2 diabetes mellitus (E11) appeared most-in five rules as antecedents, and it seemed to have a strong relationship with essential hypertension and cerebral infarction. These rules were ordered by confidence degree from largest to smallest. The highest association was the rule "chronic kidney disease BioMed Research International (N18) and type 2 diabetes mellitus (E11) -> essential (primary) hypertension (I10)" with confidence of 83.61% that meant the ratio of the cooccurrence rate of chronic kidney disease, type 2 diabetes mellitus, and hypertension over the prevalence of chronic kidney disease combined with type 2 diabetes mellitus. The support value of 1.08% indicated the prevalence of the three diseases within a certain period. The lift value of 1.98 suggested that chronic kidney disease combined with type 2 diabetes mellitus is positively associated with essential hypertension. The second rule "Parkinson's disease (G20) -> cerebral infarction (I63)" showed that individuals who have Parkinson's disease are most likely to experience cerebral infarction (83.55% probability). The third rule, "transient cerebral ischaemic attacks and related syndromes (G45) and type 2 diabetes mellitus (E11) -> cerebral infarction (I63)" depicted that the group with the second largest probability of experiencing cerebral infarction (83.18%) is those who have transient cerebral ischaemic attacks and related syndromes and type 2 diabetes mellitus. Rule 5 indicated that patients with hemiplegia have the highest probability of encountering essential hypertension in those rules whose antecedents contain just one item. One crucial result which needed to be highlighted was that patients who have chronic kidney disease combined with type 2 diabetes mellitus have more risks to experience essential hypertension than those who only suffer from one of the two diseases according to rule 1, rule 6, and rule 12. Besides, if both transient cerebral ischaemic attacks and type 2 diabetes mellitus rather than only the former one were observed in a patient, it was highly probable for this patient to acquire cerebral infarction on the basis of rule 3 and rule 4. In addition, spinal disease and hypothyroidism were associated with cerebral infarction based on rule 8, rule 9, and rule 13, which might be an innovative discovery. Mining within the Same ICD-10 "Chapter." Ninety-seven rules were selected while considering those whose antecedent codes and consequent codes were from the same "chapter" (Table 3 ). 26 ICD-10 categories from 12 "chapters" were involved from the perspective of the consequent codes. There were 55 rules (56.70%) whose consequent codes represented diseases of the circulatory system, followed by 12 rules (diseases of the digestive system, 12.37%) and 9 rules (diseases of the respiratory system, 9.28%). The rest rules were distributed in the fields of "neoplasms" (4 rules), "injury, poisoning and certain other consequences of external causes" (3 rules), "diseases of the eye and adnexa" (3 rules), "endocrine, nutritional and metabolic diseases" (2 rules), "congenital malformations, deformations and chromosomal abnormalities" (2 rules), "symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified" (2 rules), "mental and behavioral disorders" (2 rules), "diseases of the nervous system" (2 rules), and "certain infectious and parasitic diseases" (1 rule). There were eight rules (8.25% of 97 rules) whose confidence degree was greater than 90%. Twenty-six rules' confidence degree was between 80% and 90% (accounting for 26.80%). 50 rules' confidence degree was between 70% and 80% (51.55%). 13 rules' confidence degree was between 60% and 70% (13.40%). The highest confidence degree was achieved in the rule "congenital malformations of gallbladder, bile ducts and liver (Q44) -> cystic kidney disease (Q61)" whose confidence degree was 97.27%. The highest support degree was found in two rules: "cerebral infarction (I63) -> essential (primary) hypertension (I10)" and "essential (primary) hypertension (I10) -> cerebral infarction (I63)," whose support value was 48.68%. Rule "Malignant neoplasm of renal pelvis (C65) -> Malignant neoplasm of kidney, except renal pelvis (C64)" achieved the highest lift degree (27.80), which meant malignant neoplasm of the renal pelvis and other malignant neoplasms of the kidney were highly dependent. Some worth emphasizing results were discovered when we took a panoramic view: (1) Rule 61 "acute myocardial infarction -> chronic ischaemic heart disease" suggested an acute attack from a chronic disease. (2) Some rules indicated the spreading of a disease from an original site to one or more sites elsewhere in the body, e.g., cancer metastasis, based on rule 7, rule 13, rule 45, rule 82, and rule 83. (3) The exacerbation of diseases could be seen in rule 4, rule 6, rule 86, and rule 90. (4) Patients who have two combined conditions in antecedent usually have more risks to experience the specific disease in consequent than those who only suffer from one of the two diseases in antecedent, which was consistent with the above conclusion. (5) "Congenital malformations of gallbladder, bile ducts and liver" (Q44) and "cystic kidney disease" (Q61) were associated with each other according to rule 1 and rule 3. "Essential (primary) hypertension" (I10) appeared most frequently as the consequent of rules (40 rules), followed by "cerebral infarction" (I63, 11 rules) and "pneumonia, organism unspecified" (J18, 9 rules). Common circulatory system diseases, like essential hypertension, cerebral infarction, atherosclerosis, intracerebral haemorrhage, chronic ischaemic heart disease, and angina pectoris, are mutual inducing factors. When patients experience more circulatory system diseases, they are at increased risk for other disorders in the circulatory system. Among 40 rules about essential hypertension, the rule with the highest confidence was the rule "atherosclerosis (I70) and intracerebral haemorrhage (I61) -> essential hypertension (I10)" with confidence: 89.04%. There were seven rules whose antecedent contained a single ICD-10 category in the 40 rules. Among them, the rule with only intracerebral haemorrhage as antecedent obtained the highest confidence degree: 82.09%. "Occlusion and stenosis of precerebral arteries, not resulting in cerebral infarction" (I66) and "sequelae of cerebrovascular disease" (I69) were the most frequent items in antecedents of the rules about hypertension. Each of them appeared in 10 rules. Eleven rules described the relationship between other diseases and cerebral infarction, and the rule with the highest confidence was the rule "occlusion and stenosis of cerebral arteries, not resulting in cerebral infarction (I66) -> cerebral infarction (I63)" with confidence: 96.05%. "Atherosclerosis" (I70) appeared most frequently in the antecedents of the rules about cerebral infarction (5 rules), which indicated that patients with atherosclerosis have a relatively higher probability of suffering from cerebral infarction. Finally, when considering rules whose consequent was pneumonia (J18), acute respiratory conditions like tonsillitis, bronchiolitis, laryngitis, and tracheitis, all had the potential to develop into pneumonia. Rule "acute tonsillitis (J03) combined with acute laryngitis and tracheitis (J04) -> pneumonia, organism unspecified (J18)" achieved the highest confidence degree of all rules concerning pneumonia: 82.22%. The rule with only acute bronchiolitis as antecedent obtained the highest confidence degree: 80.80% in 4 rules whose antecedent contained a single item. "Acute tonsillitis" (J03) was the most frequent item that appeared in the antecedent position of rules about pneumonia (5 rules). 8 BioMed Research International Data mining is a fantastic technology that combines machine learning, statistics, big data technology, and artificial intelligence. It consists of classification, association analysis, outlier detection, clustering, and forecasting. These functions have already been conducted in many medical researches, especially in classifying patients [21] and generating predictions [22] . However, to the best of the knowledge, the use of association analysis is rare in the context of multimorbidity relationship mining, especially the whole network association. Thus, this study might be the first research which was intended to make a relatively comprehensive understanding of the network associations between different diseases from nearly all body systems by data mining technique using real-life data received from a large-scale diagnosis information database. Recently, deep learning technique, such as deep neural network (DNN), is very famous in the field of data mining. It has outperformed the conventional data mining techniques in identifying complex patterns. However, this comes at an expensive cost: opaqueness and uninterpretability. The "black-box" is difficult to debug and isolate the reason behind certain outcomes because deep learning algorithms lack strong theoretical backing [23] . The Apriori algorithm contrasts this situation, for it is very simple to explain and has a solid theoretical basis. Consequently, the Apriori algorithm became our choice in this research. As shown above, association rules about the circulatory system and metabolic diseases accounted for a major part of the results. One of the principal explanations for this phenomenon is that the operating mechanism of the Apriori algorithm forces the number of the item to occupy a certain proportion in the dataset before the rules of the item can be displayed. In other words, if the rule about a particular disease wants to be selected, the support degree of this disease needs to reach a given level. In recent years, circulatory system disease has contributed more and more to the increase of the morbidity and prevalence in the disease spectrum of China. Rao et al. [24] conducted an epidemiologic survey in China and The result from this epidemiologic research was basically consistent with the percentage of circulatory system disease in our dataset. Also, it proved that the database used in this study was approximately population-based. Hence, what we mined was not surprising. As a kind of chronic underlying disease cluster, there is no complete cure for cardiovascular and cerebrovascular diseases at present. Many patients live with, rather than die from, these chronic health conditions. Cardiovascular and cerebrovascular diseases devastate patients' bodies and minds for a long time, resulting in poor physical fitness. Most patients survive long enough to suffer the long-term consequences and are very prone to other conditions during the period, which can also be seen as a potential connection with other diseases. One circulatory system disease always induces one or more other circulatory disorders in an individual. In addition, the more circulatory system diseases occur in one individual, the more likely the patient is to suffer from another circulatory system disease. Thiene and Valente [25] reported that hypertension is usually associated with aortic dissecting aneurysm, and angina pectoris and myocardial infarction are the complications of coronary atherosclerosis that is the primary cause of death in the elderly. Roberts [26] found that hypertension appears to be a common and underlying risk factor to developing various cardiovascular conditions, like cerebral arterial rupture, hyperlipidemia, and atherosclerosis. Liu et al. [27] analyzed the characteristics and clinical medicine information of 4497 patients with Parkinson's syndrome in 17 hospitals all over China from diagnostic information databases of hospital information systems. The results indicated the most common comorbidities of Parkinson's syndrome are cerebral infarction, hypertension, coronary heart disease, diabetes, and lung infections. The combined incidence of hypertension reached 33.46%. Besides the epidemiologic data, the pathological mechanism of comorbidities or multimorbidities in cardiovascular diseases has been depicted by scholars. High serum urate levels are influenced by genetic pleiotropy, which could be considered a common cause resulting in an increased risk of different types of cardiac events [28] . Multiple drugs, including long-chain polyunsaturated fatty acids [29] and cannabidiol [30] , have been proven effective in treating Parkinson's syndrome, ischaemic stroke, cerebral infarction, hypertension, and diabetes, which indicates that these disorders may have similar pathogenic sites and principles. In addition to the mutual induction between circulatory system diseases, cardiovascular and cerebrovascular diseases are also related to the disorders from other body systems. Hypothyroidism, spondylosis, cervical spine injury, and chronic kidney disease are all reported to be directly or indirectly associated with circulatory system diseases [31] [32] [33] [34] [35] . In general, the above researches presented a connection network about circulatory system diseases, which was consistent with our findings. Lower support values were found in those association rules about disorders from other body systems, for the number of the total samples was very large, and the prevalence of these diseases was relatively lower compared with circulatory system diseases. It did not mean that the association degree between these conditions was weak or these rules were not important. On the contrary, these rules were very applicable to predict the occurrence and development of diseases from other body systems except circulatory system disorders. As described above, pneumonia could become a concomitant condition and terminal stage of acute respiratory illnesses, like tonsillitis and bronchiolitis [36, 37] . Congenital malformations of the gallbladder, bile ducts, and liver are always accompanied by polycystic kidney disease [38, 39] . Malignant neoplasm of renal pelvis tends to metastasize to surrounding area parts of the kidney (e.g., adrenal gland) [40, 41] . These works of literature prove that the association rules that we mined are valid and in line with clinical practice. The aim of this study was not only to provide the necessary evidence for known connections between disorders but also to generate predictive relationship patterns. Some rules were temporarily not reported by existing clinical or epidemiologic researches, and they have not been fully discovered or valued. In these rules, there was no obvious or easy-todetect clinical link between diseases. But the disorders might share common risk factors, or they themselves were intermediate states of other conditions. These rules could be regarded as the beginning and clues of mechanism researches on the associations. Our research has several limitations. First, it is believed that connections between many diseases can be maintained for decades. Limited by objective circumstances, such as data quality and database access authorization, only 6-years' hospitalization and diagnosis information in a unique hospital was calculated instead of the whole lifetime samples, which might lead to the omission of some long-lasting association information. If possible, a multicenter study can help validate the generated rules and more exciting results will be discovered. Second, the occurrence of diseases can be influenced by many psychosocial factors. However, we did not measure these factors, and they were not incorporated into the model in this analysis because the dataset anonymized participants to avoid possible misuse. Besides, the Apriori algorithm is a big data screening approach, and it is not designed to present or analyze those detailed information, which limits our conclusion in this respect. Further indepth subgroup analysis should be conducted by using advanced techniques. Last but not least, we could not reach conclusions regarding the causality due to the characteristics and disadvantages of the Apriori algorithm. All the connections reported above could only be considered a correlation, but it does not prevent the mined rules from becoming clues to further clinical researches. As mentioned above, the main limitation of the traditional association rule mining algorithms is the database format where only binary items can be mined. The antecedent 13 BioMed Research International and the consequent are not traditional deterministic causality. To address this issue, we plan to implement the sequential pattern mining (SPM) technique in further research. SPM is an extension of association rule mining to discover a set of ordered patterns in a sequence database. It is designed to discover and analyze statistically relevant subsequences from items with time constraints [42] . Consequently, it is more suitable to detect the chronological order and causal relationship of disease occurrence. Furthermore, a multicenter study with longer test period implies huge memory cost, low processing speed, and inadequate hard disk space. Several newly developed distributed data mining frameworks, including Decomposition Transaction for Distributed Pattern Mining (DT-DPM) [43] , Clusterbased Retrieval using Pattern Mining (CRPM) [44] , and Clustering-Based Pattern Mining (CBPM) [45, 46] , may aid in boosting the performance by partitioning the whole database using a clustering algorithm, then computing the local results, and merging the results eventually. In addition, high-performance computing is based on exploiting the massively threaded computing of Graphics Processing Units (GPU) to conduct a parallel mining process. These advanced frameworks may be applied in our future research. Connections about different diseases have not been fully acknowledged until now. This study elucidated the interesting network associations between disorders from different body systems and demonstrated the usefulness of the Apriori algorithm in comorbidity or multimorbidity study in a large-scale EMR database. Cooccurrence of diseases may worsen each other's prognosis, reduce the efficacy of treatments, and increase mortality. In addition, the family and social burden of comorbidity and multimorbidity remain a major issue. Doctors, scholars, policy-makers, or even patients should address this growing challenge by renewing recognition. In this analysis, disorders from the mined association rules could become the indicators of other conditions, which led to improved prevention strategies and the early identification of patients at risk. Monitoring related diseases based on these predictive patterns is also useful to aid in assessing the quality of life, clinical treatment decision-making, and minimizing the coexisting disorders' impact on the mortality eventually. Finally, the Apriori algorithm still needs further dynamic evidence for establishing causal relationships. Future clinical researches are required and should concentrate on verifying these mined connections. All data are included in the manuscript. If needed, authors can provide the anonymous dataset. The authors declare no competing financial interests. Multimorbidity and comorbidity are now separate MESH headings Comorbidity: a network perspective Adenomyomatosis concomitant with primary gallbladder carcinoma An underestimated comorbidity of COPD: thyroid dysfunction Osteoporosis and multimorbidity Association of cardiometabolic multimorbidity with mortality Varicocele with concomitant ipsilateral Intratesticular spermatocele: a rarity Concomitant gallbladder agenesis with methimazole embryopathy Concomitant cardiac and hepatic hemangiomas Highlighting the rules between diagnosis types and laboratory diagnostic tests for patients of an emergency department: use of association rule mining Mining patterns of near-crash events with and without secondary tasks Mining association rules between stroke risk factors based on the Apriori algorithm Using the Apriori Algorithm to classify the care needs of patients with different types of dementia Using artificial intelligence techniques for COVID-19 genome analysis Study on the clinical characteristics and treatment of obstetric hypertension with sequence pattern mining algorithm Data Mining: Concepts and Techniques Mining the Most Interesting Rules Comorbidity study of ADHD: applying association rule mining (ARM) to National Health Insurance Database of Taiwan Comorbidity study of attentiondeficit hyperactivity disorder (ADHD) in children: applying association rule mining (ARM) to Korean National Health Insurance Data Mining Association Rules between Sets of Items in Large Databases The use of data mining and neural networks for forecasting patient volume in an emergency department Predicting return visits to the emergency department for pediatric patients: applying supervised learning techniques to the Taiwan National Health Insurance Research Database Opening the black box of deep neural networks via information Changes in six-month prevalence of circulatory system diseases among people aged 20 years and older between Degenerative, non-atherosclerotic cardiovascular disease in the elderly: a clinico-pathological survey The hypertensive diseases: evidence that systemic hypertension is a greater risk factor to the development of other cardiovascular diseases than previously suspected Clinical and medicine characteristics of patients with Parkinson's syndrome Genetically determined serum urate levels and cardiovascular and other diseases in UK Biobank cohort: a phenome-wide mendelian randomization study Long-chain polyunsaturated fatty acids (LCPUFA) from genesis to senescence: the influence of LCPUFA on neural development, aging, and neurodegeneration Cannabidiol enhances morphine antinociception, diminishes NMDA-mediated seizures and reduces stroke damage via the sigma 1 receptor Hypothyroidism is associated with clinical outcomes in patients with acute myocardial infarction: subgroup analysis of China PEACE study Hypothyroidism and cerebral infarction: a case report and literature review Association of HTRA1 mutations and familial ischemic cerebral small-vessel disease Bilateral cerebellar and brain stem infarction resulting from vertebral artery injury following cervical trauma without radiographic damage of the spinal column: a case report Age-related associations of hypertension and diabetes mellitus with chronic kidney disease Concurrent tonsillitis and pneumonia due to S. pyogenes Lung ultrasound for the diagnosis of pneumonia in children with acute bronchiolitis An unusual presentation of polyarteritis nodosa: a case report Type IV choledochal cyst with polycystic kidney disease: a case report Metastasis of cancer of the renal pelvis and ureter to the adrenal gland Ureter cancer of complete double renal pelvis and ureter: a case report A survey of parallel sequential pattern mining A generalpurpose distributed pattern mining system Cluster-based information retrieval using pattern mining Exploring decomposition for solving pattern mining problems Highly efficient pattern mining based on transaction decomposition He Ma and Jingjing Ding contributed equally to this work.