fix failing JUnit test
This commit is contained in:
parent
503021c9a6
commit
a5060d9475
|
@ -239,7 +239,12 @@ public class FHIRPathEngine {
|
|||
if (type != null) {
|
||||
return tn.equals(type);
|
||||
} else {
|
||||
return element.hasType(tn);
|
||||
for (TypeRefComponent t : element.getType()) {
|
||||
if (tn.equals(t.getCode())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue