mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 18:09:08 +00:00
fix rendering of slicing in profiles
This commit is contained in:
parent
e14ff0eefe
commit
fe188da8bd
@ -3329,8 +3329,10 @@ public class ProfileUtilities extends TranslatingUtilities {
|
||||
s = "@"+s;
|
||||
String hint = "";
|
||||
hint = checkAdd(hint, (element.hasSliceName() ? translate("sd.table", "Slice")+" "+element.getSliceName() : ""));
|
||||
hint = checkAdd(hint, (hasDef && element.hasSliceName() ? ": " : ""));
|
||||
hint = checkAdd(hint, !hasDef ? null : gt(element.getDefinitionElement()));
|
||||
if (hasDef && element.hasDefinition()) {
|
||||
hint = checkAdd(hint, (hasDef && element.hasSliceName() ? ": " : ""));
|
||||
hint = checkAdd(hint, !hasDef ? null : gt(element.getDefinitionElement()));
|
||||
}
|
||||
Cell left = gen.new Cell(null, ref, s, hint, null);
|
||||
row.getCells().add(left);
|
||||
Cell gc = gen.new Cell();
|
||||
|
Loading…
x
Reference in New Issue
Block a user