public class HumanNameDt extends ca.uhn.fhir.model.base.composite.BaseHumanNameDt implements ca.uhn.fhir.model.api.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 |
|---|---|
ca.uhn.fhir.model.primitive.StringDt |
addFamily()
Adds and returns a new value for family ()
|
HumanNameDt |
addFamily(String theString)
Adds a new value for family ()
|
HumanNameDt |
addFamily(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for family ()
|
ca.uhn.fhir.model.primitive.StringDt |
addGiven()
Adds and returns a new value for given ()
|
HumanNameDt |
addGiven(String theString)
Adds a new value for given ()
|
HumanNameDt |
addGiven(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for given ()
|
ca.uhn.fhir.model.primitive.StringDt |
addPrefix()
Adds and returns a new value for prefix ()
|
HumanNameDt |
addPrefix(String theString)
Adds a new value for prefix ()
|
HumanNameDt |
addPrefix(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for prefix ()
|
ca.uhn.fhir.model.primitive.StringDt |
addSuffix()
Adds and returns a new value for suffix ()
|
HumanNameDt |
addSuffix(String theString)
Adds a new value for suffix ()
|
HumanNameDt |
addSuffix(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for suffix ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<ca.uhn.fhir.model.primitive.StringDt> |
getFamily()
Gets the value(s) for family ().
|
ca.uhn.fhir.model.primitive.StringDt |
getFamilyFirstRep()
Gets the first repetition for family (),
creating it if it does not already exist.
|
List<ca.uhn.fhir.model.primitive.StringDt> |
getGiven()
Gets the value(s) for given ().
|
ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.StringDt> |
getPrefix()
Gets the value(s) for prefix ().
|
ca.uhn.fhir.model.primitive.StringDt |
getPrefixFirstRep()
Gets the first repetition for prefix (),
creating it if it does not already exist.
|
List<ca.uhn.fhir.model.primitive.StringDt> |
getSuffix()
Gets the value(s) for suffix ().
|
ca.uhn.fhir.model.primitive.StringDt |
getSuffixFirstRep()
Gets the first repetition for suffix (),
creating it if it does not already exist.
|
String |
getText()
Gets the value(s) for text ().
|
ca.uhn.fhir.model.primitive.StringDt |
getTextElement()
Gets the value(s) for text ().
|
String |
getUse()
Gets the value(s) for use ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<NameUseEnum> |
getUseElement()
Gets the value(s) for use ().
|
boolean |
isEmpty() |
HumanNameDt |
setFamily(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for family ()
|
HumanNameDt |
setGiven(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for given ()
|
HumanNameDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period ()
|
HumanNameDt |
setPrefix(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for prefix ()
|
HumanNameDt |
setSuffix(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for suffix ()
|
HumanNameDt |
setText(String theString)
Sets the value for text ()
|
HumanNameDt |
setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()
|
HumanNameDt |
setUse(ca.uhn.fhir.model.primitive.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, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptypublic HumanNameDt()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.BoundCodeDt<NameUseEnum> theValue)
Definition: Identifies the purpose for this name
public HumanNameDt setUse(NameUseEnum theValue)
Definition: Identifies the purpose for this name
public ca.uhn.fhir.model.primitive.StringDt getTextElement()
null.
Definition: A full text representation of the name
getTextElement in class ca.uhn.fhir.model.base.composite.BaseHumanNameDtpublic String getText()
null.
Definition: A full text representation of the name
public HumanNameDt setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: A full text representation of the name
setText in class ca.uhn.fhir.model.base.composite.BaseHumanNameDtpublic HumanNameDt setText(String theString)
Definition: A full text representation of the name
public List<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.base.composite.BaseHumanNameDtpublic HumanNameDt setFamily(List<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.StringDt> getGiven()
null.
Definition: Given name
getGiven in class ca.uhn.fhir.model.base.composite.BaseHumanNameDtpublic HumanNameDt setGiven(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Definition: Given name
public ca.uhn.fhir.model.primitive.StringDt addGiven()
Definition: Given name
public HumanNameDt addGiven(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: Given name
theValue - The given to add (must not be null)public ca.uhn.fhir.model.primitive.StringDt getGivenFirstRep()
Definition: Given name
public HumanNameDt addGiven(String theString)
Definition: Given name
public List<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.base.composite.BaseHumanNameDtpublic HumanNameDt setPrefix(List<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.base.composite.BaseHumanNameDtpublic HumanNameDt setSuffix(List<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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–2018 University Health Network. All rights reserved.