A best-practice advisory that was integrated into an electronic health record improved screening rates for the underdiagnosed condition, which affects at least 10% of patients with hypertension and up to 25% of patients with treatment-resistant hypertension.