CINXE.COM
AST to Platelet Ratio Index (APRI) Calculator - Clinical Calculators - Hepatitis C Online
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-WVK41JBQ8K"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-WVK41JBQ8K'); </script> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>AST to Platelet Ratio Index (APRI) Calculator - Clinical Calculators - Hepatitis C Online</title> <!--[if IE 8]><meta http-equiv="X-UA-Compatible" content="IE=8" /><![endif]--> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i&subset=latin-ext" rel="stylesheet"> <link rel="stylesheet" href="//cdn.hepatitisc.uw.edu/css/vendors.css?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg" type="text/css" media="screen,print" /> <link rel="stylesheet" href="//cdn.hepatitisc.uw.edu/css/dynamic.css.php?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg" type="text/css" media="screen,print" /> <link rel="stylesheet" href="//cdn.hepatitisc.uw.edu/css/style.css?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg" type="text/css" media="screen,print" /> <meta name="viewport" content="width=1024"> <link rel="shortcut icon" href="//cdn.hepatitisc.uw.edu/css/images/favicon.png?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg" type="image/png" size="192x192" /> <script defer="defer" src="//scripts.idea.medicine.uw.edu/master/runtime.caaee8378320e1074c74.js"></script><script defer="defer" src="//scripts.idea.medicine.uw.edu/master/vendors.b556ee559ae64914a132.js"></script><script defer="defer" src="//scripts.idea.medicine.uw.edu/master/main.5c07ad03432292d251eb.js"></script> <script type="text/javascript"> var ie8_compatibility_mode = 0; const base_url = 'https://www.hepatitisC.uw.edu/'; const live_url = 'https://www.hepatitisC.uw.edu'; const live_domain = 'www.hepatitisC.uw.edu'; var debug = false; </script> <!--[if IE 7]> <script type="text/javascript"> if(document.documentMode == 7){ ie8_compatibility_mode = 1; } </script> <![endif]--> <script type="text/javascript" src="//cdn.hepatitisc.uw.edu/scripts/min/vendors-min.js?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg"></script> <script type="text/javascript" src="//cdn.hepatitisc.uw.edu/scripts/min/scripts-min.js?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg"></script> <link rel="apple-touch-icon" sizes="180x180" href="//cdn.hepatitisc.uw.edu/css/images/ios/page/clinical-calculators/calc.png" /><meta name="theme-color" content="#4b5c84"> </head> <body class="site-nhcvc logged-out action-page not-mobile use-questions"> <section id="header-components"><div id="header"><div class="inner"><a href="/process.php?action=home" id="logo">Hepatitis C Online</a></div></div><div class="nav-outer"><div class="level1-navigation"><div class="inner"><ul class="main-menu"><li class="section section-menu visible-mobile"><div class="link"><span class="menu-open glyphicon glyphicon-th" aria-hidden="true"></span><span class="menu-close glyphicon glyphicon-remove" aria-hidden="true"></span> <span class="hidden">Site Navigation</span></div></li><li class="section home-section"><a href="/" title="Hepatitis C Online" class=" link"></a></li><li class="section biology"><a href="/page/hcv/biology" class="link ">HCV <br />Biology</a></li><li class="section treatments nhcvc-medications has-submenu"><a href="/page/treatment/drugs" class=" link ">HCV <br />Medications<span class="submenu-trigger"></span></a><div class="submenu medications"><div class="description description-default">Listed in <strong>alphabetical</strong> order.</div><ul><li class="treatment treatment-7"><a href="/page/treatment/drugs/elbasvir-grazoprevir"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/7.png" alt="Elbasvir-Grazoprevir (Zepatier) Pill Preview" />Elbasvir-Grazoprevir <em>Zepatier</em></a></li><li class="treatment treatment-22"><a href="/page/treatment/drugs/glecaprevir-pibrentasvir"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/22.png" alt="Glecaprevir-Pibrentasvir (Mavyret) Pill Preview" />Glecaprevir-Pibrentasvir <em>Mavyret</em></a></li><li class="treatment treatment-11"><a href="/page/treatment/drugs/ledipasvir-sofosbuvir"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/11.png" alt="Ledipasvir-Sofosbuvir (Harvoni) Pill Preview" />Ledipasvir-Sofosbuvir <em>Harvoni</em></a></li><li class="treatment treatment-3"><a href="/page/treatment/drugs/ribavirin-drug"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/3.png" alt="Ribavirin (Copegus, Rebetol, Ribasphere) Pill Preview" />Ribavirin <em>Copegus, Rebetol, Ribasphere</em></a></li><li class="treatment treatment-1"><a href="/page/treatment/drugs/sofosbuvir-drug"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/1.png" alt="Sofosbuvir (Sovaldi) Pill Preview" />Sofosbuvir <em>Sovaldi</em></a></li><li class="treatment treatment-20"><a href="/page/treatment/drugs/epclusa"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/20.png" alt="Sofosbuvir-Velpatasvir (Epclusa) Pill Preview" />Sofosbuvir-Velpatasvir <em>Epclusa</em></a></li><li class="treatment treatment-21"><a href="/page/treatment/drugs/sofosbuvir-velpatasvir-voxilaprevir"><img class="drug-preview" src="//cdn.hepatitisc.uw.edu/css/images/drugs/21.png" alt="Sofosbuvir-Velpatasvir-Voxilaprevir (Vosevi) Pill Preview" />Sofosbuvir-Velpatasvir-Voxilaprevir <em>Vosevi</em></a></li></ul></div></li><li class="section modules has-submenu"><a href="/alternate" class="link ">Course <br /> Modules<span class="submenu-trigger"></span></a><div class="submenu modules"><ul><li class="level1 level1-all "><a href="/alternate"><span class="caption">View all Course Modules</span></a></li><li class="level1 level1-31 has-subsubmenu"><a href="/go/screening-diagnosis"><span class="num">1</span><span class="caption">Screening and Diagnosis of Hepatitis C Infection</span><span class="submenu-trigger"></span></a><div class="subsubmenu custom"><a class="description" href="/custom/screening-diagnosis"><h3>Self-Study Module<span class="edition-tag edition-tag-4">4th Edition</span><span class="cme-tag cme-tag-available">CNE/CME Available</span></h3> Track your progress and receive CE credit</a><ul><li><a href="/custom/screening-diagnosis">Screening and Diagnosis: Self-Study <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-108"><a href="/custom/screening-diagnosis/epidemiology-us"><span class="caption">HCV Epidemiology in the United States</span></a></li><li class="level2 level2-109"><a href="/custom/screening-diagnosis/recommendations-screening"><span class="caption">Recommendations for Hepatitis C Screening</span></a></li><li class="level2 level2-110"><a href="/custom/screening-diagnosis/diagnostic-testing"><span class="caption">Hepatitis C Diagnostic Testing</span></a></li><li class="level2 level2-111"><a href="/custom/screening-diagnosis/counseling-prevention"><span class="caption">Counseling for Prevention of HCV Transmission</span></a></li><li class="level2 level2-112"><a href="/custom/screening-diagnosis/acute-diagnosis"><span class="caption">Diagnosis of Acute HCV Infection</span></a></li></ol><ul><li><a href="/custom/screening-diagnosis/certificate">Certificate Requirements <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul></div><div class="subsubmenu level2s"><a class="description" href="/go/screening-diagnosis"><h3>Quick Reference<span class="edition-tag edition-tag-4">4th Edition</span></h3> Rapidly access information in this module</a><ul><li><a href="/go/screening-diagnosis">Screening and Diagnosis of Hepatitis C Infection: Overview</a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-153"><a href="/go/screening-diagnosis/epidemiology-us/core-concept/all"><span class="caption">HCV Epidemiology in the United States</span></a></li><li class="level2 level2-157"><a href="/go/screening-diagnosis/recommendations-screening/core-concept/all"><span class="caption">Recommendations for Hepatitis C Screening</span></a></li><li class="level2 level2-154"><a href="/go/screening-diagnosis/diagnostic-testing/core-concept/all"><span class="caption">Hepatitis C Diagnostic Testing</span></a></li><li class="level2 level2-155"><a href="/go/screening-diagnosis/counseling-prevention/core-concept/all"><span class="caption">Counseling for Prevention of HCV Transmission</span></a></li><li class="level2 level2-156"><a href="/go/screening-diagnosis/acute-diagnosis/core-concept/all"><span class="caption">Diagnosis of Acute HCV Infection</span></a></li></ol></div></li><li class="level1 level1-34 has-subsubmenu"><a href="/go/evaluation-staging-monitoring"><span class="num">2</span><span class="caption">Evaluation, Staging, and Monitoring of Chronic Hepatitis C</span><span class="submenu-trigger"></span></a><div class="subsubmenu custom"><a class="description" href="/custom/evaluation-staging-monitoring"><h3>Self-Study Module<span class="edition-tag edition-tag-4">4th Edition</span><span class="cme-tag cme-tag-available">CNE/CME Available</span></h3> Track your progress and receive CE credit</a><ul><li><a href="/custom/evaluation-staging-monitoring">Evaluation, Staging, and Monitoring: Self-Study <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-124"><a href="/custom/evaluation-staging-monitoring/initial-evaluation-chronic"><span class="caption">Initial Evaluation of Persons with Chronic HCV</span></a></li><li class="level2 level2-125"><a href="/custom/evaluation-staging-monitoring/natural-history"><span class="caption">Natural History of HCV Infection</span></a></li><li class="level2 level2-126"><a href="/custom/evaluation-staging-monitoring/counseling-liver-health"><span class="caption">Counseling Persons with Chronic HCV Infection</span></a></li><li class="level2 level2-127"><a href="/custom/evaluation-staging-monitoring/evaluation-staging"><span class="caption">Evaluation and Staging of Liver Fibrosis</span></a></li><li class="level2 level2-128"><a href="/custom/evaluation-staging-monitoring/evaluation-prognosis-cirrhosis"><span class="caption">Evaluation and Prognosis of Persons with Cirrhosis</span></a></li><li class="level2 level2-129"><a href="/custom/evaluation-staging-monitoring/surveillance-hepatocellular-carcinoma"><span class="caption">Surveillance for Hepatocellular Carcinoma</span></a></li><li class="level2 level2-130"><a href="/custom/evaluation-staging-monitoring/extrahepatic-conditions"><span class="caption">Extrahepatic Conditions Related to HCV Infection</span></a></li></ol><ul><li><a href="/custom/evaluation-staging-monitoring/certificate">Certificate Requirements <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul></div><div class="subsubmenu level2s"><a class="description" href="/go/evaluation-staging-monitoring"><h3>Quick Reference<span class="edition-tag edition-tag-4">4th Edition</span></h3> Rapidly access information in this module</a><ul><li><a href="/go/evaluation-staging-monitoring">Evaluation, Staging, and Monitoring of Chronic Hepatitis C: Overview</a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-169"><a href="/go/evaluation-staging-monitoring/initial-evaluation-chronic/core-concept/all"><span class="caption">Initial Evaluation of Persons with Chronic HCV</span></a></li><li class="level2 level2-170"><a href="/go/evaluation-staging-monitoring/natural-history/core-concept/all"><span class="caption">Natural History of HCV Infection</span></a></li><li class="level2 level2-171"><a href="/go/evaluation-staging-monitoring/counseling-liver-health/core-concept/all"><span class="caption">Counseling Persons with Chronic HCV Infection</span></a></li><li class="level2 level2-172"><a href="/go/evaluation-staging-monitoring/evaluation-staging/core-concept/all"><span class="caption">Evaluation and Staging of Liver Fibrosis</span></a></li><li class="level2 level2-175"><a href="/go/evaluation-staging-monitoring/evaluation-prognosis-cirrhosis/core-concept/all"><span class="caption">Evaluation and Prognosis of Persons with Cirrhosis</span></a></li><li class="level2 level2-173"><a href="/go/evaluation-staging-monitoring/surveillance-hepatocellular-carcinoma/core-concept/all"><span class="caption">Surveillance for Hepatocellular Carcinoma</span></a></li><li class="level2 level2-174"><a href="/go/evaluation-staging-monitoring/extrahepatic-conditions/core-concept/all"><span class="caption">Extrahepatic Conditions Related to HCV Infection</span></a></li></ol></div></li><li class="level1 level1-33 has-subsubmenu"><a href="/go/management-cirrhosis-related-complications"><span class="num">3</span><span class="caption">Management of Cirrhosis-Related Complications</span><span class="submenu-trigger"></span></a><div class="subsubmenu custom"><a class="description" href="/custom/management-cirrhosis-related-complications"><h3>Self-Study Module<span class="edition-tag edition-tag-4">4th Edition</span><span class="cme-tag cme-tag-available">CNE/CME Available</span></h3> Track your progress and receive CE credit</a><ul><li><a href="/custom/management-cirrhosis-related-complications">Management of Cirrhosis-Related Complications: Self-Study <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-119"><a href="/custom/management-cirrhosis-related-complications/ascites-diagnosis-management"><span class="caption">Diagnosis and Management of Ascites</span></a></li><li class="level2 level2-120"><a href="/custom/management-cirrhosis-related-complications/spontaneous-bacterial-peritonitis-recognition-management"><span class="caption">Recognition and Management of Spontaneous Bacterial Peritonitis</span></a></li><li class="level2 level2-121"><a href="/custom/management-cirrhosis-related-complications/varices-screening-prevention-bleeding"><span class="caption">Screening for Varices and Prevention of Bleeding</span></a></li><li class="level2 level2-122"><a href="/custom/management-cirrhosis-related-complications/hepatic-encephalopathy-diagnosis-management"><span class="caption">Diagnosis and Management of Hepatic Encephalopathy</span></a></li><li class="level2 level2-123"><a href="/custom/management-cirrhosis-related-complications/liver-transplantation-referral"><span class="caption">Referral for Liver Transplantation</span></a></li></ol><ul><li><a href="/custom/management-cirrhosis-related-complications/certificate">Certificate Requirements <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul></div><div class="subsubmenu level2s"><a class="description" href="/go/management-cirrhosis-related-complications"><h3>Quick Reference<span class="edition-tag edition-tag-4">4th Edition</span></h3> Rapidly access information in this module</a><ul><li><a href="/go/management-cirrhosis-related-complications">Management of Cirrhosis-Related Complications: Overview</a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-164"><a href="/go/management-cirrhosis-related-complications/ascites-diagnosis-management/core-concept/all"><span class="caption">Diagnosis and Management of Ascites</span></a></li><li class="level2 level2-165"><a href="/go/management-cirrhosis-related-complications/spontaneous-bacterial-peritonitis-recognition-management/core-concept/all"><span class="caption">Recognition and Management of Spontaneous Bacterial Peritonitis</span></a></li><li class="level2 level2-166"><a href="/go/management-cirrhosis-related-complications/varices-screening-prevention-bleeding/core-concept/all"><span class="caption">Screening for Varices and Prevention of Bleeding</span></a></li><li class="level2 level2-167"><a href="/go/management-cirrhosis-related-complications/hepatic-encephalopathy-diagnosis-management/core-concept/all"><span class="caption">Diagnosis and Management of Hepatic Encephalopathy</span></a></li><li class="level2 level2-168"><a href="/go/management-cirrhosis-related-complications/liver-transplantation-referral/core-concept/all"><span class="caption">Referral for Liver Transplantation</span></a></li></ol></div></li><li class="level1 level1-35 has-subsubmenu"><a href="/go/evaluation-treatment"><span class="num">4</span><span class="caption">Evaluation and Preparation for Hepatitis C Treatment</span><span class="submenu-trigger"></span></a><div class="subsubmenu custom"><a class="description" href="/custom/evaluation-treatment"><h3>Self-Study Module<span class="edition-tag edition-tag-4">4th Edition</span><span class="cme-tag cme-tag-available">CNE/CME Available</span></h3> Track your progress and receive CE credit</a><ul><li><a href="/custom/evaluation-treatment">Evaluation and Preparation for Treatment: Self-Study <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-131"><a href="/custom/evaluation-treatment/treatment-goals-predicting-response"><span class="caption">Goals and Benefits with HCV Treatment</span></a></li><li class="level2 level2-132"><a href="/custom/evaluation-treatment/treatment-initiation-decision"><span class="caption">Making a Decision on When to Initiate HCV Therapy</span></a></li><li class="level2 level2-133"><a href="/custom/evaluation-treatment/addressing-structural-barriers-to-treatment"><span class="caption">Addressing Structural Barriers to HCV Treatment</span></a></li></ol><ul><li><a href="/custom/evaluation-treatment/certificate">Certificate Requirements <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul></div><div class="subsubmenu level2s"><a class="description" href="/go/evaluation-treatment"><h3>Quick Reference<span class="edition-tag edition-tag-4">4th Edition</span></h3> Rapidly access information in this module</a><ul><li><a href="/go/evaluation-treatment">Evaluation and Preparation for Hepatitis C Treatment: Overview</a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-176"><a href="/go/evaluation-treatment/treatment-goals-predicting-response/core-concept/all"><span class="caption">Goals and Benefits with HCV Treatment</span></a></li><li class="level2 level2-177"><a href="/go/evaluation-treatment/treatment-initiation-decision/core-concept/all"><span class="caption">Making a Decision on When to Initiate HCV Therapy</span></a></li><li class="level2 level2-178"><a href="/go/evaluation-treatment/addressing-structural-barriers-to-treatment/core-concept/all"><span class="caption">Addressing Structural Barriers to HCV Treatment</span></a></li></ol></div></li><li class="level1 level1-30 has-subsubmenu"><a href="/go/treatment-infection"><span class="num">5</span><span class="caption">Treatment of Hepatitis C Infection</span><span class="submenu-trigger"></span></a><div class="subsubmenu custom"><a class="description" href="/custom/treatment"><h3>Self-Study Module<span class="edition-tag edition-tag-4">4th Edition</span><span class="cme-tag cme-tag-available">CNE/CME Available</span></h3> Track your progress and receive CE credit</a><ul><li><a href="/custom/treatment">Treatment of HCV: Self-Study <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-102"><a href="/custom/treatment/multi-genotype-treatment-new-lesson"><span class="caption">Simplified HCV Treatment for All HCV Genotypes</span></a></li><li class="level2 level2-103"><a href="/custom/treatment/retreatment-patients-prior-treatment-experience"><span class="caption">Retreatment of Patients with Prior HCV Treatment Experience</span></a></li><li class="level2 level2-101"><a href="/custom/treatment/monitoring"><span class="caption">Monitoring During and After HCV Treatment</span></a></li><li class="level2 level2-105"><a href="/custom/treatment/treatment-cirrhosis"><span class="caption">Treatment of HCV in Persons with Cirrhosis</span></a></li><li class="level2 level2-104"><a href="/custom/treatment/treatment-acute-infection"><span class="caption">Treatment of Acute HCV Infection</span></a></li></ol><ul><li><a href="/custom/treatment/certificate">Certificate Requirements <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul></div><div class="subsubmenu level2s"><a class="description" href="/go/treatment-infection"><h3>Quick Reference<span class="edition-tag edition-tag-4">4th Edition</span></h3> Rapidly access information in this module</a><ul><li><a href="/go/treatment-infection">Treatment of Hepatitis C Infection: Overview</a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-149"><a href="/go/treatment-infection/multi-genotype-treatment-new-lesson/core-concept/all"><span class="caption">Simplified HCV Treatment for All HCV Genotypes</span></a></li><li class="level2 level2-150"><a href="/go/treatment-infection/retreatment-patients-prior-treatment-experience/core-concept/all"><span class="caption">Retreatment of Patients with Prior HCV Treatment Experience</span></a></li><li class="level2 level2-143"><a href="/go/treatment-infection/monitoring/core-concept/all"><span class="caption">Monitoring During and After HCV Treatment</span></a></li><li class="level2 level2-152"><a href="/go/treatment-infection/treatment-cirrhosis/core-concept/all"><span class="caption">Treatment of HCV in Persons with Cirrhosis</span></a></li><li class="level2 level2-151"><a href="/go/treatment-infection/treatment-acute-infection/core-concept/all"><span class="caption">Treatment of Acute HCV Infection</span></a></li></ol></div></li><li class="level1 level1-32 has-subsubmenu"><a href="/go/key-populations-situations"><span class="num">6</span><span class="caption">Treatment of Key Populations and Unique Situations</span><span class="submenu-trigger"></span></a><div class="subsubmenu custom"><a class="description" href="/custom/key-populations-unique-situations"><h3>Self-Study Module<span class="edition-tag edition-tag-4">4th Edition</span><span class="cme-tag cme-tag-available">CNE/CME Available</span></h3> Track your progress and receive CE credit</a><ul><li><a href="/custom/key-populations-unique-situations">Treatment of Key Populations and Unique Situations: Self-Study <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-113"><a href="/custom/key-populations-unique-situations/treatment-hiv-coinfection"><span class="caption">Treatment of HCV in Persons with HIV Coinfection</span></a></li><li class="level2 level2-114"><a href="/custom/key-populations-unique-situations/treament-renal-impairment"><span class="caption">Treatment of HCV in Persons with Renal Impairment</span></a></li><li class="level2 level2-115"><a href="/custom/key-populations-unique-situations/treatment-substance-use"><span class="caption">Treatment of HCV in Persons with Substance Use</span></a></li><li class="level2 level2-116"><a href="/custom/key-populations-unique-situations/treatment-corrections"><span class="caption">Treatment of HCV in a Correctional Setting</span></a></li><li class="level2 level2-117"><a href="/custom/key-populations-unique-situations/management-health-care-workers-potentially-exposed-to-hcv"><span class="caption">Management of Health Care Personnel Exposed to HCV</span></a></li><li class="level2 level2-118"><a href="/custom/key-populations-unique-situations/perinatal-hcv-transmission"><span class="caption">Perinatal HCV Transmission</span></a></li></ol><ul><li><a href="/custom/key-populations-unique-situations/certificate">Certificate Requirements <span class="cme-tag cme-tag-available">CNE/CME</span></a></li></ul></div><div class="subsubmenu level2s"><a class="description" href="/go/key-populations-situations"><h3>Quick Reference<span class="edition-tag edition-tag-4">4th Edition</span></h3> Rapidly access information in this module</a><ul><li><a href="/go/key-populations-situations">Treatment of Key Populations and Unique Situations: Overview</a></li></ul><h4>Lessons</h4><ol><li class="level2 level2-158"><a href="/go/key-populations-situations/treatment-hiv-coinfection/core-concept/all"><span class="caption">Treatment of HCV in Persons with HIV Coinfection</span></a></li><li class="level2 level2-159"><a href="/go/key-populations-situations/treament-renal-impairment/core-concept/all"><span class="caption">Treatment of HCV in Persons with Renal Impairment</span></a></li><li class="level2 level2-160"><a href="/go/key-populations-situations/treatment-substance-use/core-concept/all"><span class="caption">Treatment of HCV in Persons with Substance Use</span></a></li><li class="level2 level2-161"><a href="/go/key-populations-situations/treatment-corrections/core-concept/all"><span class="caption">Treatment of HCV in a Correctional Setting</span></a></li><li class="level2 level2-162"><a href="/go/key-populations-situations/management-health-care-workers-potentially-exposed-to-hcv/core-concept/all"><span class="caption">Management of Health Care Personnel Exposed to HCV</span></a></li><li class="level2 level2-163"><a href="/go/key-populations-situations/perinatal-hcv-transmission/core-concept/all"><span class="caption">Perinatal HCV Transmission</span></a></li></ol></div></li></ul></div></li><li class="section tools active-trail has-submenu"><a href="/page/clinical-calculators/apri" class="link active-trail">Tools &<br /> Calculators<span class="submenu-trigger"></span></a><div class="submenu tools"><ul><li class="section-page section-page-7 has-subsubmenu active-trail hovered"><a href="/page/clinical-calculators/ctp" class=" active-trail hovered"><span class="caption">Clinical Calculators</span><span class="submenu-trigger"></span></a><div class="subsubmenu sections"><ul><li class="tool"><a href="/page/clinical-calculators/ctp" class="">CTP Calculator <em>Child-Turcotte-Pugh (CTP) Calculator</em></a></li><li class="tool active-trail"><a href="/page/clinical-calculators/apri" class="active-trail">APRI Calculator <em>AST to Platelet Ratio Index (APRI) Calculator</em></a></li><li class="tool"><a href="/page/clinical-calculators/bmi" class="">BMI Calculator <em>Body Mass Index (BMI) Calculator</em></a></li><li class="tool"><a href="/page/clinical-calculators/crcl" class="">CrCl Calculator <em>Creatinine Clearance (CrCl) Calculator</em></a></li><li class="tool"><a href="/page/clinical-calculators/fib-4" class="">FIB-4 Calculator <em>Fibrosis-4 (FIB-4) Calculator</em></a></li><li class="tool"><a href="/page/clinical-calculators/glasgow-coma" class="">Glasgow Coma Scale <em>Glasgow Coma Scale</em></a></li><li class="tool"><a href="/page/clinical-calculators/mdrd" class="">GFR Calculator <em>Glomerular Filtration Rate (GFR) Estimate by MDRD 4-Variable Equation</em></a></li><li class="tool"><a href="/page/clinical-calculators/meld" class="">MELD Calculator <em>Model for End-Stage Liver Disease (MELD) for ages 12 and older</em></a></li><li class="tool"><a href="/page/clinical-calculators/saag" class="">SAAG Calculator <em>Serum-Ascites Albumin Gradient (SAAG)</em></a></li></ul></div></li><li class="section-page section-page-14 has-subsubmenu"><a href="/page/substance-use/audit-c" class=""><span class="caption">Substance Use Screening Tools</span><span class="submenu-trigger"></span></a><div class="subsubmenu sections"><ul><li class="tool"><a href="/page/substance-use/audit-c" class="">Alcohol: AUDIT-C <em>Alcohol Use Disorders Identification Test (AUDIT-C)</em></a></li><li class="tool"><a href="/page/substance-use/cage" class="">Alcohol: CAGE <em>CAGE Alcohol Questionnaire</em></a></li><li class="tool"><a href="/page/substance-use/opioid" class="">Opioid: Risk Tool <em>Opioid Risk Tool (ORT)</em></a></li></ul></div></li></ul></div></li><li class="section ccn"><a href="/page/site/clinical-consultation" class="link has-tooltip">Clinical <br />Consultation</a></li><li class="section expert-opinions"><a href="/page/challenges/expert-opinions" class=" link "><span class="icon"><span class="glyphicon glyphicon-link"></span></span>Clinical <br />Challenges</a></li><li class="section mini-lectures"><a href="/mini-lectures" class="link">Mini-<br>Lectures</a></li><li class="section glossary"><a href="javascript:void(0)" title="Search for any topic" class="link ">Search</a><div id="search-minimal" class="search-interface"><div class="close"></div><div class="search-controls"><label for="search-q">Search for</label><input type="text" name="search-q" id="search-q" class="search-input" placeholder="Terms, medications, lectures, core concepts, etc..." /></div><div class="search-results-container"></div><div class="search-notice"><strong>Use this Search to quickly find items or navigate the site.</strong></div></div></li></ul><div class="user-status"><a class="loggedout" href="https://www.hepatitisC.uw.edu/alternate" title="Sign In for registered users"><span class="glyphicon glyphicon-log-in"></span><span class="label-text"> Sign In</span></a><span class="hidden-xs"> or <a class="loggedout" href="https://www.hepatitisC.uw.edu/page/account/register" title="Create an account">Register</a></span></div></div></div></div></section><div id="wrap" class="content-wrap"> <div id="content"> <div id="notifications"></div><div id="page" class="page page-apri section-clinical-calculators page-apri--main menu-closed-forced clearfix "><div class="inner"><div id="sidebar" class=" page-apri"><span class="menu-toggle"><span class="icon_open glyphicon glyphicon-menu-hamburger title-extra" title="Open the navigation menu"></span><span class="icon_closed glyphicon glyphicon-remove" title="Hide the navigation menu"></span><span class="button-description">Section Navigation</span></span><div class="inner tabbable" role="navigation"><ul class="nav nav-tabs nav-stacked overview"><li class="section first">Clinical Calculators</li><li class="page page-clinical-calculators-ctp"><a href="/page/clinical-calculators/ctp" class="" title="CTP Calculator" class="title-extra">CTP Calculator</a></li><li class="page active page-clinical-calculators-apri"><span class="active-trail-indicator"></span><a href="/page/clinical-calculators/apri" class="active-trail" title="APRI Calculator" class="title-extra">APRI Calculator</a></li><li class="page page-clinical-calculators-bmi"><a href="/page/clinical-calculators/bmi" class="" title="BMI Calculator" class="title-extra">BMI Calculator</a></li><li class="page page-clinical-calculators-crcl"><a href="/page/clinical-calculators/crcl" class="" title="CrCl Calculator" class="title-extra">CrCl Calculator</a></li><li class="page page-clinical-calculators-fib-4"><a href="/page/clinical-calculators/fib-4" class="" title="FIB-4 Calculator" class="title-extra">FIB-4 Calculator</a></li><li class="page page-clinical-calculators-glasgow-coma"><a href="/page/clinical-calculators/glasgow-coma" class="" title="Glasgow Coma Scale" class="title-extra">Glasgow Coma Scale</a></li><li class="page page-clinical-calculators-mdrd"><a href="/page/clinical-calculators/mdrd" class="" title="GFR Calculator" class="title-extra">GFR Calculator</a></li><li class="page page-clinical-calculators-meld"><a href="/page/clinical-calculators/meld" class="" title="MELD Calculator" class="title-extra">MELD Calculator</a></li><li class="page last page-clinical-calculators-saag"><a href="/page/clinical-calculators/saag" class="" title="SAAG Calculator" class="title-extra">SAAG Calculator</a></li><li class="section first">Substance Use Screening Tools</li><li class="page page-clinical-calculators-audit-c"><a href="/page/substance-use/audit-c" class="" title="Alcohol: AUDIT-C" class="title-extra">Alcohol: AUDIT-C</a></li><li class="page page-clinical-calculators-cage"><a href="/page/substance-use/cage" class="" title="Alcohol: CAGE" class="title-extra">Alcohol: CAGE</a></li><li class="page last page-clinical-calculators-opioid"><a href="/page/substance-use/opioid" class="" title="Opioid: Risk Tool" class="title-extra">Opioid: Risk Tool</a></li></ul></div></div><div id="page-content" class="page-content-page page-apri section-clinical-calculators"><div class="inner"><h1 class="title">AST to Platelet Ratio Index (APRI) Calculator</h1><div class="content"><a class="button button-share" title="Share page" href="javascript:void(0)" onclick="return sharePage()"><span class="glyphicon glyphicon-envelope"></span> Share</a>This is an <b>A</b>ST to <strong>P</strong>latelet <strong>R</strong>atio <b>I</b>ndex (APRI) calculator tool. Enter the required values to calculate the APRI value. The APRI Score will appear in the oval on the far right (highlighted in yellow). Most experts recommend using 40 IU/L as the value for the AST upper limit of normal when calculating an APRI value.<div class="content-included"><script type="text/javascript"> var parts = new Array(); var result = ""; var eq = "(parts['ast_level']/parts['ast_upper_limit'])/(parts['ast_platelet_count'])*100"; $(document).ready(function(){ $(".tool-apri .tool-input").addClass("empty"); $(".tool-apri .tool-input").focusin(function(){ $(this).parent().removeClass("empty"); if($(this).val()==""){ $(this).parent().addClass("ready"); } }).focusout(function(){ if($(this).val()==""){ $(this).parent().addClass("empty").removeClass("ready"); } $(this).parent().removeClass("ready"); }); $(".tool-apri .tool-input").keyup(function(){ if($(this).val()!=""){ $(this).parent().removeClass("ready"); }else{ $(this).parent().addClass("ready"); } $(".tool-apri .tool-input").each(function(){ var numeric = !isNaN(parseFloat($(this).val())) && isFinite($(this).val()); var val = 0; if (!numeric || (numeric && $(this).val()<0)){ val = 0; }else{ val = $(this).val(); if(val!=0){ val = val.replace(/^0+/,''); } } var elem = "parts['"+$(this).attr("id")+"'] = "+val+";"; console.log(elem); eval(elem); }); result = eval(eq); if(!isNaN(result)){ $(".tool-apri .tool-result .figure").text(result.toFixed(3)); }else{ $(".tool-apri .tool-result .figure").text(""); } }).click(function(){ $(this).keyup(); }).trigger("keyup"); }); </script> <style type="text/css"> .tool.tool-apri { position: relative; width: 100%; margin-top: 30px; } .tool.tool-apri .tool-input { padding-top: 5px; padding-bottom: 5px; text-align: center; font-size: 17px; font-weight: bold; color: #000; width: 100%; position: relative; background: #efefef; border: 1px solid #ccc; box-shadow: 1px 1px 2px #eee; border-radius: 20px; } .tool.tool-apri .tool-input:hover { box-shadow: 1px 1px 2px #666; background: #fff; } .tool.tool-apri .tool-container { position: relative; padding: 6px 20px; } .tool.tool-apri .tool-container .caption { text-align: left; font-size: 12px; display: block; position: relative; padding-left: 20px; } .tool.tool-apri .container-ast_level { border-bottom: 1px dashed #333; width: 170px; left: 130px; } .tool.tool-apri .container-ast_upper_limit { width: 240px; left: 95px; } .tool.tool-apri .container-ast_platelet_count { border-top: 2px solid #000; width: 270px; left: 80px; } .tool.tool-apri .tool-elem, .tool.tool-apri .tool-result { position: absolute; font-size: 17px; font-weight: bold; color: #000; top: 110px; } .tool.tool-apri .tool-elem-apri { left: 10px; } .tool.tool-apri .tool-elem-times { left: 405px; } .tool.tool-apri .tool-result { left: 480px; top: 100px; background: rgb(255,222,70); border-radius: 20px; padding: 10px; text-shadow: #fff 0px 0px 1px; } .tool.tool-apri .tool-result .units { margin-left: 1px; } .tool.tool-apri input::-webkit-outer-spin-button, .tool.tool-apri input::-webkit-inner-spin-button { /* display: none; <- Crashes Chrome on hover LOL */ -webkit-appearance: none; margin: 0; /* <-- Apparently some margin are still there even though it's hidden */ } .tool.tool-apri .tool-result-interpretation { border-radius: 15px; padding: 10px; text-shadow: #fff 0px 0px 1px; background: rgb(204,224,245); margin-top: 20px; margin-bottom: 40px; } .tool.tool-apri .tool-result-interpretation h3 { margin-top: 0px; padding-left: 0px; } </style> <div id="tool_apri" class="tool tool-apri"> <div class="tool-elem tool-elem-apri">APRI =</div> <div class="tool-container container-ast_level"> <span class="caption">AST Level <em>(IU/L)</em></span> <input type="number" name="ast_level" id="ast_level" class="tool-input" title="Enter a Value" value="" step="0.1" min="0" /> </div> <div class="tool-container container-ast_upper_limit"> <span class="caption">AST (Upper Limit of Normal) <em>(IU/L)</em></span> <input type="number" name="ast_upper_limit" id="ast_upper_limit" class="tool-input" title="Enter a Value" step="0.1" min="0" /> </div> <div class="tool-container container-ast_platelet_count"> <span class="caption">Platelet Count <em>(10<sup>9</sup>/L)</em></span> <input type="number" data-aka="platelet_count" name="ast_platelet_count" id="ast_platelet_count" class="tool-input" title="Enter a Value" value="" step="0.1" min="0" /> </div> <div class="tool-elem tool-elem-times">x 100 =</div> <div class="tool-result"><span class="figure"></span><span class="units"></span></div> <div class="tool-result-interpretation"><h3>Interpretation:</h3> <div>In a meta-analysis of 40 studies, investigators concluded that an APRI score greater than 1.0 had a sensitivity of 76% and specificity of 72% for predicting cirrhosis. In addition, they concluded that an APRI score greater than 0.7 had a sensitivity of 77% and specificity of 72% for predicting significant hepatic fibrosis.<sup>1</sup> <P>For detection of cirrhosis, using an APRI cutoff score of 2.0 was more specific (91%) but less sensitive (46%). The lower the APRI score (less than 0.5), the greater the negative predictive value (and ability to rule out cirrhosis) and the higher the value (greater than 1.5) the greater the positive predictive value (and ability to rule in cirrhosis); midrange values are less helpful. The APRI alone is likely not sufficiently sensitive to rule out significant disease. Some evidence suggests that the use of multiple indices in combination (such as APRI plus FibroTest) or an algorithmic approach may result in higher diagnostic accuracy than using APRI alone.<sup>2</sup></p> </div> </div> </div> <div class="section section-sources"> <h3 class="title">Sources</h3> <div class="content"><ol><li>Lin ZH, Xin YN, Dong QJ, et al. Performance of the aspartate aminotransferase-to-platelet ratio index for the staging of hepatitis C-related fibrosis: an updated meta-analysis. Hepatology. 2011;53:726-36.</li> <li>Chou R, Wasson N. Blood tests to diagnose fibrosis or cirrhosis in patients with chronic hepatitis C virus infection: a systematic review. Ann Intern Med. 2013;158:807-20.</li> </ol></div></div> </div><div class="section section-related-activities" id="related-calculator-activities"><h3 class="title">Related Activities</h3><div class="content"><p>You may find more information and a scenario for which you can use this calculator in the following activities from our curriculum:<ul><li><a href="/go/evaluation-staging-monitoring/evaluation-staging/calculating-apri">Calculating APRI</a></li><li><a href="/go/evaluation-staging-monitoring/evaluation-staging/calculating-apri">Calculating APRI</a></li><li><a href="/go/evaluation-staging-monitoring/evaluation-staging/calculating-apri">Calculating APRI</a></li></ul></div></div><hr /><div class="calculators-note"><p><strong><span class="glyphicon glyphicon-info-sign"></span> This calculator operates entirely from your device.</strong><br /> No input variables or data is transmitted between your computer and our servers.</p></div><div id="share-form" title="Share this page"> <div id="share-boxes"> <div id="shareme" data-url="https://www.hepatitisC.uw.edu/page/clinical-calculators/apri" data-text="AST to Platelet Ratio Index (APRI) Calculator - Hepatitis C Online"></div> </div> <h3 style="clear: both; margin-top: 75px; padding-top: 15px;">Share by e-mail</h3> <form> <fieldset> <input type="hidden" value="AST to Platelet Ratio Index (APRI) Calculator - Hepatitis C Online" name="title" /> <input type="hidden" value="0" name="level1" /> <input type="hidden" value="0" name="level2" /> <input type="hidden" value="clinical-calculators/apri" name="page" /> <label for="fromemail" class="required">From:<br /><span class="instructions">Enter your e-mail address</span></label> <div> <input type="text" name="fromemail" id="fromemail" value="" class="text ui-widget-content ui-corner-all" /> </div><label for="toemail" class="required">To: <br><span class="instructions">Enter the e-mail address of the recipient</span></label> <div> <input type="text" name="toemail" id="toemail" value="" class="text ui-widget-content ui-corner-all" /> </div> <div> <label for="message">Your Message:</label> <textarea type="message" name="message" id="message" value="" class="text ui-widget-content ui-corner-all"></textarea> </div> <div class="g-recaptcha" id="recaptcha" data-sitekey="6Ldjox8TAAAAAFiz-TtRmeRyrdkOHgTaSDeFKg2J"></div> </fieldset> </form> </div></div></div></div></div></div> </div> </div> <div id="sponsors"> <div class="inner"> <div class="sponsor sponsor-primary cdc-agreement"> <div class="sponsor-context">Funded by</div> <div class="sponsor-name">Centers for Disease Control and Prevention Cooperative Agreement (CDC-RFA-PS21-2105)</div> </div> <div class="sponsor uw"> <span class="sponsor-context">Created at</span> <a href="https://www.washington.edu" target="_blank">University of Washington</a> </div> <div class="sponsor idea"> <span class="sponsor-context">Part of</span> <a href="https://idea.medicine.uw.edu" target="_blank">IDEA Platform</a> </div> </div> </div> <div id="cebar"> <div class="inner"> <div class="sponsor uab"><span class="sponsor-context">CME provided by</span><a href="https://www.uab.edu/medicine/cme/" target="_blank">University of Alabama Birmingham</a></div> <div class="sponsor uwnursing"><span class="sponsor-context">CNE provided by</span><a href="https://cne.nursing.uw.edu/" target="_blank">University of Washington School of Nursing</a></div> </div> </div> <div id="footer"> <div class="inner clearfix"> <div class="menu"> <ul class="footer-menu"><li class="section section-nhcvc-medications treatments"><a href="/page/treatment/drugs">HCV Medications</a><ul class="footer-submenu"><li><a href="/page/treatment/drugs/elbasvir-grazoprevir">Elbasvir-Grazoprevir (<em>Zepatier</em>)</a></li><li><a href="/page/treatment/drugs/glecaprevir-pibrentasvir">Glecaprevir-Pibrentasvir (<em>Mavyret</em>)</a></li><li><a href="/page/treatment/drugs/ledipasvir-sofosbuvir">Ledipasvir-Sofosbuvir (<em>Harvoni</em>)</a></li><li><a href="/page/treatment/drugs/ribavirin-drug">Ribavirin (<em>Copegus, Rebetol, Ribasphere</em>)</a></li><li><a href="/page/treatment/drugs/sofosbuvir-drug">Sofosbuvir (<em>Sovaldi</em>)</a></li><li><a href="/page/treatment/drugs/epclusa">Sofosbuvir-Velpatasvir (<em>Epclusa</em>)</a></li><li><a href="/page/treatment/drugs/sofosbuvir-velpatasvir-voxilaprevir">Sofosbuvir-Velpatasvir-Voxilaprevir (<em>Vosevi</em>)</a></li></ul></li><li class="section section-modules"><a href="/alternate">Course Modules</a><ul class="footer-submenu"><li><a href="/go/screening-diagnosis">Screening and Diagnosis of Hepatitis C Infection</a></li><li><a href="/go/evaluation-staging-monitoring">Evaluation, Staging, and Monitoring of Chronic Hepatitis C</a></li><li><a href="/go/management-cirrhosis-related-complications">Management of Cirrhosis-Related Complications</a></li><li><a href="/go/evaluation-treatment">Evaluation and Preparation for Hepatitis C Treatment</a></li><li><a href="/go/treatment-infection">Treatment of Hepatitis C Infection</a></li><li><a href="/go/key-populations-situations">Treatment of Key Populations and Unique Situations</a></li></ul></li><li class="section section-group"><a href="/page/challenges/expert-opinions">Clinical Challenges</a><a href="/page/site/clinical-consultation">Clinical Consultation</a><a href="/page/site/bibliography">Master Bibliography</a><br /><a href="/page/site/contributors">Contributors</a><li class="section section-tools"><a href="/page/clinical-calculators/ctp">Tools & Calculators</a><ul class="footer-submenu submenu-count-12"><li><a href="/page/clinical-calculators/ctp">Clinical Calculators</a></li><li><a href="/page/substance-use/audit-c">Substance Use Screening Tools</a></li></ul></li></ul> </div> <div class="left"><strong>Copyright © 2024 Hepatitis C Online</strong> <div class="version text-muted"><a href="http://support.idea.medicine.uw.edu/idea-platform-and-this-curriculum" target="_blank">Version <span class="version-num">nhcvc-master-c8843673-2024-11-13-205624 </span> - AWS</a></div> </div> <div class="right"> <a href="/page/site/contact-us">Contact Us</a> | <a href="/page/site/terms-conditions">Terms and Conditions</a> | <a href="/page/site/privacy-policy">Privacy Policy</a><br /><a href="/page/site/ce-notices">CE (CNE/CME) Notices</a> | <a href="/page/site/copyright">Copyright and Attribution Notices</a></div> </div> <div id="idea-platform"> <div class="inner"> <a href="https://idea.medicine.uw.edu" class="logo-footer-idea" title="IDEA platform" target="_blank">part of the IDEA platform</a> </div> </div> </div> <div id="popupblocker-message" title="Claim CE Credit"> <p><span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span> <strong>Since you've received 80% or better on this quiz, you may claim continuing education credit.</strong> </p> <p class="popupblocked"> <span class="ui-icon ui-icon-newwin" style="float: left; margin: 0 7px 50px 0;"></span> You seem to have a popup blocker enabled. If you want to skip this dialog please <em>Always allow popup windows for the online course</em>. </p> </div> <script type="text/javascript" src="//cdn.hepatitisc.uw.edu/scripts/bootstrap.min.js?v=bmhjdmMtbWFzdGVyLWM4ODQzNjczLTIwMjQtMTEtMTMtMjA1NjI0Cg"></script> <div class="hidden">Current Version: nhcvc-master-c8843673-2024-11-13-205624 </div> <script type="text/javascript"> setTimeout(function(){var a=document.createElement("script"); var b=document.getElementsByTagName("script")[0]; a.src=document.location.protocol+"//script.crazyegg.com/pages/scripts/0032/9964.js?"+Math.floor(new Date().getTime()/3600000); a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1); </script> <script type="text/javascript"> window.intercomSettings = { app_id: "k094rs86", }; </script> <script type="text/javascript">(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/k094rs86';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script> <script type="text/javascript"> $(document).ready(function(){ if($("body").hasClass("mobile") && $("#page").hasClass("page-question")){ $(".intercom-launcher-frame").attr("style", "bottom: 50px !important; right: 0px !important; transform: scale(0.7);"); } }); </script> <script type="text/javascript"> function pageNavigationNextButtonText(dir){ if($(".level4s-tabs").length){ var dif = $(".level4s-tabs .ui-tabs-panel").length-level4s_tab-dir; $(".page-navigation .next .skip").remove(); if(dif-2==0){ $(".page-navigation .next .button span").html("Activity Quiz"+nextTriangle); }else if($(".answered").length && $(".quiz").length){ $(".page-navigation .next .button").html("Next Lesson"+nextTriangle); }else if(dif-1==0){ $(".page-navigation .next .button").html("Check Answers"+nextTriangle); $(".page-navigation .next .button").clone().addClass("skip").prependTo(".logged-in .page-navigation .next").click(function(){document.location = '';}).attr("onclick",""); $(".page-navigation .next .skip").html("Skip Quiz"+nextTriangle); }else{ $(".page-navigation .next .button-next").html("Next"+nextTriangle); } } if($(".quiz .answered").length){ $(".page-navigation .next .button-next").html("Next"+nextTriangle); $(".page-navigation .next .button-cme").html("Claim CME Credit"+nextCheck); $(".page-navigation .next .button-cne").html("Claim CNE Credit"+nextCheck); } if($(".section-self-assessment .answered").length){ $(".page-navigation .next .button-next").html("Next"+nextTriangle); } } </script> <script type="text/javascript"> /* Search Class */ var search_timeout; var active_nav; var body_classes; $("document").ready(function(){ $("#search-minimal,.level1-navigation .section.glossary a.link").click(function(e){ e.stopPropagation(); activateSearch(); }); $("#search-minimal .close,#search-overlay").click(function(e){ e.stopPropagation(); deactivateSearch(); }); $("#search-q").keyup(function(){ activateSearch(); $("#search-minimal .search-controls").addClass("loading"); clearTimeout(search_timeout); search_timeout = setTimeout("executeSearch('"+$(this).val()+"')",500); }).click(function(e){ e.stopPropagation(); activateSearch(); }); $("html").click(function(){ deactivateSearch(); }); $('<div id="search-overlay"></div>').hide().appendTo("body"); if($("body").hasClass("mobile")){ $("#search-q").focus(function(){ fieldFocus(); setTimeout("fieldFocus();",250); }).focusout(function(){ setTimeout("checkMobileMenuHeight();",500); }); } }); function fieldFocus(){ $(".level1-navigation").scrollTop($(".level1-navigation .section.glossary").position().top - $(".level1-navigation ul.main-menu").position().top); } function executeSearch(phrase){ $("#search-minimal .search-results-container").load(base_url+"process.php",{action: "search",q: phrase},function(){ $("#search-minimal .search-controls").removeClass("loading"); if($("body").hasClass("menu-open")){ checkMobileMenuHeight(); fieldFocus(); } }); } function activateSearch(){ $("#search-minimal").addClass("active").show(0); $(".level1-navigation .section.glossary").addClass("active-trail"); if($("body").hasClass("menu-open")){ }else{ $("#search-q").focus(); } } function deactivateSearch(){ if($("body").hasClass("mobile")){ return; } $("#search-minimal").removeClass("active").hide(0); $(".level1-navigation .section.glossary").removeClass("active-trail"); $("#search-overlay").fadeTo(500,0).hide(); if($("body.action-custom").length==0){ $(".level1-navigation li.section,.level1-navigation li.module").not(".glossary,.home-section").fadeTo(500,1.0); } } </script> <script type="text/javascript"> var highlightedRef = 0; /* References Class */ function referencesSetup(){ $(".reference-group").popover({trigger: 'click', placement: 'bottom', container: "body", html: true, content: function(){ var data = '<div class="references"><span class="close"></span>'; $(this).find("a.ref").each(function(){ data += '<div class="reference-group">'+$($(this).attr("href")).html()+'</div>'; }); data += '</div>'; return data; }, customClass: 'references' }); $(".reference-group a").click(function(e){ e.preventDefault(); return; }); $("body").off("click",".popover .references .close"); $("body").off("click",".popover .references .reference-group"); $("body").on("click",".popover .references .close",function(){ $(".reference-group").popover('hide'); }); $("body").on("click",".popover .references .reference-group",function(){ $(this).find("a.link").click(); }); //Reference highlight on page $("ol.refs .ref .highlight-ref").click(function(){ $(".reference-group.reference-inline").not($("a.ref[href=#"+$(this).parents("li.ref").attr('id')+"]").parent()).removeClass("highlight"); $("ol.refs .ref").not($(this).parents("li.ref")).removeClass("highlight"); $("a.ref[href=#"+$(this).parents("li.ref").attr('id')+"]").parent().toggleClass("highlight"); $(this).parents("li.ref").toggleClass("highlight"); }); } $(document).ready(function(){ referencesSetup(); }); </script> <script type="text/javascript"> /* Bundles Class */ $(document).ready(function(){ if($("#page-content .inner .bundles").length){ $("#page-content .inner .bundles .content-selector").jstree({ "checkbox" : { "keep_selected_style" : true, "three_state" : false, "cascade" : "" }, "types" : { "default": { "icon" : "" }, "level1s": { "icon" : "glyph-modules" }, "level2s": { "icon" : "glyph-lessons" }, "audio_slide_set": { "icon" : "ui-icon ui-icon-powerpoint" }, "URL": { "icon" : "ui-icon ui-icon-extlink" }, "calculator": { "icon" : "ui-icon ui-icon-calculator" }, "core_concept": { "icon" : "ui-icon ui-icon-note" }, "treatments": { "icon" : "glyph-pills" }, "treatment_drug_trials": { "icon" : "glyph-drug-trials" } }, "plugins" : [ "checkbox" , "types", "wholerow", "search"] }).on('changed.jstree', function (e, data) { var i, j, r = [], ids = []; for(i = 0, j = data.selected.length; i < j; i++) { ids.push(data.instance.get_node(data.selected[i]).data.jstree.data); } $('.ui-tabs-active a span.count').remove(); $('<span class="count"> <span class="label label-primary">'+ids.length+'</span></span>').appendTo("li.content a"); //save selected to server act("bundleContentUpdate",ids.join(",")); }); var initial = $("#page-content .inner .bundles .content-selector li.active").length; $('<span class="count"> <span class="label label-primary">'+initial+'</span></span>').appendTo("li.content a"); var initial_rec = $("#page-content .inner .bundles #invitees .recipient").length; $('<span class="count"> <span class="label label-primary">'+initial_rec+'</span></span>').appendTo("li.recipients a"); var to = false; $('#page-content .inner .bundles .content-search').keyup(function () { if(to) { clearTimeout(to); } to = setTimeout(function () { var v = $('#page-content .inner .bundles .content-search').val(); $('#page-content .inner .bundles .content-selector').jstree(true).search(v); }, 250); }); } }); </script> <script type="text/javascript"> /* Custom Curriculum Class */ $(document).ready(function() { if($("body.action-custom").length){ //Make information banner clickable $(".custom-curriculums-info .title").click(function(){ document.location = $(this).find("a").attr("href"); }); //$(".section-print.certificate-ready").prependTo($("#page .certificate-requirements")); //Hide figures that are unrelated var i = 0; var hidden = 0; $(".section-figures .documents .document").each(function(){ if($(this).parent(".doc-series").length==0){ i++; if($(".core-concepts-text a.linked-doc-"+i).length==0){ $(this).remove(); hidden++; } } }); if(hidden==i){ $(".section.section-figures").remove(); } //Hide inline tables that are unrelated var i = 0; var hidden_t = 0; $(".section-tables .inline-table").each(function(){ i++; if($(".core-concepts-text div.inline-table-copy.inline-table-"+i).length==0){ $(this).remove(); hidden_t++; } }); if(hidden_t==i){ $(".section.section-tables").remove(); } if($("body").hasClass("mobile")){ var width = $(".custom-curriculums-header .menu-wrapper").width(); var scrolled = $(".custom-curriculums-header .menu-wrapper").scrollLeft(); var offset = $(".custom-curriculums-header .menu-wrapper li.section.active-trail").offset().left+$(".custom-curriculums-header .menu-wrapper li.section.active-trail").width(); if(scrolled+width<offset){ $(".custom-curriculums-header .menu-wrapper").scrollLeft(offset); } } }else{ $(".custom-curriculums-info .close").click(function(){ var request = $.ajax({ url: base_url+"json.php", method: "GET", data: { action : "setCustomCurriculum", "to": 0 }, dataType: "json" }); $(".custom-curriculums-info").remove(); }); } }); </script> <script type="text/javascript"> /* Expert Opinion Class */ $("document").ready(function(){ setupExpertOpinions(); if($("#cases-holder .case").hasClass("layout-full")){ sharePage(); } }); function setupExpertOpinions(){ if($("#page.page-expert-opinions").length){ //Hide unanswered if($("#cases-holder .section-results").hasClass("unanswered")){ $(".section-results").slideUp(0); $("#cases-holder").addClass("unanswered"); }else{ //Answered $(".section-question .opt").remove(); $(".section-question .page-navigation").remove(); $("#cases-holder").removeClass("unanswered"); } $("#cases-holder .opinion.opinion-full").each(function(){ $(this).css("min-height",20+$(this).find(".opinion-info").height()); }); } } function expertOpinionsLoadUrl(url,pushed_url){ $("#cases-holder").addClass("loading"); $("#cases-holder .case").addClass("disappear"); ajax_request = $.ajax({ type: 'GET',url: url, success:function(data){ var html_data = $.parseHTML(data); var nodes = $(html_data).find("#cases-holder .case"); var i = 0; var j = $("#cases-holder .case.disappear").length; $("#cases-holder .case.disappear").each(function(){ $(this).delay(10*i).hide(100, function(){ $(this).remove(); }); i++; }); $(nodes).each(function(){ $(this).addClass("appear"); var id = $(this).attr("id"); $("#page-content #cases-holder > .inner").append(this); setupExpertOpinions(); if($("#cases-holder #"+id).hasClass("layout-full")){ $("#cases-holder #"+id).show(0).removeClass("appear"); centerOptions("#cases-holder"); setupShare(); sharePage(); }else{ $("#cases-holder #"+id).hide(0).delay(100+10*j).show(200,function(){ $(this).removeClass("appear"); }); } j++; }); $("#cases-holder").removeClass("loading"); //Display images documentsFullScreen(".section-question .document"); $(".section-question .background a.document,.section-question .background .document a.image").colorbox({ onComplete: function(){colorBoxSetup()}, title: function(){ var desc = $(this).attr('alt'); var title = $(this).attr('title'); if(title==""){ title = $(this).attr('data-original-title'); } return '<strong>'+title+'</strong><br />'+desc; }, maxWidth: "70%"}); swapImagesToHQ(1); //Data toggle $('#cases-holder .has-tooltip,#cases-holder [data-toggle="tooltip"]').tooltip({html: true, container: 'body'}); if(pushed_url){ var stateObj = { foo: "bar" }; history.pushState(stateObj, "", pushed_url); } contributorPopoverSetup(); //Update document title //GA track page if(typeof(window.ga)!="undefined"){ ga('send','pageview'); } } }); } </script> <script type="text/javascript"> /* Guidelines Class */ $(document).ready(function(){ Guidelines_setup(); }); function Guidelines_setup(parent_obj){ if(typeof parent_obj == "undefined"){ parent_obj = ""; } $(parent_obj+" .inline-guidelines.inline-highlight").tooltip({ template: '<div class="tooltip tooltip-guidelines" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', html: true }); } </script> <script type="text/javascript"> /* Question Bank Class */ $("document").ready(function(){ if($(".fieldset.unanswered").length){ $(".provide-feedback").slideUp(0); } }); </script> </body> </html>