Skip to content
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

Deprecate medication-prescribe and order-review #469

Merged
merged 7 commits into from
Mar 6, 2019
Merged

Deprecate medication-prescribe and order-review #469

merged 7 commits into from
Mar 6, 2019

Conversation

mattvarghese
Copy link
Contributor

Pull request to deprecate medication-prescribe and order-review hooks now that order-select and order-sign hooks have been created.

Update order-sign to say deprecating medication-prescribe and order-review
Update order-select to deprecate medication-prescribe
Added deprecation notice to order-review hook
Native criteria within the EHR will be relied upon to only fire the new hooks for appropriate medications / procedures.
@mattvarghese
Copy link
Contributor Author

mattvarghese commented Feb 26, 2019

@isaacvetter, @jmandel, @kpshek, @brynrhodes, @brettmarquard
Hey Folks, I've made this pull request to deprecate the old hooks. Could you folks review this? Also, I'm unable to officially request review on the right side reviewers list (probably since I'm not a committer). Can one of you request review for me?
PS: my first pull request :)

@jmandel
Copy link
Member

jmandel commented Feb 26, 2019

Thanks @mattvarghese!

In our discussion, I thought the proposal was to deprecate the order-review hook, but not to deprecate medication-prescribe. To be clear, I'm okay with deprecating both -- I'm just trying to reconcile what we discussed with the changes here to make sure I understand.

@mattvarghese
Copy link
Contributor Author

mattvarghese commented Feb 26, 2019

@jmandel, the proposal in all discussions I have been involved have been to deprecate both.

  1. Especially, medication-prescribe has been interpreted by some people to mean the order-select workflow point, and others to mean the order-sign workflow point, so that there is even more confusion with medication-prescribe than with order-review.

  2. Plus, medication-prescribe has the limitation of being medication specific, whereas the workflow points in all EHRs we have discussed allow ordering both medications and procedures together, and the ability to provide decision support on procedures is as much valuable as on medications (if anything, there are more live web-service based procedure decision support using EHR specific equivalents / one off integrations than there are for medications.)

And the CDS Workgroup call on this topic had also come to the same agreement on deprecating both in favor of the new hooks.

  1. Looking at it from the opposite angle, if order-select and order-sign exists, is there any workflow previously attributed to medication-prescribe that is not covered by them?

The consideration that medication-prescribe only contains medications was also discussed at the HL7 workgroup call.

  1. It is really an large burden on the EHR to support different hooks based solely on the endpoint on the other side, where workflow point remains the same. Whereas it is relatively easy for the recipient to ignore ProcedureRequests if it doesn't care about them. (There is also the argument that medication decision support should not be made in isolation, without the awareness of procedures being ordered - patient safety.) So along with the deprecation, I would also request that we avoid conflict of workflow points across hooks where possible - right now order-select and order-sign conflict with medication-prescribe.

  2. The reason why many people wanted medication-prescribe was that they only care about the medications. But all EHRs already allow native criteria to prevent the hook being called if there is no medication / specific medication, that the endpoint cares about, being ordered. So the larger value comes from specifying in the EHR that this hook needs to be called only for say blood thinners, rather than sending all medications to a CDSS whenever a medication is ordered and have it return no cards unless a blood thinner is present (reduces the number of web service calls and therefore the load on the CDSS substantially compared to usingmedication-prescribe.) Therefore, the targeting of decision support can actually be done much better by having generic hooks, and leveraging native criteria in the EHR as a 'pre-check'. If we go with medication-prescribe instead, why would we stop at that rather than say bloodthinner-prescribe (again, I am paraphrasing from the discussion we had on the HL7 call in this fifth point).

  3. There have been discussions on making a framework for CDS Services to specify the targeting criteria currently accommodated through EHR native abilities in 5 above directly in the CDS Hooks specification. I support this. However, considering the size of the scope of that discussion, I would request to keep that separate from this. (This was also discussed in the HL7 call, with the same conclusion)

@jmandel
Copy link
Member

jmandel commented Feb 26, 2019

Thanks -- the thing I was confused about is that #428 didn't mention deprecation while #429 did. I'm happy with deprecating both.

@jmandel jmandel requested review from isaacvetter, jmandel and kpshek and removed request for isaacvetter and jmandel February 26, 2019 16:53
@mattvarghese
Copy link
Contributor Author

@jmandel, yes, I noticed that, and have updated both order-select and order-sign to call this out, in addition to the deprecation notices on order-review and medication-prescribe.

Hope that will be good clarification for the interim until we decide on a proper deprecation process?

My primary intent with this pull-request is that new use-cases don't start with order-review or medication-prescribe and old use-cases will have a longer notice period than if we wait till we agree on a proper deprecation process.

@mattvarghese
Copy link
Contributor Author

Also, thanks for adding the reviewers for me!

docs/hooks/medication-prescribe.md Outdated Show resolved Hide resolved
docs/hooks/order-review.md Outdated Show resolved Hide resolved
Making changes requested by Josh

Co-Authored-By: mattvarghese <[email protected]>
Copy link
Contributor Author

@mattvarghese mattvarghese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've committed the changes requested.

@brynrhodes brynrhodes self-requested a review February 27, 2019 16:27
Copy link
Contributor

@kpshek kpshek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting together this PR @mattvarghese!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants