use of com.ibm.cohort.cql.evaluation.parameters.BooleanParameter in project quality-measure-and-cohort-service by Alvearie.
the class MeasureEvaluatorTest method not_in_initial_population___caregaps_evaluated_correctly.
@Test
public void not_in_initial_population___caregaps_evaluated_correctly() throws Exception {
Map<String, Parameter> parameters = new HashMap<>();
parameters.put("InInitialPopulation", new BooleanParameter(false));
expectationsByPopulationType.put(MeasurePopulationType.INITIALPOPULATION, 0);
expectationsByPopulationType.put(MeasurePopulationType.DENOMINATOR, 0);
Map<String, Integer> expectationsByCareGap = new HashMap<>();
expectationsByCareGap.put("CareGap1", 0);
expectationsByCareGap.put("CareGap2", 0);
runCareGapTest(parameters, expectationsByCareGap);
}
Aggregations