OpioidCDSCommon
type: Library
node role: treeRoot
resource.id:
  value: OpioidCDSCommon
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Id: library-OpioidCDSCommon 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/OMTKLogicMK2020 Data Requirements: type: MedicationRequest type: Medication code filter: path: id type: MedicationRequest type: Medication code filter: path: id type: MedicationRequest type: Medication code filter: path: id type: Medication code filter: path: id type: Medication code filter: path: id type: Condition code filter: path: category valueset: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category type: Condition code filter: path: category valueset: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category type: Procedure code filter: path: code valueset: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-procedure type: ServiceRequest code filter: path: code valueset: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-procedure type: Observation code filter: path: code valueset: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding type: Encounter type: MedicationRequest code filter: path: medication valueset: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-analgesics-with-ambulatory-misuse-potential Content: type: text/cql library OpioidCDSCommon version '2022.1.0' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers include OMTKLogicMK2020 version '2022.1.0' called OMTKLogic codesystem "LOINC": 'http://loinc.org' codesystem "SNOMED": 'http://snomed.info/sct' codesystem "Medication Request Category Codes": 'http://terminology.hl7.org/CodeSystem/medicationrequest-category' codesystem "Medication Request Status Codes": 'http://hl7.org/fhir/medication-request-status' codesystem "Condition Clinical Status Codes": 'http://terminology.hl7.org/CodeSystem/condition-clinical' valueset "US Core Condition Category Codes": 'http://hl7.org/fhir/us/core/Valu…
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/OpioidCDSCommon
library.identifier:
  index: 0
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.114222.28.12
library.version:
  value: 2022.1.0
library.name:
  value: OpioidCDSCommon
library.title:
  value: Library - OpioidCDS Common
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:44:36+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 OMTKLogic
  related artifact.resource:
    value: http://fhir.org/guides/cdc/opioid-cds/Library/OMTKLogicMK2020|2022.1.0
    link: 2022.1
    link: .0
library.related artifact:
  index: 3
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library Config
  related artifact.resource:
    value: http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSCommonConfig|2022.1.0
    link: 2022.1
    link: .0
library.related artifact:
  index: 4
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code system LOINC

index: 5
related artifact.type:
  value: depends-on
related artifact.display:
  value: Code system SNOMED
related artifact.resource:
  value: http://snomed.info/sct
  link: http://snomed.info/sct

index: 6
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Limited life expectancy conditions
related artifact.resource:
  value: 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

index: 7
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Therapies indicating end of life care
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/therapies-indicating-end-of-life-care
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/therapies-indicating-end-of-life-care

index: 8
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Conditions likely terminal for opioid prescribing
related artifact.resource:
  value: 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

index: 9
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set CDC malignant cancer conditions
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cdc-malignant-cancer-conditions
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cdc-malignant-cancer-conditions

index: 10
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Oncology specialty designations (NUCC)
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/oncology-specialty-designations
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/oncology-specialty-designations

index: 11
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Opioid misuse disorders
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-disorders
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-disorders

index: 12
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Substance misuse behavioral counseling
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/substance-misuse-behavioral-counseling
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/substance-misuse-behavioral-counseling

index: 13
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Conditions documenting substance misuse
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-documenting-substance-misuse
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-documenting-substance-misuse

index: 14
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Office Visit
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/office-visit
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/office-visit

index: 15
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Opioid counseling procedure
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-counseling-procedure
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-counseling-procedure

index: 16
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Opioid misuse assessment procedure
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-assessment-procedure
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-assessment-procedure

index: 17
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Hospice Disposition
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-disposition
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-disposition

index: 18
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Hospice Finding Codes
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding

index: 19
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Observation Category Laboratory
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/observation-category-laboratory
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/observation-category-laboratory

index: 20
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Observation Category Procedure
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/observation-category-procedure
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/observation-category-procedure

index: 21
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Pain treatment plan
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pain-treatment-plan
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pain-treatment-plan

index: 22
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Pain management procedure
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pain-management-procedure
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pain-management-procedure

index: 23
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set PDMP review procedure
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pdmp-review-procedure
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pdmp-review-procedure

index: 24
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set PDMP data reviewed finding
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pdmp-data-reviewed-finding
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/pdmp-data-reviewed-finding

index: 25
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Conditions Documenting Sleep Disordered Breathing
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-documenting-sleep-disordered-breathing
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/conditions-documenting-sleep-disordered-breathing

index: 26
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Opioid analgesics with ambulatory misuse potential
related artifact.resource:
  value: 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

index: 27
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Extended release opioid with ambulatory misuse potential
related artifact.resource:
  value: 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

index: 28
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Buprenorphine Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-medications

index: 29
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Buprenorphine and methadone medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-and-methadone-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-and-methadone-medications

index: 30
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Non-synthetic opioid medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/non-synthetic-opioid-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/non-synthetic-opioid-medications

index: 31
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Barbiturate Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-medications

index: 32
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Benzodiazepine medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-medications

index: 33
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Naloxone medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/naloxone-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/naloxone-medications

index: 34
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Fentanyl Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/fentanyl-type-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/fentanyl-type-medications

index: 35
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Amphetamine Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamines-class-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamines-class-medications

index: 36
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Methadone Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-medications

index: 37
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Oxycodone Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/oxycodone-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/oxycodone-medications

index: 38
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Synthetic Opioid Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/synthetic-opioid-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/synthetic-opioid-medications

index: 39
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set CNS Depressant Medications
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cns-depressant-medications
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cns-depressant-medications

index: 40
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set All Drug Urine Screening
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/all-urine-drug-screening-tests

index: 41
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Non-opioid drug urine screening
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/non-opioid-urine-drug-screening
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/non-opioid-urine-drug-screening

index: 42
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Opiate Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opiate-specific-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opiate-specific-urine-drug-screening-tests

index: 43
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set General Opiate Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/general-opiate-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/general-opiate-urine-drug-screening-tests

index: 44
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Opioid drug urine screening
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-urine-drug-screening
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-urine-drug-screening

index: 45
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Cocaine Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cocaine-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cocaine-urine-drug-screening-tests

index: 46
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set PCP Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/phencyclidine-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/phencyclidine-urine-drug-screening-tests

index: 47
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Fentanyl Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/fentanyl-type-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/fentanyl-type-urine-drug-screening-tests

index: 48
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Amphetamine Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamine-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/amphetamine-urine-drug-screening-tests

index: 49
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Cannabinoid Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cannabinoid-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/cannabinoid-urine-drug-screening-tests

index: 50
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Methadone Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/methadone-urine-drug-screening-tests

index: 51
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Synthetic Opioid Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/synthetic-opioid-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/synthetic-opioid-urine-drug-screening-tests

index: 52
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Barbiturate Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/barbiturate-urine-drug-screening-tests

index: 53
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Benzodiazepine Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/benzodiazepine-urine-drug-screening-tests

index: 54
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Buprenorphine Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-urine-drug-screening-tests

index: 55
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Heroin Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/heroin-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/heroin-urine-drug-screening-tests

index: 56
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Oxycodone Urine Tests
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/oxycodone-urine-drug-screening-tests
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/oxycodone-urine-drug-screening-tests

index: 57
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Community
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-category-community

index: 58
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Active Condition
related artifact.resource:
  value: 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

index: 59
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Active MedicationRequest
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-status-active
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-status-active

index: 60
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Encounter Diagnosis Condition Category
related artifact.resource:
  value: 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

index: 61
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Problem List Condition Category
related artifact.resource:
  value: 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

index: 62
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set US Core Health Concern Condition Category
related artifact.resource:
  value: 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

index: 63
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Sickle Cell Diseases
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/sickle-cell-diseases
  link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/sickle-cell-diseases

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: Opioid Other Than Synthetic Ordered In Last 12 Months
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: Active Ambulatory Opioid Rx
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 3
parameter definition.name:
  value: Active Ambulatory Benzodiazepine Rx
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 4
parameter definition.name:
  value: Active Medication List
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 5
parameter definition.name:
  value: Active Ambulatory Benzodiazepine or CNS Depressant Rx
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 6
parameter definition.name:
  value: Active Ambulatory Naloxone Rx
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 7
parameter definition.name:
  value: US Core-Categorized Conditions
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: 8
parameter definition.name:
  value: Conditions Indicating End of Life or With Limited Life Expectancy
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: 9
parameter definition.name:
  value: Admitted/Referred/Discharged to Hospice Care
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Resource

index: 10
parameter definition.name:
  value: End of Life Assessment
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 11
parameter definition.name:
  value: USCore Encounter Cancer Diagnoses
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: 12
parameter definition.name:
  value: USCore Problem List Cancer Diagnoses
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: 13
parameter definition.name:
  value: Previous 10 Days Interval
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: 14
parameter definition.name:
  value: First Month
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: 15
parameter definition.name:
  value: Second Month
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: 16
parameter definition.name:
  value: Third Month
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: 17
parameter definition.name:
  value: Prescribed Opioids for 21 or more of 30 Days for each of the past 3 Months
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 18
parameter definition.name:
  value: Positive Sickle Cell Condition
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Condition

index: 19
parameter definition.name:
  value: Patient 18 or Older?
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 20
parameter definition.name:
  value: Patient Age Less Than 18
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 21
parameter definition.name:
  value: Style Header
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: string

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: 1
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: status
  index: 0
data requirement.must support:
  value: authoredOn
  index: 1
data requirement.must support:
  value: medication
  index: 2
data requirement.must support:
  value: status.value
  index: 3
data requirement.must support:
  value: category
  index: 4
data requirement.must support:
  value: medication.reference
  index: 5
data requirement.must support:
  value: id
  index: 6
data requirement.must support:
  value: intent
  index: 7
data requirement.must support:
  value: subject
  index: 8
data requirement.must support:
  value: recorder
  index: 9
data requirement.must support:
  value: dosageInstruction
  index: 10
data requirement.must support:
  value: dispenseRequest
  index: 11
data requirement.must support:
  value: timing
  index: 12
data requirement.must support:
  value: timing.event
  index: 13
data requirement.must support:
  value: timing.repeat
  index: 14
data requirement.must support:
  value: timing.repeat.bounds
  index: 15
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: status
  data requirement.code filter.value set:
    value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-status-active
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/medicationrequest-status-active

index: 2
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: status
  index: 0
data requirement.must support:
  value: category
  index: 1
data requirement.must support:
  value: status.value
  index: 2
data requirement.must support:
  value: medication
  index: 3
data requirement.must support:
  value: medication.reference
  index: 4
data requirement.must support:
  value: id
  index: 5
data requirement.must support:
  value: intent
  index: 6
data requirement.must support:
  value: subject
  index: 7
data requirement.must support:
  value: authoredOn
  index: 8
data requirement.must support:
  value: recorder
  index: 9
data requirement.must support:
  value: dosageInstruction
  index: 10
data requirement.must support:
  value: dispenseRequest
  index: 11
data requirement.must support:
  value: timing
  index: 12
data requirement.must support:
  value: timing.event
  index: 13
data requirement.must support:
  value: timing.repeat
  index: 14
data requirement.must support:
  value: timing.repeat.bounds
  index: 15
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: status
  data requirement.code filter.code:
    index: 0
    coding.code:
      value: active

index: 3
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: status
  index: 0
data requirement.must support:
  value: category
  index: 1
data requirement.must support:
  value: authoredOn
  index: 2
data requirement.must support:
  value: medication
  index: 3
data requirement.must support:
  value: status.value
  index: 4
data requirement.must support:
  value: medication.reference
  index: 5
data requirement.must support:
  value: id
  index: 6
data requirement.must support:
  value: intent
  index: 7
data requirement.must support:
  value: subject
  index: 8
data requirement.must support:
  value: recorder
  index: 9
data requirement.must support:
  value: dosageInstruction
  index: 10
data requirement.must support:
  value: dispenseRequest
  index: 11
data requirement.must support:
  value: timing
  index: 12
data requirement.must support:
  value: timing.event
  index: 13
data requirement.must support:
  value: timing.repeat
  index: 14
data requirement.must support:
  value: timing.repeat.bounds
  index: 15
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: status
  data requirement.code filter.code:
    index: 0
    coding.code:
      value: active

index: 4
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: medication
  index: 0
data requirement.must support:
  value: status
  index: 1
data requirement.must support:
  value: status.value
  index: 2
data requirement.must support:
  value: category
  index: 3
data requirement.must support:
  value: medication.reference
  index: 4
data requirement.must support:
  value: id
  index: 5
data requirement.must support:
  value: intent
  index: 6
data requirement.must support:
  value: subject
  index: 7
data requirement.must support:
  value: authoredOn
  index: 8
data requirement.must support:
  value: recorder
  index: 9
data requirement.must support:
  value: dosageInstruction
  index: 10
data requirement.must support:
  value: dispenseRequest
  index: 11
data requirement.must support:
  value: timing
  index: 12
data requirement.must support:
  value: timing.event
  index: 13
data requirement.must support:
  value: timing.repeat
  index: 14
data requirement.must support:
  value: timing.repeat.bounds
  index: 15
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: medication
  data requirement.code filter.value set:
    value: 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

index: 5
data requirement.type:
  value: MedicationRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
data requirement.must support:
  value: authoredOn
  index: 0
data requirement.must support:
  value: medication
  index: 1
data requirement.must support:
  value: status
  index: 2
data requirement.must support:
  value: status.value
  index: 3
data requirement.must support:
  value: category
  index: 4
data requirement.must support:
  value: medication.reference
  index: 5
data requirement.must support:
  value: id
  index: 6
data requirement.must support:
  value: intent
  index: 7
data requirement.must support:
  value: subject
  index: 8
data requirement.must support:
  value: recorder
  index: 9
data requirement.must support:
  value: dosageInstruction
  index: 10
data requirement.must support:
  value: dispenseRequest
  index: 11
data requirement.must support:
  value: timing
  index: 12
data requirement.must support:
  value: timing.event
  index: 13
data requirement.must support:
  value: timing.repeat
  index: 14
data requirement.must support:
  value: timing.repeat.bounds
  index: 15

index: 6
data requirement.type:
  value: Medication
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Medication
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Medication
data requirement.must support:
  value: id
  index: 0
data requirement.must support:
  value: code
  index: 1

index: 7
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: category
  index: 0
data requirement.must support:
  value: code
  index: 1
data requirement.must support:
  value: clinicalStatus
  index: 2
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: category
  data requirement.code filter.value set:
    value: 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

index: 8
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: category
  index: 0
data requirement.must support:
  value: code
  index: 1
data requirement.must support:
  value: clinicalStatus
  index: 2
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: category
  data requirement.code filter.value set:
    value: 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

index: 9
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: category
  index: 0
data requirement.must support:
  value: code
  index: 1
data requirement.must support:
  value: clinicalStatus
  index: 2
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: category
  data requirement.code filter.value set:
    value: 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

index: 10
data requirement.type:
  value: Observation
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Observation
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Observation
data requirement.must support:
  value: code
  index: 0
data requirement.must support:
  value: status
  index: 1
data requirement.must support:
  value: status.value
  index: 2
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding
    link: http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding

index: 11
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: period
  index: 0
data requirement.must support:
  value: period.start
  index: 1
data requirement.must support:
  value: hospitalization
  index: 2
data requirement.must support:
  value: hospitalization.dischargeDisposition
  index: 3
data requirement.must support:
  value: hospitalization.dischargeDisposition.coding
  index: 4
data requirement.must support:
  value: status
  index: 5
data requirement.must support:
  value: status.value
  index: 6

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