OpioidCDSREC08
type: Library
node role: treeRoot
resource.id:
  value: OpioidCDSREC08
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception parsing generated Narrative (see /tmp/liquid-ffe317b6-7313-430e-b74e-3fc23401ae0f.html): Malformed XHTML: Found "" expecting "</MedicationRequest>" at line 251 column 8
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/OpioidCDSREC08
library.identifier:
  index: 0
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.114222.28.20
library.version:
  value: 2022.1.0
library.name:
  value: OpioidCDSREC08
library.title:
  value: Library - Recommendation #8 - Naloxone Consideration
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 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 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: Library Routines

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

index: 5
related artifact.type:
  value: depends-on
related artifact.display:
  value: Library MMECalculator
related artifact.resource:
  value: http://fhir.org/guides/cdc/opioid-cds/Library/MMECalculator|3.0.0
  link: 3.0
  link: .0

index: 0
parameter definition.name:
  value: ContextPrescriptions
parameter definition.use:
  value: in
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationRequest

index: 1
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: 2
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: 3
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: 4
parameter definition.name:
  value: Inclusion Criteria
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: Is Recommendation Applicable?
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

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