temporarily set hard coded error when no profile found

This commit is contained in:
Matti Uusitalo 2018-12-03 13:48:40 +02:00 committed by Eeva Turkka
parent 3f21bfb560
commit e13bc28b42
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ public class FhirInstanceValidator extends BaseValidatorBridge implements IValid
v.setResourceIdRule(IdStatus.OPTIONAL);
v.setNoTerminologyChecks(isNoTerminologyChecks());
v.setMyEnableWhenEvaluator(enableWhenEvaluatorSupplier.apply(wrappedWorkerContext));
v.setErrorForUnknownProfiles(true); // TODO must be configurable instead of hardcoded to be always true
List<ValidationMessage> messages = new ArrayList<>();