logical model not as resource (create xsi:type)

This commit is contained in:
Oliver Egger 2020-01-10 21:33:29 +01:00
parent e0d2b2a00d
commit 22ec0924da
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class Property {
if (definition.getType().size() > 0)
return definition.getType().size() == 1 && ("Resource".equals(definition.getType().get(0).getCode()) || "DomainResource".equals(definition.getType().get(0).getCode()));
else
return !definition.getPath().contains(".") && (structure.getKind() == StructureDefinitionKind.RESOURCE || structure.getKind() == StructureDefinitionKind.LOGICAL);
return !definition.getPath().contains(".") && (structure.getKind() == StructureDefinitionKind.RESOURCE);
}
public boolean isList() {