Interface TerminologyProvider


  • public interface TerminologyProvider
    • 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 check
        valueSet - 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 up
        codeSystem - the CodeSystemInfo to look up from
        Returns:
        the Code with the display value filled
        Throws:
        TerminologyProviderException - if there's an error during lookup