Class Contract.Term
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.fhir.model.resource.Contract.Term
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract
public static class Contract.Term extends BackboneElement
One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contract.Term.Action
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.static class
Contract.Term.Asset
Contract Term Asset List.static class
Contract.Term.Builder
static class
Contract.Term.Offer
The matter of concern in the context of this provision of the agrement.static class
Contract.Term.SecurityLabel
Security labels that protect the handling of information about the term and its elements, which may be specifically identified..
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<Contract.Term.Action>
getAction()
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.Period
getApplies()
Relevant time or time-period when this Contract Provision is applicable.java.util.List<Contract.Term.Asset>
getAsset()
Contract Term Asset List.java.util.List<Contract.Term>
getGroup()
Nested group of Contract Provisions.Identifier
getIdentifier()
Unique identifier for this particular Contract Provision.DateTime
getIssued()
When this Contract Provision was issued.Contract.Term.Offer
getOffer()
The matter of concern in the context of this provision of the agrement.java.util.List<Contract.Term.SecurityLabel>
getSecurityLabel()
Security labels that protect the handling of information about the term and its elements, which may be specifically identified..CodeableConcept
getSubType()
A specialized legal clause or condition based on overarching contract type.String
getText()
Statement of a provision in a policy or a contract.Element
getTopic()
The entity that the term applies to.CodeableConcept
getType()
A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.boolean
hasChildren()
int
hashCode()
Contract.Term.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
Unique identifier for this particular Contract Provision.- Returns:
- An immutable object of type
Identifier
that may be null.
-
getIssued
public DateTime getIssued()
When this Contract Provision was issued.- Returns:
- An immutable object of type
DateTime
that may be null.
-
getApplies
public Period getApplies()
Relevant time or time-period when this Contract Provision is applicable.- Returns:
- An immutable object of type
Period
that may be null.
-
getTopic
public Element getTopic()
The entity that the term applies to.- Returns:
- An immutable object of type
CodeableConcept
orReference
that may be null.
-
getType
public CodeableConcept getType()
A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getSubType
public CodeableConcept getSubType()
A specialized legal clause or condition based on overarching contract type.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getText
public String getText()
Statement of a provision in a policy or a contract.- Returns:
- An immutable object of type
String
that may be null.
-
getSecurityLabel
public java.util.List<Contract.Term.SecurityLabel> getSecurityLabel()
Security labels that protect the handling of information about the term and its elements, which may be specifically identified..- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.SecurityLabel
that may be empty.
-
getOffer
public Contract.Term.Offer getOffer()
The matter of concern in the context of this provision of the agrement.- Returns:
- An immutable object of type
Contract.Term.Offer
that is non-null.
-
getAsset
public java.util.List<Contract.Term.Asset> getAsset()
Contract Term Asset List.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Asset
that may be empty.
-
getAction
public java.util.List<Contract.Term.Action> getAction()
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Action
that may be empty.
-
getGroup
public java.util.List<Contract.Term> getGroup()
Nested group of Contract Provisions.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public Contract.Term.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static Contract.Term.Builder builder()
-
-