From 22ec0924daf36c5eaef994361f5415686aa6a722 Mon Sep 17 00:00:00 2001 From: Oliver Egger Date: Fri, 10 Jan 2020 21:33:29 +0100 Subject: [PATCH] logical model not as resource (create xsi:type) --- .../src/main/java/org/hl7/fhir/r5/elementmodel/Property.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/Property.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/Property.java index aeb5e927a..0d17634d8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/Property.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/Property.java @@ -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() {