Enum SearchModifierCode.ValueSet
- java.lang.Object
-
- java.lang.Enum<SearchModifierCode.ValueSet>
-
- com.ibm.fhir.model.type.code.SearchModifierCode.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<SearchModifierCode.ValueSet>
- Enclosing class:
- SearchModifierCode
public static enum SearchModifierCode.ValueSet extends Enum<SearchModifierCode.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchModifierCode.ValueSetfrom(String value)Factory method for creating SearchModifierCode.ValueSet values from a passed string value.Stringvalue()static SearchModifierCode.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchModifierCode.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING
public static final SearchModifierCode.ValueSet MISSING
MissingThe search parameter returns resources that have a value or not.
-
EXACT
public static final SearchModifierCode.ValueSet EXACT
ExactThe search parameter returns resources that have a value that exactly matches the supplied parameter (the whole string, including casing and accents).
-
CONTAINS
public static final SearchModifierCode.ValueSet CONTAINS
ContainsThe search parameter returns resources that include the supplied parameter value anywhere within the field being searched.
-
NOT
public static final SearchModifierCode.ValueSet NOT
NotThe search parameter returns resources that do not contain a match.
-
TEXT
public static final SearchModifierCode.ValueSet TEXT
TextThe search parameter is processed as a string that searches text associated with the code/value - either CodeableConcept.text, Coding.display, or Identifier.type.text.
-
IN
public static final SearchModifierCode.ValueSet IN
InThe search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is in the specified value set.
-
NOT_IN
public static final SearchModifierCode.ValueSet NOT_IN
Not InThe search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is not in the specified value set.
-
BELOW
public static final SearchModifierCode.ValueSet BELOW
BelowThe search parameter tests whether the value in a resource is subsumed by the specified value (is-a, or hierarchical relationships).
-
ABOVE
public static final SearchModifierCode.ValueSet ABOVE
AboveThe search parameter tests whether the value in a resource subsumes the specified value (is-a, or hierarchical relationships).
-
TYPE
public static final SearchModifierCode.ValueSet TYPE
TypeThe search parameter only applies to the Resource Type specified as a modifier (e.g. the modifier is not actually : type, but :Patient etc.).
-
IDENTIFIER
public static final SearchModifierCode.ValueSet IDENTIFIER
IdentifierThe search parameter applies to the identifier on the resource, not the reference.
-
OF_TYPE
public static final SearchModifierCode.ValueSet OF_TYPE
Of TypeThe search parameter has the format system|code|value, where the system and code refer to an Identifier.type.coding. system and .code, and match if any of the type codes match. All 3 parts must be present.
-
-
Method Detail
-
values
public static SearchModifierCode.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 (SearchModifierCode.ValueSet c : SearchModifierCode.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 SearchModifierCode.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 SearchModifierCode.ValueSet from(String value)
Factory method for creating SearchModifierCode.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
-
-