The encounter-based CDS helped providers choose and implement the correct guideline-based medications for different scenarios (corticosteroid for worsening COPD, cefepime when hospitalized for COPD, hydrocodone vs codeine based on CYP2D6 genotype, influenza vaccine on hospital discharge). Here, CYP2D6 is linked to influenza.