fix bug in Element.toString

This commit is contained in:
Grahame Grieve 2020-01-16 23:36:57 +11:00
parent e0add75d2f
commit 494b268d0b
1 changed files with 1 additions and 1 deletions

View File

@ -2336,7 +2336,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType {
if (hasTargetProfile()) { if (hasTargetProfile()) {
res = res + "->("; res = res + "->(";
boolean first = true; boolean first = true;
for (CanonicalType s : getProfile()) { for (CanonicalType s : getTargetProfile()) {
if (first) first = false; else res = res + "|"; if (first) first = false; else res = res + "|";
res = res + s.getValue(); res = res + s.getValue();
} }