Fix bug where discriminating on erroneous URL
This commit is contained in:
parent
da91f17011
commit
1625c171ae
|
@ -4839,7 +4839,7 @@ public class FHIRPathEngine {
|
|||
while (exsd!=null && !exsd.getBaseDefinition().equals("http://hl7.org/fhir/StructureDefinition/Extension")) {
|
||||
exsd = worker.fetchResource(StructureDefinition.class, exsd.getBaseDefinition());
|
||||
}
|
||||
if (exsd.getUrl().equals(targetUrl)) {
|
||||
if (exsd != null && exsd.getUrl().equals(targetUrl)) {
|
||||
if (profileUtilities.getChildMap(sd, t).isEmpty()) {
|
||||
sd = exsd;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue