2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide
2022.1.0 - CI Build

2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide, published by Centers for Disease Control and Prevention (CDC). This guide is not an authorized publication; it is the continuous build for version 2022.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/opioid-cds-r4/ and changes regularly. See the Directory of published versions

PlanDefinition: PlanDefinition - 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain: Recommendation #12 (patient-view) (Experimental)

Official URL: http://fhir.org/guides/cdc/opioid-cds/PlanDefinition/opioidcds-12-patient-view Version: 2022.1.0
Draft as of 2023-05-01 Computable Name: PlanDefinition_Recommendation_12_Patient_View
Other Identifiers: cdc-opioid-guidance (use: official, )

Usage:Clinical Focus: Medication requested (situation), Clinical Focus: Chronic pain (finding)

Copyright/Legal: © CDC 2016+.

Arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone in combination with behavioral therapies) for patients with opioid use disorder.

The 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain is intended to improve communication between providers and patients about the risks and benefits of opioid therapy for chronic pain, improve the safety and effectiveness of pain treatment, and reduce the risks associated with long-term opioid therapy, including opioid use disorder and overdose. The Guideline is not intended for patients who are in active cancer treatment, palliative care, or end-of-life care.

Id: opioidcds-12-patient-view
Url: PlanDefinition - 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain: Recommendation #12 (patient-view)
Version: 2022.1.0
Identifier:

value: cdc-opioid-guidance

Name: PlanDefinition_Recommendation_12_Patient_View
Title: PlanDefinition - 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain: Recommendation #12 (patient-view)
Status: draft
Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/plan-definition-type

code: eca-rule

display: ECA Rule

Date: 2023-05-01
Publisher: Centers for Disease Control and Prevention (CDC)
Description: Arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone in combination with behavioral therapies) for patients with opioid use disorder.
Logic Definitions:
Library NameNamesequence
OpioidCDSREC12PatientView Get Summary 0
define "Get Summary":
  if "Is Recommendation Applicable?"
    then 'Recommend opioid agonist or partial agonist treatment with methadone maintenance therapy or buprenorphine'/* and/or behavioral therapy' */
  else null


Library NameNamesequence
OpioidCDSCommonConfig Age Less than 18 Years Is Enabled 1
// Opioid Review Useful
define "Age Less than 18 Years Is Enabled":
  true


Library NameNamesequence
OpioidCDSCommon Patient 18 or Older? 2
define "Patient 18 or Older?":
  Config."Age Less than 18 Years Is Enabled"
    and AgeInYears() >= 18


Library NameNamesequence
OpioidCDSCommonConfig Evidence Based Treatment Criteria For Opioid Use Disorder 3
// Recommendation 12
define "Evidence Based Treatment Criteria For Opioid Use Disorder":
  true


Library NameNamesequence
OpioidCDSREC12PatientView Not Receiving Evidence-Based Treatment for Opioid Use Disorder 4
define "Not Receiving Evidence-Based Treatment for Opioid Use Disorder":
  Config."Evidence Based Treatment Criteria For Opioid Use Disorder"
    and not (
        if Config."Can the implementing EHR support queries for past medications by date range?" then
          exists (
            [MedicationRequest: Common."Buprenorphine and methadone medications"] MR
              where MR.status in { 'active', 'completed' }
                and date from MR.authoredOn during day of "Opioid Use Disorder Lookback Period"
          )
        else
            true
    /* update 2022 removes "behavioral therapy condition"
      or exists (
        [Procedure: Common."Substance misuse behavioral counseling"] P
          where P.status ~ 'completed'
            and (
              case
                when P.performed is FHIR.dateTime then
                  Interval[FHIRHelpers.ToDateTime(P.performed as FHIR.dateTime), FHIRHelpers.ToDateTime(P.performed as FHIR.dateTime)]
                when P.performed is FHIR.Period then
                  FHIRHelpers.ToInterval(P.performed as FHIR.Period)
                else
                  null as Interval<DateTime>
                end
            ) during day of "Opioid Use Disorder Lookback Period"
      )*/
    )


Library NameNamesequence
OpioidCDSCommon US Core-Categorized Conditions 5
// 3. Medications indicating end of life
    /* or exists (
      "Medications Indicating End of Life"
    ) */
define "US Core-Categorized Conditions":
  [Condition: category in "Encounter Diagnosis Condition Category"]
    union [Condition: category in "Problem List Condition Category"]
    union [Condition: category in "US Core Health Concern Condition Category"]


Library NameNamesequence
OpioidCDSREC12PatientView Opioid Use Disorder Lookback Period 6
define "Opioid Use Disorder Lookback Period":
  Interval[Today() - 90 days, Today()]


Library NameNamesequence
OpioidCDSREC12PatientView Presence of Diagnosis of Opioid Use Disorder 7
define "Presence of Diagnosis of Opioid Use Disorder":
  exists (
    Common."US Core-Categorized Conditions" C
      where C.code in Common."Opioid misuse disorders"
        and C.clinicalStatus in Common."Active Condition"
        and date from C.recordedDate during day of "Opioid Use Disorder Lookback Period"
    )


Library NameNamesequence
OpioidCDSREC12PatientView Positive Result from Opioid Use Disorder Evaluation Tool 8
define "Positive Result from Opioid Use Disorder Evaluation Tool":
  true


Library NameNamesequence
OpioidCDSREC12PatientView Inclusion Criteria 9
define "Inclusion Criteria":
  Common."Patient 18 or Older?"
    and "Not Receiving Evidence-Based Treatment for Opioid Use Disorder"
    and "Presence of Diagnosis of Opioid Use Disorder"
    and "Positive Result from Opioid Use Disorder Evaluation Tool"


Library NameNamesequence
OpioidCDSREC12PatientView Exclusion Criteria 10
define "Exclusion Criteria":
  false


Library NameNamesequence
OpioidCDSREC12PatientView Is Recommendation Applicable? 11
define "Is Recommendation Applicable?":
  "Inclusion Criteria"
    and not "Exclusion Criteria"


Library NameNamesequence
OpioidCDSREC12PatientView Get Detail 12
define "Get Detail":
  if "Is Recommendation Applicable?"
    then null
  else null


Library NameNamesequence
OpioidCDSREC12PatientView Get Indicator 13
define "Get Indicator":
  if "Is Recommendation Applicable?"
    then 'warning'
  else null


Knowledge Capability: shareable computable executable publishable
Use Context:
codevaluedisplay
focus 182888003 Medication requested (situation)
focus 82423001 Chronic pain (finding)
Purpose:

The 2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain is intended to improve communication between providers and patients about the risks and benefits of opioid therapy for chronic pain, improve the safety and effectiveness of pain treatment, and reduce the risks associated with long-term opioid therapy, including opioid use disorder and overdose. The Guideline is not intended for patients who are in active cancer treatment, palliative care, or end-of-life care.

Usage: Clinicians should offer or arrange evidence-based treatment (usually medication-assisted treatment with buprenorphine or methadone) for patients with opioid use disorder.
Copyright:

© CDC 2016+.

Related Artifacts:

Documentation

Libraries:
Library - Recommendation #12 (patient-view) - Evidence-based Treatment for Patients with Opioid Use Disorder
Actions:
Current patient is 18 or older and recieving evidence-based treatment for Opioid Misuse Disorders.: Checking if the trigger prescription meets the inclusion criteria for recommendation #12 workflow.
When: Named Event: patient-view
If: Applicability: Check whether the current patient is 18 or older and recieving evidence-based treatment for Opioid Misuse Disorders. (Is Recommendation Applicable?)
Then:
: Will order methadone or buprenorphine
Then:
: N/A - see comment, snooze 3 months
Then: