Class MedicinalProductDefinition.Builder

    • Method Detail

      • id

        public MedicinalProductDefinition.Builder id​(java.lang.String id)
        The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
        Overrides:
        id in class DomainResource.Builder
        Parameters:
        id - Logical id of this artifact
        Returns:
        A reference to this Builder instance
      • meta

        public MedicinalProductDefinition.Builder meta​(Meta meta)
        The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
        Overrides:
        meta in class DomainResource.Builder
        Parameters:
        meta - Metadata about the resource
        Returns:
        A reference to this Builder instance
      • implicitRules

        public MedicinalProductDefinition.Builder implicitRules​(Uri implicitRules)
        A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
        Overrides:
        implicitRules in class DomainResource.Builder
        Parameters:
        implicitRules - A set of rules under which this content was created
        Returns:
        A reference to this Builder instance
      • text

        public MedicinalProductDefinition.Builder text​(Narrative text)
        A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
        Overrides:
        text in class DomainResource.Builder
        Parameters:
        text - Text summary of the resource, for human interpretation
        Returns:
        A reference to this Builder instance
      • contained

        public MedicinalProductDefinition.Builder contained​(Resource... contained)
        These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

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

        Overrides:
        contained in class DomainResource.Builder
        Parameters:
        contained - Contained, inline Resources
        Returns:
        A reference to this Builder instance
      • contained

        public MedicinalProductDefinition.Builder contained​(java.util.Collection<Resource> contained)
        These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

        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:
        contained in class DomainResource.Builder
        Parameters:
        contained - Contained, inline Resources
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • extension

        public MedicinalProductDefinition.Builder extension​(Extension... extension)
        May be used to represent additional information that is not part of the basic definition of the resource. 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 DomainResource.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public MedicinalProductDefinition.Builder extension​(java.util.Collection<Extension> extension)
        May be used to represent additional information that is not part of the basic definition of the resource. 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 DomainResource.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 MedicinalProductDefinition.Builder modifierExtension​(Extension... modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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 DomainResource.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored
        Returns:
        A reference to this Builder instance
      • modifierExtension

        public MedicinalProductDefinition.Builder modifierExtension​(java.util.Collection<Extension> modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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 DomainResource.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • identifier

        public MedicinalProductDefinition.Builder identifier​(Identifier... identifier)
        Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.

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

        Parameters:
        identifier - Business identifier for this product. Could be an MPID
        Returns:
        A reference to this Builder instance
      • identifier

        public MedicinalProductDefinition.Builder identifier​(java.util.Collection<Identifier> identifier)
        Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.

        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 - Business identifier for this product. Could be an MPID
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • type

        public MedicinalProductDefinition.Builder type​(CodeableConcept type)
        Regulatory type, e.g. Investigational or Authorized.
        Parameters:
        type - Regulatory type, e.g. Investigational or Authorized
        Returns:
        A reference to this Builder instance
      • domain

        public MedicinalProductDefinition.Builder domain​(CodeableConcept domain)
        If this medicine applies to human or veterinary uses.
        Parameters:
        domain - If this medicine applies to human or veterinary uses
        Returns:
        A reference to this Builder instance
      • version

        public MedicinalProductDefinition.Builder version​(String version)
        A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product.
        Parameters:
        version - A business identifier relating to a specific version of the product
        Returns:
        A reference to this Builder instance
      • status

        public MedicinalProductDefinition.Builder status​(CodeableConcept status)
        The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status.
        Parameters:
        status - The status within the lifecycle of this product record
        Returns:
        A reference to this Builder instance
      • statusDate

        public MedicinalProductDefinition.Builder statusDate​(DateTime statusDate)
        The date at which the given status became applicable.
        Parameters:
        statusDate - The date at which the given status became applicable
        Returns:
        A reference to this Builder instance
      • description

        public MedicinalProductDefinition.Builder description​(Markdown description)
        General description of this product.
        Parameters:
        description - General description of this product
        Returns:
        A reference to this Builder instance
      • combinedPharmaceuticalDoseForm

        public MedicinalProductDefinition.Builder combinedPharmaceuticalDoseForm​(CodeableConcept combinedPharmaceuticalDoseForm)
        The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).
        Parameters:
        combinedPharmaceuticalDoseForm - The dose form for a single part product, or combined form of a multiple part product
        Returns:
        A reference to this Builder instance
      • route

        public MedicinalProductDefinition.Builder route​(CodeableConcept... route)
        The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.

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

        Parameters:
        route - The path by which the product is taken into or makes contact with the body
        Returns:
        A reference to this Builder instance
      • route

        public MedicinalProductDefinition.Builder route​(java.util.Collection<CodeableConcept> route)
        The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.

        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:
        route - The path by which the product is taken into or makes contact with the body
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • indication

        public MedicinalProductDefinition.Builder indication​(Markdown indication)
        Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate.
        Parameters:
        indication - Description of indication(s) for this product, used when structured indications are not required
        Returns:
        A reference to this Builder instance
      • legalStatusOfSupply

        public MedicinalProductDefinition.Builder legalStatusOfSupply​(CodeableConcept legalStatusOfSupply)
        The legal status of supply of the medicinal product as classified by the regulator.
        Parameters:
        legalStatusOfSupply - The legal status of supply of the medicinal product as classified by the regulator
        Returns:
        A reference to this Builder instance
      • additionalMonitoringIndicator

        public MedicinalProductDefinition.Builder additionalMonitoringIndicator​(CodeableConcept additionalMonitoringIndicator)
        Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.
        Parameters:
        additionalMonitoringIndicator - Whether the Medicinal Product is subject to additional monitoring for regulatory reasons
        Returns:
        A reference to this Builder instance
      • specialMeasures

        public MedicinalProductDefinition.Builder specialMeasures​(CodeableConcept... specialMeasures)
        Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.

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

        Parameters:
        specialMeasures - Whether the Medicinal Product is subject to special measures for regulatory reasons
        Returns:
        A reference to this Builder instance
      • specialMeasures

        public MedicinalProductDefinition.Builder specialMeasures​(java.util.Collection<CodeableConcept> specialMeasures)
        Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.

        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:
        specialMeasures - Whether the Medicinal Product is subject to special measures for regulatory reasons
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • pediatricUseIndicator

        public MedicinalProductDefinition.Builder pediatricUseIndicator​(CodeableConcept pediatricUseIndicator)
        If authorised for use in children, or infants, neonates etc.
        Parameters:
        pediatricUseIndicator - If authorised for use in children
        Returns:
        A reference to this Builder instance
      • classification

        public MedicinalProductDefinition.Builder classification​(CodeableConcept... classification)
        Allows the product to be classified by various systems, commonly WHO ATC.

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

        Parameters:
        classification - Allows the product to be classified by various systems
        Returns:
        A reference to this Builder instance
      • classification

        public MedicinalProductDefinition.Builder classification​(java.util.Collection<CodeableConcept> classification)
        Allows the product to be classified by various systems, commonly WHO ATC.

        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:
        classification - Allows the product to be classified by various systems
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • marketingStatus

        public MedicinalProductDefinition.Builder marketingStatus​(MarketingStatus... marketingStatus)
        Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).

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

        Parameters:
        marketingStatus - Marketing status of the medicinal product, in contrast to marketing authorization
        Returns:
        A reference to this Builder instance
      • marketingStatus

        public MedicinalProductDefinition.Builder marketingStatus​(java.util.Collection<MarketingStatus> marketingStatus)
        Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).

        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:
        marketingStatus - Marketing status of the medicinal product, in contrast to marketing authorization
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • packagedMedicinalProduct

        public MedicinalProductDefinition.Builder packagedMedicinalProduct​(CodeableConcept... packagedMedicinalProduct)
        Package type for the product. See also the PackagedProductDefinition resource.

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

        Parameters:
        packagedMedicinalProduct - Package type for the product
        Returns:
        A reference to this Builder instance
      • packagedMedicinalProduct

        public MedicinalProductDefinition.Builder packagedMedicinalProduct​(java.util.Collection<CodeableConcept> packagedMedicinalProduct)
        Package type for the product. See also the PackagedProductDefinition resource.

        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:
        packagedMedicinalProduct - Package type for the product
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • ingredient

        public MedicinalProductDefinition.Builder ingredient​(CodeableConcept... ingredient)
        The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.

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

        Parameters:
        ingredient - The ingredients of this medicinal product - when not detailed in other resources
        Returns:
        A reference to this Builder instance
      • ingredient

        public MedicinalProductDefinition.Builder ingredient​(java.util.Collection<CodeableConcept> ingredient)
        The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.

        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:
        ingredient - The ingredients of this medicinal product - when not detailed in other resources
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • impurity

        public MedicinalProductDefinition.Builder impurity​(CodeableReference... impurity)
        Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.

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

        Parameters:
        impurity - Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product
        Returns:
        A reference to this Builder instance
      • impurity

        public MedicinalProductDefinition.Builder impurity​(java.util.Collection<CodeableReference> impurity)
        Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.

        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:
        impurity - Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • attachedDocument

        public MedicinalProductDefinition.Builder attachedDocument​(Reference... attachedDocument)
        Additional information or supporting documentation about the medicinal product.

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

        Allowed resource types for the references:

        Parameters:
        attachedDocument - Additional documentation about the medicinal product
        Returns:
        A reference to this Builder instance
      • attachedDocument

        public MedicinalProductDefinition.Builder attachedDocument​(java.util.Collection<Reference> attachedDocument)
        Additional information or supporting documentation about the medicinal product.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Allowed resource types for the references:

        Parameters:
        attachedDocument - Additional documentation about the medicinal product
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • masterFile

        public MedicinalProductDefinition.Builder masterFile​(Reference... masterFile)
        A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products.

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

        Allowed resource types for the references:

        Parameters:
        masterFile - A master file for the medicinal product (e.g. Pharmacovigilance System Master File)
        Returns:
        A reference to this Builder instance
      • masterFile

        public MedicinalProductDefinition.Builder masterFile​(java.util.Collection<Reference> masterFile)
        A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Allowed resource types for the references:

        Parameters:
        masterFile - A master file for the medicinal product (e.g. Pharmacovigilance System Master File)
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • contact

        public MedicinalProductDefinition.Builder contact​(MedicinalProductDefinition.Contact... contact)
        A product specific contact, person (in a role), or an organization.

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

        Parameters:
        contact - A product specific contact, person (in a role), or an organization
        Returns:
        A reference to this Builder instance
      • contact

        public MedicinalProductDefinition.Builder contact​(java.util.Collection<MedicinalProductDefinition.Contact> contact)
        A product specific contact, person (in a role), or an organization.

        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:
        contact - A product specific contact, person (in a role), or an organization
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • clinicalTrial

        public MedicinalProductDefinition.Builder clinicalTrial​(Reference... clinicalTrial)
        Clinical trials or studies that this product is involved in.

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

        Allowed resource types for the references:

        Parameters:
        clinicalTrial - Clinical trials or studies that this product is involved in
        Returns:
        A reference to this Builder instance
      • clinicalTrial

        public MedicinalProductDefinition.Builder clinicalTrial​(java.util.Collection<Reference> clinicalTrial)
        Clinical trials or studies that this product is involved in.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Allowed resource types for the references:

        Parameters:
        clinicalTrial - Clinical trials or studies that this product is involved in
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • code

        public MedicinalProductDefinition.Builder code​(Coding... code)
        A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.

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

        Parameters:
        code - A code that this product is known by, within some formal terminology
        Returns:
        A reference to this Builder instance
      • code

        public MedicinalProductDefinition.Builder code​(java.util.Collection<Coding> code)
        A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.

        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:
        code - A code that this product is known by, within some formal terminology
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • name

        public MedicinalProductDefinition.Builder name​(MedicinalProductDefinition.Name... name)
        The product's name, including full name and possibly coded parts.

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

        This element is required.

        Parameters:
        name - The product's name, including full name and possibly coded parts
        Returns:
        A reference to this Builder instance
      • name

        public MedicinalProductDefinition.Builder name​(java.util.Collection<MedicinalProductDefinition.Name> name)
        The product's name, including full name and possibly coded parts.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        This element is required.

        Parameters:
        name - The product's name, including full name and possibly coded parts
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • crossReference

        public MedicinalProductDefinition.Builder crossReference​(MedicinalProductDefinition.CrossReference... crossReference)
        Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.

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

        Parameters:
        crossReference - Reference to another product, e.g. for linking authorised to investigational product
        Returns:
        A reference to this Builder instance
      • crossReference

        public MedicinalProductDefinition.Builder crossReference​(java.util.Collection<MedicinalProductDefinition.CrossReference> crossReference)
        Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.

        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:
        crossReference - Reference to another product, e.g. for linking authorised to investigational product
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • operation

        public MedicinalProductDefinition.Builder operation​(MedicinalProductDefinition.Operation... operation)
        A manufacturing or administrative process or step associated with (or performed on) the medicinal product.

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

        Parameters:
        operation - A manufacturing or administrative process for the medicinal product
        Returns:
        A reference to this Builder instance
      • operation

        public MedicinalProductDefinition.Builder operation​(java.util.Collection<MedicinalProductDefinition.Operation> operation)
        A manufacturing or administrative process or step associated with (or performed on) the medicinal product.

        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:
        operation - A manufacturing or administrative process for the medicinal product
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • characteristic

        public MedicinalProductDefinition.Builder characteristic​(MedicinalProductDefinition.Characteristic... characteristic)
        Allows the key product features to be recorded, such as "sugar free", "modified release", "parallel import".

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

        Parameters:
        characteristic - Key product features such as "sugar free", "modified release"
        Returns:
        A reference to this Builder instance
      • characteristic

        public MedicinalProductDefinition.Builder characteristic​(java.util.Collection<MedicinalProductDefinition.Characteristic> characteristic)
        Allows the key product features to be recorded, such as "sugar free", "modified release", "parallel import".

        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:
        characteristic - Key product features such as "sugar free", "modified release"
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null