Class Specimen_CollectionBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl()
        Required fields for Specimen.Collection
    • Method Detail

      • withId

        public Specimen_CollectionBuilder.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.
      • withMethod

        public Specimen_CollectionBuilder.Impl withMethod​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.CodeableConcept method)
        Parameters:
        method -
      • withMethod

        public Specimen_CollectionBuilder.Impl withMethod​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder method)
      • withDuration

        public Specimen_CollectionBuilder.Impl withDuration​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core.model.Duration duration)
        Parameters:
        duration -
      • withDuration

        public Specimen_CollectionBuilder.Impl withDuration​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core_java.builders.DurationBuilder duration)
      • withQuantity

        public Specimen_CollectionBuilder.Impl withQuantity​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core.model.Quantity quantity)
        Parameters:
        quantity -
      • withQuantity

        public Specimen_CollectionBuilder.Impl withQuantity​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder quantity)
      • withBodySite

        public Specimen_CollectionBuilder.Impl withBodySite​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core.model.CodeableConcept bodySite)
        Parameters:
        bodySite -
      • withBodySite

        public Specimen_CollectionBuilder.Impl withBodySite​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder bodySite)
      • withExtension

        public Specimen_CollectionBuilder.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 Specimen_CollectionBuilder.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 Specimen_CollectionBuilder.Impl withExtension​(@NonNull
                                                             @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • withCollector

        public Specimen_CollectionBuilder.Impl withCollector​(@NonNull
                                                             @NonNull com.babylonhealth.lit.core.model.Reference collector)
        Parameters:
        collector -
      • withCollector

        public Specimen_CollectionBuilder.Impl withCollector​(@NonNull
                                                             @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder collector)
      • withCollected

        public Specimen_CollectionBuilder.Impl withCollected​(@NonNull
                                                             @NonNull Unions.ChoiceDateTimeOrPeriod collected)
        Parameters:
        collected - Field is a 'choice' field. Type should be one of FHIRDateTime, Period. To pass the value in, wrap with one of the Specimen_CollectionBuilder.collected static methods
      • withFastingStatus

        public Specimen_CollectionBuilder.Impl withFastingStatus​(@NonNull
                                                                 @NonNull Unions.ChoiceCodeableConceptOrDuration fastingStatus)
        Parameters:
        fastingStatus - Field is a 'choice' field. Type should be one of CodeableConcept, Duration. To pass the value in, wrap with one of the Specimen_CollectionBuilder.fastingStatus static methods
      • withModifierExtension

        public Specimen_CollectionBuilder.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 Specimen_CollectionBuilder.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 Specimen_CollectionBuilder.Impl withModifierExtension​(@NonNull
                                                                     @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)