Rename implySystem to inferSystem per TI decision

This commit is contained in:
Grahame Grieve 2023-08-13 19:55:52 +10:00
parent 2474c198c7
commit 1d4eefa62b
3 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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