Liver function requires a blood test to ensure the accuracy of the data. Usually, liver function is included in the blood sampling program, and liver function test needs fasting for blood sampling, usually diet will affect the accuracy of liver function test, but the complete liver function test is not only limited to blood sampling, but also includes liver ultrasound, liver elasticity test and other non-blood sampling programs, if you want to have a more detailed examination of liver problems, you should choose the appropriate test method under the guidance of your doctor. It is recommended that patients try to eat a light diet before the liver function test, do not eat spicy, stimulating food, do not stay up late, do not take the liver function test when you have a cold, and consult the doctor for detailed precautions before the test, so as not to affect the accuracy of the test data.