make parent property a link
This commit is contained in:
parent
ef401d0fe8
commit
aa46d3698d
|
@ -4,4 +4,4 @@
|
||||||
|
|
||||||
## Other code changes
|
## Other code changes
|
||||||
|
|
||||||
* no changes
|
* Library changes for IG-publisher
|
|
@ -541,6 +541,8 @@ public class CodeSystemRenderer extends TerminologyRenderer {
|
||||||
td.addText(pcv.getValueCoding().getCode());
|
td.addText(pcv.getValueCoding().getCode());
|
||||||
} else if (pcv.hasValueStringType() && Utilities.isAbsoluteUrlLinkable(pcv.getValue().primitiveValue())) {
|
} else if (pcv.hasValueStringType() && Utilities.isAbsoluteUrlLinkable(pcv.getValue().primitiveValue())) {
|
||||||
td.ah(pcv.getValue().primitiveValue()).tx(pcv.getValue().primitiveValue());
|
td.ah(pcv.getValue().primitiveValue()).tx(pcv.getValue().primitiveValue());
|
||||||
|
} else if ("parent".equals(pcv.getCode())) {
|
||||||
|
td.ah("#"+cs.getId()+"-"+pcv.getValue().primitiveValue()).addText(pcv.getValue().primitiveValue());
|
||||||
} else {
|
} else {
|
||||||
td.addText(pcv.getValue().primitiveValue());
|
td.addText(pcv.getValue().primitiveValue());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue