fix default value for validator setting + hack work around for R5 broken process
This commit is contained in:
parent
5afbb01e45
commit
8ee4eff74c
|
@ -77,6 +77,10 @@ public class TestingUtilities extends BaseTestingUtilities {
|
|||
}
|
||||
|
||||
public static IWorkerContext context(String version) {
|
||||
if ("4.5.0".equals(version)) {
|
||||
version = "4.4.0"; // temporary work around
|
||||
}
|
||||
|
||||
String v = VersionUtilities.getMajMin(version);
|
||||
if (fcontexts == null) {
|
||||
fcontexts = new HashMap<>();
|
||||
|
|
|
@ -77,6 +77,9 @@ public class VersionUtilities {
|
|||
if (v != null && v.startsWith(CURRENT_VERSION)) {
|
||||
return "hl7.fhir.r5.core";
|
||||
}
|
||||
if ("4.4.0".equals(v)) {
|
||||
return "hl7.fhir.r5.core";
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -365,7 +365,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
|||
private ProfileUtilities profileUtilities;
|
||||
private boolean crumbTrails;
|
||||
private List<BundleValidationRule> bundleValidationRules = new ArrayList<>();
|
||||
private boolean validateValueSetCodesOnTxServer;
|
||||
private boolean validateValueSetCodesOnTxServer = true;
|
||||
|
||||
public InstanceValidator(IWorkerContext theContext, IEvaluationContext hostServices) {
|
||||
super(theContext);
|
||||
|
|
Loading…
Reference in New Issue