To establish the hospitalized prevalence of severe Crohn's disease (CD) and ulcerative colitis (UC) in Wales from 1999 to 2007; and to investigate long-term mortality after hospitalization and associations with social deprivation and other socio-demographic factors.