FHIR Chat · calling a cds service - context · cds hooks

Stream: cds hooks

Topic: calling a cds service - context


view this post on Zulip Brett Esler (Jul 12 2017 at 00:26):

Just looking at implementing "order-review" hook and want to populate the "context" field as per http://cds-hooks.org/#calling-a-cds-service

view this post on Zulip Brett Esler (Jul 12 2017 at 00:27):

specification states "object" example in sidebar is an array?

view this post on Zulip Brett Esler (Jul 12 2017 at 00:28):

also order-review context is "The set of orders being reviewed on-screen" so not sure what to do here? Should it be a Bundle
(object) or an array (set) of orders?

view this post on Zulip Grahame Grieve (Jul 13 2017 at 14:49):

I think it should be an array

view this post on Zulip Kevin Shekleton (Jul 14 2017 at 03:47):

@Brett Esler - We have done a poor job of clearly documenting what context is for each hook. This is something we will be addressing (see #39).

view this post on Zulip Brett Esler (Jul 14 2017 at 14:47):

Thanks @Kevin Shekleton the previous discussions helped getting the current picture. Any folks have comments how 'order-review' hook context might be defined? Thinking context with key of "orders" as an array with any of the order/request resource types.

view this post on Zulip Grahame Grieve (Jul 25 2017 at 06:49):

definitely needs to be a list - you review the order set, not each order


Last updated: Apr 12 2022 at 19:14 UTC