Erythrocyte hydroxymethylbilane synthase activity is often reduced to half of normal in patients with AIP, and the enzyme activity assay has a high diagnostic value in AIP. The gene discussed is HMBS; the disease is autoimmune pancreatitis.