No other clinical or pathological parameters, including E‐cadherin or AIP, achieved statistically significant predictive values. Here, CDH1 is linked to autoimmune pancreatitis.