Class CodeSearchSupport

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class CodeSearchSupport
    extends Code
    • Field Detail

      • EXPLICIT

        public static final CodeSearchSupport EXPLICIT
        Explicit Codes

        The search for code on ValueSet only includes codes explicitly detailed on includes or expansions.

      • ALL

        public static final CodeSearchSupport ALL
        Implicit Codes

        The search for code on ValueSet only includes all codes based on the expansion of the value set.

    • Method Detail

      • of

        public static CodeSearchSupport of​(String value)
        Factory method for creating CodeSearchSupport objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating CodeSearchSupport objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating CodeSearchSupport objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code