Id: OpioidCDSREC10OrderSelect Url: OpioidCDSREC10OrderSelect Version: 2022.1.0 Name: OpioidCDSREC10OrderSelect Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-11-13 15:52:38+0000 Publisher: Centers for Disease Control and Prevention (CDC) Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 http://fhir.org/guides/cdc/opioid-cds/Library/FHIRHelpers|4.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) Library - OpioidCDS Routinesversion: null2022.1.0) Library - OpioidCDS Common Configurationversion: null2022.1.0) All urine drug screening tests Amphetamine-class drugs and metabolite urine tests ValueSet - Medication Request Category Community Amphetamine class medications Barbiturate urine drug screening tests Barbiturate Medications Benzodiazepine urine drug screening tests Benzodiazepine medications Buprenorphine urine drug screening tests Buprenorphine Medications Cocaine urine drug screening tests Fentanyl-type medications Heroin urine drug screening tests Methadone urine drug screening tests Methadone medications Oxycodone Medications Phencyclidine urine drug screening tests Parameters: Name Type Min Max In/Out ContextPrescriptions MedicationRequest 0 * In Patient Patient 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 Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests Observation http://hl7.org/fhir/StructureDefinition/Observation ;;; code filter: path: code value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;; code filter: path: category value set: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community Content: text/cql library OpioidCDSREC10OrderSelect 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 parameter ContextPrescriptions List&lt;MedicationRequest&gt; context Patient define &quot;Is Perform Drug Screen Recommendation Applicable?&quot;: Rec10Common.&quot;Inclusion Criteria For UDS Recommendation&quot; define &quot;Applicable Because of Unexpected Results&quot;: Rec10Common.&quot;Inclusion Criteria For Unexpected Results&quot; define &quot;Detail&quot;: Rec10Common.&quot;Get HTML Details&quot; Content: application/elm+xml Encoded data (9704 characters) Content: application/elm+json Encoded data (14908 characters)
Centers for Disease Control and Prevention (CDC)
Is Perform Drug Screen Recommendation Applicable?
Applicable Because of Unexpected Results