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
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):
run '_refresh.sh' and you should be good to go.