Hepatic encephalopathy refers to an altered mental state secondary to liver failure.