Class NameUse
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.NameUse
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class NameUse extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNameUse.Builderstatic classNameUse.ValueSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NameUse.Builderbuilder()static Codecode(String value)Inherited factory method for creating NameUse objects from a passed string value.booleanequals(Object obj)NameUse.ValueSetgetValueAsEnumConstant()inthashCode()static NameUseof(NameUse.ValueSet value)Factory method for creating NameUse objects from a passed enum value.static NameUseof(String value)Factory method for creating NameUse objects from a passed string value.static Stringstring(String value)Inherited factory method for creating NameUse objects from a passed string value.NameUse.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
USUAL
public static final NameUse USUAL
UsualKnown as/conventional/the one you normally use.
-
OFFICIAL
public static final NameUse OFFICIAL
OfficialThe formal name as registered in an official (government) registry, but which name might not be commonly used. May be called "legal name".
-
TEMP
public static final NameUse TEMP
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.
-
NICKNAME
public static final NameUse NICKNAME
NicknameA name that is used to address the person in an informal manner, but is not part of their formal or usual name.
-
ANONYMOUS
public static final NameUse ANONYMOUS
AnonymousAnonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons).
-
OLD
public static final NameUse OLD
OldThis name is no longer in use (or was never correct, but retained for records).
-
MAIDEN
public static final NameUse MAIDEN
Name changed for MarriageA name used prior to changing name because of marriage. This name use is for use by applications that collect and store names that were used prior to a marriage. Marriage naming customs vary greatly around the world, and are constantly changing. This term is not gender specific. The use of this term does not imply any particular history for a person's name.
-
-
Method Detail
-
getValueAsEnumConstant
public NameUse.ValueSet getValueAsEnumConstant()
-
of
public static NameUse of(NameUse.ValueSet value)
Factory method for creating NameUse objects from a passed enum value.
-
of
public static NameUse of(String value)
Factory method for creating NameUse objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating NameUse objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating NameUse objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public NameUse.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static NameUse.Builder builder()
-
-