Fix handling of cross version extensions on choice types
This commit is contained in:
parent
fb1a08dca8
commit
e4d886dfec
|
@ -67,6 +67,9 @@ public class XVerExtensionManager {
|
|||
}
|
||||
JsonObject root = lists.get(v);
|
||||
JsonObject path = root.getAsJsonObject(e);
|
||||
if (path == null) {
|
||||
path = root.getAsJsonObject(e+"[x]");
|
||||
}
|
||||
if (path == null) {
|
||||
return XVerExtensionStatus.Unknown;
|
||||
}
|
||||
|
@ -90,6 +93,9 @@ public class XVerExtensionManager {
|
|||
String e = url.substring(54);
|
||||
JsonObject root = lists.get(verSource);
|
||||
JsonObject path = root.getAsJsonObject(e);
|
||||
if (path == null) {
|
||||
path = root.getAsJsonObject(e+"[x]");
|
||||
}
|
||||
|
||||
StructureDefinition sd = new StructureDefinition();
|
||||
sd.setUserData(XVER_EXT_MARKER, "true");
|
||||
|
|
Loading…
Reference in New Issue