Package ca.uhn.fhir.model.dstu2.valueset
Enum SearchParamTypeEnum
- java.lang.Object
-
- java.lang.Enum<SearchParamTypeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SearchParamTypeEnum>
public enum SearchParamTypeEnum extends Enum<SearchParamTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPOSITEDisplay: Composite
Code Value: composite A composite search parameter that combines a search on two values together.DATE_DATETIMEDisplay: Date/DateTime
Code Value: date Search parameter is on a date/time.NUMBERDisplay: Number
Code Value: number Search parameter SHALL be a number (a whole number, or a decimal).QUANTITYDisplay: Quantity
Code Value: quantity A search parameter that searches on a quantity.REFERENCEDisplay: Reference
Code Value: reference A reference to another resource.STRINGDisplay: String
Code Value: string Search parameter is a simple string, like a name part.TOKENDisplay: Token
Code Value: token Search parameter on a coded element or identifier.URIDisplay: URI
Code Value: uri A search parameter that searches on a URI (RFC 3986).
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<SearchParamTypeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: SearchParamType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchParamTypeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic SearchParamTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchParamTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER
public static final SearchParamTypeEnum NUMBER
Display: Number
Code Value: number Search parameter SHALL be a number (a whole number, or a decimal).
-
DATE_DATETIME
public static final SearchParamTypeEnum DATE_DATETIME
Display: Date/DateTime
Code Value: date 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 SearchParamTypeEnum STRING
Display: String
Code Value: 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 SearchParamTypeEnum TOKEN
Display: Token
Code Value: token Search parameter on a coded element or identifier. May be used to search through the text, displayname, 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 SearchParamTypeEnum REFERENCE
Display: Reference
Code Value: reference A reference to another resource.
-
COMPOSITE
public static final SearchParamTypeEnum COMPOSITE
Display: Composite
Code Value: composite A composite search parameter that combines a search on two values together.
-
QUANTITY
public static final SearchParamTypeEnum QUANTITY
Display: Quantity
Code Value: quantity A search parameter that searches on a quantity.
-
URI
public static final SearchParamTypeEnum URI
Display: URI
Code Value: uri A search parameter that searches on a URI (RFC 3986).
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: SearchParamType- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<SearchParamTypeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static SearchParamTypeEnum[] 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 (SearchParamTypeEnum c : SearchParamTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchParamTypeEnum 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
-
forCode
public static SearchParamTypeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-