This commit is contained in:
jamesagnew 2020-01-08 05:39:44 -05:00
parent 49ed374d2f
commit 1720144cfb
2 changed files with 3 additions and 1 deletions

View File

@ -1076,7 +1076,7 @@ public abstract class BaseTermReadSvcImpl implements ITermReadSvc, ApplicationCo
if (theValueSetCodeAccumulator instanceof ValueSetExpansionComponentWithConceptAccumulator) {
Validate.isTrue(((ValueSetExpansionComponentWithConceptAccumulator) theValueSetCodeAccumulator).getParameter().isEmpty(), "Can not expand ValueSet with parameters - Hibernate Search is not enabled on this server.");
}
aaaa
Validate.isTrue(theInclude.getFilter().isEmpty(), "Can not expand ValueSet with filters - Hibernate Search is not enabled on this server.");
Validate.isTrue(isNotBlank(theSystem), "Can not expand ValueSet without explicit system - Hibernate Search is not enabled on this server.");

View File

@ -30,6 +30,7 @@ import org.hl7.fhir.r4.hapi.ctx.IValidationSupport;
import org.hl7.fhir.r4.model.*;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
@ -230,6 +231,7 @@ public class FhirResourceDaoR4SearchWithLuceneDisabledTest extends BaseJpaTest {
@Test
@Ignore
public void testExpandValueSetWithFilter() {
CodeSystem cs = new CodeSystem();
cs.setUrl("http://fooCS");