mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 09:29:13 +00:00
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…
x
Reference in New Issue
Block a user