Class Contract.Term.Asset.ValuedItem.Builder
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<Element>
-
- com.ibm.fhir.model.type.Element.Builder
-
- com.ibm.fhir.model.type.BackboneElement.Builder
-
- com.ibm.fhir.model.resource.Contract.Term.Asset.ValuedItem.Builder
-
- Enclosing class:
- Contract.Term.Asset.ValuedItem
public static class Contract.Term.Asset.ValuedItem.Builder extends BackboneElement.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
modifierExtension
-
Fields inherited from class com.ibm.fhir.model.type.Element.Builder
extension, id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contract.Term.Asset.ValuedItem
build()
Build theContract.Term.Asset.ValuedItem
Contract.Term.Asset.ValuedItem.Builder
effectiveTime(DateTime effectiveTime)
Indicates the time during which this Contract ValuedItem information is effective.Contract.Term.Asset.ValuedItem.Builder
entity(Element entity)
Specific type of Contract Valued Item that may be priced.Contract.Term.Asset.ValuedItem.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element.Contract.Term.Asset.ValuedItem.Builder
extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element.Contract.Term.Asset.ValuedItem.Builder
factor(Decimal factor)
A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered.protected Contract.Term.Asset.ValuedItem.Builder
from(Contract.Term.Asset.ValuedItem valuedItem)
Contract.Term.Asset.ValuedItem.Builder
id(String id)
Unique id for the element within a resource (for internal references).Contract.Term.Asset.ValuedItem.Builder
identifier(Identifier identifier)
Identifies a Contract Valued Item instance.Contract.Term.Asset.ValuedItem.Builder
linkId(String... linkId)
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.Contract.Term.Asset.ValuedItem.Builder
linkId(Collection<String> linkId)
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.Contract.Term.Asset.ValuedItem.Builder
modifierExtension(Extension... modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.Contract.Term.Asset.ValuedItem.Builder
modifierExtension(Collection<Extension> modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.Contract.Term.Asset.ValuedItem.Builder
net(Money net)
Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt.Contract.Term.Asset.ValuedItem.Builder
payment(String payment)
Terms of valuation.Contract.Term.Asset.ValuedItem.Builder
paymentDate(DateTime paymentDate)
When payment is due.Contract.Term.Asset.ValuedItem.Builder
points(Decimal points)
An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered.Contract.Term.Asset.ValuedItem.Builder
quantity(SimpleQuantity quantity)
Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.Contract.Term.Asset.ValuedItem.Builder
recipient(Reference recipient)
Who will receive payment.Contract.Term.Asset.ValuedItem.Builder
responsible(Reference responsible)
Who will make payment.Contract.Term.Asset.ValuedItem.Builder
securityLabelNumber(UnsignedInt... securityLabelNumber)
A set of security labels that define which terms are controlled by this condition.Contract.Term.Asset.ValuedItem.Builder
securityLabelNumber(Collection<UnsignedInt> securityLabelNumber)
A set of security labels that define which terms are controlled by this condition.Contract.Term.Asset.ValuedItem.Builder
unitPrice(Money unitPrice)
A Contract Valued Item unit valuation measure.-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
from
-
Methods inherited from class com.ibm.fhir.model.type.Element.Builder
from
-
-
-
-
Method Detail
-
id
public Contract.Term.Asset.ValuedItem.Builder id(String id)
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.- Overrides:
id
in classBackboneElement.Builder
- Parameters:
id
- Unique id for inter-element referencing- Returns:
- A reference to this Builder instance
-
extension
public Contract.Term.Asset.ValuedItem.Builder extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Adds new element(s) to the existing list
- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public Contract.Term.Asset.ValuedItem.Builder extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Replaces the existing list with a new one containing elements from the Collection
- Overrides:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
modifierExtension
public Contract.Term.Asset.ValuedItem.Builder modifierExtension(Extension... modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Adds new element(s) to the existing list
- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public Contract.Term.Asset.ValuedItem.Builder modifierExtension(Collection<Extension> modifierExtension)
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Replaces the existing list with a new one containing elements from the Collection
- Overrides:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
entity
public Contract.Term.Asset.ValuedItem.Builder entity(Element entity)
Specific type of Contract Valued Item that may be priced.This is a choice element with the following allowed types:
- Parameters:
entity
- Contract Valued Item Type- Returns:
- A reference to this Builder instance
-
identifier
public Contract.Term.Asset.ValuedItem.Builder identifier(Identifier identifier)
Identifies a Contract Valued Item instance.- Parameters:
identifier
- Contract Valued Item Number- Returns:
- A reference to this Builder instance
-
effectiveTime
public Contract.Term.Asset.ValuedItem.Builder effectiveTime(DateTime effectiveTime)
Indicates the time during which this Contract ValuedItem information is effective.- Parameters:
effectiveTime
- Contract Valued Item Effective Tiem- Returns:
- A reference to this Builder instance
-
quantity
public Contract.Term.Asset.ValuedItem.Builder quantity(SimpleQuantity quantity)
Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.- Parameters:
quantity
- Count of Contract Valued Items- Returns:
- A reference to this Builder instance
-
unitPrice
public Contract.Term.Asset.ValuedItem.Builder unitPrice(Money unitPrice)
A Contract Valued Item unit valuation measure.- Parameters:
unitPrice
- Contract Valued Item fee, charge, or cost- Returns:
- A reference to this Builder instance
-
factor
public Contract.Term.Asset.ValuedItem.Builder factor(Decimal factor)
A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.- Parameters:
factor
- Contract Valued Item Price Scaling Factor- Returns:
- A reference to this Builder instance
-
points
public Contract.Term.Asset.ValuedItem.Builder points(Decimal points)
An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.- Parameters:
points
- Contract Valued Item Difficulty Scaling Factor- Returns:
- A reference to this Builder instance
-
net
public Contract.Term.Asset.ValuedItem.Builder net(Money net)
Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.- Parameters:
net
- Total Contract Valued Item Value- Returns:
- A reference to this Builder instance
-
payment
public Contract.Term.Asset.ValuedItem.Builder payment(String payment)
Terms of valuation.- Parameters:
payment
- Terms of valuation- Returns:
- A reference to this Builder instance
-
paymentDate
public Contract.Term.Asset.ValuedItem.Builder paymentDate(DateTime paymentDate)
When payment is due.- Parameters:
paymentDate
- When payment is due- Returns:
- A reference to this Builder instance
-
responsible
public Contract.Term.Asset.ValuedItem.Builder responsible(Reference responsible)
Who will make payment.Allowed resource types for this reference:
- Parameters:
responsible
- Who will make payment- Returns:
- A reference to this Builder instance
-
recipient
public Contract.Term.Asset.ValuedItem.Builder recipient(Reference recipient)
Who will receive payment.Allowed resource types for this reference:
- Parameters:
recipient
- Who will receive payment- Returns:
- A reference to this Builder instance
-
linkId
public Contract.Term.Asset.ValuedItem.Builder linkId(String... linkId)
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.Adds new element(s) to the existing list
- Parameters:
linkId
- Pointer to specific item- Returns:
- A reference to this Builder instance
-
linkId
public Contract.Term.Asset.ValuedItem.Builder linkId(Collection<String> linkId)
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
linkId
- Pointer to specific item- Returns:
- A reference to this Builder instance
-
securityLabelNumber
public Contract.Term.Asset.ValuedItem.Builder securityLabelNumber(UnsignedInt... securityLabelNumber)
A set of security labels that define which terms are controlled by this condition.Adds new element(s) to the existing list
- Parameters:
securityLabelNumber
- Security Labels that define affected terms- Returns:
- A reference to this Builder instance
-
securityLabelNumber
public Contract.Term.Asset.ValuedItem.Builder securityLabelNumber(Collection<UnsignedInt> securityLabelNumber)
A set of security labels that define which terms are controlled by this condition.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
securityLabelNumber
- Security Labels that define affected terms- Returns:
- A reference to this Builder instance
-
build
public Contract.Term.Asset.ValuedItem build()
Build theContract.Term.Asset.ValuedItem
- Specified by:
build
in interfaceBuilder<Element>
- Specified by:
build
in classBackboneElement.Builder
- Returns:
- An immutable object of type
Contract.Term.Asset.ValuedItem
- Throws:
IllegalStateException
- if the current state cannot be built into a valid ValuedItem per the base specification
-
from
protected Contract.Term.Asset.ValuedItem.Builder from(Contract.Term.Asset.ValuedItem valuedItem)
-
-