It is allowed to have empty candidate search params, so validator test is, ironically, invalid
@@ -76,16 +76,6 @@ public class EmpiRuleValidatorTest extends BaseR4Test {
}
}
- @Test
- public void testMatcherEmptyCandidateSearchParams() throws IOException {
- try {
- setEmpiRuleJson("bad-rules-missing-candidate-search-params.json");
- fail();
- } catch (ConfigurationException e) {
- assertThat(e.getMessage(), startsWith("Error in candidateSearchParams: Patient does not have a search parameter called 'foo'"));
- }
- }
-
@Test
public void testMatcherBadFilter() throws IOException {
try {
