fix todo in validator

This commit is contained in:
Grahame Grieve 2019-12-16 23:36:43 +11:00
parent 930ab92929
commit ac923179d1
1 changed files with 4 additions and 2 deletions

View File

@ -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