Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

CDS Hooks guide v2 - connectathon enhancements #77

Merged
merged 10 commits into from
Sep 1, 2021

Conversation

mseckykoebel
Copy link
Contributor

These enhancements build on the completion of #36, and include support for multi-suggestion selection per card, additional card parameters, potential feedback collection, and an improved, more readable example code layout.

@mseckykoebel mseckykoebel added the enhancement New feature or request label Aug 19, 2021
@mseckykoebel mseckykoebel added this to the 0.1.0 Launch milestone Aug 19, 2021
@mseckykoebel mseckykoebel self-assigned this Aug 19, 2021
@mseckykoebel
Copy link
Contributor Author

mseckykoebel commented Aug 23, 2021

Here is a more verbose list of the enhancements made to the v1 guide in preparation for the connectathon:

  • data.js was created, which contains a data structure with the two MedicationRequest resources to be included with the actions.
  • Part of the reason this was done is that it's more readable. The other reason is that this new implementation features selectionBehavior, isReccomended, and overrideReasons, which apply for cards with more than one suggestion. Before, the service returned a card suggesting that the patient be prescribed aspirin or a blood thinner based on their risk score. This new version returns a suggestion for both if their score is too high, and just the one if their score is low, meaning that the doctor may not take the suggestion for one or the other up to a certain point.
  • Feedback has not been implemented but is the next area of interest.

Next steps: review, and formally testing of selectionBehavior, isReccomended, overrideReasons, and ways to collect feedback (the only thing that this does not implement). Pushing this to master will also require a change in the API guide, which is why this PR is a draft at present.

@jdjkelly jdjkelly linked an issue Aug 31, 2021 that may be closed by this pull request
11 tasks
@mseckykoebel mseckykoebel marked this pull request as ready for review August 31, 2021 16:38
@jdjkelly jdjkelly mentioned this pull request Aug 31, 2021
11 tasks
@mseckykoebel mseckykoebel merged commit 554803a into master Sep 1, 2021
@jdjkelly jdjkelly deleted the feature/cds-hooks-connectathon branch September 2, 2021 15:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Participate in Connectathon 28
2 participants