
Package org.hl7.fhir.dstu2.model
Enum Class HumanName.NameUse
- All Implemented Interfaces:
- Serializable,- Comparable<HumanName.NameUse>,- Constable
- Enclosing class:
- HumanName
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAnonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons)A name used prior to marriage.A name that is used to address the person in an informal manner, but is not part of their formal or usual nameadded to help the parsersThe formal name as registered in an official (government) registry, but which name might not be commonly used.This name is no longer in use (or was never correct, but retained for records)A temporary name.Known as/conventional/the one you normally use
- 
Method SummaryModifier and TypeMethodDescriptionstatic HumanName.NameUsetoCode()static HumanName.NameUseReturns the enum constant of this class with the specified name.static HumanName.NameUse[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
USUALKnown as/conventional/the one you normally use
- 
OFFICIALThe formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name".
- 
TEMPA temporary name. Name.period can provide more detailed information. This may also be used for temporary names assigned at birth or in emergency situations.
- 
NICKNAMEA name that is used to address the person in an informal manner, but is not part of their formal or usual name
- 
ANONYMOUSAnonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons)
- 
OLDThis name is no longer in use (or was never correct, but retained for records)
- 
MAIDENA 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.
- 
NULLadded to help the parsers
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
fromCodepublic static HumanName.NameUse fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
toCode
- 
getSystem
- 
getDefinition
- 
getDisplay
 
-