docs
docs copied to clipboard
Associating a card response to a particular resource in Context
I was thinking about the need to associate a card response to a particular resource in context when there is more than one resource (FHIR bundle) in the context. I am looking for input from this group on this.
An option to tackle this currently, is to send one resource in context per CDS Hooks request and so response by default can be associated to the resource in context but would involve who ever making hooks request to establish this association back through the hookInstance
One of the use case which triggered this post is suggested content notification use case. Let's take the example of results review hook, where the results review CDS service's jobs is to responds back with info card w/links to results interpretation content (only when the content exist and suggested) for an particular observation in context. The ultimate need for above is the case when you want to show the Card Response as an icon (on mouse over shows the card response and on clicking opens the knowledge content) next to the particular lab result in Context. First question, is if CDS hooks the right solution to tackle this use case?
If so, what can be the approach? extension or sending one resource in context per CDS Hooks request or ?
Since I marked #365 a duplicate of this issue, I'll explicitly mention here that my view on this issue is that not only do we not have an ability to link a card to a particular resource (as @yashaskram lays out with his example), but also we lack an ability to link a card to a particular patient (as in the case of hooks that are not specific to a single patient) which was the use case cited in #365 by @jmehlbrech
While each of these two issues approaches this topic with separate use cases, the underlying issue is the same (hence why I closed #365 as a duplicate).