https://youtu.be/uTqfAYPn-cU

CDS Hooks

CDS hooks take EHR events (like when a provider opens a chart/views a patient, when an order is selected or signed, when a visit starts or ends, ...) and notify arbitrary web services that anyone can create. These services can give "card" data back to the EHR to display to the provider.

Think of the following:

  1. You create a cost estimator card for when a provider selects an MRI order.
  2. You create a service that suggest a different medication for a doctor when they are about to prescribe something.
  3. You create a service that makes CME appear inside the EHR when a patient has certain characteristics.
  4. ....

To get you started, we are going to build #3, because, well, it is super interesting.

It's called "CME-ster" and it makes the following card surface in an EHR when a provider opens a chart and the patient has a history of dementia.

Screen Shot 2021-11-14 at 9.19.26 AM.png

The link is to the awesome Curbsider's podcast which internal medicine doctors/hospitalist love

#268 Dementia Made Simple with Dr. Josh Uy

Two get CDS Hooks to work you need two things:

  1. Somewhere you serve your code for "CME-ster"

  2. an EHR to show these cards in

    IMG_5598.jpeg

For the server part, I like repl.it, and I have some code there you can sign up for a free account and fork it at