mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-08 22:04:45 +00:00
Fix for wrong reference to Any in cross version extensions
This commit is contained in:
parent
c4a396546a
commit
d83d6e54a4
@ -135,7 +135,11 @@ public class XVerExtensionManager {
|
|||||||
if (hasTargets(tr.getCode()) ) {
|
if (hasTargets(tr.getCode()) ) {
|
||||||
s = s.substring(t.length()+1);
|
s = s.substring(t.length()+1);
|
||||||
for (String p : s.substring(0, s.length()-1).split("\\|")) {
|
for (String p : s.substring(0, s.length()-1).split("\\|")) {
|
||||||
tr.addTargetProfile("http://hl7.org/fhir/StructureDefinition/"+p);
|
if ("Any".equals(p)) {
|
||||||
|
tr.addTargetProfile("http://hl7.org/fhir/StructureDefinition/Resource");
|
||||||
|
} else {
|
||||||
|
tr.addTargetProfile("http://hl7.org/fhir/StructureDefinition/"+p);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user