Package ca.uhn.fhir.model.base.composite
Class BaseHumanNameDt
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.base.composite.BaseHumanNameDt
-
- All Implemented Interfaces:
IElement,IIdentifiableElement,ISupportsUndeclaredExtensions,Serializable,IBase
public abstract class BaseHumanNameDt extends BaseIdentifiableElement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseHumanNameDt()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<StringDt>getFamily()Gets the value(s) for family (Family name (often called 'Surname')).StringgetFamilyAsSingleString()Returns all repetitions offamily nameas a space separated stringabstract List<StringDt>getGiven()Gets the value(s) for given (Given names (not always 'first').StringgetGivenAsSingleString()Returns all repetitions ofgiven nameas a space separated stringStringgetNameAsSingleString()Returns all of the components of the name (prefix, given, family, suffix) as a single string with a single spaced string separating each part.abstract List<StringDt>getPrefix()Gets the value(s) for prefix (Parts that come before the name).StringgetPrefixAsSingleString()Returns all repetitions ofprefix nameas a space separated stringabstract List<StringDt>getSuffix()Gets the value(s) for suffix (Parts that come after the name).StringgetSuffixAsSingleString()Returns all repetitions ofsuffixas a space separated stringabstract StringDtgetTextElement()Gets the value(s) for text (Text representation of the full name).abstract BaseHumanNameDtsetText(StringDt theValue)Sets the value(s) for text (Text representation of the full name)StringtoString()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserData
-
-
-
-
Constructor Detail
-
BaseHumanNameDt
public BaseHumanNameDt()
-
-
Method Detail
-
getFamily
public abstract List<StringDt> getFamily()
Gets the value(s) for family (Family name (often called 'Surname')). creating it if it does not exist. Will not returnnull.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.
-
getFamilyAsSingleString
public String getFamilyAsSingleString()
Returns all repetitions offamily nameas a space separated string
-
getGiven
public abstract List<StringDt> getGiven()
Gets the value(s) for given (Given names (not always 'first'). Includes middle names). creating it if it does not exist. Will not returnnull.Definition: Given name
-
getGivenAsSingleString
public String getGivenAsSingleString()
Returns all repetitions ofgiven nameas a space separated string
-
getPrefix
public abstract List<StringDt> getPrefix()
Gets the value(s) for prefix (Parts that come before the name). creating it if it does not exist. Will not returnnull.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
-
getPrefixAsSingleString
public String getPrefixAsSingleString()
Returns all repetitions ofprefix nameas a space separated string
-
getSuffix
public abstract List<StringDt> getSuffix()
Gets the value(s) for suffix (Parts that come after the name). creating it if it does not exist. Will not returnnull.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
-
getSuffixAsSingleString
public String getSuffixAsSingleString()
Returns all repetitions ofsuffixas a space separated string
-
getTextElement
public abstract StringDt getTextElement()
Gets the value(s) for text (Text representation of the full name). creating it if it does not exist. Will not returnnull.Definition: A full text representation of the name
-
setText
public abstract BaseHumanNameDt setText(StringDt theValue)
Sets the value(s) for text (Text representation of the full name)Definition: A full text representation of the name
-
getNameAsSingleString
public String getNameAsSingleString()
Returns all of the components of the name (prefix, given, family, suffix) as a single string with a single spaced string separating each part.If none of the parts are populated, returns the
textelement value instead.
-
-