Fix bug in DiagnosticReportRenderer (wrong element accessed)
This commit is contained in:
parent
4add0f3ac8
commit
800e381629
|
@ -570,8 +570,9 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
||||||
CacheToken cacheToken = txCache.generateExpandToken(vs, hierarchical);
|
CacheToken cacheToken = txCache.generateExpandToken(vs, hierarchical);
|
||||||
ValueSetExpansionOutcome res;
|
ValueSetExpansionOutcome res;
|
||||||
res = txCache.getExpansion(cacheToken);
|
res = txCache.getExpansion(cacheToken);
|
||||||
if (res != null)
|
if (res != null) {
|
||||||
return res;
|
return res;
|
||||||
|
}
|
||||||
Parameters p = expParameters.copy();
|
Parameters p = expParameters.copy();
|
||||||
p.setParameter("includeDefinition", false);
|
p.setParameter("includeDefinition", false);
|
||||||
p.setParameter("excludeNested", !hierarchical);
|
p.setParameter("excludeNested", !hierarchical);
|
||||||
|
|
|
@ -79,7 +79,7 @@ public class DiagnosticReportRenderer extends ResourceRenderer {
|
||||||
if (dr.has("issued")) {
|
if (dr.has("issued")) {
|
||||||
tr = tbl.tr();
|
tr = tbl.tr();
|
||||||
tr.td().tx("Reported");
|
tr.td().tx("Reported");
|
||||||
eff = (DataType) getProperty(dr, "effective[x]").value().getBase();
|
eff = (DataType) getProperty(dr, "issued").value().getBase();
|
||||||
render(tr.td(), getProperty(dr, "issued").value());
|
render(tr.td(), getProperty(dr, "issued").value());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue