Search in sources :

Example 21 with ModelManager

use of org.cqframework.cql.cql2elm.ModelManager in project quality-measure-and-cohort-service by Alvearie.

the class CqlToElmTranslator method newModelManager.

public ModelManager newModelManager() {
    ModelManager modelManager = new ModelManager();
    modelManager.getModelInfoLoader().registerModelInfoProvider(modelInfoProvider);
    return modelManager;
}
Also used : ModelManager(org.cqframework.cql.cql2elm.ModelManager)

Aggregations

ModelManager (org.cqframework.cql.cql2elm.ModelManager)21 LibraryManager (org.cqframework.cql.cql2elm.LibraryManager)19 CqlTranslator (org.cqframework.cql.cql2elm.CqlTranslator)17 BeforeTest (org.testng.annotations.BeforeTest)14 ByteArrayInputStream (java.io.ByteArrayInputStream)2 HashMap (java.util.HashMap)2 Map (java.util.Map)2 CqlTranslatorException (org.cqframework.cql.cql2elm.CqlTranslatorException)2 FhirLibrarySourceProvider (org.cqframework.cql.cql2elm.FhirLibrarySourceProvider)2 Library (org.cqframework.cql.elm.execution.Library)2 ExpressionDef (org.hl7.elm.r1.ExpressionDef)2 Library (org.hl7.elm.r1.Library)2 FhirContext (ca.uhn.fhir.context.FhirContext)1 CqlEvaluationRequest (com.ibm.cohort.cql.evaluation.CqlEvaluationRequest)1 CqlEvaluationRequests (com.ibm.cohort.cql.evaluation.CqlEvaluationRequests)1 CqlLibrary (com.ibm.cohort.cql.library.CqlLibrary)1 CqlLibraryDescriptor (com.ibm.cohort.cql.library.CqlLibraryDescriptor)1 CqlLibraryProvider (com.ibm.cohort.cql.library.CqlLibraryProvider)1 Format (com.ibm.cohort.cql.library.Format)1 ContextDefinition (com.ibm.cohort.cql.spark.aggregation.ContextDefinition)1