
Class Organization.Contact
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- Organization
public static class Organization.Contact extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Definition:
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
Modifier and Type Method Description ContactPointDt
addTelecom()
Adds and returns a new value for telecom ()Organization.Contact
addTelecom(ContactPointDt theValue)
Adds a given new value for telecom ()AddressDt
getAddress()
Gets the value(s) for address ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
HumanNameDt
getName()
Gets the value(s) for name ().CodeableConceptDt
getPurpose()
Gets the value(s) for purpose ().List<ContactPointDt>
getTelecom()
Gets the value(s) for telecom ().ContactPointDt
getTelecomFirstRep()
Gets the first repetition for telecom (), creating it if it does not already exist.boolean
isEmpty()
Organization.Contact
setAddress(AddressDt theValue)
Sets the value(s) for address ()Organization.Contact
setName(HumanNameDt theValue)
Sets the value(s) for name ()Organization.Contact
setPurpose(CodeableConceptDt theValue)
Sets the value(s) for purpose ()Organization.Contact
setTelecom(List<ContactPointDt> theValue)
Sets the value(s) for telecom ()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, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Contact
public Contact()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)- Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getPurpose
Gets the value(s) for purpose (). creating it if it does not exist. Will not returnnull
.Definition: Indicates a purpose for which the contact can be reached
-
setPurpose
Sets the value(s) for purpose ()Definition: Indicates a purpose for which the contact can be reached
-
getName
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: A name associated with the contact
-
setName
Sets the value(s) for name ()Definition: A name associated with the contact
-
getTelecom
Gets the value(s) for telecom (). creating it if it does not exist. Will not returnnull
.Definition: A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
-
setTelecom
Sets the value(s) for telecom ()Definition: A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
-
addTelecom
Adds and returns a new value for telecom ()Definition: A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
-
addTelecom
Adds a given new value for telecom ()Definition: A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
- Parameters:
theValue
- The telecom to add (must not benull
)
-
getTelecomFirstRep
Gets the first repetition for telecom (), creating it if it does not already exist.Definition: A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
-
getAddress
Gets the value(s) for address (). creating it if it does not exist. Will not returnnull
.Definition: Visiting or postal addresses for the contact
-
setAddress
Sets the value(s) for address ()Definition: Visiting or postal addresses for the contact
-