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
Definition:
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for telecom ()addTelecom
(ContactPointDt theValue) Adds a given new value for telecom ()Gets the value(s) for address ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getName()
Gets the value(s) for name ().Gets the value(s) for purpose ().Gets the value(s) for telecom ().Gets the first repetition for telecom (), creating it if it does not already exist.boolean
isEmpty()
setAddress
(AddressDt theValue) Sets the value(s) for address ()setName
(HumanNameDt theValue) Sets the value(s) for name ()setPurpose
(CodeableConceptDt theValue) Sets the value(s) for purpose ()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
-