diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfilePathProcessor.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfilePathProcessor.java index 7de724743..9eef03c70 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfilePathProcessor.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/profile/ProfilePathProcessor.java @@ -559,7 +559,7 @@ public class ProfilePathProcessor { } } if (!allowedTypes.isEmpty()) { - if (currentBasePath.contains("xtension.value")) { + if (currentBasePath.contains("xtension.value") && shortCut) { for (Iterator iter = elementDefinition.getType().iterator(); iter.hasNext(); ) { ElementDefinition.TypeRefComponent tr = iter.next(); if (allowedTypes.contains(tr.getCode())) {