Class Organization.Contact
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
Block class for child element: Organization.contact ()Definition:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactPointDtaddTelecom()Adds and returns a new value for telecom ()Organization.ContactaddTelecom(ContactPointDt theValue)Adds a given new value for telecom ()AddressDtgetAddress()Gets the value(s) for address ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)HumanNameDtgetName()Gets the value(s) for name ().CodeableConceptDtgetPurpose()Gets the value(s) for purpose ().List<ContactPointDt>getTelecom()Gets the value(s) for telecom ().ContactPointDtgetTelecomFirstRep()Gets the first repetition for telecom (), creating it if it does not already exist.booleanisEmpty()Organization.ContactsetAddress(AddressDt theValue)Sets the value(s) for address ()Organization.ContactsetName(HumanNameDt theValue)Sets the value(s) for name ()Organization.ContactsetPurpose(CodeableConceptDt theValue)Sets the value(s) for purpose ()Organization.ContactsetTelecom(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
-
-
-
-
Constructor Detail
-
Contact
public Contact()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getPurpose
public CodeableConceptDt 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
public Organization.Contact setPurpose(CodeableConceptDt theValue)
Sets the value(s) for purpose ()Definition: Indicates a purpose for which the contact can be reached
-
getName
public HumanNameDt 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
public Organization.Contact setName(HumanNameDt theValue)
Sets the value(s) for name ()Definition: A name associated with the contact
-
getTelecom
public List<ContactPointDt> 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
public Organization.Contact setTelecom(List<ContactPointDt> theValue)
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
public ContactPointDt 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
public Organization.Contact addTelecom(ContactPointDt theValue)
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
public ContactPointDt 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
public AddressDt 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
public Organization.Contact setAddress(AddressDt theValue)
Sets the value(s) for address ()Definition: Visiting or postal addresses for the contact
-
-