diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java index 1a6cfaaac3..4d6f6d4a8e 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java @@ -816,7 +816,7 @@ public String evaluateFhirPath(String source, String expression) throws FHIRExce FHIRPathEngine fpe = this.getValidator(null).getFHIRPathEngine(); Element e = Manager.parseSingle(context, new ByteArrayInputStream(cnt.getFocus().getBytes()), cnt.getCntType()); ExpressionNode exp = fpe.parse(expression); - return fpe.evaluateToString(new ValidationContext(context, e), e, e, e, exp); + return fpe.evaluateToString(new ValidationContext(context), e, e, e, exp); } public StructureDefinition snapshot(String source, String version) throws FHIRException, IOException {