Package org.hl7.fhir.dstu2.model
Class ContactPoint
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.Type
org.hl7.fhir.dstu2.model.ContactPoint
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.ICompositeType
Details for all kinds of technology mediated contact points for a person or
organization, including telephone, email, etc.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Period
Time period when the contact point was/is in use.protected PositiveIntType
Specifies a preferred order in which to use a set of contacts.protected Enumeration
<ContactPoint.ContactPointSystem> Telecommunications form for contact point - what communications system is required to make use of the contact.protected Enumeration
<ContactPoint.ContactPointUse> Identifies the purpose for the contact point.protected StringType
The actual contact point details, in a form that is meaningful to the designated communication system (i.e. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
int
getRank()
getUse()
getValue()
boolean
boolean
hasRank()
boolean
boolean
boolean
boolean
hasUse()
boolean
boolean
hasValue()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) void
setProperty
(String name, Base value) setRank
(int value) setRankElement
(PositiveIntType value) setValueElement
(StringType value) protected ContactPoint
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
system
Telecommunications form for contact point - what communications system is required to make use of the contact. -
value
The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address). -
use
Identifies the purpose for the contact point. -
rank
Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values. -
period
Time period when the contact point was/is in use.
-
-
Constructor Details
-
ContactPoint
public ContactPoint()
-
-
Method Details
-
getSystemElement
- Returns:
system
(Telecommunications form for contact point - what communications system is required to make use of the contact.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
hasSystemElement
-
hasSystem
-
setSystemElement
- Parameters:
value
-system
(Telecommunications form for contact point - what communications system is required to make use of the contact.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
getSystem
- Returns:
- Telecommunications form for contact point - what communications system is required to make use of the contact.
-
setSystem
- Parameters:
value
- Telecommunications form for contact point - what communications system is required to make use of the contact.
-
getValueElement
- Returns:
value
(The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
hasValueElement
-
hasValue
-
setValueElement
- Parameters:
value
-value
(The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
getValue
- Returns:
- The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
-
setValue
- Parameters:
value
- The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
-
getUseElement
- Returns:
use
(Identifies the purpose for the contact point.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
hasUseElement
-
hasUse
-
setUseElement
- Parameters:
value
-use
(Identifies the purpose for the contact point.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
getUse
- Returns:
- Identifies the purpose for the contact point.
-
setUse
- Parameters:
value
- Identifies the purpose for the contact point.
-
getRankElement
- Returns:
rank
(Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.). This is the underlying object with id, value and extensions. The accessor "getRank" gives direct access to the value
-
hasRankElement
-
hasRank
-
setRankElement
- Parameters:
value
-rank
(Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.). This is the underlying object with id, value and extensions. The accessor "getRank" gives direct access to the value
-
getRank
- Returns:
- Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.
-
setRank
- Parameters:
value
- Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.
-
getPeriod
- Returns:
period
(Time period when the contact point was/is in use.)
-
hasPeriod
-
setPeriod
- Parameters:
value
-period
(Time period when the contact point was/is in use.)
-
listChildren
- Overrides:
listChildren
in classElement
-
setProperty
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classElement
-
equalsShallow
- Overrides:
equalsShallow
in classElement
-
isEmpty
-