Background

Community-acquired pneumonia (CAP) is a major cause of morbidity and mortality in adults even in developed countries [13]. CAP leads to high rates of hospitalization, particularly in the elderly, and belongs to the top 5 causes of death globally [4]. Depending on the geographic area analyzed, the estimated annual incidence ranges between 1.6 and 12 cases per 1000 population [59].

Several lifestyle factors have been associated with an increased risk of CAP including smoking, alcohol abuse, being underweight, having regular contact with children, and poor dental hygiene, among others [1012]. Also the presence of comorbid conditions, including chronic respiratory and cardiovascular diseases, cerebrovascular disease, Parkinson’s disease, epilepsy, dementia, dysphagia, HIV or chronic renal or liver disease have been linked to an increased risk of CAP [1012].

The burden of pneumonia is of considerable importance. However, the prevalence of different lifestyle risk factors and comorbidities in patients seeking medical assistance at primary care level because of pneumonia has not been well documented. This study aims to describe the prevalence of different lifestyle risk factors and comorbidities in patients with CAP at primary care in Spain during a 5 year period (2009–2013).

Methods

An observational retrospective study was designed to evaluate the incidence of CAP and the prevalence and distribution of risk factors and comorbidities in adults in primary care in Spain, attended between 2009 and 2013.

Data collection was performed using the Computerized Database for Pharmacoepidemiological Studies in Primary Care (BIFAP). BIFAP is a computerized database aggregating information provided by 2692 general practitioners and pediatricians working in the Spanish National Health Service. The ownership of this database is public, and its sole purpose is to enable epidemiological studies, and in particular pharmacoepidemiological studies. The information related to these patients is kept completely confidential and strictly compliant with current Spanish and European legislation. Collaboration by general practitioners in BIFAP is personal, individual and voluntary. BIFAP is sponsored by three leading Spanish medical societies in primary care: Sociedad Española de Medicina Familiar y Comunitaria (SEMFYC), Sociedad Española de Médicos de Atención Primaria (SEMERGEN) and Asociación Española de Pediatría de Atención Primaria (AEPAP). The BIFAP database includes clinical and prescription data for around 4.8 million patients.

Eligible study participants were Spanish adults 18 years of age or older, of both sexes, diagnosed of the first episode of CAP between January 2009 and December 2013. Patients had to have been recorded with the doctor for 1 year at least. Patients with previous diagnoses of pneumonia or nosocomial pneumonia were excluded.

All patients were identified when a first register of pneumonia during the study period was detected in their medical history. Patients with a potential diagnosis of pneumonia were selected through a computerized algorithm that identified them through process codes (CIAP R81), or through the occurrence of the word “pneumonia” in the free text history. Cases were included when there was a radiological diagnosis and/or where the diagnosis was reported by another professional in a medical record. Doubtful cases, which involved presumptive diagnosis not confirmed by additional tests, or those where information in the clinical history was insufficient, were excluded.

Different lifestyle risk factors and comorbidities associated to the first register of pneumonia were also retrieved and analyzed (Additional file 1). Comorbidities in BIFAP database are codified according to the Spanish version of the International Classification of Diseases, 9th Revision, Clinical Modification (Modificación Clínica Clasificación Internacional de Enfermedades; CIE-9-MC) and/or the Spanish version of the International Classification of Primary Care (CIAP-2/ICPC-2 PLUS) (Additional file 1).

Statistical analysis

Data were presented as mean (standard deviation) or frequency (percentage) as appropriate. We carried out a descriptive analysis of the first episodes of CAP, prevalence of the different lifestyle risk factors and comorbidities stratified by age and gender. The relationship was tested using a binary logistic model. We performed all the analyses using R Software, Version 3.0.2.

Results

A total of 2,332,622 adult patients (18 years of age or older) were included in the study cohort. 28,413 subjects with a mean age (standard deviation) of 60.5 (20.3) years had a first episode of pneumonia during the study period (Table 1).

Table 1 Summary of main characteristics of the study cohort. Data are expressed as % (n)

Incidence of CAP

Global incidence of CAP in adults was estimated at 4.63 per 1000 persons/year (Table 2). CAP incidence increased progressively with age, ranging from a 1.98 at 18–20 years of age to 23.74 in patients over 90 years of age (Table 2). According to gender, global CAP incidence was slightly higher in males (5.04) than females (4.26) (Table 2). CAP incidence from 18 to 65 year-olds up was comparable between males (range: 2.18–5.75) and females (range: 1.47–5.21), whereas from 65 years of age, CAP incidence was noticeable higher in males (range: 7.06–36.93) than in females (range: 5.43–19.62) (Table 2).

Table 2 CAP incidence according to age and gender. Rates expressed per 1000 person-years

Risk factors for CAP

Overall, the main risk factors detected were: metabolic disease (27.4 %), cardiovascular disease (17.8 %), diabetes (15.5 %), depression (14.8 %), smoking (13.0 %), anemia (12.3 %), poor dental hygiene (11.8 %), chronic obstructive pulmonary disease (COPD) (10.8 %) and cerebrovascular disease (7.8 %) (Figs. 1 and 2).

Fig. 1
figure 1

Distribution of the different lifestyle risk factors and comorbidities in patients seeking medical assistance because of pneumonia at primary care, according to age. Legend:

Fig. 2
figure 2

Distribution of the different lifestyle risk factors and comorbidities in patients seeking medical assistance because of pneumonia at primary care, according to gender. Legend:

The main risk factors according to age were (Fig. 1): between 18 and 25 years: 9.1 % poor dental hygiene, 8.0 % smoking, 7.8 % asthma, 5.7 % anemia and 3.6 % low weight; between 25 and 40 years: smoking 13.5 %, 10.0 % poor dental hygiene, 7.1 % anemia, 6.6 % depression, 5.9 % metabolic disease and 4.9 % asthma; between 40 and 55 years: smoking 20.9 %, metabolic disease 17.7 %, depression 12.0 %, poor dental hygiene 11.5 %, and anemia 9 %; between 55 and 70 years: 40.4 % metabolic disease, smoking 18.3 %, 17.9 % diabetes, 17.0 % depression, 15.5 % cardiovascular disease, 14.3 %, poor dental hygiene and 11.7 % COPD; between 70 and 85 years: 41.5 % metabolic disease, 33.0 % cardiovascular disease, 28.9 % diabetes, COPD 21.5 %, 19.4 % depression, anemia 16.7 % and 14.4 % cerebrovascular disease; over 85 years: 39.3 % cardiovascular disease, 27.5 % metabolic disease, 25.6 % anemia, 23.5 % cerebrovascular disease, 22.6 % diabetes, 20.6 % depression, 18.6 % dementia and 16.1 % COPD.

The main risk factors according to gender were (Fig. 2): women: metabolic disease (26.9 %), depression (20.0 %), anemia (15.8 %) and cardiovascular disease (15.0 %); men: metabolic disease (27.8 %), cardiovascular disease (20.5 %), diabetes (17.9 %) and smoking (15.5 %). Overall, taking into account the total number of risk factors and stratifying them by age, a progressive increase with age is observed, with an exponential increase in males, which even doubles the risk from 75 years of age (Fig. 3).

Fig. 3
figure 3

Global incidence of CAP stratified by age. Legend:

Analyzing the number of comorbidities in terms of age, we note that less than 40 % of 18–25 year-old patients years showed any known risk factor, whereas after age 55 there is an identified risk factor in the 85.7 % of cases (one risk factor in 23.8 %, two factors in 23.4 %, three in 18.2 %, four in 11.2 %, five in 5.5 % and six in 2.3 %) (Fig. 4). The association of comorbidities showed no significant differences regarding sex in any age group.

Fig. 4
figure 4

Global prevalence of the different lifestyle risk factors and comorbidities stratified by age. Legend:

Discussion

Our findings, based on the largest primary care population database in Spain, indicate a high incidence of CAP in primary care adults in Spain that is strongly associated with a high prevalence of multiple lifestyle risk factors and comorbidities. If we do not implement appropriate interventions, the currently high and increasing prevalence of these associated risk factors will likely lead to an even higher incidence of CAP in the aging population of Spain.

The global incidence of CAP in adults calculated in this study (4.63/1000 person-years) is coherent with the estimates from other Spanish studies, which range from 1.6 to 9 episodes per 1000 person-years [7]. According to these results, the percentage of CAP is higher in Spain compared to other European countries. As suggested by other publications, this may be associated with intrinsic differences in the structure of the health system and other factors such as heterogeneity in the entry criteria, or the possibility of care in the emergency unit, among others [13]. Furthermore, our results confirm the previous observations of higher incidence rates associated with men and older ages [1416].

We found the highest burden of disease associated with metabolic disease, cardiovascular disease and diabetes. These findings are consistent with pooled data from observational studies which demonstrated that patients with other medical conditions such as chronic respiratory diseases, cardiovascular diseases, cerebrovascular diseases, dementia and diabetes mellitus were the most frequently observed comorbidities associated with CAP [10, 11, 16]. Up to two-thirds of patients had a chronic respiratory disease and almost half had a chronic cardiovascular disease, highlighting the need for appropriate management of these patients to reduce their risk of CAP.

Lifestyle factors such as smoking, high alcohol intake or being underweight have been associated with an increased risk of CAP [10, 11, 16], which is consistent with our findings. Smoking and excessive alcohol consumption are major health risks globally and are targets for interventions to reduce the global burden of disease. Ensuring that patients make appropriate lifestyle changes would help reduce the overall burden of CAP. Similarly, being underweight may predispose patients to CAP due to the consequences of undernutrition or underlying conditions on immune function, so assessment of the nutritional status of vulnerable patients might help identify those at increased risk of CAP.

Overall, we observed substantially increased rates of pneumonia among persons with >1 risk condition, and disease rates were especially high among those with ≥3 risk conditions. This is especially significant when noting that risk factors tend to increase over time: after age 55, we identified a risk factor in 85.7 % of cases, and risk even doubles from age 75. This phenomenon of “risk stacking”— whereby risk of disease increases with increasing numbers of risk factors —has been noted for other diseases, for example, osteoporotic hip fractures and cardiovascular events [17, 18].

One potential limitation of the study is the underestimation of CAP incidence, as doubtful cases where there was not sufficient information in the medical history, or diagnosis of presumption was made without radiological confirmation, were excluded. Another aspect to bear in mind is that not all patients are initially diagnosed in primary care. It is not uncommon for a person to go directly to the hospital without going through the general practitioner, and such cases would not be initially recorded in our database. However, patients are commonly referred to their general practitioner for follow-up, or they inform the doctor about the episode suffered during further consultation in the health center. Thus, even though some cases may initially visit the emergency room or be hospitalized, they can be classified as CAP, provided that the doctor registers the episode in the patient’s medical history.

One of the strengths of BIFAP is that it is one of the largest primary care databases available. It includes information provided by 2692 family physicians and primary care pediatricians from the National Health System, integrating information from 4,800,207 valid anonymized medical records for a total of 24,957,871 person-years of follow-up (5-year average patient tracking); including: 76,561,939 records of health problems, 414,852,056 medication records, 14,190,861 immunization records and 674,846,412 general records of patient data.

The organization of the Spanish public health system sets the primary care as the main gateway to other health services. Thus BIFAP includes a wealth of information on when, how and why patients visit primary care centers. Although the objective behind the development of this database was to facilitate pharmacoepidemiological studies, its potential is greater. With appropriate methods and after overcoming complex validation tests, BIFAP data can be used to calculate incidence and prevalence of diseases from thousands of patients, and to investigate risk factors and associated prognostic factors [19, 20]. This research is a population-based study, which could determine accurately the incidence and prevalence of risk factors of CAP in Spain, and demonstrates the utility of BIFAP as a resource to estimate the prevalence and incidence of disease.

Conclusions

The incidence of CAP in primary care adults in Spain is high, increases with age, and it is double in males as compared to females over 75 years of age. The main risk factors associated with CAP are metabolic disease, cardiovascular disease, and diabetes, all of them increasing nowadays, which could favor further increase in CAP incidence. Additional studies assessing risk stratification and a better understanding of the individual phenotypes with the greatest risk of CAP could help the development and implementation of the appropriate interventions in order to reduce the risk of infection and burden of CAP at the earliest level of medical care.