Class MedicinalProductBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(java.util.Collection<com.babylonhealth.lit.hl7.model.MedicinalProduct.Name> name)
        Required fields for MedicinalProduct
        Parameters:
        name - - The product's name, including full name and possibly coded parts.
    • Method Detail

      • withId

        public MedicinalProductBuilder.Impl withId​(@NonNull
                                                   @NonNull java.lang.String id)
        Parameters:
        id - - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
      • withMeta

        public MedicinalProductBuilder.Impl withMeta​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.model.Meta meta)
        Parameters:
        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.
      • withText

        public MedicinalProductBuilder.Impl withText​(@NonNull
                                                     @NonNull com.babylonhealth.lit.hl7.model.Narrative text)
        Parameters:
        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.
      • withType

        public MedicinalProductBuilder.Impl withType​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
        Parameters:
        _type - - Regulatory type, e.g. Investigational or Authorized.
      • withType

        public MedicinalProductBuilder.Impl withType​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)
      • withDomain

        public MedicinalProductBuilder.Impl withDomain​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core.model.Coding domain)
        Parameters:
        domain - - If this medicine applies to human or veterinary uses.
      • withDomain

        public MedicinalProductBuilder.Impl withDomain​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core_java.builders.CodingBuilder domain)
      • withContact

        public MedicinalProductBuilder.Impl withContact​(@NonNull
                                                        @NonNull com.babylonhealth.lit.core.model.Reference... contact)
        Parameters:
        contact - - A product specific contact, person (in a role), or an organization.
      • withContact

        public MedicinalProductBuilder.Impl withContact​(@NonNull
                                                        @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> contact)
        Parameters:
        contact - - A product specific contact, person (in a role), or an organization.
      • withContact

        public MedicinalProductBuilder.Impl withContact​(@NonNull
                                                        @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... contact)
      • withLanguage

        public MedicinalProductBuilder.Impl withLanguage​(@NonNull
                                                         @NonNull com.babylonhealth.lit.core.LANGUAGES language)
        Parameters:
        language - - The base language in which the resource is written.
      • withContained

        public MedicinalProductBuilder.Impl withContained​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.Resource... contained)
        Parameters:
        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.
      • withContained

        public MedicinalProductBuilder.Impl withContained​(@NonNull
                                                          @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)
        Parameters:
        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.
      • withContained

        public MedicinalProductBuilder.Impl withContained​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
      • withExtension

        public MedicinalProductBuilder.Impl withExtension​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.Extension... extension)
        Parameters:
        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.
      • withExtension

        public MedicinalProductBuilder.Impl withExtension​(@NonNull
                                                          @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
        Parameters:
        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.
      • withExtension

        public MedicinalProductBuilder.Impl withExtension​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • withIdentifier

        public MedicinalProductBuilder.Impl withIdentifier​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
        Parameters:
        identifier - - Business identifier for this product. Could be an MPID.
      • withIdentifier

        public MedicinalProductBuilder.Impl withIdentifier​(@NonNull
                                                           @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
        Parameters:
        identifier - - Business identifier for this product. Could be an MPID.
      • withIdentifier

        public MedicinalProductBuilder.Impl withIdentifier​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
      • withMasterFile

        public MedicinalProductBuilder.Impl withMasterFile​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core.model.Reference... masterFile)
        Parameters:
        masterFile - - A master file for to the medicinal product (e.g. Pharmacovigilance System Master File).
      • withMasterFile

        public MedicinalProductBuilder.Impl withMasterFile​(@NonNull
                                                           @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> masterFile)
        Parameters:
        masterFile - - A master file for to the medicinal product (e.g. Pharmacovigilance System Master File).
      • withMasterFile

        public MedicinalProductBuilder.Impl withMasterFile​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... masterFile)
      • withImplicitRules

        public MedicinalProductBuilder.Impl withImplicitRules​(@NonNull
                                                              @NonNull java.lang.String implicitRules)
        Parameters:
        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.
      • withClinicalTrial

        public MedicinalProductBuilder.Impl withClinicalTrial​(@NonNull
                                                              @NonNull com.babylonhealth.lit.core.model.Reference... clinicalTrial)
        Parameters:
        clinicalTrial - - Clinical trials or studies that this product is involved in.
      • withClinicalTrial

        public MedicinalProductBuilder.Impl withClinicalTrial​(@NonNull
                                                              @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> clinicalTrial)
        Parameters:
        clinicalTrial - - Clinical trials or studies that this product is involved in.
      • withClinicalTrial

        public MedicinalProductBuilder.Impl withClinicalTrial​(@NonNull
                                                              @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... clinicalTrial)
      • withCrossReference

        public MedicinalProductBuilder.Impl withCrossReference​(@NonNull
                                                               @NonNull com.babylonhealth.lit.core.model.Identifier... crossReference)
        Parameters:
        crossReference - - Reference to another product, e.g. for linking authorised to investigational product.
      • withCrossReference

        public MedicinalProductBuilder.Impl withCrossReference​(@NonNull
                                                               @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> crossReference)
        Parameters:
        crossReference - - Reference to another product, e.g. for linking authorised to investigational product.
      • withCrossReference

        public MedicinalProductBuilder.Impl withCrossReference​(@NonNull
                                                               @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... crossReference)
      • withSpecialMeasures

        public MedicinalProductBuilder.Impl withSpecialMeasures​(@NonNull
                                                                @NonNull java.lang.String... specialMeasures)
        Parameters:
        specialMeasures - - Whether the Medicinal Product is subject to special measures for regulatory reasons.
      • withSpecialMeasures

        public MedicinalProductBuilder.Impl withSpecialMeasures​(@NonNull
                                                                @NonNull java.util.Collection<java.lang.String> specialMeasures)
        Parameters:
        specialMeasures - - Whether the Medicinal Product is subject to special measures for regulatory reasons.
      • withMarketingStatus

        public MedicinalProductBuilder.Impl withMarketingStatus​(@NonNull
                                                                @NonNull com.babylonhealth.lit.core.Choice... marketingStatus)
        Parameters:
        marketingStatus - - Marketing status of the medicinal product, in contrast to marketing authorizaton.
      • withMarketingStatus

        public MedicinalProductBuilder.Impl withMarketingStatus​(@NonNull
                                                                @NonNull java.util.Collection<com.babylonhealth.lit.core.Choice> marketingStatus)
        Parameters:
        marketingStatus - - Marketing status of the medicinal product, in contrast to marketing authorizaton.
      • withAttachedDocument

        public MedicinalProductBuilder.Impl withAttachedDocument​(@NonNull
                                                                 @NonNull com.babylonhealth.lit.core.model.Reference... attachedDocument)
        Parameters:
        attachedDocument - - Supporting documentation, typically for regulatory submission.
      • withAttachedDocument

        public MedicinalProductBuilder.Impl withAttachedDocument​(@NonNull
                                                                 @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> attachedDocument)
        Parameters:
        attachedDocument - - Supporting documentation, typically for regulatory submission.
      • withAttachedDocument

        public MedicinalProductBuilder.Impl withAttachedDocument​(@NonNull
                                                                 @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... attachedDocument)
      • withModifierExtension

        public MedicinalProductBuilder.Impl withModifierExtension​(@NonNull
                                                                  @NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)
        Parameters:
        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).

      • withModifierExtension

        public MedicinalProductBuilder.Impl withModifierExtension​(@NonNull
                                                                  @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)
        Parameters:
        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).

      • withModifierExtension

        public MedicinalProductBuilder.Impl withModifierExtension​(@NonNull
                                                                  @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
      • withLegalStatusOfSupply

        public MedicinalProductBuilder.Impl withLegalStatusOfSupply​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core.model.CodeableConcept legalStatusOfSupply)
        Parameters:
        legalStatusOfSupply - - The legal status of supply of the medicinal product as classified by the regulator.
      • withLegalStatusOfSupply

        public MedicinalProductBuilder.Impl withLegalStatusOfSupply​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder legalStatusOfSupply)
      • withProductClassification

        public MedicinalProductBuilder.Impl withProductClassification​(@NonNull
                                                                      @NonNull com.babylonhealth.lit.core.model.CodeableConcept... productClassification)
        Parameters:
        productClassification - - Allows the product to be classified by various systems.
      • withProductClassification

        public MedicinalProductBuilder.Impl withProductClassification​(@NonNull
                                                                      @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> productClassification)
        Parameters:
        productClassification - - Allows the product to be classified by various systems.
      • withProductClassification

        public MedicinalProductBuilder.Impl withProductClassification​(@NonNull
                                                                      @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... productClassification)
      • withPharmaceuticalProduct

        public MedicinalProductBuilder.Impl withPharmaceuticalProduct​(@NonNull
                                                                      @NonNull com.babylonhealth.lit.core.model.Reference... pharmaceuticalProduct)
        Parameters:
        pharmaceuticalProduct - - Pharmaceutical aspects of product.
      • withPharmaceuticalProduct

        public MedicinalProductBuilder.Impl withPharmaceuticalProduct​(@NonNull
                                                                      @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> pharmaceuticalProduct)
        Parameters:
        pharmaceuticalProduct - - Pharmaceutical aspects of product.
      • withPharmaceuticalProduct

        public MedicinalProductBuilder.Impl withPharmaceuticalProduct​(@NonNull
                                                                      @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... pharmaceuticalProduct)
      • withPaediatricUseIndicator

        public MedicinalProductBuilder.Impl withPaediatricUseIndicator​(@NonNull
                                                                       @NonNull com.babylonhealth.lit.core.model.CodeableConcept paediatricUseIndicator)
        Parameters:
        paediatricUseIndicator - - If authorised for use in children.
      • withPaediatricUseIndicator

        public MedicinalProductBuilder.Impl withPaediatricUseIndicator​(@NonNull
                                                                       @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder paediatricUseIndicator)
      • withPackagedMedicinalProduct

        public MedicinalProductBuilder.Impl withPackagedMedicinalProduct​(@NonNull
                                                                         @NonNull com.babylonhealth.lit.core.model.Reference... packagedMedicinalProduct)
        Parameters:
        packagedMedicinalProduct - - Package representation for the product.
      • withPackagedMedicinalProduct

        public MedicinalProductBuilder.Impl withPackagedMedicinalProduct​(@NonNull
                                                                         @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> packagedMedicinalProduct)
        Parameters:
        packagedMedicinalProduct - - Package representation for the product.
      • withPackagedMedicinalProduct

        public MedicinalProductBuilder.Impl withPackagedMedicinalProduct​(@NonNull
                                                                         @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... packagedMedicinalProduct)
      • withAdditionalMonitoringIndicator

        public MedicinalProductBuilder.Impl withAdditionalMonitoringIndicator​(@NonNull
                                                                              @NonNull com.babylonhealth.lit.core.model.CodeableConcept additionalMonitoringIndicator)
        Parameters:
        additionalMonitoringIndicator - - Whether the Medicinal Product is subject to additional monitoring for regulatory reasons.
      • withAdditionalMonitoringIndicator

        public MedicinalProductBuilder.Impl withAdditionalMonitoringIndicator​(@NonNull
                                                                              @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder additionalMonitoringIndicator)
      • withCombinedPharmaceuticalDoseForm

        public MedicinalProductBuilder.Impl withCombinedPharmaceuticalDoseForm​(@NonNull
                                                                               @NonNull com.babylonhealth.lit.core.model.CodeableConcept combinedPharmaceuticalDoseForm)
        Parameters:
        combinedPharmaceuticalDoseForm - - The dose form for a single part product, or combined form of a multiple part product.
      • withCombinedPharmaceuticalDoseForm

        public MedicinalProductBuilder.Impl withCombinedPharmaceuticalDoseForm​(@NonNull
                                                                               @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder combinedPharmaceuticalDoseForm)
      • withSpecialDesignation

        public MedicinalProductBuilder.Impl withSpecialDesignation​(@NonNull
                                                                   @NonNull com.babylonhealth.lit.hl7.model.MedicinalProduct.SpecialDesignation... specialDesignation)
        Parameters:
        specialDesignation - - Indicates if the medicinal product has an orphan designation for the treatment of a rare disease.
      • withSpecialDesignation

        public MedicinalProductBuilder.Impl withSpecialDesignation​(@NonNull
                                                                   @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.MedicinalProduct.SpecialDesignation> specialDesignation)
        Parameters:
        specialDesignation - - Indicates if the medicinal product has an orphan designation for the treatment of a rare disease.
      • withManufacturingBusinessOperation

        public MedicinalProductBuilder.Impl withManufacturingBusinessOperation​(@NonNull
                                                                               @NonNull com.babylonhealth.lit.hl7.model.MedicinalProduct.ManufacturingBusinessOperation... manufacturingBusinessOperation)
        Parameters:
        manufacturingBusinessOperation - - An operation applied to the product, for manufacturing or adminsitrative purpose.
      • withManufacturingBusinessOperation

        public MedicinalProductBuilder.Impl withManufacturingBusinessOperation​(@NonNull
                                                                               @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.MedicinalProduct.ManufacturingBusinessOperation> manufacturingBusinessOperation)
        Parameters:
        manufacturingBusinessOperation - - An operation applied to the product, for manufacturing or adminsitrative purpose.
      • build

        public com.babylonhealth.lit.hl7.model.MedicinalProduct build()
        Specified by:
        build in interface DomainResourceBuilder
        Specified by:
        build in interface MedicinalProductBuilder
        Specified by:
        build in interface com.babylonhealth.lit.core_java.builders.ResourceBuilder