TL;DR
This paper applies sequential pattern mining to a large UK general practice database (THIN) to uncover temporal relationships between medical events, age, and gender. The goal is to predict future illnesses, enabling preventative healthcare and potentially reducing costs by identifying at-risk patients.
What Problem Does This Paper Address?
The vast amount of digitized medical data offers a powerful opportunity to understand how illnesses develop over time and how factors like age and gender influence these trajectories. Currently, healthcare systems often react to illnesses rather than proactively identifying individuals at higher risk. This paper aims to bridge this gap by using sequential pattern mining to discover rules that predict future health events based on a patient's past medical history, age, and gender. This knowledge could revolutionize preventative medicine by allowing for early intervention and personalized health monitoring.
Methods
The core of this research lies in sequential pattern mining, a technique used to find frequently occurring ordered sequences of events. The authors adapted this for medical data by transforming the THIN database into a "transaction database." Each patient's medical history was converted into a series of "baskets," where each basket represents medical events occurring on the same day, ordered chronologically.
The specific algorithm employed is SPADE (Sequential Pattern Discovery using Equivalence Classes). SPADE is highlighted as being particularly suitable for this task because it's a lattice-based method that doesn't require a predefined minimum support threshold. This is crucial for medical data, where some important but rare events might be missed by algorithms that rely on high frequency. SPADE's ability to handle rare items and its vertical projection approach make it efficient for large datasets. The authors used a confidence threshold of 0.1 to manage the number of rules generated.
Datasets
The primary dataset used is a subset of The Health Improvement Network (THIN) general practice database. This database contains anonymized medical records from participating UK general practices, extracted from the Vision clinical system. The subset used for this study comprised records from 20 general practices, covering approximately 350,000 patients, over 25 million prescriptions, and over 15 million medical events. The data includes patient information (year of birth, gender, family history) and medical events recorded via Read codes, which are specific to primary care.
Key Insights and Ideas
- Predicting Relapse: The study found that sequential rules can effectively predict the likelihood of patients relapsing into certain conditions, such as "Depressive disorder NEC." The confidence values in these rules suggest that the probability of relapse increases with each subsequent occurrence of the illness.
- Gender-Specific Risks: By incorporating gender into the sequential rules, the researchers identified differences in how likely males and females are to develop certain conditions or experience relapses. For instance, females with a history of "Essential hypertension" appear to be more prone to repeat occurrences than males.
- Age-Specific Illnesses: Including the year of birth (yob) as an antecedent allowed for the identification of age-specific illness patterns. This provides insights into the age ranges where certain conditions are more prevalent.
- Intervention Effectiveness: The analysis of rules involving health interventions (like "Health education offered") suggests that some interventions might reduce the chance of a patient experiencing a repeat illness, offering a way to evaluate the success of preventative advice.
- Early Warning System Potential: The core idea is that these discovered sequential rules can be integrated into existing general practice systems to flag patients who are at higher risk for specific future illnesses, enabling proactive healthcare interventions.
Key Results
The application of SPADE to the THIN database yielded a substantial 97,883 sequential rules. These rules provide insights into various aspects of patient health trajectories, including:
- Depressive Disorder NEC: Rules indicated that patients with "Depressive disorder NEC" have a significant chance of relapse, with confidence values suggesting that having the condition twice increases the probability of a third occurrence.
- Acute Conjunctivitis: For "Acute conjunctivitis," antecedents often pointed to younger age groups, with rules linking conditions like "Infantile eczema," "Croup," and "Normal birth" to a higher likelihood of developing acute conjunctivitis.
- Essential Hypertension: The study found that certain conditions like "pure hypercholesterolaemia," "Depression," "Type 2 diabetes mellitus," and "Chronic kidney disease stage 3" are significant antecedents for developing "Essential hypertension." Additionally, rules indicated that females are more likely to experience repeat "Essential hypertension" episodes.
- Age-Related Patterns: For "Essential hypertension," rules like "1943 → Essential hypertension" and "1944 → Essential hypertension" showed that approximately 11% of individuals born in those years had experienced the condition by the end of 2010.
Limitations and Future Work
The authors acknowledge several limitations:
- Incomplete Patient Sequences: A significant challenge is that most patient sequences in the THIN database are not complete (i.e., they don't cover a patient's entire life from birth to death). This can bias the support and confidence calculations for sequential rules, potentially lowering them for patterns that span longer periods.
- Distinguishing Repeat Illnesses: It's difficult to definitively distinguish between real repeat infections and repeat appointments for the same ongoing condition based solely on the data.
Future work suggested includes:
- Discretizing Year of Birth: Developing methods to mine rules like "patients born prior to 19xx" to capture broader age-related trends.
- Identifying True Re-infections: Creating methods to differentiate between repeat occurrences of the same illness and genuine new infections.
- Focusing on First Occurrences: Investigating sequential rules derived only from the first occurrence of medical events.
- Time Window Analysis: Exploring sequential rules based on sequences spanning a minimum number of years to capture longer-term patterns.
- Leveraging Additional Data: The authors note that the THIN database contains even richer information (family relationships, BMI, smoking habits, etc.) that could be used to further refine and understand the factors influencing health trajectories.
Summary updated