Article Text


Retrospective observational study of trends in hospital admissions for idiopathic pulmonary fibrosis in Spain (2004–2013) using administrative data
  1. Fernando Pedraza-Serrano1,
  2. Ana López de Andrés2,3,
  3. Rodrigo Jiménez-García2,3,
  4. Isabel Jiménez-Trujillo2,3,
  5. Valentín Hernández-Barrera2,3,
  6. Gema Sánchez-Muñoz1,
  7. Luis Puente-Maestu1,
  8. Javier de Miguel-Díez1
  1. 1Respiratory Department, Hospital General Universitario Gregorio Marañón, Facultad de Medicina, Universidad Complutense de Madrid (UCM), Instituto de Investigación Sanitaria Gregorio Marañón (IiSGM), Madrid, Spain
  2. 2Preventive Medicine and Public Health Teaching and Research Unit, Department of Health Sciences, Universidad Rey Juan Carlos, Alcorcón, Madrid, Spain
  3. 3Universidad Rey Juan Carlos, Alcorcón, Madrid, Spain
  1. Correspondence to Dr Javier de Miguel Díez; javier.miguel{at}


Objective To assess changes in incidence, diagnostic procedures, comorbidity profiles, length of hospital stay (LOHS), economic costs and in-hospital mortality (IHM) associated with idiopathic pulmonary fibrosis (IPF).

Methods We identified patients hospitalised with IPF in Spain from 2004 to 2013. Data were collected from the National Hospital Discharge Database.

Results The study population comprised 22 214 patients. Overall crude incidence increased from 3.82 to 6.98 admissions per 100 000 inhabitants from 2004 to 2013 (p<0.05). The percentage of lung biopsies decreased significantly from 10.68% in 2004 to 9.04% in 2013 (p<0.05). The percentage of patients with a Charlson comorbidity index ≥2 was 15.14% in 2004, increasing to 26.95% in 2013 (p<0.05). IHM decreased from 14.77% in 2004 to 13.72% in 2013 (adjusted OR 0.98; 95% CI 0.97 to 0.99). Mean LOHS was 11.87±11.18 days in 2004, decreasing to 10.20±11.12 days in 2013 (p<0.05). The mean cost per patient increased from €4838.51 in 2004 to €5410.90 in 2013 (p<0.05).

Conclusions The frequency of hospital admissions for IPF increased during the study period, as did healthcare costs. However, IHM and LOHS decreased.

Statistics from

Strengths and limitations of this study

  • Our study provides robust evidence that management of idiopathic pulmonary fibrosis (IPF) improved in Spain during 2004–2013.

  • The Spanish National Hospital Database is managed by the National Public Health System and covers almost all hospital admissions in Spain.

  • The study is limited by the use of administrative data to identify patients hospitalised for IPF.


Idiopathic pulmonary fibrosis (IPF) is a specific form of chronic, progressive, fibrosing interstitial pneumonia. Its aetiology is unknown and it is seen mainly in older adults. IPF affects the lungs, and histology and radiology findings indicate that its pattern is similar to that of usual interstitial pneumonia.1 It is an uncommon disease with an unfavourable clinical course. Mortality is high, and prognosis is similar to that of many malignant diseases. Median survival after diagnosis is 2.5–5 years. Nevertheless, the relative rarity of IPF means that published data about its epidemiology are scarce. Consequently, it is difficult to conduct studies with an adequate sample size.2 ,3

Hospital admissions for IPF are one of the best sources of information on trends and prognosis, although the few data that are available are inconclusive. Agabiti et al4 analysed data over 5 years (2005–2009) from hospitals in Lazio, central-southern Italy, and found an estimated incidence of IPF of 9.3 per 100 000 inhabitants (95% CI 9.2 to 9.4) and a prevalence of 31.6 per 100 000 inhabitants (95% CI 30.9 to 32.2). In Greece, Karakatsani et al5 reported an incidence of 0.93 per 100 000/year and a prevalence of 3.38 per 100 000/year, which differs somewhat from the Italian results. In Spain, the latest data from the Spanish Interstitial Lung Diseases Group were collected in 2004 using a standardised questionnaire that was sent to hospitals along with recommendations for classification and diagnosis.6 The questions were designed to assess the investigations carried out to establish the diagnosis. The authors found a global incidence, for all the interstitial lung diseases, of 7.6 per 100 000 inhabitants per year and specified that IPF accounted for 38.6% of cases. In the UK, Gribbin et al7 reported a crude incidence rate for IPF of 4.6 per 100 000 inhabitants (95% CI 4.3 to 4.9) in 2006. Navaratnam et al8 subsequently obtained an incidence rate of 7.44 per 100 000 person-years (95% CI 7.12 to 7.77); therefore, the incidence appears to be rising by 5% per year. One of the most recent studies on the epidemiology of IPF in Europe was conducted in Denmark, where Hyldgaard et al9 collected data over 6 years in a single hospital and analysed various interstitial lung diseases. The authors reported an incidence of IPF of 1.3 per 100 000 person-years.

Mixed results have been reported from other parts of the world. Thus, for example, in the USA, depending on the criteria used, incidence has been estimated at 8.8–17.4 cases per 100 000 person-years.10 ,11 In Japan, Natsuizaka et al12 recorded an incidence of 2.23 per 100 000 inhabitants and a prevalence of 10 per 100 000 person-years.

The data reported show that results vary between countries. It is difficult to account for these differences, although it seems that they are due to the heterogeneity of the research methodologies applied. Furthermore, the studies used different diagnostic criteria and definitions of disease. International studies comparing admissions to hospital and outcomes for patients with IPF could provide a clearer picture of national patterns and help in healthcare planning. Discharge databases are an excellent instrument that makes it possible to perform a national epidemiology study of hospitalisations for IPF.

In the present study, we analysed discharge data collected in Spain during 2004–2013. The analysis enabled us to evaluate changes in the diagnosis, comorbidity, length of hospital stay (LOHS), costs and in-hospital mortality (IHM) of patients hospitalised with IPF in Spain over 10 years, as well as changes in the incidence of this disease during the study period.


We performed a retrospective, descriptive, epidemiological study using data from the Spanish National Hospital Database (CMBD, Conjunto Mínimo Básico de Datos). The CMBD includes all public and private hospital data and covers >95% of all hospital discharges.13 The CMBD database is managed by the Spanish Ministry of Health, Social Services and Equality and includes data on patient variables (sex and date of birth), date of admission, date of discharge, discharge destination (home, deceased or other health/social institution), and as many as 14 discharge diagnoses and 20 procedures administered during hospitalisation. The Spanish Ministry of Health, Social Services and Equality sets recording standards and performs periodic audits.13

We selected all patients hospitalised for IPF (International Classification of Diseases, Ninth Revision, Clinical Modification (ICD-9-CM) code 516.3) in any diagnostic field during 2004–2013. The annual incidence was calculated by dividing the number of cases per year by the corresponding number of people in that population group according to data from the National Institute of Statistics as on 31 December each year.14 Incidence was expressed per 100 000 inhabitants. IHM, LOHS and costs were also calculated for each year studied. Costs were calculated using diagnosis-related groups for the disease. Diagnosis-related groups are medical-cost entities covering a set of diseases that are managed using similar resources.15 All costs were adjusted for inflation during the study period. Clinical characteristics included information on overall comorbidity at hospitalisation, which was classified using the Charlson comorbidity index.16 The index covers 17 disease categories that are totalled to obtain an overall score for each patient. We divided patients into three categories: 0 (no disease), 1 (one disease) and 2 (two or more diseases).

We specifically identified the following procedures: CT pulmonary (ICD-9-CM code 87.41) and lung biopsy (ICD-9-CM codes 33.20, 33.24, 33.26, 33.27 and 33.28).

We analysed the use of ventilatory support during admissions for IPF. Use of non-invasive ventilation and invasive mechanical ventilation was determined based on procedure codes 93.90 and 96.04, respectively. We also identified the percentage of patients undergoing lung transplant (ICD-9-CM codes 33.50, 33.51, 33.52 and 33.56).

Statistical analysis

Quantitative variables were expressed as mean±SD. Qualitative variables were expressed as frequencies and percentages. Comparisons were performed using the χ2 test, Fisher's exact test, t-test or analysis of variance, as appropriate. The multivariate analysis of trends in incidence and IHM of IPF was conducted using Poisson regression models for incidence and logistic regression models for IHM after adjusting for age, sex and other covariates. Interactions between the independent variables in the regression models were investigated. Estimates were made using STATA V.10.0 (StataCorp LP, College Station, Texas, USA), and statistical significance was set at α<0.05 (two-tailed).

Joinpoint log-linear regression was used to identify the years in which changes in trends occurred in the rates for admissions for IPF and to estimate the annual percentage change in each of the periods delimited by the points of change. The first stage in the analysis was to assess the minimum number of joinpoints before testing whether the inclusion of one or more joinpoints was statistically significant.17 In the final model, each joinpoint indicated a significant change in the trend, and the annual percentage change was obtained in each of the segments delimited by the joinpoints using the weighted least squares method. The software was the Joinpoint Regression Program, V.

Data confidentiality was maintained at all times according to current Spanish legislation. Patient identifiers were deleted before the database was provided to the authors in order to ensure confidentiality. It is not possible to identify patients in the present manuscript or in the database. Consequently, as the data were anonymous and mandatory, informed consent was not necessary. The Spanish Ministry of Health approved the protocol and provided us with the anonymous database.


We identified a total of 22 214 discharges (12 739 men and 9475 women) admitted for IPF as the primary or secondary diagnosis. Table 1 shows the incidence and the characteristics of patients with IPF in our study.

Table 1

Incidence and characteristics of patients discharged with a diagnosis of idiopathic pulmonary fibrosis

The overall crude incidence increased from 3.82 hospitalisations per 100 000 inhabitants in 2004 to 6.98 hospitalisations in 2013 (p<0.05). Significant differences in sex distribution were observed. Therefore, the percentage of men increased from 55.49% in 2004 to 57.35% in 2013. The mean age was 73.11±12.28 years, and a significant increase in age was observed from 72.16±11.56 years in 2004 to 74.62±11.80 years in 2013. The highest percentage of patients was found in the 65–79 years age group.

The Charlson comorbidity index increased during the study. The percentage of patients with a Charlson comorbidity index ≥2 was 15.14% in 2004, increasing to 26.95% in 2013 (p<0.05). Mean LOHS for admissions for IPF was 11.87±11.18 days in 2004, decreasing to 10.20±11.12 days in 2013 (p<0.05). However, no significant differences were found in IHM, which was 14.77% in 2004 and 13.72% in 2013. Mean cost per patient increased from €4838.51 in 2004 to €5410.90 in 2013 (p<0.05).

When we analysed diagnostic tests in patients hospitalised for IPF, no significant differences were found in the percentage of CT scans. However, we detected a significant decrease in the percentage of lung biopsies (10.68% in 2004 to 9.04% in 2013; p<0.05).

With regard to the treatment modalities, the use of non-invasive ventilation increased significantly from 1.53% in 2004 to 4.77% in 2013. However, no significant differences were found in the use of invasive mechanical ventilation. Similarly, no differences were detected in the percentage of patients who underwent lung transplantation during the study period.

The joinpoint analysis revealed that the incidence of IPF in men increased by 2.38% per year from 2004 to 2008 and by 12.74% per year from 2008 to 2013 (figure 1A). In women the incidence increased by 2.89% per year from 2004 to 2008 (but not significantly) and by 7.99% per year from 2008 to 2013, when the difference proved to be statistically significant (figure 1B). We found that the total incidence of IPF increased by 2.43% per year from 2004 to 2008 and by 10.77% per year from 2008 to 2013 (figure 1C).

Figure 1

Joinpoint analysis of annual hospitalisations for idiopathic pulmonary fibrosis in Spain, 2004–2013: men (A), women (B) and all patients (C). Accent: APC is significantly different from zero (two-side, p<0.05). APC, annual per cent change (based on rates that were sex-adjusted and aged-adjusted using Spanish National Statistics Institute Census projections) calculated using joinpoint regression analysis.

Table 2 shows the most common primary diagnoses of patients discharged with a secondary diagnosis of IPF. The most frequent diagnosis was ‘acute and chronic respiratory failure’ (12.3%), followed by ‘other diseases of respiratory system, not elsewhere classified’ (9.6%), ‘acute respiratory failure’ (7.6%), ‘pneumonia, organism unspecified’ (6.4%) and ‘heart failure’ (5.1%). Table 3 shows the most common secondary diagnoses for patients discharged with a primary diagnosis of IPF. The most frequent diagnosis was ‘diabetes mellitus’ (7.3%), followed by ‘acute and chronic respiratory failure’ (6.1%), ‘acute respiratory failure’ (5.6%), ‘essential hypertension unspecified’ (5.3%) and ‘tobacco use disorder’ (3.2%).

Table 2

Most common primary diagnosis in patients discharged with a secondary diagnosis of idiopathic pulmonary fibrosis

Table 3

Most common secondary diagnoses for patients discharged with a primary diagnosis of idiopathic pulmonary fibrosis

Table 4 summarises the results of the multivariate analysis of trends and factors associated with incidence and IHM among patients hospitalised for IPF. Possible confounders were controlled for using Poisson regression models. Incidence increased significantly from 2004 to 2013 (OR 1.02; 95% CI 1.01 to 1.03). Adjustment of the logistic regression model revealed a decrease in IHM (OR 0.98; 95% CI 0.97 to 0.99). The risk of IHM was higher in men, in patients aged ≥50 years, especially elderly patients, and in patients with one or more comorbidities.

Table 4

Multivariate analysis of trends in incidence and IHM of idiopathic pulmonary fibrosis in Spain from 2004 to 2013


In this observational study of 22 214 hospital admissions for IPF, we found a significant increase in the incidence of hospitalisations from 2004 to 2013. This may be due to an actual increase in the incidence, although it might also be explained by the higher diagnostic accuracy observed. The lack of similar studies in Spain makes it necessary to draw comparisons with other countries. The incidence of hospital admissions in the past 10 years has also increased in other European countries, such as Italy,4 Denmark,6 Greece5 and the UK.7 ,8 In the USA, most studies have shown similar trends,2 ,19 as they have in Asia.20 Only two studies—in Denmark21 and the USA10—have shown a decrease. In the American study, the downward trend could be due to the low number of patients, which limits the reliability of the results; in the Danish study, prevalent cases may have been included in the earlier time period, with more cases of other interstitial lung diseases.

Consistent with results published elsewhere, we found that IPF more frequently affects older people and men.4 ,7 ,8 ,10 ,11 ,21 The only exception was a study performed in Norway,22 where 55% of patients were women, possibly owing to the high rate of smoking (a risk factor for IPF) among Norwegian women.22

We observed an increase in comorbidities during the study period, as measured using the Charlson comorbidity index, which may have been due to the increase in overall survival. The increase may also be explained by the use of new specific and non-specific treatments in IPF, which could have led to more comorbidities in the final stages of the disease. Similar results have been reported by Raimundo et al.23 Of note, the most common secondary diagnosis associated with IPF in our study was diabetes mellitus (7.3%). A higher prevalence of diabetes in patients with IPF has been reported by other authors.24 ,25 Hyldgaard et al26 even showed that diabetes was associated with a statistically significant decrease in survival of IPF. The reason why diabetes is the most common secondary diagnosis could be the indiscriminate use of corticosteroids for treatment of this disease during the study period in Spain. The main therapeutic option in the early years was corticosteroids, even though it was known that their effectiveness was limited.1 ,27 The change in treatment recommendations for IPF (strong recommendations against corticosteroids at present, although this is a recommendation with very low-quality evidence)1 ,27 could reduce the likelihood of diabetes mellitus in patients with IPF in the coming years.

Consistent with international trends, we observed a decrease in LOHS in patients hospitalised with IPF from 2004 to 2013. This finding suggests that management of this disease improved in Spain during the study period. However, the decrease may be part of a general trend of decreasing LOHS for various respiratory diseases28 and with increased pressure for earlier discharge within healthcare services. This trend has also been observed in the UK and in the USA.29 ,30

Despite the reduction in LOHS, we observed, as in other international studies, increased costs associated with hospital admission for IPF.29 This increase could be explained by the increase in the cost of procedures over time and by the development of new specific treatments for this disease.31 However, a recent study in Spain shows that the cost associated with acute exacerbations represents almost 50% of total management costs for IPF. Therefore, the availability of new treatments that reduce the risk of acute exacerbations could reduce the costs associated with the disease.32 In any case we believe that these data will be useful in developing new approaches to healthcare and planning for the future cost of IPF inpatient care.

We found no significant differences in IHM due to IPF, in contrast with findings from previous studies on IPF-related mortality from the 1970s to the early 1990s in the USA, Canada, UK, Germany, Australia and New Zealand.33 ,34 In these studies, IPF-related mortality was higher in elderly patients and in men. In our study, mortality was also higher in elderly patients. In a recent study, Navaratnam et al8 analysed national mortality statistics in the UK to determine the underlying cause of death over a period of more than 40 years and found an annual increase of 5% in mortality after controlling for age and sex. However, the authors examined crude incidence and not the incidence of admitted patients. Again, mortality rates were higher in older age groups and in men. Our findings on mortality are difficult to explain, although they could be associated with differences in country-specific coding practices. It is also important to consider the role of home palliative care, which can determine the likelihood of dying in a non-hospital setting.35

With regard to the treatment modalities used during hospitalisation, we found a significant increase in the use of non-invasive ventilation in patients hospitalised for IPF. Several studies have shown that the use of invasive mechanical ventilation to treat respiratory failure in IPF improves neither prognosis nor survival.36 ,37 This may be the reason why more patients receive non-invasive ventilation in intensive care units or other hospital departments.38

As for diagnostic tests, we observed a significant decrease in the percentage of lung biopsies during the study period, although this trend may change in the next few years thanks to newly available antifibrotic treatments for IPF. International guidelines for the diagnosis and treatment of IPF require a lung biopsy if high-resolution CT does not confirm usual interstitial pneumonia.1 Consequently, the number of lung biopsies is expected to increase in patients with IPF.

The main strengths of our study are its large sample size and standardised methodology, which were maintained throughout the study period. Nevertheless, our study is also subject to a series of limitations. First, the use of ICD-9-CM codes to identify patients hospitalised for IPF entails a certain degree of bias. The main concern of using disease codes in such analyses is the accuracy of the IPF diagnosis, because the diagnostic codes used to identify IPF in the administrative databases (the most common approach used in IPF epidemiology studies) have changed over time, as has the definition of the disease.39 ,40 Second, it is unknown whether the diagnoses were made by respiratory medicine specialists or whether they were based on multidisciplinary discussions in all cases. Third, studies such as ours, which was based on an administrative database, involve large populations, thus rendering re-evaluation of data more difficult—if not impossible—because of the need for access to a large data set, including histology of lung biopsies and original high-resolution CT scans. Therefore, the need for a complete search of all medical records would make the study too laborious and costly. Finally, IPF outcomes could be affected by treatment, a variable that we did not include in our study. Therefore, we cannot identify whether changes in therapy during the study period affected the results. Nevertheless, the CMBD database has the advantage that it is mandated by the National Public Health System, thus covering almost 100% of admissions in Spain.15 In addition, the fact that Spain is a large country with a public health system that provides a complete range of medical services free of charge to the entire population means that patients come from a variety of socioeconomic categories, thus strengthening the external validity of our results.

In conclusion, we provide robust data indicating that, despite increases in the number of hospital admissions due to IPF over time, IHM and LOHS decreased, albeit with increasing healthcare costs. These results suggest that the management of IPF improved in Spain during the study period. New antifibrotic treatments seem to be a promising option for patients with this devastating disease.


View Abstract


  • Contributors JdM-D participated in the study concept, design, coordination, statistical analysis and drafting of the manuscript. FP-S, ALdA, RJ-G, IJ-T, VH-B, GS-M and LP-M participated in the study concept, design, statistical analysis and drafting of the manuscript. All authors have read and approved the final version.

  • Funding This study was partly funded by URJC-Banco Santander to the Grupo de Excelencia Investigadora ITPSE (grant number 30VCPIGI03).

  • Competing interests None declared.

  • Provenance and peer review Not commissioned; externally peer reviewed.

  • Data sharing statement Any investigator can apply for the databases filling the questionnaire available at All other relevant data are in the paper.

Request permissions

If you wish to reuse any or all of this article please use the link below which will take you to the Copyright Clearance Center’s RightsLink service. You will be able to get a quick price and instant permission to reuse the content in many different ways.