Stream: cds hooks
Topic: CDS Hooks Sandbox - custom hook
Vadim Peretokin (Feb 02 2018 at 08:58):
If I add my own CDS service to the sandbox, will it be able to invoke the my service with the right context and prefetch data?
Zach Plata (Feb 02 2018 at 13:54):
@Vadim Peretokin Which hook are you looking to invoke? The Sandbox just supports the patient-view
and medication-prescribe
hook currently.
Vadim Peretokin (Feb 02 2018 at 15:11):
medication-prescribe
. Just checking that if I fill in my custom prefetch
field that the cds sandbox will be able to query the EHR (that HSPC sandbox) for data before submitting the request, if I'm understanding it correctly? @Zach Plata
Zach Plata (Feb 02 2018 at 15:12):
Yes, it should prefetch from the associated FHIR server
Kevin Olbrich (Feb 02 2018 at 15:49):
@Vadim Peretokin Unless @Zach Plata has fixed it, the prefetch template will only handle the {{Patient.id}}
Zach Plata (Feb 02 2018 at 16:09):
Yeah, that's still an active issue. Eventually we'll get to fixing that User.id as well.
Last updated: Apr 12 2022 at 19:14 UTC