Skip to content

Commit

Permalink
Merge pull request #1654 from ahdis/oe_valcli_fhirpath_1650
Browse files Browse the repository at this point in the history
cli fhirpath #1650
  • Loading branch information
grahamegrieve authored Jun 25, 2024
2 parents 6830785 + 74a2018 commit 852f2e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 852f2e1

Please sign in to comment.