Rename implySystem to inferSystem per TI decision
This commit is contained in:
parent
2474c198c7
commit
1d4eefa62b
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue