org.opencds.cqf.cql.engine.data.SystemExternalFunctionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of engine Show documentation
Show all versions of engine Show documentation
The engine library for the Clinical Quality Language Java reference implementation
package org.opencds.cqf.cql.engine.data;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
public class SystemExternalFunctionProvider implements ExternalFunctionProvider {
private List staticFunctions;
public SystemExternalFunctionProvider(List staticFunctions) {
this.staticFunctions = staticFunctions;
}
// TODO: Support adding more functions to an existing provider object.
@Override
public Object evaluate(String staticFunctionName, List