Your doctor may order this test when you have risk factors for HBV infection or when you have signs and symptoms of this virus, such as unexplained elevated blood levels of ALT, or if you have jaundice.