Enum V3EntityNamePartType
- java.lang.Object
-
- java.lang.Enum<V3EntityNamePartType>
-
- org.hl7.fhir.r4.model.codesystems.V3EntityNamePartType
-
- All Implemented Interfaces:
Serializable,Comparable<V3EntityNamePartType>
public enum V3EntityNamePartType extends Enum<V3EntityNamePartType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELA delimiter has no meaning other than being literally printed in this name representation.FAMFamily name, this is the name that links to the genealogy.GIVGiven name (don't call it "first name" since this given names do not always come first)NULLadded to help the parsersPFXA prefix has a strong association to the immediately following name part.SFXDescription:A suffix has a strong association to the immediately preceding name part.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static V3EntityNamePartTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static V3EntityNamePartTypevalueOf(String name)Returns the enum constant of this type with the specified name.static V3EntityNamePartType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEL
public static final V3EntityNamePartType DEL
A delimiter has no meaning other than being literally printed in this name representation. A delimiter has no implicit leading and trailing white space.
-
FAM
public static final V3EntityNamePartType FAM
Family name, this is the name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
-
GIV
public static final V3EntityNamePartType GIV
Given name (don't call it "first name" since this given names do not always come first)
-
PFX
public static final V3EntityNamePartType PFX
A prefix has a strong association to the immediately following name part. A prefix has no implicit trailing white space (it has implicit leading white space though). Note that prefixes can be inverted.
-
SFX
public static final V3EntityNamePartType SFX
Description:A suffix has a strong association to the immediately preceding name part. A suffix has no implicit leading white space (it has implicit trailing white space though). Suffices cannot be inverted.
-
NULL
public static final V3EntityNamePartType NULL
added to help the parsers
-
-
Method Detail
-
values
public static V3EntityNamePartType[] 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 (V3EntityNamePartType c : V3EntityNamePartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static V3EntityNamePartType 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
-
fromCode
public static V3EntityNamePartType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-