CDC MME CQL Calculator
3.0.0 - release

This page is part of the CDC Opioid MME Calculator (v3.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Library: Tests for the Opioid Management Terminology Knowledge Data Library

Id: OMTKDataTests
Url: http://fhir.org/guides/cdc/opioid-mme-r4/Library/OMTKDataTests
Version: 3.0.0
Name: OMTKDataTests
Title: Tests for the Opioid Management Terminology Knowledge Data Library
Status: active
Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2021-11-25T15:15:41+11:00
Publisher: Alphora
Description: This library contains tests of the OMTKData library
Knowledge Capability: shareable computable publishable executable
Knowledge Representation Level: structured
Jurisdiction: 840
Copyright: Copyright 2019+ Centers for Disease Control and Prevention (CDC)
Related Artifacts:

Dependencies

  • http://fhir.org/guides/cdc/opioid-mme-r4/Library/OMTKData|3.0.0
Parameters:
NameTypeMinMaxIn/Out
TestDoseFormsAny0*out
TestUnitsstring0*out
Content: text/cql
library OMTKDataTests version '3.0.0'

include OMTKData version '3.0.0'

define TestDoseForms:
  OMTKData.DrugIngredients DI
    where DI.ingredientCode = 4337
    return { doseFormCode: DI.doseFormCode, doseFormName: DI.doseFormName }

define TestUnits:
  OMTKData.DrugIngredients DI
    return DI.strengthUnit
Content: application/elm+xml
Encoded data (9304 characters)
Content: application/elm+json
Encoded data (44368 characters)