public class ContactDetail extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
name
The name of an individual to contact.
|
protected List<ContactPoint> |
telecom
The contact details for the individual (if a name was provided) or the organization.
|
| Constructor and Description |
|---|
ContactDetail()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
ContactPoint |
addTelecom() |
ContactDetail |
addTelecom(ContactPoint t) |
ContactDetail |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
String |
getName() |
StringType |
getNameElement() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
List<ContactPoint> |
getTelecom() |
ContactPoint |
getTelecomFirstRep() |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasName() |
boolean |
hasNameElement() |
boolean |
hasTelecom() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
ContactDetail |
setName(String value) |
ContactDetail |
setNameElement(StringType value) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
ContactDetail |
setTelecom(List<ContactPoint> theTelecom) |
protected ContactDetail |
typedCopy() |
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected StringType name
protected List<ContactPoint> telecom
public ContactDetail()
public StringType getNameElement()
name (The name of an individual to contact.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public ContactDetail setNameElement(StringType value)
value - name (The name of an individual to contact.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic ContactDetail setName(String value)
value - The name of an individual to contact.public List<ContactPoint> getTelecom()
telecom (The contact details for the individual (if a name was provided) or the organization.)public ContactDetail setTelecom(List<ContactPoint> theTelecom)
this for easy method chainingpublic boolean hasTelecom()
public ContactPoint addTelecom()
public ContactDetail addTelecom(ContactPoint t)
public ContactPoint getTelecomFirstRep()
telecom, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic ContactDetail copy()
protected ContactDetail typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.