Hepatocellular carcinoma patients with Child-Pugh liver function classification grade a, and their own status is ideal, can take sleeping pills. If the patient has complications such as ascites, hepatic encephalopathy, infection and so on, it is not recommended to take Ambien. The specific analysis is as follows: 1. It can be taken: the liver cancer is in early stage, there is no history of hepatic encephalopathy, there is no ascites, the total bilirubin is lower than 34umol/L, and the function of liver synthesizing albumin and prothrombin is not reduced. The patient himself has a certain compensatory ability, the state is ideal, can be safe under the guidance of the doctor to take sleeping pills. 2. Cannot be taken: if the patient has ascites, hepatic encephalopathy, infection and other complications, liver function is seriously impaired, sleeping pills may affect the central nervous system, inducing hepatic encephalopathy to occur, the patient appears to have confusion, delirium, coma and so on. At this time, patients are not recommended to take sleeping pills. Therefore, patients must go to the regular hospital for careful consultation before deciding whether to take sleeping pills according to their own situation, and do not take medication on their own, resulting in aggravation of the condition and delayed treatment.