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
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value(s) for family (Family name (often called 'Surname')).Returns all repetitions offamily name
as a space separated stringgetGiven()
Gets the value(s) for given (Given names (not always 'first').Returns all repetitions ofgiven name
as a space separated stringReturns all of the components of the name (prefix, given, family, suffix) as a single string with a single spaced string separating each part.Gets the value(s) for prefix (Parts that come before the name).Returns all repetitions ofprefix name
as a space separated stringGets the value(s) for suffix (Parts that come after the name).Returns all repetitions ofsuffix
as a space separated stringabstract StringDt
Gets the value(s) for text (Text representation of the full name).abstract BaseHumanNameDt
Sets the value(s) for text (Text representation of the full name)toString()
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 Details
-
BaseHumanNameDt
public BaseHumanNameDt()
-
-
Method Details
-
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
Returns all repetitions offamily name
as a space separated string- See Also:
-
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
Returns all repetitions ofgiven name
as a space separated string- See Also:
-
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
Returns all repetitions ofprefix name
as a space separated string- See Also:
-
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
Returns all repetitions ofsuffix
as a space separated string- See Also:
-
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
Sets the value(s) for text (Text representation of the full name)Definition: A full text representation of the name
-
toString
-
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
text
element value instead.
-