Erratum

In the original publication of this article [1], the figure files provided were incorrect. The correct figures can be found at the end of this text.

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

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

Fig. 3
figure 3

Global incidence of CAP stratified by age

Fig. 4
figure 4

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

Furthermore, the acknowledgments section omitted the following information in the original article [1]:

"The data for the realization of this publication are part of the database BIFAP managed by the Spanish Agency of Medicines and Sanitary Products (AEMPS). The results, discussion and conclusions of this study are those perceived by the authors only and do not represent in any way the position of the AEMPS on this subject.

The authors are grateful for the excellent collaboration of family physicians and primary care pediatricians who participated in BIFAP".