Class SearchParamType
- 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.SearchParamType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class SearchParamType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchParamType.Builderstatic classSearchParamType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static SearchParamTypeCOMPOSITECompositestatic SearchParamTypeDATEDate/DateTimestatic SearchParamTypeNUMBERNumberstatic SearchParamTypeQUANTITYQuantitystatic SearchParamTypeREFERENCEReferencestatic SearchParamTypeSPECIALSpecialstatic SearchParamTypeSTRINGStringstatic SearchParamTypeTOKENTokenstatic SearchParamTypeURIURI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchParamType.Builderbuilder()static Codecode(String value)Inherited factory method for creating SearchParamType objects from a passed string value.booleanequals(Object obj)SearchParamType.ValueSetgetValueAsEnumConstant()inthashCode()static SearchParamTypeof(SearchParamType.ValueSet value)Factory method for creating SearchParamType objects from a passed enum value.static SearchParamTypeof(String value)Factory method for creating SearchParamType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating SearchParamType objects from a passed string value.SearchParamType.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
-
NUMBER
public static final SearchParamType NUMBER
NumberSearch parameter SHALL be a number (a whole number, or a decimal).
-
DATE
public static final SearchParamType 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 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 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 REFERENCE
ReferenceA reference to another resource (Reference or canonical).
-
COMPOSITE
public static final SearchParamType COMPOSITE
CompositeA composite search parameter that combines a search on two values together.
-
QUANTITY
public static final SearchParamType QUANTITY
QuantityA search parameter that searches on a quantity.
-
URI
public static final SearchParamType URI
URIA search parameter that searches on a URI (RFC 3986).
-
SPECIAL
public static final SearchParamType SPECIAL
SpecialSpecial logic applies to this parameter per the description of the search parameter.
-
-
Method Detail
-
getValueAsEnumConstant
public SearchParamType.ValueSet getValueAsEnumConstant()
-
of
public static SearchParamType of(SearchParamType.ValueSet value)
Factory method for creating SearchParamType objects from a passed enum value.
-
of
public static SearchParamType of(String value)
Factory method for creating SearchParamType 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 SearchParamType 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 SearchParamType 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 SearchParamType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static SearchParamType.Builder builder()
-
-