fix bug in processing excludes with filters in value sets

This commit is contained in:
Grahame Grieve 2020-11-13 14:41:45 +11:00
parent 8c0523f3fa
commit 74db1523c5
1 changed files with 2 additions and 3 deletions

View File

@ -523,14 +523,13 @@ public class ValueSetCheckerSimple implements ValueSetChecker {
} else {
if (vsi.hasFilter()) {
boolean ok = true;
for (ConceptSetFilterComponent f : vsi.getFilter())
for (ConceptSetFilterComponent f : vsi.getFilter()) {
if (!codeInFilter(cs, system, f, code)) {
ok = false;
break;
}
if (ok) {
return true;
}
return ok;
}
List<ConceptDefinitionComponent> list = cs.getConcept();