mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
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…
x
Reference in New Issue
Block a user