Package org.hl7.fhir.r4.model
Class Contract.ContractOfferComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.Contract.ContractOfferComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Contract
public static class Contract.ContractOfferComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Contract.AnswerComponent>answerResponse to offer text.protected CodeableConceptdecisionType of choice made by accepting party with respect to an offer made by an offeror/ grantee.protected List<CodeableConcept>decisionModeHow the decision about a Contract was conveyed.protected List<Identifier>identifierUnique identifier for this particular Contract Provision.protected List<StringType>linkIdThe id of the clause or question text of the offer in the referenced questionnaire/response.protected List<Contract.ContractPartyComponent>partyOffer Recipient.protected List<UnsignedIntType>securityLabelNumberSecurity labels that protects the offer.protected StringTypetextHuman readable form of this Contract Offer.protected ReferencetopicThe owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p.protected ResourcetopicTargetThe actual object that is the target of the reference (The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p.protected CodeableConcepttypeType of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ContractOfferComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, 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.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Unique identifier for this particular Contract Provision.
-
party
protected List<Contract.ContractPartyComponent> party
Offer Recipient.
-
topic
protected Reference topic
The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).
-
topicTarget
protected Resource topicTarget
The actual object that is the target of the reference (The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).)
-
type
protected CodeableConcept type
Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.
-
decision
protected CodeableConcept decision
Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.
-
decisionMode
protected List<CodeableConcept> decisionMode
How the decision about a Contract was conveyed.
-
answer
protected List<Contract.AnswerComponent> answer
Response to offer text.
-
text
protected StringType text
Human readable form of this Contract Offer.
-
linkId
protected List<StringType> linkId
The id of the clause or question text of the offer in the referenced questionnaire/response.
-
securityLabelNumber
protected List<UnsignedIntType> securityLabelNumber
Security labels that protects the offer.
-
-
Constructor Detail
-
ContractOfferComponent
public ContractOfferComponent()
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Unique identifier for this particular Contract Provision.)
-
setIdentifier
public Contract.ContractOfferComponent setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public Contract.ContractOfferComponent addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getParty
public List<Contract.ContractPartyComponent> getParty()
- Returns:
party(Offer Recipient.)
-
setParty
public Contract.ContractOfferComponent setParty(List<Contract.ContractPartyComponent> theParty)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParty
public boolean hasParty()
-
addParty
public Contract.ContractPartyComponent addParty()
-
addParty
public Contract.ContractOfferComponent addParty(Contract.ContractPartyComponent t)
-
getPartyFirstRep
public Contract.ContractPartyComponent getPartyFirstRep()
- Returns:
- The first repetition of repeating field
party, creating it if it does not already exist
-
getTopic
public Reference getTopic()
- Returns:
topic(The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).)
-
hasTopic
public boolean hasTopic()
-
setTopic
public Contract.ContractOfferComponent setTopic(Reference value)
- Parameters:
value-topic(The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).)
-
getTopicTarget
public Resource getTopicTarget()
- Returns:
topicThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).)
-
setTopicTarget
public Contract.ContractOfferComponent setTopicTarget(Resource value)
- Parameters:
value-topicThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).)
-
getType
public CodeableConcept getType()
- Returns:
type(Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.)
-
hasType
public boolean hasType()
-
setType
public Contract.ContractOfferComponent setType(CodeableConcept value)
- Parameters:
value-type(Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.)
-
getDecision
public CodeableConcept getDecision()
- Returns:
decision(Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.)
-
hasDecision
public boolean hasDecision()
-
setDecision
public Contract.ContractOfferComponent setDecision(CodeableConcept value)
- Parameters:
value-decision(Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.)
-
getDecisionMode
public List<CodeableConcept> getDecisionMode()
- Returns:
decisionMode(How the decision about a Contract was conveyed.)
-
setDecisionMode
public Contract.ContractOfferComponent setDecisionMode(List<CodeableConcept> theDecisionMode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDecisionMode
public boolean hasDecisionMode()
-
addDecisionMode
public CodeableConcept addDecisionMode()
-
addDecisionMode
public Contract.ContractOfferComponent addDecisionMode(CodeableConcept t)
-
getDecisionModeFirstRep
public CodeableConcept getDecisionModeFirstRep()
- Returns:
- The first repetition of repeating field
decisionMode, creating it if it does not already exist
-
getAnswer
public List<Contract.AnswerComponent> getAnswer()
- Returns:
answer(Response to offer text.)
-
setAnswer
public Contract.ContractOfferComponent setAnswer(List<Contract.AnswerComponent> theAnswer)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAnswer
public boolean hasAnswer()
-
addAnswer
public Contract.AnswerComponent addAnswer()
-
addAnswer
public Contract.ContractOfferComponent addAnswer(Contract.AnswerComponent t)
-
getAnswerFirstRep
public Contract.AnswerComponent getAnswerFirstRep()
- Returns:
- The first repetition of repeating field
answer, creating it if it does not already exist
-
getTextElement
public StringType getTextElement()
- Returns:
text(Human readable form of this Contract Offer.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
hasTextElement
public boolean hasTextElement()
-
hasText
public boolean hasText()
-
setTextElement
public Contract.ContractOfferComponent setTextElement(StringType value)
- Parameters:
value-text(Human readable form of this Contract Offer.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
setText
public Contract.ContractOfferComponent setText(String value)
- Parameters:
value- Human readable form of this Contract Offer.
-
getLinkId
public List<StringType> getLinkId()
- Returns:
linkId(The id of the clause or question text of the offer in the referenced questionnaire/response.)
-
setLinkId
public Contract.ContractOfferComponent setLinkId(List<StringType> theLinkId)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLinkId
public boolean hasLinkId()
-
addLinkIdElement
public StringType addLinkIdElement()
- Returns:
linkId(The id of the clause or question text of the offer in the referenced questionnaire/response.)
-
addLinkId
public Contract.ContractOfferComponent addLinkId(String value)
- Parameters:
value-linkId(The id of the clause or question text of the offer in the referenced questionnaire/response.)
-
hasLinkId
public boolean hasLinkId(String value)
- Parameters:
value-linkId(The id of the clause or question text of the offer in the referenced questionnaire/response.)
-
getSecurityLabelNumber
public List<UnsignedIntType> getSecurityLabelNumber()
- Returns:
securityLabelNumber(Security labels that protects the offer.)
-
setSecurityLabelNumber
public Contract.ContractOfferComponent setSecurityLabelNumber(List<UnsignedIntType> theSecurityLabelNumber)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSecurityLabelNumber
public boolean hasSecurityLabelNumber()
-
addSecurityLabelNumberElement
public UnsignedIntType addSecurityLabelNumberElement()
- Returns:
securityLabelNumber(Security labels that protects the offer.)
-
addSecurityLabelNumber
public Contract.ContractOfferComponent addSecurityLabelNumber(int value)
- Parameters:
value-securityLabelNumber(Security labels that protects the offer.)
-
hasSecurityLabelNumber
public boolean hasSecurityLabelNumber(int value)
- Parameters:
value-securityLabelNumber(Security labels that protects the offer.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Contract.ContractOfferComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(Contract.ContractOfferComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-