
org.opencds.cqf.cql.engine.terminology.TerminologyProvider Maven / Gradle / Ivy
package org.opencds.cqf.cql.engine.terminology;
import org.opencds.cqf.cql.engine.runtime.Code;
public interface TerminologyProvider {
/**
* Checks if a given Code is a member of a given ValueSetInfo
* @param code the code to check
* @param valueSet the valueSet to check
* @return true if code is a member of the ValueSet
*/
boolean in(Code code, ValueSetInfo valueSet);
/**
* Expands the set of Codes for a given ValueSetInfo
* @param valueSet the ValueSetInfo to expand
* @return the set of Codes
*/
Iterable expand(ValueSetInfo valueSet);
/**
* Looks up the display value for a given Code from a given CodeSystemInfo
* @param code the Code to look up
* @param codeSystem the CodeSystemInfo to look up from
* @return the Code with the display value filled
*/
Code lookup(Code code, CodeSystemInfo codeSystem);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy