Common library works in CQL but fails when running tests

XMLWordPrintable

    • Type: Bug/Issue
    • Resolution: Resolved
    • Priority: Major
    • Component/s: None
    • None
    • MADiE
    • QI-Core
    • Excessive Radiation Dose or Inadequate Image Quality for Diagnostic Computed Tomography in Adults - Clinician FHIR
    • CMS1056FHIR
    • QI-Core/CQL
    • All
    • Yes

      In the QDM measures in MAT we were asked to move some common functions to a library so we created an AlaraCommonFunctions library. In MADiE we are now updating the measures to align with the changes to QDM in MAT so we created a library there as well. When I include this library in the Measure and call the functions the CQL saves successfully and there are no errors. However, when I run test cases I get the following error

      The following error occurred in the cql-execution engine: Encountered unexpected error during execution. Error Message: Cannot read properties of undefined (reading 'filter') CQL Library: AlaraCommonFunctions|1.2.000 Expression: FunctionRef ELM Local ID: 206 CQL Locator: 40:13-40:18

       

            Assignee:
            Chandra Bartleman (Inactive)
            Reporter:
            Michael Holck
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: