From 2740371c88cd79972ef00f260f913881b3cf8299 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 17 Mar 2023 07:56:34 +1100 Subject: [PATCH] don't validate codes in value sets if terminology vlidation is turned off --- .../hl7/fhir/validation/instance/type/ValueSetValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/type/ValueSetValidator.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/type/ValueSetValidator.java index 96402bf41..99c7bbdef 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/type/ValueSetValidator.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/type/ValueSetValidator.java @@ -154,7 +154,7 @@ public class ValueSetValidator extends BaseValidator { } cc++; } - if (parent.isValidateValueSetCodesOnTxServer() && batch.size() > 0) { + if (parent.isValidateValueSetCodesOnTxServer() && batch.size() > 0 & !context.isNoTerminologyServer()) { long t = System.currentTimeMillis(); if (parent.isDebug()) { System.out.println(" : Validate "+batch.size()+" codes from "+system+" for "+vsid);