fix bug with base definitions not working properly for logical models
This commit is contained in:
parent
3f219b7550
commit
78ab95ff1c
|
@ -2989,7 +2989,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
||||||
}
|
}
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
StructureDefinition sdt = context.fetchTypeDefinition(tt);
|
StructureDefinition sdt = context.fetchTypeDefinition(tt);
|
||||||
if (sdt != null && sdt.getAbstract()) {
|
if (sdt != null && (sdt.getAbstract() || sdt.getKind() == StructureDefinitionKind.LOGICAL)) {
|
||||||
StructureDefinition sdb = context.fetchTypeDefinition(t);
|
StructureDefinition sdb = context.fetchTypeDefinition(t);
|
||||||
while (sdb != null && !ok) {
|
while (sdb != null && !ok) {
|
||||||
ok = sdb.getType().equals(sdt.getType());
|
ok = sdb.getType().equals(sdt.getType());
|
||||||
|
|
Loading…
Reference in New Issue