prevent NPE in slicing rendering

This commit is contained in:
Grahame Grieve 2020-05-18 06:18:28 +10:00
parent 14d0c126e1
commit 38849214fc
1 changed files with 1 additions and 1 deletions

View File

@ -4252,7 +4252,7 @@ public class ProfileUtilities extends TranslatingUtilities {
private String commas(List<ElementDefinitionSlicingDiscriminatorComponent> list) {
CommaSeparatedStringBuilder c = new CommaSeparatedStringBuilder();
for (ElementDefinitionSlicingDiscriminatorComponent id : list)
c.append(id.getType().toCode()+":"+id.getPath());
c.append((id.hasType() ? id.getType().toCode() : "??")+":"+id.getPath());
return c.toString();
}