Merge pull request #1654 from ahdis/oe_valcli_fhirpath_1650
cli fhirpath #1650
This commit is contained in:
commit
852f2e139d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue