FHIR Chat · EHR re-invoking CDS hook · cds hooks

Stream: cds hooks

Topic: EHR re-invoking CDS hook


view this post on Zulip Vadim Peretokin (Mar 03 2017 at 14:54):

In http://cds-hooks.org/#calling-a-cds-service, step 4 - how does the EHR know when to re-invoke the CDS service to retrieve the decsion?

view this post on Zulip Kevin Shekleton (Mar 06 2017 at 14:21):

It's when the EHR's redirect URI (see the request to a CDS service) is called by the SMART app. With this being said, the decision workflow defined by CDS Hooks is very complex and has not been fully vetted through implementations yet.

view this post on Zulip Vadim Peretokin (Mar 07 2017 at 13:25):

Ah that's right, thanks

view this post on Zulip Vadim Peretokin (Mar 16 2017 at 14:14):

Is this a static URL or is the hookInstance passed along with it? I'm assuming it's a GET request as well

view this post on Zulip Vadim Peretokin (Mar 16 2017 at 14:18):

Also wondering are there any implementations out there I could play with?

view this post on Zulip Vadim Peretokin (Mar 16 2017 at 14:58):

I've found several (including https://apps.clinicalkey.com/cds-services/zika-hook which uses the new smart type link) but none seem to carry enough context, or any at all, in the URLs they suggest the EHR to launch

view this post on Zulip Kevin Shekleton (Mar 18 2017 at 02:15):

@Vadim Peretokin - I'm guessing your questions were answered on the mailing list (since I believe you posted there after your questions here)?

view this post on Zulip Vadim Peretokin (Mar 21 2017 at 07:49):

Yep!

view this post on Zulip Stefan Dimitrov (May 22 2017 at 17:29):

Guys, how does the EHR re-invoke the CDS hook to get the decisions? Do you have any examples of such requests, how is the URL formatted?

view this post on Zulip Kevin Shekleton (May 22 2017 at 20:00):

Hi Stefan - with our current model, the EHR would re-invoke the same request as before, including using the same uuid value. However, this hasn't been implemented very much and I am guessing our approach around decisions will change (re: PR #26, #27)

view this post on Zulip Kevin Shekleton (May 22 2017 at 20:01):

And we don't have an example that I could point you to with something concrete/worked that illustrates our current model

view this post on Zulip Stefan Dimitrov (May 22 2017 at 20:16):

So you make a second POST request to https://example.com/cds-services/static-patient-greeter with the same body including the hookInstance? Shouldn't it be at least a GET request since the receiving system is trying to retrieve the result and not invoke an action?

view this post on Zulip Kevin Shekleton (May 22 2017 at 20:20):

No, it's still a POST


Last updated: Apr 12 2022 at 19:14 UTC