
Class Contract
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.model.Contract
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
public class Contract extends DomainResource
A formal agreement between parties regarding the conduct of business, exchange of information or other matters.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contract.AgentComponent
static class
Contract.ComputableLanguageComponent
static class
Contract.ContractStatus
static class
Contract.ContractStatusEnumFactory
static class
Contract.FriendlyLanguageComponent
static class
Contract.LegalLanguageComponent
static class
Contract.SignatoryComponent
static class
Contract.TermAgentComponent
static class
Contract.TermComponent
static class
Contract.TermValuedItemComponent
static class
Contract.ValuedItemComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<CodeableConcept>
action
Action stipulated by this Contract.protected List<CodeableConcept>
actionReason
Reason for action stipulated by this Contract.protected List<Contract.AgentComponent>
agent
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
AGENT
Fluent Client search parameter constant for agentprotected Period
applies
Relevant time or time-period when this Contract is applicable.protected List<Reference>
authority
A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
AUTHORITY
Fluent Client search parameter constant for authorityprotected List<Organization>
authorityTarget
The actual objects that are the target of the reference (A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.)protected Type
binding
Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.protected CodeableConcept
contentDerivative
The minimal content derived from the basal information source at a specific stage in its lifecycle.protected CodeableConcept
decisionType
The type of decision made by a grantor with respect to an offer made by a grantee.protected List<Reference>
domain
Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
DOMAIN
Fluent Client search parameter constant for domainprotected List<Location>
domainTarget
The actual objects that are the target of the reference (Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.)protected List<Contract.FriendlyLanguageComponent>
friendly
The "patient friendly language" versionof the Contract in whole or in parts.protected Identifier
identifier
Unique identifier for this Contract.static ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_AGENT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_AUTHORITY
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_DOMAIN
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_SIGNER
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_TERM_TOPIC
Constant for fluent queries to be used to add include statements.protected DateTimeType
issued
When this Contract was issued.static ca.uhn.fhir.rest.gclient.DateClientParam
ISSUED
Fluent Client search parameter constant for issuedprotected List<Contract.LegalLanguageComponent>
legal
List of Legal expressions or representations of this Contract.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
PATIENT
Fluent Client search parameter constant for patientprotected List<Contract.ComputableLanguageComponent>
rule
List of Computable Policy Rule Language Representations of this Contract.protected List<Coding>
securityLabel
A set of security labels that define which resources are controlled by this consent.protected List<Contract.SignatoryComponent>
signer
Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
SIGNER
Fluent Client search parameter constant for signerstatic String
SP_AGENT
Search parameter: agentstatic String
SP_AUTHORITY
Search parameter: authoritystatic String
SP_DOMAIN
Search parameter: domainstatic String
SP_IDENTIFIER
Search parameter: identifierstatic String
SP_ISSUED
Search parameter: issuedstatic String
SP_PATIENT
Search parameter: patientstatic String
SP_SIGNER
Search parameter: signerstatic String
SP_SUBJECT
Search parameter: subjectstatic String
SP_TERM_TOPIC
Search parameter: term-topicprotected Enumeration<Contract.ContractStatus>
status
The status of the resource instance.protected List<Reference>
subject
The target entity impacted by or of interest to parties to the agreement.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
SUBJECT
Fluent Client search parameter constant for subjectprotected List<Resource>
subjectTarget
The actual objects that are the target of the reference (The target entity impacted by or of interest to parties to the agreement.)protected List<CodeableConcept>
subType
More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent.protected List<Contract.TermComponent>
term
One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
TERM_TOPIC
Fluent Client search parameter constant for term-topicprotected List<Reference>
topic
The matter of concern in the context of this agreement.protected List<Resource>
topicTarget
The actual objects that are the target of the reference (The matter of concern in the context of this agreement.)protected CodeableConcept
type
Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.protected List<Contract.ValuedItemComponent>
valuedItem
Contract Valued Item List.-
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Contract()
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
Unique identifier for this Contract.
-
status
protected Enumeration<Contract.ContractStatus> status
The status of the resource instance.
-
issued
protected DateTimeType issued
When this Contract was issued.
-
subject
protected List<Reference> subject
The target entity impacted by or of interest to parties to the agreement.
-
subjectTarget
protected List<Resource> subjectTarget
The actual objects that are the target of the reference (The target entity impacted by or of interest to parties to the agreement.)
-
topicTarget
protected List<Resource> topicTarget
The actual objects that are the target of the reference (The matter of concern in the context of this agreement.)
-
authority
protected List<Reference> authority
A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.
-
authorityTarget
protected List<Organization> authorityTarget
The actual objects that are the target of the reference (A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.)
-
domain
protected List<Reference> domain
Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.
-
domainTarget
protected List<Location> domainTarget
The actual objects that are the target of the reference (Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.)
-
type
protected CodeableConcept type
Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.
-
subType
protected List<CodeableConcept> subType
More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent.
-
action
protected List<CodeableConcept> action
Action stipulated by this Contract.
-
actionReason
protected List<CodeableConcept> actionReason
Reason for action stipulated by this Contract.
-
decisionType
protected CodeableConcept decisionType
The type of decision made by a grantor with respect to an offer made by a grantee.
-
contentDerivative
protected CodeableConcept contentDerivative
The minimal content derived from the basal information source at a specific stage in its lifecycle.
-
securityLabel
protected List<Coding> securityLabel
A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels.
-
agent
protected List<Contract.AgentComponent> agent
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.
-
signer
protected List<Contract.SignatoryComponent> signer
Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness.
-
valuedItem
protected List<Contract.ValuedItemComponent> valuedItem
Contract Valued Item List.
-
term
protected List<Contract.TermComponent> term
One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
binding
protected Type binding
Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.
-
friendly
protected List<Contract.FriendlyLanguageComponent> friendly
The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.
-
legal
protected List<Contract.LegalLanguageComponent> legal
List of Legal expressions or representations of this Contract.
-
rule
protected List<Contract.ComputableLanguageComponent> rule
List of Computable Policy Rule Language Representations of this Contract.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: The identity of the contract
Type: token
Path: Contract.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The identity of the contract
Type: token
Path: Contract.identifier
-
SP_AGENT
public static final String SP_AGENT
Search parameter: agentDescription: Agent to the Contact
Type: reference
Path: Contract.agent.actor
- See Also:
- Constant Field Values
-
AGENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AGENT
Fluent Client search parameter constant for agentDescription: Agent to the Contact
Type: reference
Path: Contract.agent.actor
-
INCLUDE_AGENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_AGENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:agent".
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: The identity of the subject of the contract (if a patient)
Type: reference
Path: Contract.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: The identity of the subject of the contract (if a patient)
Type: reference
Path: Contract.subject
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:patient".
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The identity of the subject of the contract
Type: reference
Path: Contract.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of the subject of the contract
Type: reference
Path: Contract.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:subject".
-
SP_AUTHORITY
public static final String SP_AUTHORITY
Search parameter: authorityDescription: The authority of the contract
Type: reference
Path: Contract.authority
- See Also:
- Constant Field Values
-
AUTHORITY
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHORITY
Fluent Client search parameter constant for authorityDescription: The authority of the contract
Type: reference
Path: Contract.authority
-
INCLUDE_AUTHORITY
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHORITY
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:authority".
-
SP_DOMAIN
public static final String SP_DOMAIN
Search parameter: domainDescription: The domain of the contract
Type: reference
Path: Contract.domain
- See Also:
- Constant Field Values
-
DOMAIN
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DOMAIN
Fluent Client search parameter constant for domainDescription: The domain of the contract
Type: reference
Path: Contract.domain
-
INCLUDE_DOMAIN
public static final ca.uhn.fhir.model.api.Include INCLUDE_DOMAIN
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:domain".
-
SP_TERM_TOPIC
public static final String SP_TERM_TOPIC
Search parameter: term-topicDescription: The identity of the topic of the contract terms
Type: reference
Path: Contract.term.topic
- See Also:
- Constant Field Values
-
TERM_TOPIC
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TERM_TOPIC
Fluent Client search parameter constant for term-topicDescription: The identity of the topic of the contract terms
Type: reference
Path: Contract.term.topic
-
INCLUDE_TERM_TOPIC
public static final ca.uhn.fhir.model.api.Include INCLUDE_TERM_TOPIC
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:term-topic".
-
SP_ISSUED
public static final String SP_ISSUED
Search parameter: issuedDescription: The date/time the contract was issued
Type: date
Path: Contract.issued
- See Also:
- Constant Field Values
-
ISSUED
public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED
Fluent Client search parameter constant for issuedDescription: The date/time the contract was issued
Type: date
Path: Contract.issued
-
SP_SIGNER
public static final String SP_SIGNER
Search parameter: signerDescription: Contract Signatory Party
Type: reference
Path: Contract.signer.party
- See Also:
- Constant Field Values
-
SIGNER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SIGNER
Fluent Client search parameter constant for signerDescription: Contract Signatory Party
Type: reference
Path: Contract.signer.party
-
INCLUDE_SIGNER
public static final ca.uhn.fhir.model.api.Include INCLUDE_SIGNER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:signer".
-
-
Constructor Detail
-
Contract
public Contract()
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier
(Unique identifier for this Contract.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public Contract setIdentifier(Identifier value)
- Parameters:
value
-identifier
(Unique identifier for this Contract.)
-
getStatusElement
public Enumeration<Contract.ContractStatus> getStatusElement()
- Returns:
status
(The status of the resource instance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public Contract setStatusElement(Enumeration<Contract.ContractStatus> value)
- Parameters:
value
-status
(The status of the resource instance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public Contract.ContractStatus getStatus()
- Returns:
- The status of the resource instance.
-
setStatus
public Contract setStatus(Contract.ContractStatus value)
- Parameters:
value
- The status of the resource instance.
-
getIssuedElement
public DateTimeType getIssuedElement()
- Returns:
issued
(When this Contract was issued.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
hasIssuedElement
public boolean hasIssuedElement()
-
hasIssued
public boolean hasIssued()
-
setIssuedElement
public Contract setIssuedElement(DateTimeType value)
- Parameters:
value
-issued
(When this Contract was issued.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
getApplies
public Period getApplies()
- Returns:
applies
(Relevant time or time-period when this Contract is applicable.)
-
hasApplies
public boolean hasApplies()
-
setApplies
public Contract setApplies(Period value)
- Parameters:
value
-applies
(Relevant time or time-period when this Contract is applicable.)
-
getSubject
public List<Reference> getSubject()
- Returns:
subject
(The target entity impacted by or of interest to parties to the agreement.)
-
setSubject
public Contract setSubject(List<Reference> theSubject)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSubject
public boolean hasSubject()
-
addSubject
public Reference addSubject()
-
addSubject
public Contract addSubject(Reference t)
-
getSubjectFirstRep
public Reference getSubjectFirstRep()
- Returns:
- The first repetition of repeating field
subject
, creating it if it does not already exist
-
getSubjectTarget
@Deprecated public List<Resource> getSubjectTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getTopic
public List<Reference> getTopic()
- Returns:
topic
(The matter of concern in the context of this agreement.)
-
setTopic
public Contract setTopic(List<Reference> theTopic)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTopic
public boolean hasTopic()
-
getTopicFirstRep
public Reference getTopicFirstRep()
- Returns:
- The first repetition of repeating field
topic
, creating it if it does not already exist
-
getTopicTarget
@Deprecated public List<Resource> getTopicTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getAuthority
public List<Reference> getAuthority()
- Returns:
authority
(A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.)
-
setAuthority
public Contract setAuthority(List<Reference> theAuthority)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAuthority
public boolean hasAuthority()
-
addAuthority
public Reference addAuthority()
-
addAuthority
public Contract addAuthority(Reference t)
-
getAuthorityFirstRep
public Reference getAuthorityFirstRep()
- Returns:
- The first repetition of repeating field
authority
, creating it if it does not already exist
-
getAuthorityTarget
@Deprecated public List<Organization> getAuthorityTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addAuthorityTarget
@Deprecated public Organization addAuthorityTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getDomain
public List<Reference> getDomain()
- Returns:
domain
(Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.)
-
setDomain
public Contract setDomain(List<Reference> theDomain)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDomain
public boolean hasDomain()
-
getDomainFirstRep
public Reference getDomainFirstRep()
- Returns:
- The first repetition of repeating field
domain
, creating it if it does not already exist
-
getDomainTarget
@Deprecated public List<Location> getDomainTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addDomainTarget
@Deprecated public Location addDomainTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getType
public CodeableConcept getType()
- Returns:
type
(Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.)
-
hasType
public boolean hasType()
-
setType
public Contract setType(CodeableConcept value)
- Parameters:
value
-type
(Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.)
-
getSubType
public List<CodeableConcept> getSubType()
- Returns:
subType
(More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent.)
-
setSubType
public Contract setSubType(List<CodeableConcept> theSubType)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSubType
public boolean hasSubType()
-
addSubType
public CodeableConcept addSubType()
-
addSubType
public Contract addSubType(CodeableConcept t)
-
getSubTypeFirstRep
public CodeableConcept getSubTypeFirstRep()
- Returns:
- The first repetition of repeating field
subType
, creating it if it does not already exist
-
getAction
public List<CodeableConcept> getAction()
- Returns:
action
(Action stipulated by this Contract.)
-
setAction
public Contract setAction(List<CodeableConcept> theAction)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAction
public boolean hasAction()
-
addAction
public CodeableConcept addAction()
-
addAction
public Contract addAction(CodeableConcept t)
-
getActionFirstRep
public CodeableConcept getActionFirstRep()
- Returns:
- The first repetition of repeating field
action
, creating it if it does not already exist
-
getActionReason
public List<CodeableConcept> getActionReason()
- Returns:
actionReason
(Reason for action stipulated by this Contract.)
-
setActionReason
public Contract setActionReason(List<CodeableConcept> theActionReason)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasActionReason
public boolean hasActionReason()
-
addActionReason
public CodeableConcept addActionReason()
-
addActionReason
public Contract addActionReason(CodeableConcept t)
-
getActionReasonFirstRep
public CodeableConcept getActionReasonFirstRep()
- Returns:
- The first repetition of repeating field
actionReason
, creating it if it does not already exist
-
getDecisionType
public CodeableConcept getDecisionType()
- Returns:
decisionType
(The type of decision made by a grantor with respect to an offer made by a grantee.)
-
hasDecisionType
public boolean hasDecisionType()
-
setDecisionType
public Contract setDecisionType(CodeableConcept value)
- Parameters:
value
-decisionType
(The type of decision made by a grantor with respect to an offer made by a grantee.)
-
getContentDerivative
public CodeableConcept getContentDerivative()
- Returns:
contentDerivative
(The minimal content derived from the basal information source at a specific stage in its lifecycle.)
-
hasContentDerivative
public boolean hasContentDerivative()
-
setContentDerivative
public Contract setContentDerivative(CodeableConcept value)
- Parameters:
value
-contentDerivative
(The minimal content derived from the basal information source at a specific stage in its lifecycle.)
-
getSecurityLabel
public List<Coding> getSecurityLabel()
- Returns:
securityLabel
(A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels.)
-
setSecurityLabel
public Contract setSecurityLabel(List<Coding> theSecurityLabel)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSecurityLabel
public boolean hasSecurityLabel()
-
addSecurityLabel
public Coding addSecurityLabel()
-
addSecurityLabel
public Contract addSecurityLabel(Coding t)
-
getSecurityLabelFirstRep
public Coding getSecurityLabelFirstRep()
- Returns:
- The first repetition of repeating field
securityLabel
, creating it if it does not already exist
-
getAgent
public List<Contract.AgentComponent> getAgent()
- Returns:
agent
(An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.)
-
setAgent
public Contract setAgent(List<Contract.AgentComponent> theAgent)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAgent
public boolean hasAgent()
-
addAgent
public Contract.AgentComponent addAgent()
-
addAgent
public Contract addAgent(Contract.AgentComponent t)
-
getAgentFirstRep
public Contract.AgentComponent getAgentFirstRep()
- Returns:
- The first repetition of repeating field
agent
, creating it if it does not already exist
-
getSigner
public List<Contract.SignatoryComponent> getSigner()
- Returns:
signer
(Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness.)
-
setSigner
public Contract setSigner(List<Contract.SignatoryComponent> theSigner)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSigner
public boolean hasSigner()
-
addSigner
public Contract.SignatoryComponent addSigner()
-
addSigner
public Contract addSigner(Contract.SignatoryComponent t)
-
getSignerFirstRep
public Contract.SignatoryComponent getSignerFirstRep()
- Returns:
- The first repetition of repeating field
signer
, creating it if it does not already exist
-
getValuedItem
public List<Contract.ValuedItemComponent> getValuedItem()
- Returns:
valuedItem
(Contract Valued Item List.)
-
setValuedItem
public Contract setValuedItem(List<Contract.ValuedItemComponent> theValuedItem)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasValuedItem
public boolean hasValuedItem()
-
addValuedItem
public Contract.ValuedItemComponent addValuedItem()
-
addValuedItem
public Contract addValuedItem(Contract.ValuedItemComponent t)
-
getValuedItemFirstRep
public Contract.ValuedItemComponent getValuedItemFirstRep()
- Returns:
- The first repetition of repeating field
valuedItem
, creating it if it does not already exist
-
getTerm
public List<Contract.TermComponent> getTerm()
- Returns:
term
(One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.)
-
setTerm
public Contract setTerm(List<Contract.TermComponent> theTerm)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTerm
public boolean hasTerm()
-
addTerm
public Contract.TermComponent addTerm()
-
addTerm
public Contract addTerm(Contract.TermComponent t)
-
getTermFirstRep
public Contract.TermComponent getTermFirstRep()
- Returns:
- The first repetition of repeating field
term
, creating it if it does not already exist
-
getBinding
public Type getBinding()
- Returns:
binding
(Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.)
-
getBindingAttachment
public Attachment getBindingAttachment() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
binding
(Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBindingAttachment
public boolean hasBindingAttachment()
-
getBindingReference
public Reference getBindingReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
binding
(Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBindingReference
public boolean hasBindingReference()
-
hasBinding
public boolean hasBinding()
-
setBinding
public Contract setBinding(Type value) throws org.hl7.fhir.exceptions.FHIRFormatError
- Parameters:
value
-binding
(Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getFriendly
public List<Contract.FriendlyLanguageComponent> getFriendly()
- Returns:
friendly
(The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.)
-
setFriendly
public Contract setFriendly(List<Contract.FriendlyLanguageComponent> theFriendly)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasFriendly
public boolean hasFriendly()
-
addFriendly
public Contract.FriendlyLanguageComponent addFriendly()
-
addFriendly
public Contract addFriendly(Contract.FriendlyLanguageComponent t)
-
getFriendlyFirstRep
public Contract.FriendlyLanguageComponent getFriendlyFirstRep()
- Returns:
- The first repetition of repeating field
friendly
, creating it if it does not already exist
-
getLegal
public List<Contract.LegalLanguageComponent> getLegal()
- Returns:
legal
(List of Legal expressions or representations of this Contract.)
-
setLegal
public Contract setLegal(List<Contract.LegalLanguageComponent> theLegal)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasLegal
public boolean hasLegal()
-
addLegal
public Contract.LegalLanguageComponent addLegal()
-
addLegal
public Contract addLegal(Contract.LegalLanguageComponent t)
-
getLegalFirstRep
public Contract.LegalLanguageComponent getLegalFirstRep()
- Returns:
- The first repetition of repeating field
legal
, creating it if it does not already exist
-
getRule
public List<Contract.ComputableLanguageComponent> getRule()
- Returns:
rule
(List of Computable Policy Rule Language Representations of this Contract.)
-
setRule
public Contract setRule(List<Contract.ComputableLanguageComponent> theRule)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasRule
public boolean hasRule()
-
addRule
public Contract.ComputableLanguageComponent addRule()
-
addRule
public Contract addRule(Contract.ComputableLanguageComponent t)
-
getRuleFirstRep
public Contract.ComputableLanguageComponent getRuleFirstRep()
- Returns:
- The first repetition of repeating field
rule
, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public Contract copy()
- Specified by:
copy
in classDomainResource
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-