@Test
public void testGetConditonSearchAdavanced() throws Exception {

	CohortDefinition cd = library.getConditonSearchAdvanced();
	assertTrue(ConditionCohortDefinition.class.isAssignableFrom(cd.getClass()));
	assertThat(cd, hasParameter("onsetDateOnOrBefore", Date.class));
    assertThat(cd, hasParameter("onsetDateOnOrAfter", Date.class));
    assertThat(cd, hasParameter("endDateOnOrBefore", Date.class));
    assertThat(cd, hasParameter("endDateOnOrAfter", Date.class));
    assertThat(cd, hasParameter("createdOnOrBefore", Date.class));
    assertThat(cd, hasParameter("createdOnOrAfter", Date.class));
    assertThat(cd, hasParameter("activeOnDate", Date.class));
    assertThat(cd, hasParameter("conditionNonCoded", String.class));
    assertThat(cd, hasParameter("conditionCoded", Concept.class));
}