update R5 validator

This commit is contained in:
Grahame Grieve 2019-08-04 07:38:45 +10:00
parent 5ddf7d082c
commit 670ae0c79a
2 changed files with 3 additions and 2 deletions

View File

@ -634,7 +634,8 @@ public class ValidationEngine {
return FhirFormat.TEXT;
} catch (Exception e) {
}
System.out.println(" .. not a resource: "+filename);
if (debug)
System.out.println(" .. not a resource: "+filename);
return null;
}

View File

@ -384,6 +384,7 @@ public class Validator {
System.out.println(" .. connect to tx server @ "+txServer);
System.out.println(" .. definitions from "+definitions);
ValidationEngine validator = new ValidationEngine(definitions, txServer, txLog, FhirPublication.fromCode(sv));
validator.setDebug(doDebug);
System.out.println(" (v"+validator.getContext().getVersion()+")");
if (sv != null)
validator.setVersion(sv);
@ -396,7 +397,6 @@ public class Validator {
validator.setHintAboutNonMustSupport(hintAboutNonMustSupport);
validator.setAnyExtensionsAllowed(anyExtensionsAllowed);
validator.setLanguage(lang);
validator.setDebug(doDebug);
IParser x;
if (output != null && output.endsWith(".json"))