diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java index 450743507..0af7171b4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/FHIRPathEngine.java @@ -1449,7 +1449,8 @@ public class FHIRPathEngine { private List opIs(List left, List right) { List result = new ArrayList(); - if (left.size() != 1 || right.size() != 1) + if (left.size() == 0 || right.size() == 0) { + } else if (left.size() != 1 || right.size() != 1) result.add(new BooleanType(false).noExtensions()); else { String tn = convertToString(right);