OpioidCDSREC10OrderSign
type: Library
node role: treeRoot
id:
  v: OpioidCDSREC10OrderSign
text:
  status:
    v: extensions
  div:
    v: Id: OpioidCDSREC10OrderSign Url: Library - Recommendation #10 - Urine Drug Testing Version: 2022.1.0 Name: OpioidCDSREC10OrderSign Title: Library - Recommendation #10 - Urine Drug Testing Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-03-18 16:23:26+1100 Publisher: CDC / Security Risk Solutions, Inc. (SRS) Copyright: 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) OpioidCDSREC10Commonversion: null2022.1.0) Parameters: Name Type Min Max In/Out ContextPrescriptions MedicationRequest 0 * In Patient Patient 0 1 Out Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions MedicationRequest 0 * Out Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential boolean 0 1 Out Is Perform Drug Screen Recommendation Applicable? boolean 0 1 Out Applicable Because of Unexpected Results boolean 0 1 Out Detail string 0 1 Out Get Subject string 0 1 Out Get Lab Category CodeableConcept 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Content: text/cql library OpioidCDSREC10OrderSign 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 include OpioidCDSREC10Common version '2022.1.0' called Rec10Common /* ** Recommendation #10 ** When prescribing opioids for subacute or chronic pain, clinicians should consider the benefits ** and risks of toxicology testing to assess for prescribed m…
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/OpioidCDSREC10OrderSign
  l: OpioidCDSREC10OrderSign
version:
  v: 2022.1.0
name:
  v: OpioidCDSREC10OrderSign
title:
  v: Library - Recommendation #10 - Urine Drug Testing
status:
  v: active
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-03-18T16:23:26+11:00
publisher:
  v: CDC / Security Risk Solutions, Inc. (SRS)
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.securityrisksolutions.com
copyright:
  v: Centers for Disease Control and Prevention (CDC)
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
related artifact:
  type:
    v: depends-on
  display:
    v: Library Rec10Common
  resource:
    v: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10Common|2022.1.0
    l: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10Common
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

v: 1

v: Patient

name:
  v: Subacute or Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: MedicationRequest

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

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

name:
  v: Applicable Because of Unexpected Results
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Detail
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Get Subject
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Get Lab Category
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: CodeableConcept

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