Enum SearchParamType.ValueSet
- java.lang.Object
-
- java.lang.Enum<SearchParamType.ValueSet>
-
- com.ibm.fhir.model.type.code.SearchParamType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<SearchParamType.ValueSet>
- Enclosing class:
- SearchParamType
public static enum SearchParamType.ValueSet extends Enum<SearchParamType.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchParamType.ValueSetfrom(String value)Factory method for creating SearchParamType.ValueSet values from a passed string value.Stringvalue()static SearchParamType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchParamType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER
public static final SearchParamType.ValueSet NUMBER
NumberSearch parameter SHALL be a number (a whole number, or a decimal).
-
DATE
public static final SearchParamType.ValueSet DATE
Date/DateTimeSearch 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
StringSearch 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
TokenSearch 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
ReferenceA reference to another resource (Reference or canonical).
-
COMPOSITE
public static final SearchParamType.ValueSet COMPOSITE
CompositeA composite search parameter that combines a search on two values together.
-
QUANTITY
public static final SearchParamType.ValueSet QUANTITY
QuantityA search parameter that searches on a quantity.
-
URI
public static final SearchParamType.ValueSet URI
URIA search parameter that searches on a URI (RFC 3986).
-
SPECIAL
public static final SearchParamType.ValueSet SPECIAL
SpecialSpecial 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 nameNullPointerException- 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
-
-