Fix bug processing extension with explicit type slicing
This commit is contained in:
parent
bf4b029b4b
commit
0cc46e5a44
|
@ -559,7 +559,7 @@ public class ProfilePathProcessor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!allowedTypes.isEmpty()) {
|
if (!allowedTypes.isEmpty()) {
|
||||||
if (currentBasePath.contains("xtension.value")) {
|
if (currentBasePath.contains("xtension.value") && shortCut) {
|
||||||
for (Iterator<ElementDefinition.TypeRefComponent> iter = elementDefinition.getType().iterator(); iter.hasNext(); ) {
|
for (Iterator<ElementDefinition.TypeRefComponent> iter = elementDefinition.getType().iterator(); iter.hasNext(); ) {
|
||||||
ElementDefinition.TypeRefComponent tr = iter.next();
|
ElementDefinition.TypeRefComponent tr = iter.next();
|
||||||
if (allowedTypes.contains(tr.getCode())) {
|
if (allowedTypes.contains(tr.getCode())) {
|
||||||
|
|
Loading…
Reference in New Issue