OpioidCDSREC10PatientView
type: Library
node role: treeRoot
resource.id:
  value: OpioidCDSREC10PatientView
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Id: OpioidCDSREC10PatientView Url: Library - Recommendation #10 Patient View - Urine Drug Testing Version: 2022.1.0 Identifier: value: urn:oid:2.16.840.1.114222.28.24 Name: OpioidCDSREC10PatientView Title: Library - Recommendation #10 Patient View - Urine Drug Testing Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-08-23 19:52:23+1000 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 Helpers version: 4.0.1 Library - OpioidCDS Common version: 2022.1.0 OpioidCDSREC10Common version: 2022.1.0 Library - OpioidCDS Common Configuration version: 2022.1.0 Library - OpioidCDS Routines version: 2022.1.0 Parameters: Name Type Min Max In/Out Patient Patient 0 1 Out 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 Urine Drug Screening Request ServiceRequest 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Content: text/cql library OpioidCDSREC10PatientView 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 OpioidCDSREC10Common version '2022.1.0' called Rec10Common include OpioidCDSCommonConfig version '2022.1.0' called Config include OpioidCDSRoutines version '2022.1.0' called Routines code "Urine Drug Screening": '310627008' from Common.SNOMED display 'Urine drug screening (procedure)' /* ** Recommendation #10 ** When prescribing opioids for subacute or chronic pain, clinician…
domain resource.contained: Parameters
  index: 0
  resource.id:
    value: options
  parameters.parameter:
    index: 0
    parameters.parameter.name:
      value: translatorVersion
    parameters.parameter.value string:
      value: 3.25.0
  parameters.parameter:
    index: 1
    parameters.parameter.name:
      value: option
    parameters.parameter.value string:
      value: EnableAnnotations
  parameters.parameter:
    index: 2
    parameters.parameter.name:
      value: option
    parameters.parameter.value string:
      value: EnableLocators
  parameters.parameter:
    index: 3
    parameters.parameter.name:
      value: option
    parameters.parameter.value string:
      value: DisableListDemotion
  parameters.parameter:
    index: 4
    parameters.parameter.name:
      value: option
    parameters.parameter.value string:
      value: DisableListPromotion
  parameters.parameter:
    index: 5
    parameters.parameter.name:
      value: format
    parameters.parameter.value string:
      value: JSON
  parameters.parameter:
    index: 6
    parameters.parameter.name:
      value: format
    parameters.parameter.value string:
      value: XML
  parameters.parameter:
    index: 7
    parameters.parameter.name:
      value: analyzeDataRequirements
    parameters.parameter.value boolean:
      value: false
  parameters.parameter:
    index: 8
    parameters.parameter.name:
      value: collapseDataRequirements
    parameters.parameter.value boolean:
      value: true
  parameters.parameter:
    index: 9
    parameters.parameter.name:
      value: compatibilityLevel
    parameters.parameter.value string:
      value: 1.5
  parameters.parameter:
    index: 10
    parameters.parameter.name:
      value: enableCqlOnly
    parameters.parameter.value boolean:
      value: false
  parameters.parameter:
    index: 11
    parameters.parameter.name:
      value: errorLevel
    parameters.parameter.value string:
      value: Info
  parameters.parameter:
    index: 12
    parameters.parameter.name:
      value: signatureLevel
    parameters.parameter.value string:
      value: Overloads
  parameters.parameter:
    index: 13
    parameters.parameter.name:
      value: validateUnits
    parameters.parameter.value boolean:
      value: true
  parameters.parameter:
    index: 14
    parameters.parameter.name:
      value: verifyOnly
    parameters.parameter.value boolean:
      value: false
domain resource.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
  extension.value reference:
    reference.reference:
      value: #options
domain resource.extension:
  index: 1
  extension.url:
    value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
  extension.value reference:
    link: http://fhir.org/guides/cdc/opioid-cds/Device/cqf-tooling
    reference.reference:
      value: Device/cqf-tooling
library.url:
  value: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10PatientView
library.identifier:
  index: 0
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.114222.28.24
library.version:
  value: 2022.1.0
library.name:
  value: OpioidCDSREC10PatientView
library.title:
  value: Library - Recommendation #10 Patient View - Urine Drug Testing
library.status:
  value: active
library.experimental:
  value: false
library.type:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
library.date:
  value: 2026-08-23T19:52:23+10:00
library.publisher:
  value: CDC / Security Risk Solutions, Inc. (SRS)
library.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://www.securityrisksolutions.com
library.copyright:
  value: Centers for Disease Control and Prevention (CDC)
library.related artifact:
  index: 0
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: FHIR model information
  related artifact.resource:
    value: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: 1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library FHIRHelpers
  related artifact.resource:
    value: http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: 2
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library Common
  related artifact.resource:
    value: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommon|2022.1.0
    link: 2022.1
    link: .0
library.related artifact:
  index: 3
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library Rec10Common
  related artifact.resource:
    value: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSREC10Common|2022.1.0
    link: 2022.1
    link: .0
library.related artifact:
  index: 4
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library Config

value: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig|2022.1.0
link: 2022.1
link: .0

index: 5
related artifact.type:
  value: depends-on
related artifact.display:
  value: Library Routines
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSRoutines|2022.1.0
  link: 2022.1
  link: .0

index: 0
parameter definition.name:
  value: Patient
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Patient

index: 1
parameter definition.name:
  value: Chronic Pain Opioid Analgesic with Ambulatory Misuse Potential Prescriptions
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 2
parameter definition.name:
  value: Patient Is Being Prescribed Opioid Analgesic with Ambulatory Misuse Potential
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 3
parameter definition.name:
  value: Is Perform Drug Screen Recommendation Applicable?
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 4
parameter definition.name:
  value: Applicable Because of Unexpected Results
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 5
parameter definition.name:
  value: Detail
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: string

index: 6
parameter definition.name:
  value: Urine Drug Screening Request
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: ServiceRequest

index: 0
data requirement.type:
  value: Patient
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Patient
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Patient

index: 0
attachment.content type:
  value: text/cql

index: 1
attachment.content type:
  value: application/elm+xml

index: 2
attachment.content type:
  value: application/elm+json