Class Contract.Term
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class Contract.Term extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Contract.term ()Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Term()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddAction()Adds and returns a new value for action ()Contract.TermaddAction(CodeableConceptDt theValue)Adds a given new value for action ()CodeableConceptDtaddActionReason()Adds and returns a new value for actionReason ()Contract.TermaddActionReason(CodeableConceptDt theValue)Adds a given new value for actionReason ()Contract.TermActoraddActor()Adds and returns a new value for actor ()Contract.TermaddActor(Contract.TermActor theValue)Adds a given new value for actor ()Contract.TermaddGroup()Adds and returns a new value for group ()Contract.TermaddGroup(Contract.Term theValue)Adds a given new value for group ()Contract.TermValuedItemaddValuedItem()Adds and returns a new value for valuedItem ()Contract.TermaddValuedItem(Contract.TermValuedItem theValue)Adds a given new value for valuedItem ()List<CodeableConceptDt>getAction()Gets the value(s) for action ().CodeableConceptDtgetActionFirstRep()Gets the first repetition for action (), creating it if it does not already exist.List<CodeableConceptDt>getActionReason()Gets the value(s) for actionReason ().CodeableConceptDtgetActionReasonFirstRep()Gets the first repetition for actionReason (), creating it if it does not already exist.List<Contract.TermActor>getActor()Gets the value(s) for actor ().Contract.TermActorgetActorFirstRep()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)PeriodDtgetApplies()Gets the value(s) for applies ().List<Contract.Term>getGroup()Gets the value(s) for group ().Contract.TermgetGroupFirstRep()Gets the first repetition for group (), creating it if it does not already exist.IdentifierDtgetIdentifier()Gets the value(s) for identifier ().DategetIssued()Gets the value(s) for issued ().ca.uhn.fhir.model.primitive.DateTimeDtgetIssuedElement()Gets the value(s) for issued ().ResourceReferenceDtgetSubject()Gets the value(s) for subject ().CodeableConceptDtgetSubType()Gets the value(s) for subType ().StringgetText()Gets the value(s) for text ().ca.uhn.fhir.model.primitive.StringDtgetTextElement()Gets the value(s) for text ().CodeableConceptDtgetType()Gets the value(s) for type ().List<Contract.TermValuedItem>getValuedItem()Gets the value(s) for valuedItem ().Contract.TermValuedItemgetValuedItemFirstRep()Gets the first repetition for valuedItem (), creating it if it does not already exist.booleanisEmpty()Contract.TermsetAction(List<CodeableConceptDt> theValue)Sets the value(s) for action ()Contract.TermsetActionReason(List<CodeableConceptDt> theValue)Sets the value(s) for actionReason ()Contract.TermsetActor(List<Contract.TermActor> theValue)Sets the value(s) for actor ()Contract.TermsetApplies(PeriodDt theValue)Sets the value(s) for applies ()Contract.TermsetGroup(List<Contract.Term> theValue)Sets the value(s) for group ()Contract.TermsetIdentifier(IdentifierDt theValue)Sets the value(s) for identifier ()Contract.TermsetIssued(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for issued ()Contract.TermsetIssued(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for issued ()Contract.TermsetIssuedWithSecondsPrecision(Date theDate)Sets the value for issued ()Contract.TermsetSubject(ResourceReferenceDt theValue)Sets the value(s) for subject ()Contract.TermsetSubType(CodeableConceptDt theValue)Sets the value(s) for subType ()Contract.TermsetText(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for text ()Contract.TermsetText(String theString)Sets the value for text ()Contract.TermsetType(CodeableConceptDt theValue)Sets the value(s) for type ()Contract.TermsetValuedItem(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
-
-
-
-
Constructor Detail
-
Term
public Term()
-
-
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
-
getIdentifier
public IdentifierDt 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
public Contract.Term setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()Definition: Unique identifier for this particular Contract Provision.
-
getIssuedElement
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public Contract.Term setIssued(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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.
-
setIssuedWithSecondsPrecision
public Contract.Term setIssuedWithSecondsPrecision(Date theDate)
Sets the value for issued ()Definition: When this Contract Provision was issued.
-
getApplies
public PeriodDt 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
public Contract.Term setApplies(PeriodDt theValue)
Sets the value(s) for applies ()Definition: Relevant time or time-period when this Contract Provision is applicable.
-
getType
public CodeableConceptDt 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
public Contract.Term setType(CodeableConceptDt theValue)
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
public CodeableConceptDt 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
public Contract.Term setSubType(CodeableConceptDt theValue)
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
public ResourceReferenceDt 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
public Contract.Term setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()Definition: Who or what this Contract Provision is about.
-
getAction
public List<CodeableConceptDt> 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
public Contract.Term setAction(List<CodeableConceptDt> theValue)
Sets the value(s) for action ()Definition: Action stipulated by this Contract Provision.
-
addAction
public CodeableConceptDt addAction()
Adds and returns a new value for action ()Definition: Action stipulated by this Contract Provision.
-
addAction
public Contract.Term addAction(CodeableConceptDt theValue)
Adds a given new value for action ()Definition: Action stipulated by this Contract Provision.
- Parameters:
theValue- The action to add (must not benull)
-
getActionFirstRep
public CodeableConceptDt getActionFirstRep()
Gets the first repetition for action (), creating it if it does not already exist.Definition: Action stipulated by this Contract Provision.
-
getActionReason
public List<CodeableConceptDt> 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
public Contract.Term setActionReason(List<CodeableConceptDt> theValue)
Sets the value(s) for actionReason ()Definition: Reason or purpose for the action stipulated by this Contract Provision.
-
addActionReason
public CodeableConceptDt addActionReason()
Adds and returns a new value for actionReason ()Definition: Reason or purpose for the action stipulated by this Contract Provision.
-
addActionReason
public Contract.Term addActionReason(CodeableConceptDt theValue)
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
public CodeableConceptDt 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
public List<Contract.TermActor> 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
public Contract.Term setActor(List<Contract.TermActor> theValue)
Sets the value(s) for actor ()Definition: List of actors participating in this Contract Provision.
-
addActor
public Contract.TermActor addActor()
Adds and returns a new value for actor ()Definition: List of actors participating in this Contract Provision.
-
addActor
public Contract.Term addActor(Contract.TermActor theValue)
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
public Contract.TermActor 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
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public Contract.Term setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()Definition: Human readable form of this Contract Provision.
-
setText
public Contract.Term setText(String theString)
Sets the value for text ()Definition: Human readable form of this Contract Provision.
-
getValuedItem
public List<Contract.TermValuedItem> getValuedItem()
Gets the value(s) for valuedItem (). creating it if it does not exist. Will not returnnull.Definition: Contract Provision Valued Item List
-
setValuedItem
public Contract.Term setValuedItem(List<Contract.TermValuedItem> theValue)
Sets the value(s) for valuedItem ()Definition: Contract Provision Valued Item List
-
addValuedItem
public Contract.TermValuedItem addValuedItem()
Adds and returns a new value for valuedItem ()Definition: Contract Provision Valued Item List
-
addValuedItem
public Contract.Term addValuedItem(Contract.TermValuedItem theValue)
Adds a given new value for valuedItem ()Definition: Contract Provision Valued Item List
- Parameters:
theValue- The valuedItem to add (must not benull)
-
getValuedItemFirstRep
public Contract.TermValuedItem getValuedItemFirstRep()
Gets the first repetition for valuedItem (), creating it if it does not already exist.Definition: Contract Provision Valued Item List
-
getGroup
public List<Contract.Term> getGroup()
Gets the value(s) for group (). creating it if it does not exist. Will not returnnull.Definition: Nested group of Contract Provisions.
-
setGroup
public Contract.Term setGroup(List<Contract.Term> theValue)
Sets the value(s) for group ()Definition: Nested group of Contract Provisions.
-
addGroup
public Contract.Term addGroup()
Adds and returns a new value for group ()Definition: Nested group of Contract Provisions.
-
addGroup
public Contract.Term addGroup(Contract.Term theValue)
Adds a given new value for group ()Definition: Nested group of Contract Provisions.
- Parameters:
theValue- The group to add (must not benull)
-
getGroupFirstRep
public Contract.Term getGroupFirstRep()
Gets the first repetition for group (), creating it if it does not already exist.Definition: Nested group of Contract Provisions.
-
-