From 1d4eefa62bb7acd4596d539d8977203b68e3a45d Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Sun, 13 Aug 2023 19:55:52 +1000 Subject: [PATCH] Rename implySystem to inferSystem per TI decision --- .../java/org/hl7/fhir/r4/context/BaseWorkerContext.java | 6 +++--- .../java/org/hl7/fhir/r4b/context/BaseWorkerContext.java | 4 ++-- .../java/org/hl7/fhir/r5/context/BaseWorkerContext.java | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/context/BaseWorkerContext.java b/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/context/BaseWorkerContext.java index b8e671395..6cc306e03 100644 --- a/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/context/BaseWorkerContext.java +++ b/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/context/BaseWorkerContext.java @@ -523,7 +523,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte return doValidateCode(options, code, vs, false); } - public ValidationResult doValidateCode(ValidationOptions options, Coding code, ValueSet vs, boolean implySystem) { + public ValidationResult doValidateCode(ValidationOptions options, Coding code, ValueSet vs, boolean inferSystem) { CacheToken cacheToken = txCache != null ? txCache.generateValidationToken(options, code, vs) : null; ValidationResult res = null; if (txCache != null) @@ -553,8 +553,8 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte try { Parameters pIn = new Parameters(); pIn.addParameter().setName("coding").setValue(code); - if (implySystem) - pIn.addParameter().setName("implySystem").setValue(new BooleanType(true)); + if (inferSystem) + pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true)); if (options != null) setTerminologyOptions(options, pIn); res = validateOnServer(vs, pIn); diff --git a/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/context/BaseWorkerContext.java b/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/context/BaseWorkerContext.java index 5adc72f2c..a0ade7a31 100644 --- a/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/context/BaseWorkerContext.java +++ b/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/context/BaseWorkerContext.java @@ -914,7 +914,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte Parameters pIn = new Parameters(); pIn.addParameter().setName("coding").setValue(t.getCoding()); if (options.isGuessSystem()) { - pIn.addParameter().setName("implySystem").setValue(new BooleanType(true)); + pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true)); } if (vs != null) { pIn.addParameter().setName("valueSet").setResource(vs); @@ -1030,7 +1030,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte Parameters pIn = new Parameters(); pIn.addParameter().setName("coding").setValue(code); if (options.isGuessSystem()) { - pIn.addParameter().setName("implySystem").setValue(new BooleanType(true)); + pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true)); } setTerminologyOptions(options, pIn); res = validateOnServer(vs, pIn, options); diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java index 401a126b5..efcc3ff5b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java @@ -1271,7 +1271,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte Parameters pIn = new Parameters(); pIn.addParameter().setName("coding").setValue(coding); if (options.isGuessSystem()) { - pIn.addParameter().setName("implySystem").setValue(new BooleanType(true)); + pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true)); } setTerminologyOptions(options, pIn); return pIn; @@ -1288,7 +1288,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte Parameters pIn = new Parameters(); pIn.addParameter().setName("coding").setValue(codingValidationRequest.getCoding()); if (options.isGuessSystem()) { - pIn.addParameter().setName("implySystem").setValue(new BooleanType(true)); + pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true)); } if (valueSet != null) { pIn.addParameter().setName("valueSet").setResource(valueSet); @@ -1301,7 +1301,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte Parameters pIn = new Parameters(); pIn.addParameter().setName("coding").setValue(codingValidationRequest.getCoding()); if (options.isGuessSystem()) { - pIn.addParameter().setName("implySystem").setValue(new BooleanType(true)); + pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true)); } if (vsUrl != null) { pIn.addParameter().setName("url").setValue(new CanonicalType(vsUrl));