Class Contract
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: A formal agreement between parties regarding the conduct of business, exchange of information or other matters.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Contract
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Contract.actor ()static class
Block class for child element: Contract.friendly ()static class
Block class for child element: Contract.legal ()static class
Block class for child element: Contract.rule ()static class
Block class for child element: Contract.signer ()static class
Block class for child element: Contract.term ()static class
Block class for child element: Contract.term.actor ()static class
Block class for child element: Contract.term.valuedItem ()static class
Block class for child element: Contract.valuedItem () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for actorstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for signerstatic final String
Search parameter constant for actorstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for signerstatic final String
Search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for action ()addAction
(CodeableConceptDt theValue) Adds a given new value for action ()Adds and returns a new value for actionReason ()addActionReason
(CodeableConceptDt theValue) Adds a given new value for actionReason ()addActor()
Adds and returns a new value for actor ()addActor
(Contract.Actor theValue) Adds a given new value for actor ()Adds and returns a new value for authority ()Adds and returns a new value for domain ()Adds and returns a new value for friendly ()addFriendly
(Contract.Friendly theValue) Adds a given new value for friendly ()addLegal()
Adds and returns a new value for legal ()addLegal
(Contract.Legal theValue) Adds a given new value for legal ()addRule()
Adds and returns a new value for rule ()addRule
(Contract.Rule theValue) Adds a given new value for rule ()Adds and returns a new value for signer ()addSigner
(Contract.Signer theValue) Adds a given new value for signer ()Adds and returns a new value for subject ()Adds and returns a new value for subType ()addSubType
(CodeableConceptDt theValue) Adds a given new value for subType ()addTerm()
Adds and returns a new value for term ()addTerm
(Contract.Term theValue) Adds a given new value for term ()Adds and returns a new value for valuedItem ()addValuedItem
(Contract.ValuedItem theValue) Adds a given new value for valuedItem ()Gets the value(s) for action ().Gets the first repetition for action (), creating it if it does not already exist.Gets the value(s) for actionReason ().Gets the first repetition for actionReason (), creating it if it does not already exist.getActor()
Gets the value(s) for actor ().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) Gets the value(s) for applies ().Gets the value(s) for authority ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for binding[x] ().Gets the value(s) for domain ().Gets the value(s) for friendly ().Gets the first repetition for friendly (), creating it if it does not already exist.Gets the value(s) for identifier ().Gets the value(s) for issued ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for issued ().getLegal()
Gets the value(s) for legal ().Gets the first repetition for legal (), creating it if it does not already exist.getRule()
Gets the value(s) for rule ().Gets the first repetition for rule (), creating it if it does not already exist.Gets the value(s) for signer ().Gets the first repetition for signer (), creating it if it does not already exist.ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject ().Gets the value(s) for subType ().Gets the first repetition for subType (), creating it if it does not already exist.getTerm()
Gets the value(s) for term ().Gets the first repetition for term (), creating it if it does not already exist.getType()
Gets the value(s) for type ().Gets the value(s) for valuedItem ().Gets the first repetition for valuedItem (), creating it if it does not already exist.boolean
isEmpty()
setAction
(List<CodeableConceptDt> theValue) Sets the value(s) for action ()setActionReason
(List<CodeableConceptDt> theValue) Sets the value(s) for actionReason ()setActor
(List<Contract.Actor> theValue) Sets the value(s) for actor ()setApplies
(PeriodDt theValue) Sets the value(s) for applies ()setAuthority
(List<ResourceReferenceDt> theValue) Sets the value(s) for authority ()setBinding
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for binding[x] ()setDomain
(List<ResourceReferenceDt> theValue) Sets the value(s) for domain ()setFriendly
(List<Contract.Friendly> theValue) Sets the value(s) for friendly ()setIdentifier
(IdentifierDt theValue) Sets the value(s) for identifier ()setIssued
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for issued ()Sets the value for issued ()setIssuedWithSecondsPrecision
(Date theDate) Sets the value for issued ()setLegal
(List<Contract.Legal> theValue) Sets the value(s) for legal ()setRule
(List<Contract.Rule> theValue) Sets the value(s) for rule ()setSigner
(List<Contract.Signer> theValue) Sets the value(s) for signer ()setSubject
(List<ResourceReferenceDt> theValue) Sets the value(s) for subject ()setSubType
(List<CodeableConceptDt> theValue) Sets the value(s) for subType ()setTerm
(List<Contract.Term> theValue) Sets the value(s) for term ()setType
(CodeableConceptDt theValue) Sets the value(s) for type ()setValuedItem
(List<Contract.ValuedItem> theValue) Sets the value(s) for valuedItem ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_SUBJECT
Search parameter constant for subjectDescription: The identity of the target of the contract
Type: reference
Path: Contract.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of the target of the contract
Type: reference
Path: Contract.subject
-
SP_PATIENT
Search parameter constant for patientDescription: The identity of the target of the contract (if a patient)
Type: reference
Path: Contract.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of the target of the contract (if a patient)
Type: reference
Path: Contract.subject
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: The identity of the contract
Type: token
Path: Contract.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The identity of the contract
Type: token
Path: Contract.identifier
-
SP_ACTOR
Search parameter constant for actorDescription:
Type: reference
Path: Contract.actor.entity
- See Also:
-
ACTOR
Fluent Client search parameter constant for actorDescription:
Type: reference
Path: Contract.actor.entity
-
SP_SIGNER
Search parameter constant for signerDescription:
Type: reference
Path: Contract.signer.party
- See Also:
-
SIGNER
Fluent Client search parameter constant for signerDescription:
Type: reference
Path: Contract.signer.party
-
INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:actor". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:patient". -
INCLUDE_SIGNER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:signer". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Contract:subject".
-
-
Constructor Details
-
Contract
public Contract()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Unique identifier for this Contract.
-
setIdentifier
Sets the value(s) for identifier ()Definition: Unique identifier for this Contract.
-
getIssuedElement
Gets the value(s) for issued (). creating it if it does not exist. Will not returnnull
.Definition: When this Contract was issued.
-
getIssued
Gets the value(s) for issued (). creating it if it does not exist. This method may returnnull
.Definition: When this Contract was issued.
-
setIssued
Sets the value(s) for issued ()Definition: When this Contract was issued.
-
setIssuedWithSecondsPrecision
Sets the value for issued ()Definition: When this Contract was issued.
-
setIssued
Sets the value for issued ()Definition: When this Contract was issued.
-
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 is applicable
-
setApplies
Sets the value(s) for applies ()Definition: Relevant time or time-period when this Contract is applicable
-
getSubject
Gets the value(s) for subject (). creating it if it does not exist. Will not returnnull
.Definition: Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services.
-
setSubject
Sets the value(s) for subject ()Definition: Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services.
-
addSubject
Adds and returns a new value for subject ()Definition: Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services.
-
getAuthority
Gets the value(s) for authority (). creating it if it does not exist. Will not returnnull
.Definition: 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
Sets the value(s) for authority ()Definition: 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.
-
addAuthority
Adds and returns a new value for authority ()Definition: 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.
-
getDomain
Gets the value(s) for domain (). creating it if it does not exist. Will not returnnull
.Definition: 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
Sets the value(s) for domain ()Definition: 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.
-
addDomain
Adds and returns a new value for domain ()Definition: 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.
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.
-
setType
Sets the value(s) for type ()Definition: 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
Gets the value(s) for subType (). creating it if it does not exist. Will not returnnull
.Definition: 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
Sets the value(s) for subType ()Definition: 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.
-
addSubType
Adds and returns a new value for subType ()Definition: 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.
-
addSubType
Adds a given new value for subType ()Definition: 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.
- Parameters:
theValue
- The subType to add (must not benull
)
-
getSubTypeFirstRep
Gets the first repetition for subType (), creating it if it does not already exist.Definition: 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.
-
getAction
Gets the value(s) for action (). creating it if it does not exist. Will not returnnull
.Definition: Action stipulated by this Contract.
-
setAction
Sets the value(s) for action ()Definition: Action stipulated by this Contract.
-
addAction
Adds and returns a new value for action ()Definition: Action stipulated by this Contract.
-
addAction
Adds a given new value for action ()Definition: Action stipulated by this Contract.
- Parameters:
theValue
- The action to add (must not benull
)
-
getActionFirstRep
Gets the first repetition for action (), creating it if it does not already exist.Definition: Action stipulated by this Contract.
-
getActionReason
Gets the value(s) for actionReason (). creating it if it does not exist. Will not returnnull
.Definition: Reason for action stipulated by this Contract.
-
setActionReason
Sets the value(s) for actionReason ()Definition: Reason for action stipulated by this Contract.
-
addActionReason
Adds and returns a new value for actionReason ()Definition: Reason for action stipulated by this Contract.
-
addActionReason
Adds a given new value for actionReason ()Definition: Reason for action stipulated by this Contract.
- Parameters:
theValue
- The actionReason to add (must not benull
)
-
getActionReasonFirstRep
Gets the first repetition for actionReason (), creating it if it does not already exist.Definition: Reason for action stipulated by this Contract.
-
getActor
Gets the value(s) for actor (). creating it if it does not exist. Will not returnnull
.Definition: List of Contract actors
-
setActor
Sets the value(s) for actor ()Definition: List of Contract actors
-
addActor
Adds and returns a new value for actor ()Definition: List of Contract actors
-
addActor
Adds a given new value for actor ()Definition: List of Contract actors
- Parameters:
theValue
- The actor to add (must not benull
)
-
getActorFirstRep
Gets the first repetition for actor (), creating it if it does not already exist.Definition: List of Contract actors
-
getValuedItem
Gets the value(s) for valuedItem (). creating it if it does not exist. Will not returnnull
.Definition: Contract Valued Item List
-
setValuedItem
Sets the value(s) for valuedItem ()Definition: Contract Valued Item List
-
addValuedItem
Adds and returns a new value for valuedItem ()Definition: Contract Valued Item List
-
addValuedItem
Adds a given new value for valuedItem ()Definition: Contract Valued Item List
- Parameters:
theValue
- The valuedItem to add (must not benull
)
-
getValuedItemFirstRep
Gets the first repetition for valuedItem (), creating it if it does not already exist.Definition: Contract Valued Item List
-
getSigner
Gets the value(s) for signer (). creating it if it does not exist. Will not returnnull
.Definition: Party signing this Contract.
-
setSigner
Sets the value(s) for signer ()Definition: Party signing this Contract.
-
addSigner
Adds and returns a new value for signer ()Definition: Party signing this Contract.
-
addSigner
Adds a given new value for signer ()Definition: Party signing this Contract.
- Parameters:
theValue
- The signer to add (must not benull
)
-
getSignerFirstRep
Gets the first repetition for signer (), creating it if it does not already exist.Definition: Party signing this Contract.
-
getTerm
Gets the value(s) for term (). creating it if it does not exist. Will not returnnull
.Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
setTerm
Sets the value(s) for term ()Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
addTerm
Adds and returns a new value for term ()Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
addTerm
Adds a given new value for term ()Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
- Parameters:
theValue
- The term to add (must not benull
)
-
getTermFirstRep
Gets the first repetition for term (), creating it if it does not already exist.Definition: One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
getBinding
Gets the value(s) for binding[x] (). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setBinding
Sets the value(s) for binding[x] ()Definition: 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.
-
getFriendly
Gets the value(s) for friendly (). creating it if it does not exist. Will not returnnull
.Definition: 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
Sets the value(s) for friendly ()Definition: 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.
-
addFriendly
Adds and returns a new value for friendly ()Definition: 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.
-
addFriendly
Adds a given new value for friendly ()Definition: 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.
- Parameters:
theValue
- The friendly to add (must not benull
)
-
getFriendlyFirstRep
Gets the first repetition for friendly (), creating it if it does not already exist.Definition: 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.
-
getLegal
Gets the value(s) for legal (). creating it if it does not exist. Will not returnnull
.Definition: List of Legal expressions or representations of this Contract.
-
setLegal
Sets the value(s) for legal ()Definition: List of Legal expressions or representations of this Contract.
-
addLegal
Adds and returns a new value for legal ()Definition: List of Legal expressions or representations of this Contract.
-
addLegal
Adds a given new value for legal ()Definition: List of Legal expressions or representations of this Contract.
- Parameters:
theValue
- The legal to add (must not benull
)
-
getLegalFirstRep
Gets the first repetition for legal (), creating it if it does not already exist.Definition: List of Legal expressions or representations of this Contract.
-
getRule
Gets the value(s) for rule (). creating it if it does not exist. Will not returnnull
.Definition: List of Computable Policy Rule Language Representations of this Contract.
-
setRule
Sets the value(s) for rule ()Definition: List of Computable Policy Rule Language Representations of this Contract.
-
addRule
Adds and returns a new value for rule ()Definition: List of Computable Policy Rule Language Representations of this Contract.
-
addRule
Adds a given new value for rule ()Definition: List of Computable Policy Rule Language Representations of this Contract.
- Parameters:
theValue
- The rule to add (must not benull
)
-
getRuleFirstRep
Gets the first repetition for rule (), creating it if it does not already exist.Definition: List of Computable Policy Rule Language Representations of this Contract.
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-