fix value set validation for primitive types when an expansion is provided, and the code system is not known
This commit is contained in:
parent
2e7e277c97
commit
9d22337929
|
@ -164,6 +164,9 @@ public class ValueSetCheckerSimple implements ValueSetChecker {
|
||||||
throw new FHIRException("Unable to evaluate based on empty code system");
|
throw new FHIRException("Unable to evaluate based on empty code system");
|
||||||
}
|
}
|
||||||
res = validateCode(code, cs);
|
res = validateCode(code, cs);
|
||||||
|
} else if (cs == null && valueset.hasExpansion() && inExpansion) {
|
||||||
|
// we just take the value set as face value then
|
||||||
|
res = new ValidationResult(IssueSeverity.INFORMATION, null);
|
||||||
} else {
|
} else {
|
||||||
// well, we didn't find a code system - try the expansion?
|
// well, we didn't find a code system - try the expansion?
|
||||||
// disabled waiting for discussion
|
// disabled waiting for discussion
|
||||||
|
|
Loading…
Reference in New Issue