Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.26 KB

MMECalculatorSetup.md

File metadata and controls

40 lines (23 loc) · 1.26 KB

MMECalculator setup instructions

The reference:

fhir.cdc."opioid-mme-r4".MMECalculator

is currently not working. As a temporary way to use the MMECalculator do the following. Once that reference is funtioning, these changes will need to be backed out.
For reference

Changes:

In OpioidCDSRec08.cql and OpioidCDSRec08.cql comment out:

include fhir.cdc."opioid-mme-r4".MMECalculator version '3.0.0' called MMECalculator

and

include OpioidCDSCommonMME version '2.0.1' called CommonMME

Add

include MMECalculator version '3.0.0' called MMECalculator

Make sure all references to:

TotalMME

ultimately end up pointing to:

MMECalculator.TotalMME

Download the libraries AND cql from the following links and place them in the correct folders (input/resources/library) and (input/pagecontent/cql):

Conversion Factors

OMTKData

OMTKLogic

MMECalculator

run '_refresh.sh' and you should be good to go.