FHIR Chat · Sandbox - Rx View using order-select · cds hooks

Stream: cds hooks

Topic: Sandbox - Rx View using order-select


view this post on Zulip Dennis Patterson (May 31 2019 at 21:12):

With the deprecation of the medication-prescribe hook, the public sandbox's Rx View tab has been updated to invoke order-select! The corresponding default service for that tab (cms-price-check) has also been updated. While the tab is still dedicated to Meds, hopefully this will help as you start experimenting with order-select!

view this post on Zulip Jeremie Osaghae-Nosa (Jun 03 2019 at 00:34):

Is there any way to have targetted order-select? I'm trying to have the cds pop up only when certain medications are prescribed not for every drug that is prescribed. It would be amazing if anyone has insight on narrowing down and creating this specific use case

view this post on Zulip Lloyd McKenzie (Jun 03 2019 at 01:04):

You only need to return cards if you have something useful to say. At the moment there isn't a mechanism to further filter what notifications you receive as a CDS service, but just because the service is invoked doesn't mean it has to return anything. No CDS will pop up unless the service returns cards.

view this post on Zulip Jeremie Osaghae-Nosa (Jun 03 2019 at 01:28):

Yes, I want to return a card for certain medications but not all medications. So if I'm understanding you correctly, there is no way to do that?

view this post on Zulip Lloyd McKenzie (Jun 03 2019 at 01:32):

Sure. Your service will receive all medications. You return cards for only the messages you care about. What you can't do right now is prevent your service from being invoked for all medications.

view this post on Zulip Jeremie Osaghae-Nosa (Jun 03 2019 at 01:37):

Thank you. Is there any way to know the medication that is being prescribed if the card sends the Physician to a Smart on FHIR app?

view this post on Zulip Lloyd McKenzie (Jun 03 2019 at 01:40):

There's a token your card can provide to the Smart App when it's invoked. That can contain whatever information you wanted it to. I think up to and including the whole draft Rx.

view this post on Zulip Jeremie Osaghae-Nosa (Jun 03 2019 at 01:42):

Thank you for this information it was really helpful. Have an amazing rest of the day.

view this post on Zulip Lloyd McKenzie (Jun 03 2019 at 02:31):

You too :)


Last updated: Apr 12 2022 at 19:14 UTC