Enum SearchParamType.ValueSet

    • Enum Constant Detail

      • NUMBER

        public static final SearchParamType.ValueSet NUMBER
        Number

        Search parameter SHALL be a number (a whole number, or a decimal).

      • DATE

        public static final SearchParamType.ValueSet DATE
        Date/DateTime

        Search parameter is on a date/time. The date format is the standard XML format, though other formats may be supported.

      • STRING

        public static final SearchParamType.ValueSet STRING
        String

        Search parameter is a simple string, like a name part. Search is case-insensitive and accent-insensitive. May match just the start of a string. String parameters may contain spaces.

      • TOKEN

        public static final SearchParamType.ValueSet TOKEN
        Token

        Search parameter on a coded element or identifier. May be used to search through the text, display, code and code/codesystem (for codes) and label, system and key (for identifier). Its value is either a string or a pair of namespace and value, separated by a "|", depending on the modifier used.

      • REFERENCE

        public static final SearchParamType.ValueSet REFERENCE
        Reference

        A reference to another resource (Reference or canonical).

      • COMPOSITE

        public static final SearchParamType.ValueSet COMPOSITE
        Composite

        A composite search parameter that combines a search on two values together.

      • QUANTITY

        public static final SearchParamType.ValueSet QUANTITY
        Quantity

        A search parameter that searches on a quantity.

      • SPECIAL

        public static final SearchParamType.ValueSet SPECIAL
        Special

        Special logic applies to this parameter per the description of the search parameter.

    • Method Detail

      • values

        public static SearchParamType.ValueSet[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SearchParamType.ValueSet c : SearchParamType.ValueSet.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchParamType.ValueSet valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static SearchParamType.ValueSet from​(String value)
        Factory method for creating SearchParamType.ValueSet values 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