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 Summary
Constructors Constructor Description ContactPointDt()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)PeriodDtgetPeriod()Gets the value(s) for period ().IntegergetRank()Gets the value(s) for rank ().ca.uhn.fhir.model.primitive.PositiveIntDtgetRankElement()Gets the value(s) for rank ().StringgetSystem()Gets the value(s) for system ().ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointSystemEnum>getSystemElement()Gets the value(s) for system ().StringgetUse()Gets the value(s) for use ().ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointUseEnum>getUseElement()Gets the value(s) for use ().StringgetValue()Gets the value(s) for value ().ca.uhn.fhir.model.primitive.StringDtgetValueElement()Gets the value(s) for value ().booleanisEmpty()ContactPointDtsetPeriod(PeriodDt theValue)Sets the value(s) for period ()ContactPointDtsetRank(int theInteger)Sets the value for rank ()ContactPointDtsetRank(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Sets the value(s) for rank ()ContactPointDtsetSystem(ContactPointSystemEnum theValue)Sets the value(s) for system ()ContactPointDtsetSystem(ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointSystemEnum> theValue)Sets the value(s) for system ()ContactPointDtsetUse(ContactPointUseEnum theValue)Sets the value(s) for use ()ContactPointDtsetUse(ca.uhn.fhir.model.primitive.BoundCodeDt<ContactPointUseEnum> theValue)Sets the value(s) for use ()ContactPointDtsetValue(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for value ()ContactPointDtsetValue(String theString)Sets the value for value ()-
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
-
-
-
-
Constructor Detail
-
ContactPointDt
public ContactPointDt()
Constructor
-
-
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
-
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 returnnull.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 returnnull.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
public ContactPointDt setSystem(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
-
getValueElement
public ca.uhn.fhir.model.primitive.StringDt getValueElement()
Gets the value(s) for value (). creating it if it does not exist. Will not returnnull.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 returnnull.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 returnnull.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 returnnull.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
public ContactPointDt setUse(ContactPointUseEnum theValue)
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 returnnull.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 returnnull.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 returnnull.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
-
-