Interface TerminologyProvider
public interface TerminologyProvider
-
Method Summary
Modifier and TypeMethodDescriptionexpand(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 ValueSetInfolookup(Code code, CodeSystemInfo codeSystem) Looks up the display value for a given Code from a given CodeSystemInfo
-
Method Details
-
in
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
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
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
-