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()) ) {
|
||||
s = s.substring(t.length()+1);
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue