Interface TerminologyProvider
-
public interface TerminologyProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<Code>expand(ValueSetInfo valueSet)Expands the set of Codes for a given ValueSetInfobooleanin(Code code, ValueSetInfo valueSet)Checks if a given Code is a member of a given ValueSetInfoCodelookup(Code code, CodeSystemInfo codeSystem)Looks up the display value for a given Code from a given CodeSystemInfo
-
-
-
Method Detail
-
in
boolean in(Code code, ValueSetInfo valueSet)
Checks if a given Code is a member of a given ValueSetInfo- Parameters:
code- the code to checkvalueSet- the valueSet to check- Returns:
- true if code is a member of the ValueSet
- Throws:
TerminologyProviderException- if there's an exception during the membership check
-
expand
java.lang.Iterable<Code> expand(ValueSetInfo valueSet)
Expands the set of Codes for a given ValueSetInfo- Parameters:
valueSet- the ValueSetInfo to expand- Returns:
- the set of Codes
- Throws:
TerminologyProviderException- if there's an error during expansion
-
lookup
Code lookup(Code code, CodeSystemInfo codeSystem)
Looks up the display value for a given Code from a given CodeSystemInfo- Parameters:
code- the Code to look upcodeSystem- the CodeSystemInfo to look up from- Returns:
- the Code with the display value filled
- Throws:
TerminologyProviderException- if there's an error during lookup
-
-