BALANCE I
In the first study, 276 rheumatoid arthritis patients were recruited who had previously experienced inadequate response to anti–tumor necrosis factor (TNF) therapy and were currently on a stable dose of methotrexate. Patients were randomized to receive 3, 6, 12, or 18 mg twice daily or placebo. The primary endpoint was a 20% improvement in symptoms according to the American College of Rheumatology improvement criteria (ACR20). At the completion of the study it was found that response rates were significantly higher in those receiving upadacitinib versus in those receiving placebo alone (36–42% and 22– 26%, respectively). Adverse events included headache, nausea, and infection but no infections were serious. BALANCE II
In the second phase IIb study, 300 rheumatoid arthritis patients were recruited who have had an inadequate response to methotrexate. Patients were randomized to receive 3, 6, 12, or 18 mg twice daily or placebo. The primary endpoint was a 20% improvement in symptoms according to the American College of Rheumatology improvement criteria (ACR20). At the completion of the study it was found that response rates were significantly higher in those receiving upadacitinib versus in those receiving placebo alone. (62%, 68%, 80%, 64%, and 76% for the 3, 6, 12, 18, and 24 mg doses, respectively) than with placebo (46%). Improvement in symptoms was rapid, with significant changes in disease scores by week 2. Adverse events were mild with infection being the most serious. One case of community-acquired pneumonia occurred at 12 mg.

CELEST
In this 16-week study, 220 patients were recruited with moderately to severely active Crohns disease.
This is a good way to help exclude other similar lung diseases like sarcoidosis, infection and Idiopathic pulmonary fibrosis. Lung biopsy
Lung biopsies can be diagnostic in cases of chronic hypersensitivity pneumonitis, or may help to suggest the diagnosis and trigger or intensify the search for an allergen. The main feature of chronic hypersensitivity pneumonitis on lung biopsies is expansion of the interstitium by lymphocytes accompanied by an occasional multinucleated giant cell or loose granuloma.When fibrosis develops in chronic hypersensitivity pneumonitis, the differential diagnosis in lung biopsies includes the idiopathic interstitial pneumonias. This group of diseases includes usual interstitial pneumonia, non-specific interstitial pneumonia and cryptogenic organizing pneumonia, among others.The prognosis of some idiopathic interstitial pneumonias, e.g. idiopathic usual interstitial pneumonia (i.e. idiopathic pulmonary fibrosis), are very poor and the treatments of little help. This contrasts the prognosis (and treatment) for hypersensitivity pneumonitis, which is generally fairly good if the allergen is identified and exposures to it significantly reduced or eliminated. Thus, a lung biopsy, in some cases, may make a decisive difference. Serum Precipitins
Assays for serum IgGs can aid in identifying possible antigenic exposures and are used as markers of exposure  However, there use is limited in making a definitive diagnosis because serum antibody levels are often elevated in those people who are exposed to an antigen but do not have the disease. Up to 90% of people exposed to the antigen have precipitins but only 50% of similarly exposed people who are asymptomatic have the same precipitins.