Package ca.uhn.fhir.model.dstu2.valueset
Enum SlicingRulesEnum
- All Implemented Interfaces:
Serializable
,Comparable<SlicingRulesEnum>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay: Closed
Code Value: closed No additional content is allowed other than that described by the slices in this profile.Display: Open
Code Value: open Additional content is allowed anywhere in the list.Display: Open at End
Code Value: openAtEnd Additional content is allowed, but only at the end of the list. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<SlicingRulesEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: SlicingRules -
Method Summary
Modifier and TypeMethodDescriptionstatic SlicingRulesEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic SlicingRulesEnum
Returns the enum constant of this type with the specified name.static SlicingRulesEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLOSED
Display: Closed
Code Value: closed No additional content is allowed other than that described by the slices in this profile. -
OPEN
Display: Open
Code Value: open Additional content is allowed anywhere in the list. -
OPEN_AT_END
Display: Open at End
Code Value: openAtEnd Additional content is allowed, but only at the end of the list. Note that using this requires that the slices be ordered, which makes it hard to share uses. This should only be done where absolutely required.
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: SlicingRules- See Also:
-
VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getCode
Returns the code associated with this enumerated value -
getSystem
Returns the code system associated with this enumerated value -
forCode
Returns the enumerated value associated with this code
-