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);
|
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;
|
CacheToken cacheToken = txCache != null ? txCache.generateValidationToken(options, code, vs) : null;
|
||||||
ValidationResult res = null;
|
ValidationResult res = null;
|
||||||
if (txCache != null)
|
if (txCache != null)
|
||||||
|
@ -553,8 +553,8 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
try {
|
try {
|
||||||
Parameters pIn = new Parameters();
|
Parameters pIn = new Parameters();
|
||||||
pIn.addParameter().setName("coding").setValue(code);
|
pIn.addParameter().setName("coding").setValue(code);
|
||||||
if (implySystem)
|
if (inferSystem)
|
||||||
pIn.addParameter().setName("implySystem").setValue(new BooleanType(true));
|
pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true));
|
||||||
if (options != null)
|
if (options != null)
|
||||||
setTerminologyOptions(options, pIn);
|
setTerminologyOptions(options, pIn);
|
||||||
res = validateOnServer(vs, pIn);
|
res = validateOnServer(vs, pIn);
|
||||||
|
|
|
@ -914,7 +914,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
Parameters pIn = new Parameters();
|
Parameters pIn = new Parameters();
|
||||||
pIn.addParameter().setName("coding").setValue(t.getCoding());
|
pIn.addParameter().setName("coding").setValue(t.getCoding());
|
||||||
if (options.isGuessSystem()) {
|
if (options.isGuessSystem()) {
|
||||||
pIn.addParameter().setName("implySystem").setValue(new BooleanType(true));
|
pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true));
|
||||||
}
|
}
|
||||||
if (vs != null) {
|
if (vs != null) {
|
||||||
pIn.addParameter().setName("valueSet").setResource(vs);
|
pIn.addParameter().setName("valueSet").setResource(vs);
|
||||||
|
@ -1030,7 +1030,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
Parameters pIn = new Parameters();
|
Parameters pIn = new Parameters();
|
||||||
pIn.addParameter().setName("coding").setValue(code);
|
pIn.addParameter().setName("coding").setValue(code);
|
||||||
if (options.isGuessSystem()) {
|
if (options.isGuessSystem()) {
|
||||||
pIn.addParameter().setName("implySystem").setValue(new BooleanType(true));
|
pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true));
|
||||||
}
|
}
|
||||||
setTerminologyOptions(options, pIn);
|
setTerminologyOptions(options, pIn);
|
||||||
res = validateOnServer(vs, pIn, options);
|
res = validateOnServer(vs, pIn, options);
|
||||||
|
|
|
@ -1271,7 +1271,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
Parameters pIn = new Parameters();
|
Parameters pIn = new Parameters();
|
||||||
pIn.addParameter().setName("coding").setValue(coding);
|
pIn.addParameter().setName("coding").setValue(coding);
|
||||||
if (options.isGuessSystem()) {
|
if (options.isGuessSystem()) {
|
||||||
pIn.addParameter().setName("implySystem").setValue(new BooleanType(true));
|
pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true));
|
||||||
}
|
}
|
||||||
setTerminologyOptions(options, pIn);
|
setTerminologyOptions(options, pIn);
|
||||||
return pIn;
|
return pIn;
|
||||||
|
@ -1288,7 +1288,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
Parameters pIn = new Parameters();
|
Parameters pIn = new Parameters();
|
||||||
pIn.addParameter().setName("coding").setValue(codingValidationRequest.getCoding());
|
pIn.addParameter().setName("coding").setValue(codingValidationRequest.getCoding());
|
||||||
if (options.isGuessSystem()) {
|
if (options.isGuessSystem()) {
|
||||||
pIn.addParameter().setName("implySystem").setValue(new BooleanType(true));
|
pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true));
|
||||||
}
|
}
|
||||||
if (valueSet != null) {
|
if (valueSet != null) {
|
||||||
pIn.addParameter().setName("valueSet").setResource(valueSet);
|
pIn.addParameter().setName("valueSet").setResource(valueSet);
|
||||||
|
@ -1301,7 +1301,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
Parameters pIn = new Parameters();
|
Parameters pIn = new Parameters();
|
||||||
pIn.addParameter().setName("coding").setValue(codingValidationRequest.getCoding());
|
pIn.addParameter().setName("coding").setValue(codingValidationRequest.getCoding());
|
||||||
if (options.isGuessSystem()) {
|
if (options.isGuessSystem()) {
|
||||||
pIn.addParameter().setName("implySystem").setValue(new BooleanType(true));
|
pIn.addParameter().setName("inferSystem").setValue(new BooleanType(true));
|
||||||
}
|
}
|
||||||
if (vsUrl != null) {
|
if (vsUrl != null) {
|
||||||
pIn.addParameter().setName("url").setValue(new CanonicalType(vsUrl));
|
pIn.addParameter().setName("url").setValue(new CanonicalType(vsUrl));
|
||||||
|
|
Loading…
Reference in New Issue