fix rendering of constraints when source is populated
This commit is contained in:
parent
54f8ca7600
commit
41d7c652ec
|
@ -3521,7 +3521,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
}
|
||||
}
|
||||
for (ElementDefinitionConstraintComponent inv : definition.getConstraint()) {
|
||||
if (!inv.hasSource() || allInvariants) {
|
||||
if (!inv.hasSource() || inv.getSource().equals(profile.getUrl()) || allInvariants) {
|
||||
if (!c.getPieces().isEmpty())
|
||||
c.addPiece(gen.new Piece("br"));
|
||||
c.getPieces().add(checkForNoChange(inv, gen.new Piece(null, inv.getKey()+": ", null).addStyle("font-weight:bold")));
|
||||
|
|
Loading…
Reference in New Issue