Package ca.uhn.fhir.model.dstu2.valueset
Enum NameUseEnum
- All Implemented Interfaces:
Serializable
,Comparable<NameUseEnum>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay: Anonymous
Code Value: anonymous Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons)Display: Maiden
Code Value: maiden A name used prior to marriage.Display: Nickname
Code Value: nickname A name that is used to address the person in an informal manner, but is not part of their formal or usual nameDisplay: Official
Code Value: official The formal name as registered in an official (government) registry, but which name might not be commonly used.Display: Old
Code Value: old This name is no longer in use (or was never correct, but retained for records)Display: Temp
Code Value: temp A temporary name.Display: Usual
Code Value: usual Known as/conventional/the one you normally use -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<NameUseEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: NameUse -
Method Summary
Modifier and TypeMethodDescriptionstatic NameUseEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic NameUseEnum
Returns the enum constant of this type with the specified name.static NameUseEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
USUAL
Display: Usual
Code Value: usual Known as/conventional/the one you normally use -
OFFICIAL
Display: Official
Code Value: official The formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name". -
TEMP
Display: Temp
Code Value: temp A temporary name. Name.period can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations. -
NICKNAME
Display: Nickname
Code Value: nickname A name that is used to address the person in an informal manner, but is not part of their formal or usual name -
ANONYMOUS
Display: Anonymous
Code Value: anonymous Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons) -
OLD
Display: Old
Code Value: old This name is no longer in use (or was never correct, but retained for records) -
MAIDEN
Display: Maiden
Code Value: maiden A name used prior to marriage. Marriage naming customs vary greatly around the world. This name use is for use by applications that collect and store "maiden" names. Though the concept of maiden name is often gender specific, the use of this term is not gender specific. The use of this term does not imply any particular history for a person's name, nor should the maiden name be determined algorithmically.
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: NameUse- 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
-