Diagnosis of hepatic impairment typically involves a combination of blood tests, imaging studies, and sometimes liver biopsy. Blood tests such as liver function tests (LFTs) measure levels of liver enzymes, bilirubin, and proteins. Imaging studies like ultrasound, CT scans, and MRI can reveal liver abnormalities. A liver biopsy, though invasive, provides definitive information about the extent and nature of liver damage.