An epithelial or non-epithelial malignant neoplasm that arises from the liver. Representative examples include hepatocellular carcinoma, intrahepatic cholangiocarcinoma, lymphoma, and sarcoma. The disease is Monarch Disease Ontology entry MONDO_0002691 (liver cancer). Also known as: Ca liver - primary, Resectable malignant neoplasm of liver, ca liver - primary, cancer of liver, hepatic cancer, hepatic neoplasm, malignant hepato-biliary neoplasm, malignant liver neoplasm.