Validation of an algorithm using inpatient electronic health records to determine the presence and severity of cirrhosis in patients with hepatocellular carcinoma in England: an observational study

BMJ Open. 2019 Jul 9;9(7):e028571. doi: 10.1136/bmjopen-2018-028571.

Abstract

Objectives: Outcomes in hepatocellular carcinoma (HCC) are determined by both cancer characteristics and liver disease severity. This study aims to validate the use of inpatient electronic health records to determine liver disease severity from treatment and procedure codes.

Design: Retrospective observational study.

Setting: Two National Health Service (NHS) cancer centres in England.

Participants: 339 patients with a new diagnosis of HCC between 2007 and 2016.

Main outcome: Using inpatient electronic health records, we have developed an optimised algorithm to identify cirrhosis and determine liver disease severity in a population with HCC. The diagnostic accuracy of the algorithm was optimised using clinical records from one NHS Trust and it was externally validated using anonymised data from another centre.

Results: The optimised algorithm has a positive predictive value (PPV) of 99% for identifying cirrhosis in the derivation cohort, with a sensitivity of 86% (95% CI 82% to 90%) and a specificity of 98% (95% CI 96% to 100%). The sensitivity for detecting advanced stage cirrhosis is 80% (95% CI 75% to 87%) and specificity is 98% (95% CI 96% to 100%), with a PPV of 89%.

Conclusions: Our optimised algorithm, based on inpatient electronic health records, reliably identifies and stages cirrhosis in patients with HCC. This highlights the potential of routine health data in population studies to stratify patients with HCC according to liver disease severity.

Keywords: epidemiology; hepatobiliary tumours; hepatology.

Publication types

  • Observational Study
  • Research Support, Non-U.S. Gov't
  • Validation Study

MeSH terms

  • Adult
  • Aged
  • Aged, 80 and over
  • Algorithms*
  • Ascites / epidemiology
  • Carcinoma, Hepatocellular / epidemiology*
  • Electronic Health Records*
  • England / epidemiology
  • Esophageal and Gastric Varices / epidemiology
  • Female
  • Gastrointestinal Hemorrhage / epidemiology
  • Hepatitis B, Chronic / epidemiology
  • Hepatitis C, Chronic / epidemiology
  • Humans
  • Liver Cirrhosis / epidemiology*
  • Liver Cirrhosis / physiopathology
  • Liver Cirrhosis, Alcoholic / epidemiology
  • Liver Neoplasms / epidemiology*
  • Male
  • Middle Aged
  • Non-alcoholic Fatty Liver Disease / epidemiology
  • Reproducibility of Results
  • Retrospective Studies
  • Severity of Illness Index
  • State Medicine