In the United States, the EPIC patient registry is the largest system across different states and health centers. The codes shared here should work in EPIC with minor modifications.
SQL queries for HCV case finding @ Mount Sinai Health System. Code as of September 2020