Class Contract.Term.Offer.Builder

    • Method Detail

      • id

        public Contract.Term.Offer.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.Offer.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.Offer.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.Offer.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.Offer.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.Offer.Builder identifier​(Identifier... identifier)
        Unique identifier for this particular Contract Provision.

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

        Parameters:
        identifier - Offer business ID
        Returns:
        A reference to this Builder instance
      • identifier

        public Contract.Term.Offer.Builder identifier​(java.util.Collection<Identifier> identifier)
        Unique identifier for this particular Contract Provision.

        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:
        identifier - Offer business ID
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • party

        public Contract.Term.Offer.Builder party​(java.util.Collection<Contract.Term.Offer.Party> party)
        Offer Recipient.

        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:
        party - Offer Recipient
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • topic

        public Contract.Term.Offer.Builder topic​(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).
        Parameters:
        topic - Negotiable offer asset
        Returns:
        A reference to this Builder instance
      • type

        public Contract.Term.Offer.Builder type​(CodeableConcept type)
        Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.
        Parameters:
        type - Contract Offer Type or Form
        Returns:
        A reference to this Builder instance
      • decision

        public Contract.Term.Offer.Builder decision​(CodeableConcept decision)
        Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.
        Parameters:
        decision - Accepting party choice
        Returns:
        A reference to this Builder instance
      • decisionMode

        public Contract.Term.Offer.Builder decisionMode​(CodeableConcept... decisionMode)
        How the decision about a Contract was conveyed.

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

        Parameters:
        decisionMode - How decision is conveyed
        Returns:
        A reference to this Builder instance
      • decisionMode

        public Contract.Term.Offer.Builder decisionMode​(java.util.Collection<CodeableConcept> decisionMode)
        How the decision about a Contract was conveyed.

        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:
        decisionMode - How decision is conveyed
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • answer

        public Contract.Term.Offer.Builder answer​(Contract.Term.Offer.Answer... answer)
        Response to offer text.

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

        Parameters:
        answer - Response to offer text
        Returns:
        A reference to this Builder instance
      • answer

        public Contract.Term.Offer.Builder answer​(java.util.Collection<Contract.Term.Offer.Answer> answer)
        Response to offer text.

        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:
        answer - Response to offer text
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • text

        public Contract.Term.Offer.Builder text​(String text)
        Human readable form of this Contract Offer.
        Parameters:
        text - Human readable offer text
        Returns:
        A reference to this Builder instance
      • linkId

        public Contract.Term.Offer.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 text
        Returns:
        A reference to this Builder instance
        See Also:
        #linkId(org.linuxforhealth.fhir.model.type.String)
      • linkId

        public Contract.Term.Offer.Builder linkId​(String... linkId)
        The id of the clause or question text of the offer in the referenced questionnaire/response.

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

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

        public Contract.Term.Offer.Builder linkId​(java.util.Collection<String> linkId)
        The id of the clause or question text of the offer in the referenced questionnaire/response.

        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 text
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • securityLabelNumber

        public Contract.Term.Offer.Builder securityLabelNumber​(UnsignedInt... securityLabelNumber)
        Security labels that protects the offer.

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

        Parameters:
        securityLabelNumber - Offer restriction numbers
        Returns:
        A reference to this Builder instance
      • securityLabelNumber

        public Contract.Term.Offer.Builder securityLabelNumber​(java.util.Collection<UnsignedInt> securityLabelNumber)
        Security labels that protects the offer.

        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 - Offer restriction numbers
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null