#1022 - fix expected type for Code Validation parameters
This commit is contained in:
parent
aaa53cdfb0
commit
8f9261febf
|
@ -1284,13 +1284,13 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
if (p.getName().equals("result")) {
|
if (p.getName().equals("result")) {
|
||||||
ok = ((BooleanType) p.getValue()).getValue().booleanValue();
|
ok = ((BooleanType) p.getValue()).getValue().booleanValue();
|
||||||
} else if (p.getName().equals("message")) {
|
} else if (p.getName().equals("message")) {
|
||||||
message = ((StringType) p.getValue()).getValue();
|
message = p.getValue().primitiveValue();
|
||||||
} else if (p.getName().equals("display")) {
|
} else if (p.getName().equals("display")) {
|
||||||
display = ((StringType) p.getValue()).getValue();
|
display = p.getValue().primitiveValue();
|
||||||
} else if (p.getName().equals("system")) {
|
} else if (p.getName().equals("system")) {
|
||||||
system = ((StringType) p.getValue()).getValue();
|
system = p.getValue().primitiveValue();
|
||||||
} else if (p.getName().equals("code")) {
|
} else if (p.getName().equals("code")) {
|
||||||
code = ((StringType) p.getValue()).getValue();
|
code = p.getValue().primitiveValue();
|
||||||
} else if (p.getName().equals("cause")) {
|
} else if (p.getName().equals("cause")) {
|
||||||
try {
|
try {
|
||||||
IssueType it = IssueType.fromCode(((StringType) p.getValue()).getValue());
|
IssueType it = IssueType.fromCode(((StringType) p.getValue()).getValue());
|
||||||
|
@ -2345,4 +2345,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void registerVSACRule(boolean byVersion) {
|
||||||
|
valueSets.registerSpecialRule(valueSets.new VSACRule(byVersion));
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue