Test fixes

This commit is contained in:
James Agnew 2024-11-23 20:35:11 -05:00
parent 4713eeee1c
commit 59e810dee9
1 changed files with 8 additions and 6 deletions

View File

@ -491,12 +491,14 @@ public class ValidationSupportChain implements IValidationSupport {
if (retVal == null) {
retVal = CacheValue.empty();
for (IValidationSupport next : myChain) {
ValueSetExpansionOutcome expanded =
next.expandValueSet(theValidationSupportContext, expansionOptions, theValueSetUrlToExpand);
if (expanded != null) {
ourLog.debug("ValueSet {} expanded by URL by {}", theValueSetUrlToExpand, next.getName());
retVal = new CacheValue<>(expanded);
break;
if (isValueSetSupported(theValidationSupportContext, theValueSetUrlToExpand, next)) {
ValueSetExpansionOutcome expanded =
next.expandValueSet(theValidationSupportContext, expansionOptions, theValueSetUrlToExpand);
if (expanded != null) {
ourLog.debug("ValueSet {} expanded by URL by {}", theValueSetUrlToExpand, next.getName());
retVal = new CacheValue<>(expanded);
break;
}
}
}