mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
Do not create issue about draft dependency for example bindings
This commit is contained in:
parent
8f6f75f4bf
commit
aa5edab2ab
@ -1140,7 +1140,9 @@ public class StructureDefinitionValidator extends BaseValidator {
|
||||
if (vs != null) {
|
||||
if (rule(errors, NO_RULE_DATE, IssueType.BUSINESSRULE, stack.getLiteralPath(), vs instanceof ValueSet, I18nConstants.SD_ED_BIND_NOT_VS, path, ref, vs.fhirType())) {
|
||||
ValueSet vsr = (ValueSet) vs;
|
||||
warning(errors, "2024-09-17", IssueType.BUSINESSRULE, stack.getLiteralPath(), !vsr.getExperimental() || experimental, I18nConstants.SD_ED_EXPERIMENTAL_BINDING, path, ref);
|
||||
if (!"example".equals(binding.getNamedChildValue("strength"))) {
|
||||
warning(errors, "2024-09-17", IssueType.BUSINESSRULE, stack.getLiteralPath(), !vsr.getExperimental() || experimental, I18nConstants.SD_ED_EXPERIMENTAL_BINDING, path, ref);
|
||||
}
|
||||
} else {
|
||||
ok = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user