@Test
public void testgetDrugOrderSearch() throws Exception {

    CohortDefinition drugOrderCohortDefinition = library.getDrugOrderSearch();
    assertTrue(DrugOrderCohortDefinition.class.isAssignableFrom(drugOrderCohortDefinition.getClass()));
    assertThat(drugOrderCohortDefinition, hasParameter("which", Match.class));
    assertThat(drugOrderCohortDefinition, hasParameter("drugConcepts", Concept.class, List.class));
    assertThat(drugOrderCohortDefinition, hasParameter("drugSets", Concept.class, List.class));
    assertThat(drugOrderCohortDefinition, hasParameter("activatedOnOrBefore", Date.class));
    assertThat(drugOrderCohortDefinition, hasParameter("activatedOnOrAfter", Date.class));
    assertThat(drugOrderCohortDefinition, hasParameter("activeOnOrBefore", Date.class));
    assertThat(drugOrderCohortDefinition, hasParameter("activeOnOrAfter", Date.class));
    assertThat(drugOrderCohortDefinition, hasParameter("activeOnDate", Date.class));
    assertThat(drugOrderCohortDefinition, hasParameter("careSetting", CareSetting.class));
    assertThat(drugOrderCohortDefinition, hasParameter("drugs", Drug.class, List.class));
}