render target profiles on operation definition parameters

This commit is contained in:
Grahame Grieve 2024-01-18 11:40:46 +11:00
parent 210ad10b2f
commit da5e389fd3
1 changed files with 4 additions and 7 deletions

View File

@ -3449,10 +3449,12 @@ public class ProfileUtilities extends TranslatingUtilities {
@Override
public int compare(ElementDefinitionHolder o1, ElementDefinitionHolder o2) {
if (o1.getBaseIndex() == 0)
if (o1.getBaseIndex() == 0) {
o1.setBaseIndex(find(o1.getSelf().getPath(), true));
if (o2.getBaseIndex() == 0)
}
if (o2.getBaseIndex() == 0) {
o2.setBaseIndex(find(o2.getSelf().getPath(), true));
}
return o1.getBaseIndex() - o2.getBaseIndex();
}
@ -3545,11 +3547,6 @@ public class ProfileUtilities extends TranslatingUtilities {
}
paths.add(elt.getPath());
}
if(!hasSlicing) {
// if Differential does not have slicing then safe to pre-sort the list
// so elements and subcomponents are together
Collections.sort(diffList, new ElementNameCompare());
}
processElementsIntoTree(edh, i, diff.getDifferential().getElement());