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
    Block class for child element: Organization.contact ()

    Definition:

    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.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 interface ca.uhn.fhir.model.api.ICompositeElement
      • getPurpose

        public CodeableConceptDt getPurpose()
        Gets the value(s) for purpose (). creating it if it does not exist. Will not return null.

        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 return null.

        Definition: A name associated with the contact

      • getTelecom

        public List<ContactPointDtgetTelecom()
        Gets the value(s) for telecom (). creating it if it does not exist. Will not return null.

        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 be null)
      • 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 return null.

        Definition: Visiting or postal addresses for the contact