Diagnosis of viral hepatitis