This is called Clinical Decision Support and there are many good implementations of it; the probably comes when you use a CDS framework to implement non-clinical decisions, e.g. to promote opioid prescriptions via a kickback deal as Practice Fusion did.
To see the list of CQMs that ONC certification requires (which are often used as inputs to CDS systems) you can look here: https://ecqi.healthit.gov/system/files/EP-EC-MeasuresTable-2...