@Test
public void evaluateShouldFilterPatientsWithAllParams() throws Exception {

	Concept concept = Context.getConceptService().getConcept(409);
	cd.setCreatedOnOrAfter(DateUtil.getDateTime(2015, 01, 10));
	cd.setCreatedOnOrBefore(DateUtil.getDateTime(2015, 01, 14));
	cd.setConditionCoded(concept);
	cd.setConditionNonCoded("NON-CODED-CONDITION2");
	Cohort cohort = Context.getService(CohortDefinitionService.class).evaluate(cd, null);
	Assert.assertTrue(cohort.contains(1));
	Assert.assertTrue(cohort.contains(2));
	Assert.assertEquals(2, cohort.size());
}