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
Recommendations #6 (2022 CDC Clinical Practice Guideline for Prescribing Opioids for Pain):
When opioids are needed for acute pain, clinicians should prescribe no greater quantity than needed for the expected duration of pain severe enough to require opioids (recommendation category: A; evidence type: 4).
| Definition | Answer to Proceed | Details | Data (Terminology) Requirement | Profile | Path |
|---|---|---|---|---|---|
| Order for opioid analgesics with with ambulatory misuse potential? | Yes | Trigger based on a new prescription (order) for opioids in the relevant value set - ideally the prescription should be selected prior to being committed to the system | Opioid analgesics with ambulatory misuse potential | MedicationRequest | MedicationRequest.medication, and MedicationRequest.category |
| Opioid order for acute pain? | Yes | See For Acute Pain sub-routine | |||
| Opioid review useful? | Yes | See Opioid Review Useful sub-routine | |||
| Order for opioid analgesics with ambulatory misuse potential for > 7 days? | Yes | Determine if the new prescription (order) has an intended duration of > 7 days | Opioid analgesics with ambulatory misuse potential | MedicationRequest | MedicationRequest.medication, and MedicationRequest.dispenseRequest.expectedSupplyDuration |
| Definition | Answer to Proceed | Details | Data (Terminology) Requirement | Profile | Path |
|---|---|---|---|---|---|
| Order for opioid analgesics with ambulatory misuse potential of duration < 28 days | Yes | Look for an existing prescription (order) for opioid analgesics with ambulatory misuse potential of duration < 28 days | Opioid analgesics with ambulatory misuse potential | MedicationRequest | MedicationRequest.medication, MedicationRequest.category, and MedicationRequest.dispenseRequest.expectedSupplyDuration |
| Definition | Answer to Proceed | Details | Data (Terminology) Requirement | Profile | Path |
|---|---|---|---|---|---|
| Age < 18 years? | No | Calculate age from date of birth; exclude patients with age less than 18 years at the time of the prescription | Date of birth | Patient | Patient.birthDate |
| Evidence of sickle cell disease? | No | Look for patients with a diagnosis or problem list entry indicating sickle cell disease | Sickle cell disease condition | Condition | Condition.category, Condition.code, and Condition.clinicalStatus |
| Limited life expectancy conditions present? | No | Look for documented findings consistent with those listed in the limited life expectancy value set (terminal illness, bad prognosis, pre-terminal) | Limited life expectancy conditions | Condition | Condition.category and Condition.code |
| Order for therapies indicating end of life care in past 90 days? | No | Look for patients with an existing order for therapies indicating end of life care written within past 90 days | Therapies indicating end of life care | ServiceRequest | ServiceRequest.status, ServiceRequest.intent, ServiceRequest.authoredOn, and ServiceRequest.code |
| Active cancer treatment? | No | See Active Cancer Treatment sub-routine | See Active Cancer Treatment sub-routine | ||
| Conditions Likely Terminal for opioid prescribing present? | No | Look for patients with active conditions in the value set end-of-life-conditions | Conditions likely terminal for opioid prescribing | Condition | Condition.category, Condition.code, and Condition.clinicalStatus |
| Definition | Answer to Proceed | Details | Data (Terminology) Requirement | Profile | Path |
|---|---|---|---|---|---|
| Two office visits within the past 12 months? | No | Look for a minimum of two distinct encounters within 12 months of the date of the current visit for which each of the following is true: • the encounter diagnosis (primary or secondary or co-morbidity diagnosis) is listed in the CDC Malignant Cancer Conditions value set |
Office Visit | Encounter | Encounter.class and Encounter.period.start |
| Office visits with an oncology specialist present? | No | • The encounter is performed by an oncologist as defined in the oncology specialty designations using the National Uniform Claim Committee (NUCC) classifications |
Oncology specialty designations (NUCC) | PractitionerRole and Encounter | PractitionerRole.specialty, Encounter.participant.type, and Encounter.participant.individual |
| Office visits including CDC malignant cancer condition? | No | • The encounter diagnosis (primary or secondary or co-morbidity diagnosis) is listed in the CDC Malignant Cancer Conditions value set | CDC malignant cancer conditions | Condition and Encounter | Condition.category, Condition.code, and Encounter.diagnosis |
The following artifacts formalize the description of the logic and behavior defined by this recommendation.
| Resource | Type | Description |
|---|---|---|
| 2022 CDC Clinical Practice Guideline Recommendation #6 | PlanDefinition | Event-Condition-Action rule that implements behavior for 2022 CDC Clinical Practice Guideline Recommendation #6 |
| Recommendation #6 - Prescribe Lowest Effective Dose and Duration | Library | Defines the data requirements to support evaluation of recommendation #6 |
| Opioid Terminology Management Knowledge-base Data (OMTK) Library | Library | CQL Library that provides logic for implementation of opioid management functionality including Milligram Morphine Equivalents (MME). |
| Opioid Terminology Management Knowledge-base (OMTK) Library | Library | CQL Library that provides logic for implementation of opioid management functionality including Milligram Morphine Equivalents (MME). |
| Common Opioid Decision Support Logic | Library | CQL Library that provides common logic for the recommendations |
| Common OpioidCDS Configuration Logic | Library | CQL Library that provides common configuration logic for the recommendations |
| Common OpioidCDS Routines Logic | Library | CQL Library that provides common routines logic for the recommendations |
| FHIRHelpers Conversion Logic | Library | CQL Library that defines functions to convert between FHIR data types and CQL system-defined types, as well as functions to support FHIRPath implementation |
| Description | CDS Hooks Request | Expected Response |
|---|---|---|
| Patient is 18 or older. Patient has been prescribed oxyCODONE HCl 10 MG 12HR Extended Release Oral Tablet (RXNorm 1049502). Patients "Dosage Instructions" are 1 Tablet per day for 5 days. The patient will be excluded and no message will be triggered - an empty set of cards will be returned. | Request JSON | Response JSON |
| Patient is 18 or older. Patient has been prescribed oxyCODONE HCl 10 MG 12HR Extended Release Oral Tablet (RXNorm 1049502).Patients "Dosage Instructions" are 1 Tablet per day for 27 days. The patient will be included and the following message will be triggered - "Recommend limit therapy to ≤ 3 days to maximum of ≤ 7 days and to limit to immediate release opioids". | Request JSON | Response JSON |
IG © 2019+ Centers for Disease Control and Prevention (CDC). Package fhir.cdc.opioid-cds-r4#2022.1.0 based on FHIR 4.0.1. Generated 2025-11-13
Links: Table of
Contents |
License |
QA Report
| New Issue | Issues
| Version History |