Class Specimen_ContainerBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.Specimen_ContainerBuilder.Impl
-
- All Implemented Interfaces:
Specimen_ContainerBuilder
- Enclosing interface:
- Specimen_ContainerBuilder
public static class Specimen_ContainerBuilder.Impl extends java.lang.Object implements Specimen_ContainerBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.Specimen_ContainerBuilder
Specimen_ContainerBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forSpecimen.Container
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.Specimen.Containerbuild()Specimen_ContainerBuilder.ImplwithAdditive(@NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference additive)Specimen_ContainerBuilder.ImplwithCapacity(@NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder capacity)Specimen_ContainerBuilder.ImplwithCapacity(@NonNull com.babylonhealth.lit.core.model.Quantity capacity)Specimen_ContainerBuilder.ImplwithDescription(@NonNull java.lang.String description)Specimen_ContainerBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)Specimen_ContainerBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)Specimen_ContainerBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)Specimen_ContainerBuilder.ImplwithId(@NonNull java.lang.String id)Specimen_ContainerBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)Specimen_ContainerBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier... identifier)Specimen_ContainerBuilder.ImplwithIdentifier(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)Specimen_ContainerBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)Specimen_ContainerBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)Specimen_ContainerBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)Specimen_ContainerBuilder.ImplwithSpecimenQuantity(@NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder specimenQuantity)Specimen_ContainerBuilder.ImplwithSpecimenQuantity(@NonNull com.babylonhealth.lit.core.model.Quantity specimenQuantity)Specimen_ContainerBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)Specimen_ContainerBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
-
-
-
Method Detail
-
withId
public Specimen_ContainerBuilder.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.
-
withType
public Specimen_ContainerBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
- Parameters:
_type- - The kind of material that forms the specimen.
-
withType
public Specimen_ContainerBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)
-
withCapacity
public Specimen_ContainerBuilder.Impl withCapacity(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity capacity)
- Parameters:
capacity-
-
withCapacity
public Specimen_ContainerBuilder.Impl withCapacity(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder capacity)
-
withExtension
public Specimen_ContainerBuilder.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_ContainerBuilder.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_ContainerBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withIdentifier
public Specimen_ContainerBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
- Parameters:
identifier- - Id for specimen.
-
withIdentifier
public Specimen_ContainerBuilder.Impl withIdentifier(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
- Parameters:
identifier- - Id for specimen.
-
withIdentifier
public Specimen_ContainerBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
-
withDescription
public Specimen_ContainerBuilder.Impl withDescription(@NonNull @NonNull java.lang.String description)
- Parameters:
description-
-
withAdditive
public Specimen_ContainerBuilder.Impl withAdditive(@NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference additive)
- Parameters:
additive- Field is a 'choice' field. Type should be one of CodeableConcept, Reference. To pass the value in, wrap with one of the Specimen_ContainerBuilder.additive static methods
-
withSpecimenQuantity
public Specimen_ContainerBuilder.Impl withSpecimenQuantity(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity specimenQuantity)
- Parameters:
specimenQuantity-
-
withSpecimenQuantity
public Specimen_ContainerBuilder.Impl withSpecimenQuantity(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder specimenQuantity)
-
withModifierExtension
public Specimen_ContainerBuilder.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_ContainerBuilder.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_ContainerBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
build
public com.babylonhealth.lit.hl7.model.Specimen.Container build()
- Specified by:
buildin interfaceSpecimen_ContainerBuilder
-
-