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()) {
res = res + "->(";
boolean first = true;
for (CanonicalType s : getProfile()) {
for (CanonicalType s : getTargetProfile()) {
if (first) first = false; else res = res + "|";
res = res + s.getValue();
}