Class Contract.Term.Asset.ValuedItem.Builder

    • Method Detail

      • id

        public Contract.Term.Asset.ValuedItem.Builder id​(java.lang.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 class BackboneElement.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. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class BackboneElement.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public Contract.Term.Asset.ValuedItem.Builder extension​(java.util.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. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class BackboneElement.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class BackboneElement.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​(java.util.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. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class BackboneElement.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored even if unrecognized
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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
      • linkId

        public Contract.Term.Asset.ValuedItem.Builder linkId​(java.lang.String... linkId)
        Convenience method for setting linkId.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to specific item
        Returns:
        A reference to this Builder instance
        See Also:
        #linkId(org.linuxforhealth.fhir.model.type.String)
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to specific item
        Returns:
        A reference to this Builder instance
      • linkId

        public Contract.Term.Asset.ValuedItem.Builder linkId​(java.util.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. If any of the elements are null, calling build() will fail.

        Parameters:
        linkId - Pointer to specific item
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • 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. If any of the elements are null, calling build() will fail.

        Parameters:
        securityLabelNumber - Security Labels that define affected terms
        Returns:
        A reference to this Builder instance
      • securityLabelNumber

        public Contract.Term.Asset.ValuedItem.Builder securityLabelNumber​(java.util.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. If any of the elements are null, calling build() will fail.

        Parameters:
        securityLabelNumber - Security Labels that define affected terms
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null