public class HumanNameDt extends BaseHumanNameDt implements ICompositeDatatype
Definition: A human's name with the ability to identify parts and usage
Requirements: Need to be able to record names, along with notes about their use
| Constructor and Description |
|---|
HumanNameDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringDt |
addFamily()
Adds and returns a new value for family (Family name (often called 'Surname'))
|
HumanNameDt |
addFamily(String theString)
Adds a new value for family (Family name (often called 'Surname'))
|
StringDt |
addGiven()
Adds and returns a new value for given (Given names (not always 'first').
|
HumanNameDt |
addGiven(String theString)
Adds a new value for given (Given names (not always 'first').
|
StringDt |
addPrefix()
Adds and returns a new value for prefix (Parts that come before the name)
|
HumanNameDt |
addPrefix(String theString)
Adds a new value for prefix (Parts that come before the name)
|
StringDt |
addSuffix()
Adds and returns a new value for suffix (Parts that come after the name)
|
HumanNameDt |
addSuffix(String theString)
Adds a new value for suffix (Parts that come after the name)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<StringDt> |
getFamily()
Gets the value(s) for family (Family name (often called 'Surname')).
|
StringDt |
getFamilyFirstRep()
Gets the first repetition for family (Family name (often called 'Surname')),
creating it if it does not already exist.
|
List<StringDt> |
getGiven()
Gets the value(s) for given (Given names (not always 'first').
|
StringDt |
getGivenFirstRep()
Gets the first repetition for given (Given names (not always 'first').
|
PeriodDt |
getPeriod()
Gets the value(s) for period (Time period when name was/is in use).
|
List<StringDt> |
getPrefix()
Gets the value(s) for prefix (Parts that come before the name).
|
StringDt |
getPrefixFirstRep()
Gets the first repetition for prefix (Parts that come before the name),
creating it if it does not already exist.
|
List<StringDt> |
getSuffix()
Gets the value(s) for suffix (Parts that come after the name).
|
StringDt |
getSuffixFirstRep()
Gets the first repetition for suffix (Parts that come after the name),
creating it if it does not already exist.
|
StringDt |
getText()
Gets the value(s) for text (Text representation of the full name).
|
BoundCodeDt<NameUseEnum> |
getUse()
Gets the value(s) for use (usual | official | temp | nickname | anonymous | old | maiden).
|
boolean |
isEmpty() |
HumanNameDt |
setFamily(List<StringDt> theValue)
Sets the value(s) for family (Family name (often called 'Surname'))
|
HumanNameDt |
setGiven(List<StringDt> theValue)
Sets the value(s) for given (Given names (not always 'first').
|
HumanNameDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period (Time period when name was/is in use)
|
HumanNameDt |
setPrefix(List<StringDt> theValue)
Sets the value(s) for prefix (Parts that come before the name)
|
HumanNameDt |
setSuffix(List<StringDt> theValue)
Sets the value(s) for suffix (Parts that come after the name)
|
HumanNameDt |
setText(String theString)
Sets the value for text (Text representation of the full name)
|
HumanNameDt |
setText(StringDt theValue)
Sets the value(s) for text (Text representation of the full name)
|
HumanNameDt |
setUse(BoundCodeDt<NameUseEnum> theValue)
Sets the value(s) for use (usual | official | temp | nickname | anonymous | old | maiden)
|
HumanNameDt |
setUse(NameUseEnum theValue)
Sets the value(s) for use (usual | official | temp | nickname | anonymous | old | maiden)
|
getFamilyAsSingleString, getGivenAsSingleString, getPrefixAsSingleString, getSuffixAsSingleString, toStringgetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<NameUseEnum> getUse()
null.
Definition: Identifies the purpose for this name
public HumanNameDt setUse(BoundCodeDt<NameUseEnum> theValue)
Definition: Identifies the purpose for this name
public HumanNameDt setUse(NameUseEnum theValue)
Definition: Identifies the purpose for this name
public StringDt getText()
null.
Definition: A full text representation of the name
public HumanNameDt setText(StringDt theValue)
Definition: A full text representation of the name
public HumanNameDt setText(String theString)
Definition: A full text representation of the name
public List<StringDt> getFamily()
null.
Definition: The part of a 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.
getFamily in class BaseHumanNameDtpublic HumanNameDt setFamily(List<StringDt> theValue)
Definition: The part of a 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.
public StringDt addFamily()
Definition: The part of a 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.
public StringDt getFamilyFirstRep()
Definition: The part of a 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.
public HumanNameDt addFamily(String theString)
Definition: The part of a 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.
public List<StringDt> getGiven()
null.
Definition: Given name
getGiven in class BaseHumanNameDtpublic HumanNameDt setGiven(List<StringDt> theValue)
Definition: Given name
public StringDt addGiven()
Definition: Given name
public StringDt getGivenFirstRep()
Definition: Given name
public HumanNameDt addGiven(String theString)
Definition: Given name
public List<StringDt> getPrefix()
null.
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
getPrefix in class BaseHumanNameDtpublic HumanNameDt setPrefix(List<StringDt> theValue)
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
public StringDt addPrefix()
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
public StringDt getPrefixFirstRep()
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
public HumanNameDt addPrefix(String theString)
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name
public List<StringDt> getSuffix()
null.
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
getSuffix in class BaseHumanNameDtpublic HumanNameDt setSuffix(List<StringDt> theValue)
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
public StringDt addSuffix()
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
public StringDt getSuffixFirstRep()
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
public HumanNameDt addSuffix(String theString)
Definition: Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name
public PeriodDt getPeriod()
null.
Definition: Indicates the period of time when this name was valid for the named person.
public HumanNameDt setPeriod(PeriodDt theValue)
Definition: Indicates the period of time when this name was valid for the named person.
Copyright © 2014 University Health Network. All rights reserved.