Introduction

Hypersensitivity pneumonitis (HP) is an immunologically mediated disease affecting the lung parenchyma and small airways in genetically susceptible individuals, when exposed to a known or an unknown inhaled antigen.

Campbell diagnosed the first case of HP in farmers, more than 100 years ago [1]. Its etio-pathogenesis was first described in the early 1960s by Dr. Jack Pepys et al. [2].

HP was traditionally classified into acute, subacute, and chronic subtypes, depending on the duration of symptoms and the intensity and frequency of exposure to trigger agents [3]. Acute HP has been attributed to occur hours to days following a heavy exposure to an inciting agent, while chronic HP occurs secondary to persistent, low level of exposure to a trigger over a prolonged time period. Literature does not clearly demarcate the subacute HP phenotype, owing to an undefined time interval and overlapping radiological features. It occurs due to a more prolonged exposure to the offending agent than that seen in acute HP, generally in weeks to months with clinical presentation ranging in between the above two entities [4]. Subacute HP has been postulated to fall in the spectrum of acute HP [5]. Due to difficulty in identifying the subacute HP phenotype with no major practical implications, it was suggested to categorize HP into acute/cellular and chronic/fibrotic subtypes [6]. The latest guidelines now classify HP into non fibrotic (nfHP) and fibrotic HP (fHP) subtypes with an arbitrary cut-off duration of 6 months [7••, 8••]. ‘Cryptogenic HP’ is an entity described in cases with clinicoradiological features typical of HP, where the offending antigen remains unrecognized despite a thorough search for the same. The failure to recognize the offending trigger leads to a subsequent ongoing exposure to the occult antigen which thus makes the disease take a chronic course, similar to idiopathic pulmonary fibrosis (IPF) [6, 8••].

We have come a long way in understanding the disease mechanism, identifying inciting antigens, its presentation, diagnostic modalities, and treatment strategies. This review aims to briefly discuss the new paradigms explored in the recent past especially for the diagnosis and treatment of HP.

Epidemiology

Prevalence of HP has significantly varied over time, as reported by different ILD registries across the globe. Dated back to 2001, data from the registries of 3 European countries (Belgium, Germany, and Italy) suggested HP contributed to 4–15% of all ILD cases [9]. Recent registries have also reported wide variations in their results. The 2015 EXCITING-ILD registry reported 18% of their cases as HP [10] while HP contributed to 9.4% of all ILDs in an Australian cohort [11]. The multicenter Indian ILD registry observed that HP accounted for 47.3% of all ILD cases, with a considerable variation across its centers in the prevalence of HP [12]. Data from another single-center prospective study from India suggested that HP contributed to 10.7% of all ILDs [13]. There has been a considerable heterogeneity in the prevalence of HP. A recent American cohort analysis suggested the 1-year prevalence rates for HP ranged from 1.67 to 2.71 per 100,000 persons and 1-year cumulative incidence rates from 1.28 to 1.94 per 100,000 persons [14]. A Danish registry reported an average HP incidence of 1.16 per 100,000 citizens [15]. In a recent study from India, the crude annual incidence rate and the prevalence (per 100,000 population) of HP was estimated to be 1.4–2.9 and 6.2–12.3, respectively [16]. The possible explanation to the varied incidence and prevalence is the diverse and complex environmental, socio-cultural, economic, and genetic milieu which the subjects are exposed to across the world. A lack of uniform diagnostic criteria across the various registries with different study designs further contribute to the heterogeneity.

Pathogenesis

It has been postulated that patients with certain genetic mutations, defined as the “first hit” when exposed to the inciting trigger factor which acts as the “second hit,” develop the disease [4]. Certain agents like viral infections, pesticide exposure, and pollutants may act as “facilitators” for the second hit (Fig. 1) [1719]. Air pollution was found to act as a facilitator for development of HP, a 7% higher odds of developing HP was noted for every 10-mcg m−3 increase in level of particulate matter < 2.5 mcg in diameter [19].

Fig. 1
figure 1

Pathogenesis of hypersensitivity pneumonitis

An exhaustive list of potentially offending antigens has evolved over the years. Microorganisms (like bacteria, protozoa, fungi), animal proteins, chemicals (like isocyanates, anhydrides), and feather duvets all have been implicated in causing HP [2023]. The effect of cigarette smoke on HP depends on the duration of exposure. Short-duration smoking has been proposed to be protective, while smoking for longer duration accelerates lung inflammation and fibrosis in animal models [24]. Certain unique and inimitable exposures have also been implicated in predisposing to HP which includes dug wells and musical instruments [25, 26].

Diagnosis

An array of diagnostic modalities have been used in previous studies ranging from radiology, BAL fluid analyses, and lung biopsies. Some exhaustive diagnostic models have also been proposed over the years; however, they are limited by methodology and validation [2730]. Although HP as a disease entity has been known since decades, the first official diagnostic guidelines came into force in 2020 by the ATS/JRS/ALAT society followed by the CHEST 2021 guidelines [7••, 8••].

The application of combinations of multiple modalities for the diagnosis of HP was endorsed by both. Features like history of exposure to an offending antigen, bronchoalveolar lavage (BAL) lymphocytosis in the background of a typical radiology and/or biopsy were considered to be consistent with a high likelihood of diagnosis of HP. Other features like female sex, mid-inspiratory squeaks, absence of smoking history, and obstructive or mixed defects on PFT were considered to have limited diagnostic utility and regarded as predictors of the disease [8••].

Antigen Identification

The first and foremost step in the approach to diagnose a case of HP is the identification of an offending antigen. Absence of identifiable antigen is associated with worse survival and poor outcomes [31, 32]. Previous studies have used exhaustive questionnaires for the same; however, none has been validated [33, 34]. Antigenic distribution varies with different geographic location, and hence, questionnaires may require to differ depending on the prevalence of various antigens locally. A detailed proforma to elicit occupational and environmental history is paramount, to avoid missing any exposure [2830]. Tables 1 and 2 enclose case report forms (CRFs) or proforma for potential domestic and occupational exposures.

Table 1 Domestic environmental exposures (house and surroundings)*
Table 2 Occupational history #

Antigen-Specific Tests: Serum Antigen–Specific Immunoglobulin Test, Specific Inhalation Challenge Test, and Lymphocyte Proliferation Test

The previously commonly used serum antigen–specific immunoglobulin tests have found a limited place in the recent guidelines. A positive test result only suggests sensitization of the individual to the tested antigen but does not necessitate contribution to the disease unless a positive history of exposure syncing with chronology of symptoms is established [3537]. There are innumerable antigens, both overt and occult, getting tested for each is practically not possible. Additionally, lack of standardized antigenic preparations and lack of standard techniques with variable diagnostic cutoff thresholds further question their utility. While a low confidence suggestion was made in favor of their use by some [8••], other consensus have not supported their use [7••, 29].

Studies have also used lymphocyte proliferation tests (LPTs) and specific inhalation challenge (SIC) tests in the past [3034]. They require an antigen extract, the preparation of which lacks standardization. While the SIC test has been deemed to be risky, LPT lacks validated criteria to define a positive response. With the availability of safer and more reliable diagnostic tools, they are no longer recommended as a diagnostic modality in the recent guidelines [7••, 8••, 29].

Radiology

Similar to the 2018 IPF guidelines, patterns on high-resolution computed tomography (HRCT) scan of the chest have been classified into 3 categories for a more confident diagnosis—typical for HP, compatible with HP, and indeterminate for HP. HP affects both lung parenchyma and small airways. A typical HP HRCT pattern essentially requires at least one abnormality indicative of each lung parenchyma and small airway involvement. The described HRCT patterns indicative of parenchymal involvement for typical nfHP are diffuse distribution of ground-glass opacities (GGO) or mosaic attenuation. Small airway disease on imaging may be represented by the presence of ill-defined centrilobular nodules (on inspiratory scans) or air trapping (on expiratory scans) and are common to both fHP and nfHP (Figs. 2 and 3). Subtle GGO, consolidation, or lung cysts distributed diffusely or with peribronchovascular predominance and/or lower lobe predominance attribute to radiology compatible with nfHP. Lung fibrosis coexisting with signs of bronchiolar obstruction suggests fHP. This fibrotic pattern may have a uniform distribution with basal sparing or have predominance in the mid-zone and is indicative of typical fHP. The previously described “head cheese” sign for cHP has been renamed to “three-density pattern.” It indicates a combination of three attenuations on inspiratory CT images, i.e., normal appearing lung, high attenuation (ground-glass opacities), and lucent lung (region of reduced attenuation and vascularity), sharply demarcated from each other. The three-density pattern has been found to be highly specific for fHP and helps differentiate it from IPF. When the pattern or distribution of lung fibrosis deviates from typical, it is categorized as compatible with fHP. The pattern of lung fibrosis may vary from usual interstitial pneumonitis (UIP) to extensive GGOs with subtle fibrotic changes, distributed in subpleural or peribronchovascular pattern (Fig. 4). Upper lobe predominance may help differentiate HP from IPF; however, it has been noted in less than 10% of patients with HP. When radiology shows a UIP pattern or fibrotic non-specific interstitial pneumonia (NSIP) pattern or organizing pneumonia (OP)–like pattern alone, in the absence of other features suggestive of HP, it is classified as indeterminate for fHP [8••].

Fig. 2
figure 2

Fibrotic hypersensitivity pneumonitis: a inspiratory and b expiratory axial HRCT images below the level of tracheal bifurcation show accentuation of air trapping in the expiratory images

Fig. 3
figure 3

Non-fibrotic hypersensitivity pneumonitis: axial HRCT image below the level of tracheal bifurcation shows ill-defined bronchocentric nodules of ground glass attenuation in bilateral lung parenchyma

Fig. 4
figure 4

Fibrotic hypersensitivity pneumonitis: a coronal and b sagittal multiplanar reconstructed images show peribronchovascular fibrosis in the upper lobes of bilateral parenchyma with ill-defined centrilobular nodules in the background

BAL Fluid Analysis

Radiologically, nfHP is often confused with infectious etiologies or sarcoidosis while fHP is commonly confused with IPF. Almost half of patients misdiagnosed with IPF, based on the 2011 criteria, were subsequently diagnosed with chronic HP attributable to identification of an occult antigen with a compatible histopathology [42]. Though above-mentioned modalities help reach a diagnosis in the majority, a small minority of patients may require additional tests. It is imperative to have a confident diagnosis as there are differences in treatment and prognostic implications.

Literature suggests BAL fluid lymphocytosis exists in HP irrespective of its subtype. BAL fluid lymphocytosis was found to be higher in HP than IPF or sarcoidosis, with a proposed cut-off at 30% to distinguish amongst them [8••]. BAL fluid analysis also holds a prognostic value with lymphocytic BAL indicative of steroid responsiveness [44]. Although Perez et al. [7••] did not suggest routine use of BAL in a background clinicoradiological picture compatible with HP, Raghu and coworkers [8••] recommended the same. While the recommendation was made mainly for use in nfHP to identify and exclude pulmonary infections, a favorable weak suggestion was made for fHP [8••]. BAL site should be selected based on the part of the lung most affected, as reflected on the HRCT scan. A minimum of 100 ml and a maximum of 300 ml of normal saline should be instilled in 3–5 sequential aliquots during the procedure. An adequate sample requires a minimum 30% of the instilled saline to be retrieved with suction pressures less than 100 mm Hg. It should be transported to the laboratory within 30 min of procurement, lest it must be transported on ice. Differential cell count analysis requires an optimal volume of 10–20 ml of pooled BAL sample [45].

Lung Biopsy

Specimens for histopathology can be obtained by any of the following techniques: transbronchial lung biopsy (TBLB), transbronchial cryobiopsy (TBLC), and surgical lung biopsy (SLB). The choice amongst the above procedures depends on disease type, patient characteristics, expertise of the clinician, availability of the equipment, potential complication rates, etc. TBLB specimens have a high yield for diagnosis of bronchocentric diseases [35, 46]. It is suggested in cases of suspected nfHP, since granulomas are more likely to be seen and are diagnostic of nfHP. Fibrotic HP specimens obtained through TBLB are small sized, often with crush artifacts that yield non-specific fibrotic pathological features, thus may fail to identify ancillary features differentiating other ILDs especially IPF [8••, 35, 47, 48]. The limitations associated with TBLB were overcome by the evolution of cryo-lung biopsy technique. TBLC specimens are larger with little crush artifacts and feasible for patients unfit to undergo an invasive SLB [49, 50]. Its utility was favored for suspected fHP populations only, to avoid potentially risk-associated SLB [8••]. SLB, though gold standard for histopathological diagnosis, is associated with high complication rates (acute exacerbation of ILD, post-op pneumonia; pleural effusion; chronic chest pain; prolonged air leak; requirement of mechanical ventilation; neuropathic pain) [35, 5153].

Pathology

Similar to radiological classification, the ATS has classified histopathology of HP into typical, probable, and indeterminate for HP. Typical nfHP requires presence of all of the following features on histopathology: (i) cellular interstitial pneumonia, small lymphocyte predominant, distributed mainly along the bronchioles; (ii) cellular chronic bronchiolitis with cytology similar to interstitial pneumonitis; (iii) small, poorly formed granulomas which may contain cytoplasmic inclusions; and (iv) absence of features suggestive of alternative diagnosis (plasma cell predominance, extensive lymphoid hyperplasia, aspirated particles). When histopathology shows all of the above characteristics except the presence of granulomatous inflammation, it is classified as probable nfHP. Presence of either cellular bronchiolocentric interstitial pneumonia or cellular chronic bronchiolitis is classified as histopathology indeterminate for nfHP [8••].

Typical fHP histopathology contains features suggestive of (i) chronic fibrosing interstitial pneumonia (characterized by architectural distortion, fibroblast foci with or without subpleural honeycombing or fibrotic NSIP-like pattern); OR (ii) airway-centered fibrosis (characterized by peribronchiolar metaplasia or bridging fibrosis); AND (iii) poorly formed non-necrotizing granulomas; AND (iv) absence of alternative histopathology features similar to that of nfHP. Presence of either of the former two criteria, without granulomas, is classified as probable fHP. When histopathology shows features of chronic fibrosing interstitial pneumonia only, it is categorized as indeterminate for fHP. The histopathology pattern of fibrotic HP often overlaps with the “UIP-like pattern.” However concomitant areas of cellular interstitial pneumonia or cellular bronchiolitis or OP-like pattern on biopsy samples help differentiate the two. Biopsy samples thus should be taken from more than one site and more than one lobe to increase the yield of diagnosis [8••].

Treatment

Antigen avoidance lays the foundation of treatment. Studies have documented a mortality benefit in patients with fHP, in whom antigen could be avoided [38]. Studies related to therapeutic interventions are briefly summarized in Table 3. Sadeleer et al. noted significantly improved lung function trends for nfHP, non-significant positive trends for fHP with no survival benefit in either of the cohorts when antigen was avoided. Antigen could not be identified in 20% of their population, which was associated with worse survival [39]. Nishida et al. found nfHP patients experiencing recurrence or progressing to fibrosis with ongoing antigen exposure [54•].

Table 3 Summary of therapeutic interventions in hypersensitivity pneumonitis

Pharmacological therapies predominantly have two arms—the immunosuppressants and the newly found role of antifibrotics. The immunosuppressant group constitutes the corticosteroids, azathioprine, mycophenolate mofetil (MMF), and rituximab.

Studies on the effect of corticosteroid treatment in HP have been scarce. In a double-blind placebo-controlled trial conducted almost 30 years ago on patients with acute HP, an 8-week course of prednisolone was associated with significantly improved lung functions without a survival benefit [55]. Decades later, the efficacy of corticosteroid was retrospectively studied in a heterogeneous population of HP patients. Corticosteroids were effective in reversing the declining lung functions for the nfHP cohort, without a survival benefit. No significant lung function changes were observed for fHP patients [39]. The role of corticosteroids thus seems restricted to the nfHP subtype. Improved lung function trends point towards improvement in disease progression; however, given no mortality benefit, its associated risks (hyperglycemia, hypertension, osteoporosis, immunocompromised status, aggravation of peptic ulcer disease, weight gain, proximal muscle weakness, cushingoid facies) versus potential benefits must be weighed on a case-to-case basis.

Steroid-related side effects and progressive course of disease despite use have urged upon the need to identify the effect and tolerability of steroid-sparing drugs, viz., MMF, azathioprine, and rituximab. Available data on effects of MMF and azathioprine are limited to retrospective, single-center studies, conducted on a small patient population. Morriset et al. first studied the effect of azathioprine or MMF in patients with chronic HP (cHP). Significantly improved diffusion capacity of lung for carbon monoxide (DLCO) with non-significant increase in forced vital capacity (FVC) was observed. Both drugs were well tolerated and reduced the required dose of steroid, hence the associated side effects [56]. Similar results were documented by Fiddler et al. Compared to Morriset et al., a higher proportion of patients experienced side effects leading to discontinuation of treatment [57]. Adegunsoye et al. studied the outcomes of azathioprine or MMF, added to baseline prednisolone treatment, in patients with cHP. An increased mortality was seen in patients requiring immunosuppressants than those who did not. There was no difference between treatment groups for lung function decline or survival. However, MMF was better tolerated, reduced the required dose of prednisolone, and had the least side effect profile. Hence, use of steroid-sparing immunosuppressants was advocated when deemed necessary [58]. However, all these studies are retrospective analysis of hospital records and case–control datasets. Alexandre et al. observed improved FVC with a stable DLCO, 2 years after treatment with azathioprine alone. Patients who discontinued the therapy were 43.5%, mainly due to disease worsening and liver toxicity [59]. Raimundo et al. assessed the potential factors associated with clinical response in cHP patients treated with azathioprine for 12 months. They were categorized into “responders” and “non-responders” based on FVC decline of > 10% from baseline. BAL lymphocytosis was reported to be significantly higher in responders (36.49% ± 23.25% versus 17.86 ± 15.58), while the “non-responders” had significantly high HRCT findings of traction bronchiectasis (78.3% vs 47.2%) and honeycombing (52.2% vs 25%). BAL lymphocyte count > 28% was found to hold high specificity (88.9%) in identifying the responders, albeit with limited sensitivity (66.7%). Azathioprine was effective in disease stabilization for 78% of their study population [60]. There is limited data on the utility of rituximab in HP with literature limited to a few case reports and case series [6164]. Rituximab was first used in a treatment refractory case of HP who was concurrently treated with intravenous methylprednisolone. Two months post treatment, subjective and objective improvements were documented which was temporally associated with the use of rituximab [61]. Recently, Ferreira et al. found rituximab to be well tolerated with trend towards disease stabilization or improvement in some patients with cHP [64]. The available evidence seems abstract given the chance factor benefit attributed to the use of rituximab. The side effects of rituximab must be considered, given the high risk of infections, propensity to flare latent tuberculosis and cause allergic reactions.

IPF and other fibrotic ILDs tend to have a similar clinical course and pathogenic mechanisms. Based on this principle, the efficacy of nintedanib in slowing the rate of decline in FVC was examined in the recently concluded INBUILD trial. It was a prospective, randomized, double-blind placebo-controlled trial on patients with progressive fibrosing ILD other than IPF. The cohort comprised 5 subgroups, with cHP contributing to the majority at 26%. Nintedanib given for 52 weeks slowed the rate of FVC decline (− 80.8 ml/year vs − 187.8 ml/year) with its benefits sustained irrespective of the fibrotic pattern on HRCT (95% CI, 70.8 to 185.6; p < 0.001). While it was beneficial in limiting the progress of the disease, there was no significant difference in outcomes like patient mortality, exacerbations, or symptom burden. Adverse event profile was similar in the two groups [65••]. Wells et al. extrapolated the results of the INBUILD trial for each of the 5 subgroups individually. They reported results consistent with those of pilot study across all 5 subgroups with rate of FVC decline in cHP being 73.1 ml/year and a consistent overall safety profile [66•]. In the same study population, Cottin et al. evaluated the potential impact of immunomodulatory therapies on the efficacy and safety of nintedanib. They observed no effect of immunomodulatory therapies on the efficacy of nintedanib. This study, however, did not have a subgroup analysis for each ILD individually [67•].

While INBUILD trial established the role of nintedanib in non IPF-ILDs, the role of pirfenidone was explored in the RELIEF trial. It was a double-blind, randomized, placebo-controlled trial, investigating the efficacy and safety of pirfenidone, conducted on fibrotic ILD patients, with cHP contributing maximally at 45%. The study was prematurely terminated due to slow recruitment. The available data analysis suggested a significantly reduced decline in FVC% predicted and DLCO% predicted in the treatment group. No significant difference was seen with regard to progression-free survival and quality of life (QoL). The adverse events were equally distributed between the two arms. Safety and tolerability profile of pirfenidone was similar to the ones described in IPF trials. Subgroup analysis could not be done due to a small sample size. Although the study was terminated prematurely, the available data favored the use of pirfenidone [68•].

Tzilas et al. analyzed the role of antifibrotics (pirfenidone or nintedanib) in patients with cHP, previously misdiagnosed as IPF. Significantly reduced annual decline in FVC% predicted (4.2%, 95% CI 1.9–6.6%) and DLCO% predicted (5.7%, 95% CI 3.4–8.1%) were observed. The drugs exhibited an acceptable safety profile with 20% patients discontinuing the treatment due to adverse effects [69]. Shibata et al. evaluated the efficacy of pirfenidone in patients with cHP. Significantly improved vital capacity was observed at 6 months [70]. In an open-label study by Mateos et al., efficacy and safety of pirfenidone were studied in patients with cHP. After 1 year of treatment, non-significant improved trends were noted for FVC and DLCO with significantly improved QoL score [71]. All the above-mentioned studies were limited by their methodologies and a small sample size. Drawing conclusions from the same may thus be tricky.

The results of the INBUILD trial provide a hallmark change in the treatment strategy for cHP which was largely limited to antigen avoidance and immunosuppressants. Although nintedanib did not provide a survival benefit, its role in limiting disease progression with a good tolerance and safety profile cannot be underestimated. It thus provides a comforting prospect for fHP patients with limited treatment options, struggling for alternatives to immunosuppressants.

The above-discussed pharmacological therapies suggest a role in slowing the disease progression, that too in a subset of the population with HP. A definitive role in the treatment may thus be served by lung transplant only. Kern et al. reviewed clinical characteristics, survival, and acute or chronic rejection for 31 lung transplant recipients with HP and compared them to 91 referents with IPF. HP subjects had a better medium-term survival after transplant with a reduced risk of death. HP recurred in 2 allografts [72]. Lung transplant thus remains a last resort in the treatment due to a stringent selection criteria, nature of the procedure, risks associated with lifelong immunosuppression, and costs incurred.

Unanswered Questions

Research in the past decade has opened many unknown avenues in HP. However, a multitude of questions still remain unanswered. As HP occurs in genetically susceptible individuals, factors which predispose the patient to the same remain unanswered. Considering significant radiological overlap between IPF and fHP, it would be intriguing to know if more IPF patients actually represent populations with end stage fHP of unknown exposure. The role of antifibrotics in improving outcomes with regard to lung functions and mortality in HP requires further research. It would also be interesting to explore if there exists some radiological or pathological characteristics, predictive of better outcomes with the immunosuppressant group of drugs including azathioprine, mycophenolate mofetil, and rituximab.

Conclusion

We have come a long way today with our understanding and approach to a case of HP. The first official guidelines on the diagnosis of the disease are now available, which have clarified the classification and diagnostic criteria for HP and its phenotypes. A number of trials have further explored the role of immunomodulatory and antifibrotic drugs pertaining to the disease. Although lacunae still exist in our understanding of the factors affecting disease progression and prognosis, we have achieved considerable milestones with our research, the baton for which shall continue to move forward.