confirmed empi works

This commit is contained in:
Ken Stevens
2020-04-27 13:21:01 -04:00
parent 4f8d34cbb4
commit 1e8e64d265
3 changed files with 23 additions and 1 deletions

View File

@@ -288,6 +288,8 @@ public class JpaRestfulServer extends RestfulServer {
// Validation
IValidatorModule validatorModule;
// FIXME KHS
/*
switch (fhirVersion) {
case DSTU2:
validatorModule = appCtx.getBean("myInstanceValidatorDstu2", IValidatorModule.class);
@@ -308,6 +310,8 @@ public class JpaRestfulServer extends RestfulServer {
validatorModule = null;
break;
}
*/
validatorModule = appCtx.getBean(IValidatorModule.class);
if (validatorModule != null) {
if (HapiProperties.getValidateRequestsEnabled()) {
RequestValidatingInterceptor interceptor = new RequestValidatingInterceptor();