org.cqframework.cql.cql2elm.ModelInfoProviderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cql-to-elm Show documentation
Show all versions of cql-to-elm Show documentation
The cql-to-elm library for the Clinical Quality Language Java reference implementation
package org.cqframework.cql.cql2elm;
import java.util.Iterator;
import java.util.ServiceLoader;
import org.hl7.cql.model.ModelInfoProvider;
public class ModelInfoProviderFactory {
private ModelInfoProviderFactory() {}
public static Iterator providers(boolean refresh) {
var loader = ServiceLoader.load(ModelInfoProvider.class);
if (refresh) {
loader.reload();
}
return loader.iterator();
}
}