fix missed file
This commit is contained in:
parent
6123909533
commit
eb149f5abd
|
@ -157,6 +157,7 @@ import org.hl7.fhir.r5.utils.ToolingExtensions;
|
||||||
import org.hl7.fhir.r5.utils.XVerExtensionManager;
|
import org.hl7.fhir.r5.utils.XVerExtensionManager;
|
||||||
import org.hl7.fhir.r5.utils.XVerExtensionManager.XVerExtensionStatus;
|
import org.hl7.fhir.r5.utils.XVerExtensionManager.XVerExtensionStatus;
|
||||||
import org.hl7.fhir.r5.utils.sql.Validator;
|
import org.hl7.fhir.r5.utils.sql.Validator;
|
||||||
|
import org.hl7.fhir.r5.utils.sql.Validator.TrueFalseOrUnknown;
|
||||||
import org.hl7.fhir.r5.utils.validation.BundleValidationRule;
|
import org.hl7.fhir.r5.utils.validation.BundleValidationRule;
|
||||||
import org.hl7.fhir.r5.utils.validation.IMessagingServices;
|
import org.hl7.fhir.r5.utils.validation.IMessagingServices;
|
||||||
import org.hl7.fhir.r5.utils.validation.IResourceValidator;
|
import org.hl7.fhir.r5.utils.validation.IResourceValidator;
|
||||||
|
@ -5936,7 +5937,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
||||||
} else if ("http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ViewDefinition".equals(element.getProperty().getStructure().getUrl())) {
|
} else if ("http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ViewDefinition".equals(element.getProperty().getStructure().getUrl())) {
|
||||||
if (element.getNativeObject() != null && element.getNativeObject() instanceof JsonObject) {
|
if (element.getNativeObject() != null && element.getNativeObject() instanceof JsonObject) {
|
||||||
JsonObject json = (JsonObject) element.getNativeObject();
|
JsonObject json = (JsonObject) element.getNativeObject();
|
||||||
Validator sqlv = new Validator(context, fpe, new ArrayList<>(), null, null, null);
|
Validator sqlv = new Validator(context, fpe, new ArrayList<>(), TrueFalseOrUnknown.UNKNOWN, TrueFalseOrUnknown.UNKNOWN, TrueFalseOrUnknown.UNKNOWN);
|
||||||
sqlv.checkViewDefinition(stack.getLiteralPath(), json);
|
sqlv.checkViewDefinition(stack.getLiteralPath(), json);
|
||||||
errors.addAll(sqlv.getIssues());
|
errors.addAll(sqlv.getIssues());
|
||||||
ok = sqlv.isOk() && ok;
|
ok = sqlv.isOk() && ok;
|
||||||
|
|
Loading…
Reference in New Issue