Introduction

Mental health conditions, the leading cause of disability, affect 10–20% of children and adolescents globally.1,2 These conditions often persist into adulthood, with 75% of long-term mental health conditions observed among adults emerging before the age of 24 years.3 Anxiety and depression are particularly common, experienced by 6.5 and 2.6% of children and young people, respectively, worldwide.4 The presence of a chronic physical condition has been shown to increase the risk of anxiety and depression in children and young people.5,6,7,8 Life-limiting conditions, a type of chronic physical condition, are those which are likely to cause death in children and young people (e.g. Batten disease) or for which curative treatments are available but may result in failure (e.g. cancer).9 Children and young people living with any chronic condition face various challenges, such as painful and distressing symptoms and side-effects from treatment, in addition to complex disease management regimens.10,11 Frequent medical appointments and hospitalisations can result in missed schooling, potentially disrupting both their education and relationships with their peers.10 All of these challenges can also contribute to children and young people feeling different from their peers, leading to feelings of embarrassment and social isolation.12,13 Illness uncertainty is another major challenge.12,14 However, a crucial and additional challenge experienced by children and young people living with a life-limiting condition is the potential for fears relating to the possibility or certainty of premature death.15,16 The presence of these additional challenges suggests that they could be even more at risk from anxiety and depression than children and young people with non-life-limiting chronic conditions. This, in addition to the rising prevalence of life-limiting conditions in England in the past two decades,17 necessitates research investigating the mental health of children and young people in this population.

A recent systematic review and meta-analysis of 37 studies, found a markedly higher prevalence of anxiety and depression among children and young people with life-limiting conditions compared to findings from the general population of children and young people.18 However, the existing studies reviewed in the meta-analysis included children and young people with a very narrow range of specific life-limiting conditions, whilst also under-representing children and young people with neurological conditions. In addition, no research into the incidence of anxiety and depression in children and young people with life-limiting conditions has previously been conducted. This study aimed to investigate the incidence of anxiety and depression in children and young people with life-limiting conditions, compared to children and young people with chronic conditions which are not life-limiting, and those without a long-term condition. The factors associated with anxiety/depression incidence in each condition group were also explored.

Methods

This study is reported according to Strengthening the Reporting of Observational Studies in Epidemiology (STROBE)-RECORD guidelines.19

Data sources

Data for this study were sourced from the Clinical Practice Research Datalink (CPRD) GOLD dataset, a longitudinal primary care dataset. In the UK, doctors (known as general practitioners (GPs)), along with a team of other trained professionals, are the providers of primary care, and CPRD contains records from a nationally representative sample of over 1900 GP practices from across the UK.20,21 CPRD data is deterministically linked to secondary care data from Hospital Episodes Statistics (HES) in England and death registration data from the Office for National Statistics (ONS). The CPRD GOLD dataset contains data regarding primary care consultations, diagnoses, referrals and prescriptions, in addition to sociodemographic data such as age, sex, and ethnicity. HES data include information relating to diagnoses and clinical procedures, as well as patient demographics.

Approval for the use of CPRD data in this study was granted from CPRD’s Independent Scientific Advisory Committee (ISAC) (protocol ref.: 16_877).

Study population

The cohort used in this study was identified by CPRD (Supplementary Fig. 1). The classification of life-limiting and chronic conditions was conducted using previously developed Read code (CPRD) and ICD-10 code (HES) lists.22,23 Children and young people with life-limiting conditions, the index group in the cohort identification process, were included if they were registered at a CPRD practice between 1 April 2007 and 31 December 2017 and were eligible for linkage. These children and young people were subsequently matched on year if birth, sex, and region to one child or young person with a chronic condition, and up to two children with no long-term condition. Children were eligible for the study if they were aged between 5 and 18 years.

The index date for the study was set as the latest of the child or young person’s diagnosis of a life-limiting condition/chronic condition and the date at which they turned 5 years old. Participants were followed up until the earliest of the following: occurrence of the outcome (anxiety/depression), date at which they turned 19 years old, date of death, date they transferred out of the practice, last data collection date of the practice and the study end date (31 December 2017). Children and young people with a record of the outcome of interest before the date at which they were diagnosed with a life-limiting/chronic condition were excluded from the analysis for that outcome. In addition, the first month of registration at the practice was excluded from the follow-up time, as codes recorded during this period are often related to prevalent, rather than incident, conditions.24

Outcomes

Anxiety and depression were identified using diagnostic and symptom Read codes in CPRD, prescription codes in CPRD, and ICD-10 codes in HES. Lists of diagnostic and symptom Read codes were generated using previously published methods.25 All ICD-10 codes relating to anxiety or depression, except for one code for specific (isolated) phobias and one code relating to co-morbid anxiety and depression, were included in each respective code list. Lists of suicide-related Read and ICD-10 codes were used to aid in the identification of depression cases. Read codes relating to the use of anxiety/depression screening tools were also included, in addition to generic codes from CPRD or HES data which indicated the offer or receipt of generic psychological support. Previously published methods were also used to generate lists of anxiety/depression prescription codes; namely, prescriptions for antidepressants, anxiolytics, and hypnotics.25

Algorithms were developed to define the criteria of codes which needed to be recorded in order for a case of anxiety/depression to be assigned (Figs. 1 and 2). This was necessary due to the varying level of ambiguity related to each type of code. Diagnostic codes for anxiety/depression are highly specific, meaning that the recording of one of these codes very likely represents a case of anxiety/depression. This is also similar for referral codes (all termed ‘diagnostic codes’ hereafter for simplicity).

Fig. 1: Anxiety case definition algorithm.
figure 1

Algorithm showing the codes/combinations of codes and associated time restrictions used to define a case of anxiety.

Fig. 2: Depression case definition algorithm.
figure 2

Algorithm showing the codes/combinations of codes and associated time restrictions used to define a case of depression.

Symptom codes, however, are more ambiguous, including symptoms such as ‘nerves’ and ‘fear’ for anxiety. A previous study investigating the incidence of anxiety/depression only included symptoms codes in the analysis if they were coupled with a prescription code for anxiety/depression, in order to increase the specificity of the analysis.26 However, as the use of antidepressants in children and young people is cautioned, the current study employed a different method previously used in a study of depression incidence among adolescents.24 Hereby, a case of anxiety/depression was assigned if two anxiety/depressive symptoms were recorded within 1 month. As the results of anxiety/depression screening tools were not included in the data, a case of anxiety/depression was only assigned if the screening tool code was coupled with a symptom code within 1 month. The same principle was used for generic psychological codes and suicide-related codes. All of the above codes will hereafter be referred to as ‘symptom codes’ for simplicity.

Similarly, prescription codes also needed to be studied in accordance with the other codes recorded in the child or young person’s record, due to the various indications for which the drugs can be prescribed. Importantly, many of the indications for which anxiolytics, hypnotics, and some antidepressants are prescribed occur far more frequently among children and young people with life-limiting conditions. For example, Diazepam is prescribed for indications such as muscle spasms, in addition to anxiety. Therefore, the inclusion of all anxiolytics, hypnotics, and antidepressants could have resulted in biased estimates of anxiety/depression incidence which were not comparable across condition groups. Consequently, drugs were excluded from this study if one or more of the following applied: the drug was predominantly prescribed for children and young people with life-limiting conditions, very few children and young people prescribed the drug also had a recorded diagnosis or symptom code for anxiety/depression, or the drug has multiple indications other than anxiety/depression. The analysis relating to these drug eligibility criteria is displayed in Supplementary Tables 13. Finally, to further improve the specificity of the analysis, a list of exclusion codes relating to the main indications of each drug (other than anxiety/depression) was compiled. Using this list, prescription codes were only used to assign a case of anxiety/depression if no exclusion diagnostic codes were recorded before or within one month of the prescription code, and no exclusion symptom codes were recorded within one month of the prescription code.

Confounders

Sex, age, ethnicity, and deprivation status were included as confounders in the analysis. Participants’ age was calculated as their age at entry to the study. Ethnicity data was available from the HES dataset, and was set for each participant as their most frequently recorded ethnicity category, excluding missing. Six ethnic categories were used for the main analysis of the study: White, Black, South Asian, Other Asian, Mixed and Other. Due to small group numbers in the stratified analysis, all ethnicities other than White were merged to create one ‘Other’ ethnic category. Deprivation status was assessed using linked Index of Multiple Deprivation 2010 (IMD 2010)27 data for the most recent known address of each participant. Deprivation status was categorised into five groups, ranked from category 1 (least deprived) to category 5 (most deprived).

Statistical analysis

Crude incidence rates of anxiety and depression were calculated for the overall study sample, and for each condition group, by dividing the number of incident cases by the total person-time at risk. Poisson regression modelling was used to generate incidence rate ratios (IRRs) comparing the incidence of each outcome between condition groups, accounting for time at risk. Both univariate and multivariable models (adjusting for sex, age, ethnicity, and deprivation status) were used. Stratified analysis, by condition group, was also conducted in order to explore the associations between potential risk factors (sex, age, ethnicity, and deprivation status) and anxiety/depression incidence. All analyses were conducted using STATA v.16.1.

Results

The total study sample included 25,313 children and young people; 5527 with life-limiting conditions, 6729 with chronic conditions, and 13,057 with no long-term conditions. The sociodemographic characteristics of the included participants are displayed in Table 1. Over half (56.2%) of the participants were male, and the median age at study start was 5.00 years (IQR: 5.00–9.05 years). Low levels of missing data were found for all variables except ethnicity, for which 9.5% of children and young people had missing data.

Table 1 Participant characteristics.

Incidence of anxiety

Of the 25,313 children and young people in the study sample, 132 had been diagnosed with anxiety prior to the start of the study and were excluded from the analysis of anxiety incidence. Therefore, 25,181 children and young people were included, providing a total follow-up time of 122,157.66 person-years, with each child or young person contributing a median of 4.57 (IQR: 2.21–7.23) years of follow-up time. In total, 448 (1.78%) of children and young people had an incident case of anxiety (Table 2). The types of anxiety codes reported are displayed in Fig. 3a, showing that the majority (90.6%) of children and young people with incident anxiety had a diagnostic anxiety code recorded.

Table 2 Incidence of anxiety, by condition group.
Fig. 3: Code types recorded for children and young people with incidence anxiety and depression.
figure 3

Venn diagrams showing the types of codes recorded for children and young people with incident (a) anxiety and (b) depression.

The crude incidence rate of anxiety was highest in the chronic condition group (5.04 cases per 1000 person-years, 95% CI: 4.30–5.91), followed by the life-limiting condition group (4.27 cases per 1000 person-years, 95% CI: 3.52–5.20). The lowest anxiety incidence was observed in the no long-term condition group (2.85 cases per 1000 person years, 95% CI: 2.48–3.28) (Fig. 4a). In both the unadjusted and adjusted models, the anxiety incidence rate ratio was significantly higher in the life-limiting condition group (IRRadj: 1.39, 95% CI: 1.09–1.77) and the chronic condition group (IRRadj: 1.64, 95% CI: 1.32–2.03) compared to the no long-term condition group (Table 2). The full results from the adjusted model can be found in Supplementary Table 4.

Fig. 4: Incidence rates of anxiety and depression, stratified by condition group.
figure 4

Incidence rates of (a) anxiety and (b) depression in children and young people with life-limiting conditions (blue square), chronic conditions (blue circle) and no long-term conditions (green diamond).

Increased age and female sex were significantly associated with anxiety incidence in all three condition groups. Although a higher incidence of anxiety was observed among children and young people from the Other ethnic group, compared to the White ethnic group, in all condition groups, this was not statistically significant. No association was found between deprivation status and anxiety incidence in any of the condition groups (Table 3).

Table 3 Stratified analysis of potential risk factors for anxiety incidence, by condition group.

Incidence of depression

Of the 25,313 children and young people in the study sample, 51 had been diagnosed with depression prior to the start of the study. Therefore, 25,262 children and young people were included in the analysis of depression incidence, providing a total follow-up time of 122,750.48 person-years (median follow-up time: 4.59 (IQR: 2.21–7.24) years). In total, 393 (1.56%) children and young people had an incident case of depression (Table 3). Less than two-thirds of children and young people with incident depression (59.3%) had a diagnostic depression code recorded (Fig. 3b and Table 4).

Table 4 Incidence of depression, by condition group.

The highest crude incidence of depression was observed in the chronic condition group (4.88 cases per 1000 person-years, 95% CI: 4.15–5.73), followed by the life-limiting condition group (3.87 cases per 1000 person-years, 95% CI: 3.15–4.75). The lowest incidence of depression was observed in the no long-term condition group (2.23 cases per 1000 person-years, 95% CI: 1.90–2.61) (Fig. 4b). Both the crude and adjusted depression incidence rate ratios were significantly higher in the life-limiting condition group (IRRadj: 1.41, 95% CI: 1.08–1.83) and the chronic condition group (IRRadj: 1.81, 95% CI: 1.44–2.28) compared to the no long-term condition group (Table 5). The full results from the adjusted model can be found in Supplementary Table 4.

Table 5 Stratified analysis of potential risk factors for depression incidence, by condition group.

In all three condition groups, the incidence of depression in females was over double that observed in males (IRRadj comparing females to males for life-limiting condition group: 2.15, 95% CI: 1.41–3.27; IRRadj for chronic condition group: 2.02, 95% CI: 1.44–2.84; IRRadj for no long-term condition group: 2.87, 95% CI: 2.01–4.10). Increased age was also significantly associated with depression incidence across all three condition groups. Although not statistically significant, a higher incidence of depression was observed among children and young people from the Other ethnic group, compared to the White ethnic group, in all condition groups. No association was observed between deprivation status and depression incidence in any of the condition groups (Table 5).

Discussion

This population-based study has shown that the incidence of both anxiety and depression were significantly higher among children and young people with life-limiting conditions and chronic conditions, compared to those with no long-term conditions. Despite the wide range of life-limiting conditions included in this study, the findings still align with results from previous literature, which indicated a higher prevalence of anxiety and depression among children and young people with specific life-limiting conditions, compared to those in the general population.18 The finding that chronic conditions appear to present a greater risk for anxiety and depression than life-limiting conditions may be due to a number of factors and certainly merits further investigation. One potential explanation for this finding is the possible under-recognition of psychological distress in children and young people with intellectual disabilities, which are far more prevalent among children and young people with life-limiting conditions compared to chronic conditions.26,28 In addition, HES data does not systematically report psychological interventions delivered within the context of multi-disciplinary tertiary care, potentially resulting in further under-reporting of anxiety and depression in children and young people with life-limiting conditions, who are more likely to be regularly present within the tertiary care system.

This study also showed that female sex and older age increased the risk of anxiety and depression in children and young people with life-limiting conditions, chronic conditions, or no long-term conditions, supporting findings from previous literature in the general population.7,29,30 In all three condition groups, a higher incidence of anxiety and depression was observed among children and young people from the Other ethnic group, compared to children and young people from White ethnic groups. This disparity in mental health conditions between White and minority ethnic groups has frequently been observed in previous literature, and may be the result of cultural differences in the perception and expression of symptoms relating to mental health conditions, which raises questions regarding the cultural appropriateness of diagnostic systems.7,31,32 Despite previous studies reporting significantly higher anxiety/depression incidence rates among individuals living in more deprived areas,24,29,33 no significant association between the incidence of anxiety/depression and deprivation status was observed in this study.

The increased risk of anxiety and depression observed among children and young people with life-limiting conditions highlights the importance of the promotion of psychological wellbeing and the prevention of mental health conditions. The identification of risk factors for anxiety and depression allows for preventative services to be targeted to those children and young people most at risk of developing these mental health conditions. It is also important that anxiety and depression can be rapidly identified. UK guidance for the care and support of individuals living with some life-limiting conditions (cystic fibrosis, cancer, cerebral palsy, and Duchenne muscular dystrophy) all recommend regular psychological screening.34,35,36,37,38 However, a pan-European evaluation of screening implementation among cystic fibrosis patients found that screening had only been implemented in 50% of paediatric cystic fibrosis centres in Europe.39 Here, time constraints were reported by staff to be one of the main barriers to the implementation of screening. In addition, the high prevalence of intellectual disability among children and young people with life-limiting conditions and the resulting limited communicative abilities means that standard diagnostic criteria are likely to be inappropriate for use with these individuals, meaning that mental health conditions could go undetected.28,40,41,42,43 Accordingly, a previous study investigating the risk of anxiety and depression among adults with cerebral palsy found a lower incidence of these mental health conditions among adults with intellectual disability compared to those without.26 It is important, therefore, that future research investigates the development and evaluation of methods to reliably assess mental health conditions among children and young people with intellectual disability. In turn, this will allow for a deeper understanding of the epidemiology of anxiety and depression across the whole population of children and young people with life-limiting conditions, including those with co-occurring intellectual disability.

Issues also exist surrounding the treatment of anxiety and depression in children and young people with life-limiting conditions. Although, in theory, either generic or specialist mental health services could be used to manage mental health conditions in this population, depending on the specific needs of the child or young person, the limited availability of both of these services in the UK presents a major barrier to the effective psychological care of this population.39,44,45

Strengths and weaknesses

This was the first longitudinal study investigating the incidence of anxiety and depression in children and young people with life-limiting conditions, and therefore allowed the temporality of the association between the diagnosis of a life-limiting condition and the development of anxiety/depression to be analysed for the first time. The use of CPRD and HES data from a large, representative sample of children and young people also allowed for the inclusion of a wide range of life-limiting conditions, therefore increasing the generalisability of the study’s findings. Additionally, the analysis of primary and secondary care data from nationally representative and medically accurate data sources increased the validity and reliability of the study’s findings.46,47,48

The detailed nature of the data available within CPRD and HES, including various mental health indicators, allowed for the development of comprehensive algorithms to identify the presence of anxiety and depression, another major strength of this study. Previous research has shown that the most sensitive algorithms for the detection of anxiety and depression include indicators relating to diagnoses, symptoms, and treatment.49 Accordingly, the importance of the inclusion of all of these code types in the algorithms was highlighted by the findings from the current study, which showed that nearly 41% of depression cases would have been missed if identification relied on diagnostic codes alone.

However, the incidence of anxiety and depression calculated in this study only represents the children and young people who presented to primary or secondary care with anxiety or depression. Several factors can influence the likelihood of children and young people, or their parents, seeking medical help for potential mental health conditions, and therefore the anxiety and depression incidence rates presented in this study are likely to be underestimates of the incidence in the community.50,51 However, there is no evidence that this would have differed between the three condition groups. Therefore, this should not have affected  the validity of the comparison of incidence rates between children and young people with life-limiting conditions, chronic conditions or no long-term conditions. In addition, this study only looked at the presence or absence of anxiety and depression, rather than the severity of these mental health conditions. Therefore, future research should compare the severity of anxiety and depression across the three condition groups in order to further understand the impact of life-limiting/chronic conditions on the mental health of children and young people.

Additionally, some prescription data could not be utilised in this study; namely anxiolytics, hypnotics, and some antidepressants which are commonly prescribed for conditions other than anxiety or depression. Although this could have resulted in an underestimation of the incidence of anxiety and depression, the exclusion of this prescription data was necessary as several of the indications for which these drugs are used, such as neuropathic pain and seizures, are far more likely to occur in children and young people with life-limiting conditions. Therefore, the inclusion of these drugs may have generated biased incidence estimates which were not comparable across the three condition groups. Finally, the small group sizes used in the stratified analysis of ethnicity and deprivation status may have meant that the analysis was underpowered to detect existing associations.

Conclusion

This study demonstrates that the incidence of anxiety and depression is significantly higher in children and young people with life-limiting conditions, compared to those with no long-term conditions. These findings highlight the need for increased attention to be paid to the mental health needs of this population, including strategies and interventions to prevent, identify, and treat anxiety and depression.