Validity of an automated algorithm using diagnosis and procedure codes to identify decompensated cirrhosis using electronic health records.
Lu M, Chacra W, Rabin D, Rupp L, Trudeau S, Li J, Gordon S. Validity of an automated algorithm using diagnosis and procedure codes to identify decompensated cirrhosis using electronic health records.. Clin Epidemiol 2017; 9:369-376.
Viral hepatitis-induced cirrhosis can progress to decompensated cirrhosis. Clinical decompensation represents a milestone event for the patient with cirrhosis, yet there remains uncertainty regarding precisely how to define this important phenomenon. With the development of broader treatment options for cirrhotic hepatitis patients, efficient identification of liver status before evolving to decompensated cirrhosis could be life-saving, but research on the topic has been limited by inconsistencies across studies, populations, and case-confirmation methods. We sought to determine whether diagnosis/procedure codes drawn from electronic health records (EHRs) could be used to identify patients with decompensated cirrhosis. In our first step, chart review was used to determine liver status (compensated cirrhosis, decompensated cirrhosis, non-cirrhotic) in patients from the Chronic Hepatitis Cohort Study. Next, a hybrid approach between Least Absolute Shrinkage and Selection Operator regression and Classification Regression Trees models was used to optimize EHR-based identification of decompensated cirrhosis, based on 41 diagnosis and procedure codes. These models were validated using tenfold cross-validation; method accuracy was evaluated by positive predictive values (PPVs) and area under receiver operating characteristic (AUROC) curves. Among 296 patients (23 with hepatitis B, 268 with hepatitis C, and 5 co-infected) with a 2:1 ratio of biopsy-confirmed cirrhosis to noncirrhosis, chart review identified 127 cases of decompensated cirrhosis (Kappa=0.88). The algorithm of five liver-related conditions-liver transplant, hepatocellular carcinoma, esophageal varices complications/procedures, ascites, and cirrhosis-yielded a PPV of 85% and an AUROC of 92%. A hierarchical subset of three conditions (hepatocellular carcinoma, ascites, and esophageal varices) demonstrated a PPV of 81% and an AUROC of 86%. Given the excellent predictive ability of our model, this EHR-based automated algorithm may be used to successfully identify patients with decompensated cirrhosis. This algorithm may contribute to timely identification and treatment of viral hepatitis patients who have progressed to decompensated cirrhosis.