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 ()
|
HumanNameDt |
addFamily(String theString)
Adds a new value for family ()
|
HumanNameDt |
addFamily(StringDt theValue)
Adds a given new value for family ()
|
StringDt |
addGiven()
Adds and returns a new value for given ()
|
HumanNameDt |
addGiven(String theString)
Adds a new value for given ()
|
HumanNameDt |
addGiven(StringDt theValue)
Adds a given new value for given ()
|
StringDt |
addPrefix()
Adds and returns a new value for prefix ()
|
HumanNameDt |
addPrefix(String theString)
Adds a new value for prefix ()
|
HumanNameDt |
addPrefix(StringDt theValue)
Adds a given new value for prefix ()
|
StringDt |
addSuffix()
Adds and returns a new value for suffix ()
|
HumanNameDt |
addSuffix(String theString)
Adds a new value for suffix ()
|
HumanNameDt |
addSuffix(StringDt theValue)
Adds a given new value for suffix ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<StringDt> |
getFamily()
Gets the value(s) for family ().
|
StringDt |
getFamilyFirstRep()
Gets the first repetition for family (),
creating it if it does not already exist.
|
List<StringDt> |
getGiven()
Gets the value(s) for given ().
|
StringDt |
getGivenFirstRep()
Gets the first repetition for given (),
creating it if it does not already exist.
|
PeriodDt |
getPeriod()
Gets the value(s) for period ().
|
List<StringDt> |
getPrefix()
Gets the value(s) for prefix ().
|
StringDt |
getPrefixFirstRep()
Gets the first repetition for prefix (),
creating it if it does not already exist.
|
List<StringDt> |
getSuffix()
Gets the value(s) for suffix ().
|
StringDt |
getSuffixFirstRep()
Gets the first repetition for suffix (),
creating it if it does not already exist.
|
String |
getText()
Gets the value(s) for text ().
|
StringDt |
getTextElement()
Gets the value(s) for text ().
|
String |
getUse()
Gets the value(s) for use ().
|
BoundCodeDt<NameUseEnum> |
getUseElement()
Gets the value(s) for use ().
|
boolean |
isEmpty() |
HumanNameDt |
setFamily(List<StringDt> theValue)
Sets the value(s) for family ()
|
HumanNameDt |
setGiven(List<StringDt> theValue)
Sets the value(s) for given ()
|
HumanNameDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period ()
|
HumanNameDt |
setPrefix(List<StringDt> theValue)
Sets the value(s) for prefix ()
|
HumanNameDt |
setSuffix(List<StringDt> theValue)
Sets the value(s) for suffix ()
|
HumanNameDt |
setText(String theString)
Sets the value for text ()
|
HumanNameDt |
setText(StringDt theValue)
Sets the value(s) for text ()
|
HumanNameDt |
setUse(BoundCodeDt<NameUseEnum> theValue)
Sets the value(s) for use ()
|
HumanNameDt |
setUse(NameUseEnum theValue)
Sets the value(s) for use ()
|
getFamilyAsSingleString, getGivenAsSingleString, getNameAsSingleString, getPrefixAsSingleString, getSuffixAsSingleString, toStringgetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic HumanNameDt()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic BoundCodeDt<NameUseEnum> getUseElement()
null.
Definition: Identifies the purpose for this name
public String 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 getTextElement()
null.
Definition: A full text representation of the name
getTextElement in class BaseHumanNameDtpublic String getText()
null.
Definition: A full text representation of the name
public HumanNameDt setText(StringDt theValue)
Definition: A full text representation of the name
setText in class BaseHumanNameDtpublic 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 HumanNameDt addFamily(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.
theValue - The family to add (must not be null)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 HumanNameDt addGiven(StringDt theValue)
Definition: Given name
theValue - The given to add (must not be null)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 HumanNameDt addPrefix(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
theValue - The prefix to add (must not be null)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 HumanNameDt addSuffix(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
theValue - The suffix to add (must not be null)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–2016 University Health Network. All rights reserved.