Merge pull request #1654 from ahdis/oe_valcli_fhirpath_1650

cli fhirpath #1650
This commit is contained in:
Grahame Grieve 2024-06-25 23:14:38 +10:00 committed by GitHub
commit 852f2e139d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,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 {