Package org.hl7.fhir

Class ContractTerm

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ContractTerm extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A formal agreement between parties regarding the conduct of business, exchange of information or other matters.

Java class for Contract.Term complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Contract.Term">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
         <element name="issued" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
         <element name="applies" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
         <element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
         <element name="subType" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
         <element name="topic" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
         <element name="action" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
         <element name="actionReason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
         <element name="agent" type="{http://hl7.org/fhir}Contract.Agent1" maxOccurs="unbounded" minOccurs="0"/>
         <element name="text" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="valuedItem" type="{http://hl7.org/fhir}Contract.ValuedItem1" maxOccurs="unbounded" minOccurs="0"/>
         <element name="group" type="{http://hl7.org/fhir}Contract.Term" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ContractTerm

      public ContractTerm()
  • Method Details

    • getIdentifier

      public Identifier getIdentifier()
      Gets the value of the identifier property.
      Returns:
      possible object is Identifier
    • setIdentifier

      public void setIdentifier(Identifier value)
      Sets the value of the identifier property.
      Parameters:
      value - allowed object is Identifier
    • getIssued

      public DateTime getIssued()
      Gets the value of the issued property.
      Returns:
      possible object is DateTime
    • setIssued

      public void setIssued(DateTime value)
      Sets the value of the issued property.
      Parameters:
      value - allowed object is DateTime
    • getApplies

      public Period getApplies()
      Gets the value of the applies property.
      Returns:
      possible object is Period
    • setApplies

      public void setApplies(Period value)
      Sets the value of the applies property.
      Parameters:
      value - allowed object is Period
    • getType

      public CodeableConcept getType()
      Gets the value of the type property.
      Returns:
      possible object is CodeableConcept
    • setType

      public void setType(CodeableConcept value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is CodeableConcept
    • getSubType

      public CodeableConcept getSubType()
      Gets the value of the subType property.
      Returns:
      possible object is CodeableConcept
    • setSubType

      public void setSubType(CodeableConcept value)
      Sets the value of the subType property.
      Parameters:
      value - allowed object is CodeableConcept
    • getTopic

      public List<Reference> getTopic()
      Gets the value of the topic property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the topic property.

      For example, to add a new item, do as follows:

          getTopic().add(newItem);
       

      Objects of the following type(s) are allowed in the list Reference

    • getAction

      public List<CodeableConcept> getAction()
      Gets the value of the action property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the action property.

      For example, to add a new item, do as follows:

          getAction().add(newItem);
       

      Objects of the following type(s) are allowed in the list CodeableConcept

    • getActionReason

      public List<CodeableConcept> getActionReason()
      Gets the value of the actionReason property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the actionReason property.

      For example, to add a new item, do as follows:

          getActionReason().add(newItem);
       

      Objects of the following type(s) are allowed in the list CodeableConcept

    • getAgent

      public List<ContractAgent1> getAgent()
      Gets the value of the agent property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the agent property.

      For example, to add a new item, do as follows:

          getAgent().add(newItem);
       

      Objects of the following type(s) are allowed in the list ContractAgent1

    • getText

      public String getText()
      Gets the value of the text property.
      Returns:
      possible object is String
    • setText

      public void setText(String value)
      Sets the value of the text property.
      Parameters:
      value - allowed object is String
    • getValuedItem

      public List<ContractValuedItem1> getValuedItem()
      Gets the value of the valuedItem property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the valuedItem property.

      For example, to add a new item, do as follows:

          getValuedItem().add(newItem);
       

      Objects of the following type(s) are allowed in the list ContractValuedItem1

    • getGroup

      public List<ContractTerm> getGroup()
      Gets the value of the group property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the group property.

      For example, to add a new item, do as follows:

          getGroup().add(newItem);
       

      Objects of the following type(s) are allowed in the list ContractTerm

    • withIdentifier

      public ContractTerm withIdentifier(Identifier value)
    • withIssued

      public ContractTerm withIssued(DateTime value)
    • withApplies

      public ContractTerm withApplies(Period value)
    • withType

      public ContractTerm withType(CodeableConcept value)
    • withSubType

      public ContractTerm withSubType(CodeableConcept value)
    • withTopic

      public ContractTerm withTopic(Reference... values)
    • withTopic

      public ContractTerm withTopic(Collection<Reference> values)
    • withAction

      public ContractTerm withAction(CodeableConcept... values)
    • withAction

      public ContractTerm withAction(Collection<CodeableConcept> values)
    • withActionReason

      public ContractTerm withActionReason(CodeableConcept... values)
    • withActionReason

      public ContractTerm withActionReason(Collection<CodeableConcept> values)
    • withAgent

      public ContractTerm withAgent(ContractAgent1... values)
    • withAgent

      public ContractTerm withAgent(Collection<ContractAgent1> values)
    • withText

      public ContractTerm withText(String value)
    • withValuedItem

      public ContractTerm withValuedItem(ContractValuedItem1... values)
    • withValuedItem

      public ContractTerm withValuedItem(Collection<ContractValuedItem1> values)
    • withGroup

      public ContractTerm withGroup(ContractTerm... values)
    • withGroup

      public ContractTerm withGroup(Collection<ContractTerm> values)
    • withModifierExtension

      public ContractTerm withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public ContractTerm withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public ContractTerm withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public ContractTerm withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public ContractTerm withId(String value)
      Overrides:
      withId in class BackboneElement
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement
    • setTopic

      public void setTopic(List<Reference> value)
    • setAction

      public void setAction(List<CodeableConcept> value)
    • setActionReason

      public void setActionReason(List<CodeableConcept> value)
    • setAgent

      public void setAgent(List<ContractAgent1> value)
    • setValuedItem

      public void setValuedItem(List<ContractValuedItem1> value)
    • setGroup

      public void setGroup(List<ContractTerm> value)