public class Contract extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Contract complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contract">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<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="subject" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="topic" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="authority" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="domain" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="subType" type="{http://hl7.org/fhir}CodeableConcept" 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.Agent" maxOccurs="unbounded" minOccurs="0"/>
<element name="signer" type="{http://hl7.org/fhir}Contract.Signer" maxOccurs="unbounded" minOccurs="0"/>
<element name="valuedItem" type="{http://hl7.org/fhir}Contract.ValuedItem" maxOccurs="unbounded" minOccurs="0"/>
<element name="term" type="{http://hl7.org/fhir}Contract.Term" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element name="bindingAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="bindingReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="friendly" type="{http://hl7.org/fhir}Contract.Friendly" maxOccurs="unbounded" minOccurs="0"/>
<element name="legal" type="{http://hl7.org/fhir}Contract.Legal" maxOccurs="unbounded" minOccurs="0"/>
<element name="rule" type="{http://hl7.org/fhir}Contract.Rule" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CodeableConcept> |
action |
protected java.util.List<CodeableConcept> |
actionReason |
protected java.util.List<ContractAgent> |
agent |
protected Period |
applies |
protected java.util.List<Reference> |
authority |
protected Attachment |
bindingAttachment |
protected Reference |
bindingReference |
protected java.util.List<Reference> |
domain |
protected java.util.List<ContractFriendly> |
friendly |
protected Identifier |
identifier |
protected DateTime |
issued |
protected java.util.List<ContractLegal> |
legal |
protected java.util.List<ContractRule> |
rule |
protected java.util.List<ContractSigner> |
signer |
protected java.util.List<Reference> |
subject |
protected java.util.List<CodeableConcept> |
subType |
protected java.util.List<ContractTerm> |
term |
protected java.util.List<Reference> |
topic |
protected CodeableConcept |
type |
protected java.util.List<ContractValuedItem> |
valuedItem |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Contract() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<CodeableConcept> |
getAction()
Gets the value of the action property.
|
java.util.List<CodeableConcept> |
getActionReason()
Gets the value of the actionReason property.
|
java.util.List<ContractAgent> |
getAgent()
Gets the value of the agent property.
|
Period |
getApplies()
Gets the value of the applies property.
|
java.util.List<Reference> |
getAuthority()
Gets the value of the authority property.
|
Attachment |
getBindingAttachment()
Gets the value of the bindingAttachment property.
|
Reference |
getBindingReference()
Gets the value of the bindingReference property.
|
java.util.List<Reference> |
getDomain()
Gets the value of the domain property.
|
java.util.List<ContractFriendly> |
getFriendly()
Gets the value of the friendly property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
DateTime |
getIssued()
Gets the value of the issued property.
|
java.util.List<ContractLegal> |
getLegal()
Gets the value of the legal property.
|
java.util.List<ContractRule> |
getRule()
Gets the value of the rule property.
|
java.util.List<ContractSigner> |
getSigner()
Gets the value of the signer property.
|
java.util.List<Reference> |
getSubject()
Gets the value of the subject property.
|
java.util.List<CodeableConcept> |
getSubType()
Gets the value of the subType property.
|
java.util.List<ContractTerm> |
getTerm()
Gets the value of the term property.
|
java.util.List<Reference> |
getTopic()
Gets the value of the topic property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
java.util.List<ContractValuedItem> |
getValuedItem()
Gets the value of the valuedItem property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setApplies(Period value)
Sets the value of the applies property.
|
void |
setBindingAttachment(Attachment value)
Sets the value of the bindingAttachment property.
|
void |
setBindingReference(Reference value)
Sets the value of the bindingReference property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setIssued(DateTime value)
Sets the value of the issued property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Contract |
withAction(CodeableConcept... values) |
Contract |
withAction(java.util.Collection<CodeableConcept> values) |
Contract |
withActionReason(CodeableConcept... values) |
Contract |
withActionReason(java.util.Collection<CodeableConcept> values) |
Contract |
withAgent(java.util.Collection<ContractAgent> values) |
Contract |
withAgent(ContractAgent... values) |
Contract |
withApplies(Period value) |
Contract |
withAuthority(java.util.Collection<Reference> values) |
Contract |
withAuthority(Reference... values) |
Contract |
withBindingAttachment(Attachment value) |
Contract |
withBindingReference(Reference value) |
Contract |
withContained(java.util.Collection<ResourceContainer> values) |
Contract |
withContained(ResourceContainer... values) |
Contract |
withDomain(java.util.Collection<Reference> values) |
Contract |
withDomain(Reference... values) |
Contract |
withExtension(java.util.Collection<Extension> values) |
Contract |
withExtension(Extension... values) |
Contract |
withFriendly(java.util.Collection<ContractFriendly> values) |
Contract |
withFriendly(ContractFriendly... values) |
Contract |
withId(Id value) |
Contract |
withIdentifier(Identifier value) |
Contract |
withImplicitRules(Uri value) |
Contract |
withIssued(DateTime value) |
Contract |
withLanguage(Code value) |
Contract |
withLegal(java.util.Collection<ContractLegal> values) |
Contract |
withLegal(ContractLegal... values) |
Contract |
withMeta(Meta value) |
Contract |
withModifierExtension(java.util.Collection<Extension> values) |
Contract |
withModifierExtension(Extension... values) |
Contract |
withRule(java.util.Collection<ContractRule> values) |
Contract |
withRule(ContractRule... values) |
Contract |
withSigner(java.util.Collection<ContractSigner> values) |
Contract |
withSigner(ContractSigner... values) |
Contract |
withSubject(java.util.Collection<Reference> values) |
Contract |
withSubject(Reference... values) |
Contract |
withSubType(CodeableConcept... values) |
Contract |
withSubType(java.util.Collection<CodeableConcept> values) |
Contract |
withTerm(java.util.Collection<ContractTerm> values) |
Contract |
withTerm(ContractTerm... values) |
Contract |
withText(Narrative value) |
Contract |
withTopic(java.util.Collection<Reference> values) |
Contract |
withTopic(Reference... values) |
Contract |
withType(CodeableConcept value) |
Contract |
withValuedItem(java.util.Collection<ContractValuedItem> values) |
Contract |
withValuedItem(ContractValuedItem... values) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Identifier identifier
protected DateTime issued
protected Period applies
protected java.util.List<Reference> subject
protected java.util.List<Reference> topic
protected java.util.List<Reference> authority
protected java.util.List<Reference> domain
protected CodeableConcept type
protected java.util.List<CodeableConcept> subType
protected java.util.List<CodeableConcept> action
protected java.util.List<CodeableConcept> actionReason
protected java.util.List<ContractAgent> agent
protected java.util.List<ContractSigner> signer
protected java.util.List<ContractValuedItem> valuedItem
protected java.util.List<ContractTerm> term
protected Attachment bindingAttachment
protected Reference bindingReference
protected java.util.List<ContractFriendly> friendly
protected java.util.List<ContractLegal> legal
protected java.util.List<ContractRule> rule
public Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic DateTime getIssued()
DateTimepublic void setIssued(DateTime value)
value - allowed object is
DateTimepublic Period getApplies()
Periodpublic void setApplies(Period value)
value - allowed object is
Periodpublic java.util.List<Reference> getSubject()
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 JAXB object.
This is why there is not a set method for the subject property.
For example, to add a new item, do as follows:
getSubject().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<Reference> getTopic()
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 JAXB 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
public java.util.List<Reference> getAuthority()
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 JAXB object.
This is why there is not a set method for the authority property.
For example, to add a new item, do as follows:
getAuthority().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<Reference> getDomain()
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 JAXB object.
This is why there is not a set method for the domain property.
For example, to add a new item, do as follows:
getDomain().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<CodeableConcept> getSubType()
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 JAXB object.
This is why there is not a set method for the subType property.
For example, to add a new item, do as follows:
getSubType().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<CodeableConcept> getAction()
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 JAXB 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
public java.util.List<CodeableConcept> getActionReason()
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 JAXB 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
public java.util.List<ContractAgent> getAgent()
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 JAXB 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
ContractAgent
public java.util.List<ContractSigner> getSigner()
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 JAXB object.
This is why there is not a set method for the signer property.
For example, to add a new item, do as follows:
getSigner().add(newItem);
Objects of the following type(s) are allowed in the list
ContractSigner
public java.util.List<ContractValuedItem> getValuedItem()
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 JAXB 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
ContractValuedItem
public java.util.List<ContractTerm> getTerm()
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 JAXB object.
This is why there is not a set method for the term property.
For example, to add a new item, do as follows:
getTerm().add(newItem);
Objects of the following type(s) are allowed in the list
ContractTerm
public Attachment getBindingAttachment()
Attachmentpublic void setBindingAttachment(Attachment value)
value - allowed object is
Attachmentpublic Reference getBindingReference()
Referencepublic void setBindingReference(Reference value)
value - allowed object is
Referencepublic java.util.List<ContractFriendly> getFriendly()
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 JAXB object.
This is why there is not a set method for the friendly property.
For example, to add a new item, do as follows:
getFriendly().add(newItem);
Objects of the following type(s) are allowed in the list
ContractFriendly
public java.util.List<ContractLegal> getLegal()
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 JAXB object.
This is why there is not a set method for the legal property.
For example, to add a new item, do as follows:
getLegal().add(newItem);
Objects of the following type(s) are allowed in the list
ContractLegal
public java.util.List<ContractRule> getRule()
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 JAXB object.
This is why there is not a set method for the rule property.
For example, to add a new item, do as follows:
getRule().add(newItem);
Objects of the following type(s) are allowed in the list
ContractRule
public Contract withIdentifier(Identifier value)
public Contract withType(CodeableConcept value)
public Contract withSubType(CodeableConcept... values)
public Contract withSubType(java.util.Collection<CodeableConcept> values)
public Contract withAction(CodeableConcept... values)
public Contract withAction(java.util.Collection<CodeableConcept> values)
public Contract withActionReason(CodeableConcept... values)
public Contract withActionReason(java.util.Collection<CodeableConcept> values)
public Contract withAgent(ContractAgent... values)
public Contract withAgent(java.util.Collection<ContractAgent> values)
public Contract withSigner(ContractSigner... values)
public Contract withSigner(java.util.Collection<ContractSigner> values)
public Contract withValuedItem(ContractValuedItem... values)
public Contract withValuedItem(java.util.Collection<ContractValuedItem> values)
public Contract withTerm(ContractTerm... values)
public Contract withTerm(java.util.Collection<ContractTerm> values)
public Contract withBindingAttachment(Attachment value)
public Contract withFriendly(ContractFriendly... values)
public Contract withFriendly(java.util.Collection<ContractFriendly> values)
public Contract withLegal(ContractLegal... values)
public Contract withLegal(java.util.Collection<ContractLegal> values)
public Contract withRule(ContractRule... values)
public Contract withRule(java.util.Collection<ContractRule> values)
public Contract withText(Narrative value)
withText in class DomainResourcepublic Contract withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Contract withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Contract withExtension(Extension... values)
withExtension in class DomainResourcepublic Contract withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Contract withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Contract withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Contract withId(Id value)
withId in class DomainResourcepublic Contract withMeta(Meta value)
withMeta in class DomainResourcepublic Contract withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Contract withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource