cli fhirpath #1650

This commit is contained in:
oliveregger 2024-06-15 08:25:56 +02:00
parent b97065338d
commit 74a2018670
1 changed files with 1 additions and 1 deletions

View File

@ -815,7 +815,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
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 {