FHIR Chat · Hook Response/Request · cds hooks

Stream: cds hooks

Topic: Hook Response/Request


view this post on Zulip Jeremie Osaghae-Nosa (Jun 12 2019 at 22:32):

Has anyone ever connected a cds hook with their fhir app. I'm having trouble getting the actual request data to go with the app when the link is clicked. The link works and smart on fhir app works separately. However, prefetch data isn't moving to app.

view this post on Zulip Josh Mandel (Jun 12 2019 at 23:09):

Are you trying something with the CDS Hooks Sandbox here?

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

Yes I am

view this post on Zulip Jeremie Osaghae-Nosa (Jun 13 2019 at 15:36):

I’m not able to bring the context to my smart on fhir app

view this post on Zulip Isaac Vetter (Jun 14 2019 at 14:18):

Hey Jeremie,

view this post on Zulip Isaac Vetter (Jun 14 2019 at 14:18):

the actual request data to go with the app when the link is clicked. The link works and smart on fhir app works separately. However, prefetch data isn't moving to app.

I think this is working as intended. There's a separation of concerns, such that the CDS Hooks request is not "re-played" when a SMART app is launched from your CDS Hooks card. Rather, the SMART app launch follows the standard SMART launch sequence and does not receive the CDS Hooks request, including context and pre-fetch.

view this post on Zulip Isaac Vetter (Jun 14 2019 at 14:18):

Do note that CDS Hooks specifically enables a potential tight integration between a CDS Hooks service and resulting SMART app through the use of the appContext field. I think this might be the closest to what you're looking for.

view this post on Zulip Jeremie Osaghae-Nosa (Jun 18 2019 at 13:54):

@Isaac Vetter Thank you, I was made to believe that I would be able to get the prescription that was currently being filled out and send that to my SMART on FHIR app

view this post on Zulip Jeremie Osaghae-Nosa (Jun 24 2019 at 17:33):

@Josh Mandel Yes, Im working with the CDS Hooks Sandbox and trying to pass the data from the request or response to my SMART on Fhir app, however, I can't access it once the page changes to the Smart app

view this post on Zulip Josh Mandel (Jun 24 2019 at 18:21):

This is part of what SMART Web Messaging is aiming to address, so from that perspective there's work in progress. In the meantime, the best idea is probably to store state when your CDS Service is called, assign an opaque handle to it, and pass this into your appContext as @Isaac Vetter suggests.

view this post on Zulip Jeremie Osaghae-Nosa (Jun 24 2019 at 18:26):

Yes, I was able to accomplish that and have the data I want inside of the appContext, however, when I try to get the appContext in the Fhir app, it is blank.

view this post on Zulip Isaac Vetter (Jun 28 2019 at 04:00):

Hmmm, that shouldn't be the case, mind logging an issue against the sandbox at: https://github.com/cds-hooks/sandbox ?

view this post on Zulip Dennis Patterson (Jun 28 2019 at 13:43):

@Jeremie Osaghae-Nosa are you launching the CDS Hooks Sandbox as a SMART App via HSPC's sandbox? Right now, the only way to have the SMART launch parameters (including appContext) associated with a launch code is if you are following the workflow described here. FWIW Josh logged this issue yesterday to make the workflow more straightforward

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

Thank you very much @Dennis Patterson

view this post on Zulip Surya (Jul 12 2019 at 13:27):

hello,
I have gone through the AHRQ project(https://cds.ahrq.gov/authoring/build) . I got some doubt . can we generate cql file for MeasureReport by using this tool or this tool has only generated cql for cds-hooks i.e. for PlanDefinition ??If yes then can we have any open-source tools that can generates measure-report related cql file.
Thank you in Advance

view this post on Zulip Chris Moesel (Jul 12 2019 at 14:12):

Hi @Surya -- please see my response to your similar post in the #cql stream: https://chat.fhir.org/#narrow/stream/179220-cql/topic/CQL.20authoring.20tools.20for.20measures/near/170722908


Last updated: Apr 12 2022 at 19:14 UTC