@Test
public void evaluateShouldReturnAllPatientsCurrentlyNotActiveOnDrugs() throws Exception { 

	
	cohortDefinition.setActiveOnOrBefore(DateUtils.addDays(new Date(2013, 12, 2), -1));
	Cohort cohort = Context.getService(CohortDefinitionService.class).evaluate(cohortDefinition, null);
	Assert.assertTrue(cohort.contains(8));
	Assert.assertTrue(cohort.contains(2));
	Assert.assertTrue(cohort.contains(21));
	Assert.assertEquals(3, cohort.size());
}