fix in condition in FHIRPath engine

This commit is contained in:
Grahame Grieve 2019-02-07 15:17:42 +11:00
parent 483e0a3e80
commit d1c9de3d8b
1 changed files with 3 additions and 1 deletions

View File

@ -1906,8 +1906,10 @@ public class FHIRPathEngine {
}
private List<Base> opIn(List<Base> left, List<Base> right) throws FHIRException {
if (left.size() == 0 || right.size() == 0)
if (left.size() == 0)
return new ArrayList<Base>();
if (right.size() == 0)
return makeBoolean(false);
boolean ans = true;
for (Base l : left) {
boolean f = false;