The discriminant equation using mucosally expressed mediators of IL-13, IL-21 and T-bet can be used as a universal diagnostic tool not only for IBD-U but also to assess pathological conditions in PSC-UC and AIP-UC. Here, IL21 is linked to inflammatory bowel disease.