Class ContactPointDt

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.composite.ContactPointDt
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype, ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IDatatype, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.ICompositeType

public class ContactPointDt
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.ICompositeDatatype
HAPI/FHIR ContactPointDt Datatype ()

Definition: Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.

Requirements: Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.

See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • 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
    • getSystemElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointSystemEnum> getSystemElement()
      Gets the value(s) for system (). creating it if it does not exist. Will not return null.

      Definition: Telecommunications form for contact point - what communications system is required to make use of the contact

    • getSystem

      public String getSystem()
      Gets the value(s) for system (). creating it if it does not exist. This method may return null.

      Definition: Telecommunications form for contact point - what communications system is required to make use of the contact

    • setSystem

      public ContactPointDt setSystem​(ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointSystemEnum> theValue)
      Sets the value(s) for system ()

      Definition: Telecommunications form for contact point - what communications system is required to make use of the contact

    • setSystem

      Sets the value(s) for system ()

      Definition: Telecommunications form for contact point - what communications system is required to make use of the contact

    • getValueElement

      public ca.uhn.fhir.model.primitive.StringDt getValueElement()
      Gets the value(s) for value (). creating it if it does not exist. Will not return null.

      Definition: The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).

    • getValue

      public String getValue()
      Gets the value(s) for value (). creating it if it does not exist. This method may return null.

      Definition: The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).

    • setValue

      public ContactPointDt setValue​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for value ()

      Definition: The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).

    • setValue

      public ContactPointDt setValue​(String theString)
      Sets the value for value ()

      Definition: The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).

    • getUseElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointUseEnum> getUseElement()
      Gets the value(s) for use (). creating it if it does not exist. Will not return null.

      Definition: Identifies the purpose for the contact point

    • getUse

      public String getUse()
      Gets the value(s) for use (). creating it if it does not exist. This method may return null.

      Definition: Identifies the purpose for the contact point

    • setUse

      public ContactPointDt setUse​(ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointUseEnum> theValue)
      Sets the value(s) for use ()

      Definition: Identifies the purpose for the contact point

    • setUse

      Sets the value(s) for use ()

      Definition: Identifies the purpose for the contact point

    • getRankElement

      public ca.uhn.fhir.model.primitive.PositiveIntDt getRankElement()
      Gets the value(s) for rank (). creating it if it does not exist. Will not return null.

      Definition: Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values

    • getRank

      public Integer getRank()
      Gets the value(s) for rank (). creating it if it does not exist. This method may return null.

      Definition: Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values

    • setRank

      public ContactPointDt setRank​(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
      Sets the value(s) for rank ()

      Definition: Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values

    • setRank

      public ContactPointDt setRank​(int theInteger)
      Sets the value for rank ()

      Definition: Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values

    • getPeriod

      public PeriodDt getPeriod()
      Gets the value(s) for period (). creating it if it does not exist. Will not return null.

      Definition: Time period when the contact point was/is in use

    • setPeriod

      public ContactPointDt setPeriod​(PeriodDt theValue)
      Sets the value(s) for period ()

      Definition: Time period when the contact point was/is in use