minor vs logging fixes
This commit is contained in:
parent
006958cf88
commit
3eb8ad3ab1
|
@ -1229,7 +1229,7 @@ public class ValueSetRenderer extends TerminologyRenderer {
|
|||
} else if ("concept".equals(f.getProperty()) && inc.hasSystem()) {
|
||||
wli.addText(f.getValue());
|
||||
ValidationResult vr = getContext().getWorker().validateCode(getContext().getTerminologyServiceOptions(), inc.getSystem(), inc.getVersion(), f.getValue(), null);
|
||||
if (vr.isOk()) {
|
||||
if (vr.isOk() && vr.getDisplay() != null) {
|
||||
wli.tx(" ("+vr.getDisplay()+")");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -750,7 +750,7 @@ public class TerminologyCache {
|
|||
}
|
||||
|
||||
public String summary(Coding code) {
|
||||
return code.getSystem()+"#"+code.getCode()+": \""+code.getDisplay()+"\"";
|
||||
return code.getSystem()+"#"+code.getCode()+(code.hasDisplay() ? ": \""+code.getDisplay()+"\"" : "");
|
||||
}
|
||||
|
||||
public String summary(CodeableConcept code) {
|
||||
|
|
Loading…
Reference in New Issue