Class Contract.Term
- 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:
Contract
Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for action ()addAction
(CodeableConceptDt theValue) Adds a given new value for action ()Adds and returns a new value for actionReason ()addActionReason
(CodeableConceptDt theValue) Adds a given new value for actionReason ()addActor()
Adds and returns a new value for actor ()addActor
(Contract.TermActor theValue) Adds a given new value for actor ()addGroup()
Adds and returns a new value for group ()addGroup
(Contract.Term theValue) Adds a given new value for group ()Adds and returns a new value for valuedItem ()addValuedItem
(Contract.TermValuedItem theValue) Adds a given new value for valuedItem ()Gets the value(s) for action ().Gets the first repetition for action (), creating it if it does not already exist.Gets the value(s) for actionReason ().Gets the first repetition for actionReason (), creating it if it does not already exist.getActor()
Gets the value(s) for actor ().Gets the first repetition for actor (), creating it if it does not already exist.<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for applies ().getGroup()
Gets the value(s) for group ().Gets the first repetition for group (), creating it if it does not already exist.Gets the value(s) for identifier ().Gets the value(s) for issued ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for issued ().Gets the value(s) for subject ().Gets the value(s) for subType ().getText()
Gets the value(s) for text ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for text ().getType()
Gets the value(s) for type ().Gets the value(s) for valuedItem ().Gets the first repetition for valuedItem (), creating it if it does not already exist.boolean
isEmpty()
setAction
(List<CodeableConceptDt> theValue) Sets the value(s) for action ()setActionReason
(List<CodeableConceptDt> theValue) Sets the value(s) for actionReason ()setActor
(List<Contract.TermActor> theValue) Sets the value(s) for actor ()setApplies
(PeriodDt theValue) Sets the value(s) for applies ()setGroup
(List<Contract.Term> theValue) Sets the value(s) for group ()setIdentifier
(IdentifierDt theValue) Sets the value(s) for identifier ()setIssued
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for issued ()Sets the value for issued ()setIssuedWithSecondsPrecision
(Date theDate) Sets the value for issued ()setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject ()setSubType
(CodeableConceptDt theValue) Sets the value(s) for subType ()setText
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for text ()Sets the value for text ()setType
(CodeableConceptDt theValue) Sets the value(s) for type ()setValuedItem
(List<Contract.TermValuedItem> theValue) Sets the value(s) for valuedItem ()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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Term
public Term()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Unique identifier for this particular Contract Provision.
-
setIdentifier
Sets the value(s) for identifier ()Definition: Unique identifier for this particular Contract Provision.
-
getIssuedElement
Gets the value(s) for issued (). creating it if it does not exist. Will not returnnull
.Definition: When this Contract Provision was issued.
-
getIssued
Gets the value(s) for issued (). creating it if it does not exist. This method may returnnull
.Definition: When this Contract Provision was issued.
-
setIssued
Sets the value(s) for issued ()Definition: When this Contract Provision was issued.
-
setIssuedWithSecondsPrecision
Sets the value for issued ()Definition: When this Contract Provision was issued.
-
setIssued
public Contract.Term setIssued(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for issued ()Definition: When this Contract Provision was issued.
-
getApplies
Gets the value(s) for applies (). creating it if it does not exist. Will not returnnull
.Definition: Relevant time or time-period when this Contract Provision is applicable.
-
setApplies
Sets the value(s) for applies ()Definition: Relevant time or time-period when this Contract Provision is applicable.
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.
-
setType
Sets the value(s) for type ()Definition: Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.
-
getSubType
Gets the value(s) for subType (). creating it if it does not exist. Will not returnnull
.Definition: Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment.
-
setSubType
Sets the value(s) for subType ()Definition: Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment.
-
getSubject
Gets the value(s) for subject (). creating it if it does not exist. Will not returnnull
.Definition: Who or what this Contract Provision is about.
-
setSubject
Sets the value(s) for subject ()Definition: Who or what this Contract Provision is about.
-
getAction
Gets the value(s) for action (). creating it if it does not exist. Will not returnnull
.Definition: Action stipulated by this Contract Provision.
-
setAction
Sets the value(s) for action ()Definition: Action stipulated by this Contract Provision.
-
addAction
Adds and returns a new value for action ()Definition: Action stipulated by this Contract Provision.
-
addAction
Adds a given new value for action ()Definition: Action stipulated by this Contract Provision.
- Parameters:
theValue
- The action to add (must not benull
)
-
getActionFirstRep
Gets the first repetition for action (), creating it if it does not already exist.Definition: Action stipulated by this Contract Provision.
-
getActionReason
Gets the value(s) for actionReason (). creating it if it does not exist. Will not returnnull
.Definition: Reason or purpose for the action stipulated by this Contract Provision.
-
setActionReason
Sets the value(s) for actionReason ()Definition: Reason or purpose for the action stipulated by this Contract Provision.
-
addActionReason
Adds and returns a new value for actionReason ()Definition: Reason or purpose for the action stipulated by this Contract Provision.
-
addActionReason
Adds a given new value for actionReason ()Definition: Reason or purpose for the action stipulated by this Contract Provision.
- Parameters:
theValue
- The actionReason to add (must not benull
)
-
getActionReasonFirstRep
Gets the first repetition for actionReason (), creating it if it does not already exist.Definition: Reason or purpose for the action stipulated by this Contract Provision.
-
getActor
Gets the value(s) for actor (). creating it if it does not exist. Will not returnnull
.Definition: List of actors participating in this Contract Provision.
-
setActor
Sets the value(s) for actor ()Definition: List of actors participating in this Contract Provision.
-
addActor
Adds and returns a new value for actor ()Definition: List of actors participating in this Contract Provision.
-
addActor
Adds a given new value for actor ()Definition: List of actors participating in this Contract Provision.
- Parameters:
theValue
- The actor to add (must not benull
)
-
getActorFirstRep
Gets the first repetition for actor (), creating it if it does not already exist.Definition: List of actors participating in this Contract Provision.
-
getTextElement
Gets the value(s) for text (). creating it if it does not exist. Will not returnnull
.Definition: Human readable form of this Contract Provision.
-
getText
Gets the value(s) for text (). creating it if it does not exist. This method may returnnull
.Definition: Human readable form of this Contract Provision.
-
setText
Sets the value(s) for text ()Definition: Human readable form of this Contract Provision.
-
setText
Sets the value for text ()Definition: Human readable form of this Contract Provision.
-
getValuedItem
Gets the value(s) for valuedItem (). creating it if it does not exist. Will not returnnull
.Definition: Contract Provision Valued Item List
-
setValuedItem
Sets the value(s) for valuedItem ()Definition: Contract Provision Valued Item List
-
addValuedItem
Adds and returns a new value for valuedItem ()Definition: Contract Provision Valued Item List
-
addValuedItem
Adds a given new value for valuedItem ()Definition: Contract Provision Valued Item List
- Parameters:
theValue
- The valuedItem to add (must not benull
)
-
getValuedItemFirstRep
Gets the first repetition for valuedItem (), creating it if it does not already exist.Definition: Contract Provision Valued Item List
-
getGroup
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull
.Definition: Nested group of Contract Provisions.
-
setGroup
Sets the value(s) for group ()Definition: Nested group of Contract Provisions.
-
addGroup
Adds and returns a new value for group ()Definition: Nested group of Contract Provisions.
-
addGroup
Adds a given new value for group ()Definition: Nested group of Contract Provisions.
- Parameters:
theValue
- The group to add (must not benull
)
-
getGroupFirstRep
Gets the first repetition for group (), creating it if it does not already exist.Definition: Nested group of Contract Provisions.
-