
Package ca.uhn.fhir.model.dstu2.valueset
Enum IdentifierUseEnum
- java.lang.Object
-
- java.lang.Enum<IdentifierUseEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.IdentifierUseEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<IdentifierUseEnum>
public enum IdentifierUseEnum extends Enum<IdentifierUseEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFFICIAL
Display: Official
Code Value: official The identifier considered to be most trusted for the identification of this item.SECONDARY
Display: Secondary
Code Value: secondary An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context.TEMP
Display: Temp
Code Value: temp A temporary identifier.USUAL
Display: Usual
Code Value: usual The identifier recommended for display and use in real-world interactions.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<IdentifierUseEnum>
VALUESET_BINDER
Converts codes to their respective enumerated valuesstatic String
VALUESET_IDENTIFIER
Identifier for this Value Set:static String
VALUESET_NAME
Name for this Value Set: IdentifierUse
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentifierUseEnum
forCode(String theCode)
Returns the enumerated value associated with this codeString
getCode()
Returns the code associated with this enumerated valueString
getSystem()
Returns the code system associated with this enumerated valuestatic IdentifierUseEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static IdentifierUseEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USUAL
public static final IdentifierUseEnum USUAL
Display: Usual
Code Value: usual The identifier recommended for display and use in real-world interactions.
-
OFFICIAL
public static final IdentifierUseEnum OFFICIAL
Display: Official
Code Value: official The identifier considered to be most trusted for the identification of this item.
-
TEMP
public static final IdentifierUseEnum TEMP
Display: Temp
Code Value: temp A temporary identifier.
-
SECONDARY
public static final IdentifierUseEnum SECONDARY
Display: Secondary
Code Value: secondary An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context.
-
-
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: IdentifierUse- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<IdentifierUseEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static IdentifierUseEnum[] 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 (IdentifierUseEnum c : IdentifierUseEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdentifierUseEnum 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 IdentifierUseEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-