Diagnosis of liver impairment typically involves a combination of clinical evaluation, laboratory tests, and imaging studies. Blood tests such as liver function tests (LFTs) measure enzymes like ALT and AST to assess liver damage. Imaging techniques like ultrasound and MRI can help visualize structural changes in the liver. In some cases, a liver biopsy may be necessary to confirm the diagnosis and determine the extent of damage.