-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDS Hooks Dynamic Behavior #504
Comments
Some further thoughts on this issueKey use casesSome key CDS-Hooks use cases include: Show card based on FHIR dataA card is shown that is based on data from the FHIR repo. If FHIR data the advice is based on changes (in the CDS-Client memory). Is the Card updated? What triggers updating of cards? Multiple cards relate to the same FHIR/context dataMultiple cards, from multiple CDS-Services relate to the same FHIR/context data. The CDS-Client decides to update information a CDS Sever depends upon, an update to the resource(s) will be present in the scratch-patch of the CDS-Client/EMR. Cards may still refer to the old data and would be invalid. Card suggestion is overruledA Card is presented that provides a suggestion that solves an issue. The Suggestion is followed. Later another change overrides that suggestion causing the original issue to re-appear. How do we trigger/determine that the CDS-Service needs to be queried? Same advice is given from multiple hooks (PDDI)This came up in a CDS working group call and is related to this issue. Issues to resolvedThis behavior results in the following issues:
Possible approaches/solutions to these issuesPrevent the same advice multiple time.,The issue of multiple Cards from the same service could addressed by introducing the following change:
Trigger a CDS-Service recallHooks are defined with a context they act on. One way of handling this would be to recall the service when the context of the hook changes. This is how the order-select and order-sign are defined. A solution could be to re-run the CDS-Service when data that corresponds to the prefetch changes (in the scratch-patch) and provide access to the changed data. This could be defined as a new hook .
The use of FHIR-path in such situations is also discussed in #6. |
Part of a potential resolution here is to add documentation around concurrency expectations and the potential issues associated with inferencing on outdated data to the Security & Safety discussion in the specification. |
Yes, but I think that this is not sufficient and that further specification in line with is mentioned above is required. |
In various discussions during the Connecthaton and over the last weeks a noticed a large difference in the approach to the CDS Hooks Card dynamics.
Some of the variations observed include:
Card behavior
The specification does not state what the expected behavior is. What is the expected behavior?
The text was updated successfully, but these errors were encountered: