OpioidCDSREC12PatientView
type: Library
node role: treeRoot
id:
  v: OpioidCDSREC12PatientView
text:
  status:
    v: generated
  div:
    v: Id: library-OpioidCDSREC12PatientView Type: logic-library Version: 2022.1.0 Status: active Related: type: depends-on Resource: http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers type: depends-on Resource: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon type: depends-on Resource: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig Data Requirements: type: MedicationRequest code filter: path: medication valueset: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-and-methadone-medications type: Procedure code filter: path: code valueset: http://fhir.org/guides/cdc/opioid-cds/ValueSet/substance-misuse-behavioral-counseling type: Condition code filter: path: category valueset: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category Content: type: text/cql library OpioidCDSREC12PatientView 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 /* ** ** Recommendation #12 ** Clinicians should offer or arrange evidence-based treatment (usually ** medication-assisted treatment with buprenorphine or methadone in combination ** with behavioral therapies) for patients with opioid use disorder ** (recommendation category: A, evidence type: 2) ** ** When ** Patient is 18 years and older and not receiving evidence-based treatment for ** opioid use disorder, which may include medication treatment with buprenorphine ** or methadone, or opioid-specific behavioral counseling ** Patient has a diagnosis of opioid use disorder in the past 90 days ** Then ** Recommend opioid agonist or partial agonist treatment with methadone maintenance ** therapy, buprenorphine therapy, and/or behavioral therapy. Potential actions include: ** Order methadone or buprenorphine ** Refer to qualified treatment provider (i.e. substance disorder specialist) ** N/A - see comment; snooze 3 mon…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: String
      v: 3.5.1
  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: false
  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: None
  parameter:
    name:
      v: validateUnits
    value: Boolean
      v: true
  parameter:
    name:
      v: verifyOnly
    value: Boolean
      v: false
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
    l: cqfm-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
    l: cqfm-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
    l: cqf-cqlOptions
  value: Reference
    l: options
    reference:
      v: #options
url:
  v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC12PatientView
  l: OpioidCDSREC12PatientView
version:
  v: 2022.1.0
name:
  v: OpioidCDSREC12PatientView
title:
  v: Library - Recommendation #12 (patient-view) - Evidence-based Treatment for Patients with Opioid Use Disorder
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-11-13T15:52:38+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: Value set Encounter Diagnosis Condition Category
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/ValueSet/condition-encounter-diagnosis-category
    l: condition-encounter-diagnosis-category
related artifact:
  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
    l: condition-problem-list-category
related artifact:
  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
    l: condition-us-core-health-concern-category
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Opioid misuse disorders

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

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

name:
  v: Opioid Use Disorder Lookback Period
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Period

name:
  v: Not Receiving Evidence-Based Treatment for Opioid Use Disorder
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Presence of Diagnosis of Opioid Use Disorder
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Positive Result from Opioid Use Disorder Evaluation Tool
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

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: 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
    l: condition-encounter-diagnosis-category

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: 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
    l: condition-problem-list-category

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: 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
    l: condition-us-core-health-concern-category

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