Class SearchModifierCode
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.SearchModifierCode
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class SearchModifierCode extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchModifierCode.Builderstatic classSearchModifierCode.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static SearchModifierCodeABOVEAbovestatic SearchModifierCodeBELOWBelowstatic SearchModifierCodeCONTAINSContainsstatic SearchModifierCodeEXACTExactstatic SearchModifierCodeIDENTIFIERIdentifierstatic SearchModifierCodeINInstatic SearchModifierCodeMISSINGMissingstatic SearchModifierCodeNOTNotstatic SearchModifierCodeNOT_INNot Instatic SearchModifierCodeOF_TYPEOf Typestatic SearchModifierCodeTEXTTextstatic SearchModifierCodeTYPEType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchModifierCode.Builderbuilder()static Codecode(String value)Inherited factory method for creating SearchModifierCode objects from a passed string value.booleanequals(Object obj)SearchModifierCode.ValueSetgetValueAsEnumConstant()inthashCode()static SearchModifierCodeof(SearchModifierCode.ValueSet value)Factory method for creating SearchModifierCode objects from a passed enum value.static SearchModifierCodeof(String value)Factory method for creating SearchModifierCode objects from a passed string value.static Stringstring(String value)Inherited factory method for creating SearchModifierCode objects from a passed string value.SearchModifierCode.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
MISSING
public static final SearchModifierCode MISSING
MissingThe search parameter returns resources that have a value or not.
-
EXACT
public static final SearchModifierCode 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 CONTAINS
ContainsThe search parameter returns resources that include the supplied parameter value anywhere within the field being searched.
-
NOT
public static final SearchModifierCode NOT
NotThe search parameter returns resources that do not contain a match.
-
TEXT
public static final SearchModifierCode 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 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 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 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 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 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 IDENTIFIER
IdentifierThe search parameter applies to the identifier on the resource, not the reference.
-
OF_TYPE
public static final SearchModifierCode 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
-
getValueAsEnumConstant
public SearchModifierCode.ValueSet getValueAsEnumConstant()
-
of
public static SearchModifierCode of(SearchModifierCode.ValueSet value)
Factory method for creating SearchModifierCode objects from a passed enum value.
-
of
public static SearchModifierCode of(String value)
Factory method for creating SearchModifierCode 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 SearchModifierCode 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 SearchModifierCode 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
-
toBuilder
public SearchModifierCode.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static SearchModifierCode.Builder builder()
-
-