Prognostic value of quantitative liver function tests in viral cirrhosis: a prospective study