OpioidCDSREC03
type: Library
node role: treeRoot
id:
  v: OpioidCDSREC03
text:
  status:
    v: extensions
  div: 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-08-14 14:21:53+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) Opioid analgesics with ambulatory misuse potential ValueSet - Medication Request Category Community Extended release opioid with ambulatory misuse potential Encounter Diagnosis Condition Category Problem List Condition Category US Core Health Concern Condition Category Conditions likely terminal for opioid prescribing Condition Clinical Status Active Limited life expectancy conditions 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 Condition http://hl7.org/fhir/StructureDefinition/Condition ; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category Condition http://hl7.org/fhir/StructureDefinition/Condition ; code filter: path: category value set: http://fhir.org/gui…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: string
      v: 3.22.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: XML
  parameter:
    name:
      v: format
    value: string
      v: JSON
  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
  value: Reference
    reference:
      v: #options
extension:
  url:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
  value: Reference
    link: http://fhir.org/guides/cdc/opioid-cds/Device/cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://fhir.org/guides/cdc/opioid-cds/Library/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
    code:
      v: logic-library
date:
  v: 2025-08-14T14:21:53+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
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library Common
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon|2022.1.0
    link: 2022.1
    link: .0
related artifact:
  type:
    v: depends-on
  display:
    v: Library Config
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig|2022.1.0
    link: 2022.1
    link: .0
related artifact:
  type:
    v: depends-on
  display:
    v: Library Routines
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0
    link: 2022.1
    link: .0
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Opioid analgesics with ambulatory misuse potential
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-analgesics-with-ambulatory-misuse-potential
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-analgesics-with-ambulatory-misuse-potential
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Community
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Extended release opioid with ambulatory misuse potential
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/extended-release-opioid-with-ambulatory-misuse-potential
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/extended-release-opioid-with-ambulatory-misuse-potential
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Encounter Diagnosis Condition Category

type:
  v: depends-on
display:
  v: Value set Problem List Condition Category
resource:
  v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category

type:
  v: depends-on
display:
  v: Value set US Core Health Concern Condition Category
resource:
  v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category

type:
  v: depends-on
display:
  v: Value set Conditions likely terminal for opioid prescribing
resource:
  v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-likely-terminal-for-opioid-prescribing
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-likely-terminal-for-opioid-prescribing

type:
  v: depends-on
display:
  v: Value set Active Condition
resource:
  v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-clinical-status-active
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-clinical-status-active

type:
  v: depends-on
display:
  v: Value set Limited life expectancy conditions
resource:
  v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/limited-life-expectancy-conditions
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/limited-life-expectancy-conditions

name:
  v: ContextPrescriptions
use:
  v: in
min:
  v: 0
max:
  v: *
type:
  v: MedicationRequest

name:
  v: Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Patient

name:
  v: Chronic Pain Extended Release Opioid Analgesic with Ambulatory Misuse Potential Prescriptions
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  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
  link: http://hl7.org/fhir/StructureDefinition/Patient

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  link: http://hl7.org/fhir/StructureDefinition/Condition
must support:
  v: category
code filter:
  path:
    v: category
  value set:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  link: http://hl7.org/fhir/StructureDefinition/Condition
must support:
  v: category
code filter:
  path:
    v: category
  value set:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-problem-list-category

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  link: http://hl7.org/fhir/StructureDefinition/Condition
must support:
  v: category
code filter:
  path:
    v: category
  value set:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-us-core-health-concern-category

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  link: http://hl7.org/fhir/StructureDefinition/Encounter
must support:
  v: period
must support:
  v: period.start
must support:
  v: status
must support:
  v: status.value

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json