diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/ValidationEngine.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/ValidationEngine.java index 6a6b395d7..8d0b8cc5a 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/ValidationEngine.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/ValidationEngine.java @@ -1600,9 +1600,11 @@ public class ValidationEngine implements IValidatorResourceFetcher { @Override public ReferenceValidationPolicy validationPolicy(Object appContext, String path, String url) { - if (!url.startsWith("http://hl7.org/fhir")) + if (!url.startsWith("http://hl7.org/fhir")) { return ReferenceValidationPolicy.IGNORE; - throw new Error("Not done yet"); + } else { + return ReferenceValidationPolicy.CHECK_EXISTS_AND_TYPE; + } } @Override