OpioidCDSREC03
type: Library
node role: treeRoot
id:
  v: OpioidCDSREC03
text:
  status:
    v: extensions
  div:
    v: Id: OpioidCDSREC03 Url: Library - Recommendation #3 - Opioid Immediate Release Form When Starting Opioid Therapy Version: 2022.1.0 Name: OpioidCDSREC03 Title: Library - Recommendation #3 - Opioid Immediate Release Form When Starting Opioid Therapy Status: active Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-12-31 04:14:52+0000 Publisher: Centers for Disease Control and Prevention (CDC) Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 FHIR Helpersversion: null4.0.1) Library - OpioidCDS Commonversion: null2022.1.0) Library - OpioidCDS Common Configurationversion: null2022.1.0) Library - OpioidCDS Routinesversion: null2022.1.0) Parameters: Name Type Min Max In/Out ContextPrescriptions MedicationRequest 0 * In Patient Patient 0 1 Out Chronic Pain Extended Release Opioid Analgesic with Ambulatory Misuse Potential Prescriptions MedicationRequest 0 * Out Patient Is Being Prescribed Extended Release Opioid Analgesic with Ambulatory Misuse Potential boolean 0 1 Out Inclusion Criteria boolean 0 1 Out Exclusion Criteria boolean 0 1 Out Is Recommendation Applicable? boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Content: text/cql library OpioidCDSREC03 version '2022.1.0' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers include OpioidCDSCommon version '2022.1.0' called Common include OpioidCDSCommonConfig version '2022.1.0' called Config include OpioidCDSRoutines version '2022.1.0' called Routines /* ** Recommendation #3 ** When starting opioid therapy for acute, subacute, or chronic pain, clinicians should ** prescribe immediate-release opioids instead of extended-release and long-acting (ER/LA) ** opioids (recommendation category: A; evidence type: 4). ** ** When ** Provider is prescribing an extended release opioid analgesic with ambulatory misuse potential in…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: String
      v: 3.25.0
  parameter:
    name:
      v: option
    value: String
      v: EnableAnnotations
  parameter:
    name:
      v: option
    value: String
      v: EnableLocators
  parameter:
    name:
      v: option
    value: String
      v: DisableListDemotion
  parameter:
    name:
      v: option
    value: String
      v: DisableListPromotion
  parameter:
    name:
      v: format
    value: String
      v: JSON
  parameter:
    name:
      v: format
    value: String
      v: XML
  parameter:
    name:
      v: analyzeDataRequirements
    value: Boolean
      v: false
  parameter:
    name:
      v: collapseDataRequirements
    value: Boolean
      v: true
  parameter:
    name:
      v: compatibilityLevel
    value: String
      v: 1.5
  parameter:
    name:
      v: enableCqlOnly
    value: Boolean
      v: false
  parameter:
    name:
      v: errorLevel
    value: String
      v: Info
  parameter:
    name:
      v: signatureLevel
    value: String
      v: Overloads
  parameter:
    name:
      v: validateUnits
    value: Boolean
      v: true
  parameter:
    name:
      v: verifyOnly
    value: Boolean
      v: false
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
    l: cqf-cqlOptions
  value: Reference
    l: options
    reference:
      v: #options
extension:
  url:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
    l: crmi-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC03
  l: OpioidCDSREC03
version:
  v: 2022.1.0
name:
  v: OpioidCDSREC03
title:
  v: Library - Recommendation #3 - Opioid Immediate Release Form When Starting Opioid Therapy
status:
  v: active
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2025-12-31T04:14:52+00:00
publisher:
  v: Centers for Disease Control and Prevention (CDC)
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.cdc.gov
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
    l: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers|4.0.1
    l: http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library Common
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon|2022.1.0
    l: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Config
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig|2022.1.0
    l: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig
related artifact:
  type:
    v: depends-on
  display:
    v: Library Routines
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0
    l: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines
parameter:
  name:
    v: ContextPrescriptions
  use:
    v: in
  min:
    v: 0
  max:
    v: *
  type:
    v: MedicationRequest
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Chronic Pain Extended Release Opioid Analgesic with Ambulatory Misuse Potential Prescriptions
  use:
    v: out
  min:
    v: 0

v: *

v: MedicationRequest

name:
  v: Patient Is Being Prescribed Extended Release Opioid Analgesic with Ambulatory Misuse Potential
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Inclusion Criteria
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Exclusion Criteria
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Is Recommendation Applicable?
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  l: Patient

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json