Class SpecimenDefinition.TypeTested.Container.Builder
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<Element>
-
- com.ibm.fhir.model.type.Element.Builder
-
- com.ibm.fhir.model.type.BackboneElement.Builder
-
- com.ibm.fhir.model.resource.SpecimenDefinition.TypeTested.Container.Builder
-
- Enclosing class:
- SpecimenDefinition.TypeTested.Container
public static class SpecimenDefinition.TypeTested.Container.Builder extends BackboneElement.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
modifierExtension
-
Fields inherited from class com.ibm.fhir.model.type.Element.Builder
extension, id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpecimenDefinition.TypeTested.Container.Builderadditive(SpecimenDefinition.TypeTested.Container.Additive... additive)Substance introduced in the kind of container to preserve, maintain or enhance the specimen.SpecimenDefinition.TypeTested.Container.Builderadditive(Collection<SpecimenDefinition.TypeTested.Container.Additive> additive)Substance introduced in the kind of container to preserve, maintain or enhance the specimen.SpecimenDefinition.TypeTested.Containerbuild()Build theSpecimenDefinition.TypeTested.ContainerSpecimenDefinition.TypeTested.Container.Buildercap(CodeableConcept cap)Color of container cap.SpecimenDefinition.TypeTested.Container.Buildercapacity(SimpleQuantity capacity)The capacity (volume or other measure) of this kind of container.SpecimenDefinition.TypeTested.Container.Builderdescription(String description)The textual description of the kind of container.SpecimenDefinition.TypeTested.Container.Builderextension(Extension... extension)May be used to represent additional information that is not part of the basic definition of the element.SpecimenDefinition.TypeTested.Container.Builderextension(Collection<Extension> extension)May be used to represent additional information that is not part of the basic definition of the element.protected SpecimenDefinition.TypeTested.Container.Builderfrom(SpecimenDefinition.TypeTested.Container container)SpecimenDefinition.TypeTested.Container.Builderid(String id)Unique id for the element within a resource (for internal references).SpecimenDefinition.TypeTested.Container.Buildermaterial(CodeableConcept material)The type of material of the container.SpecimenDefinition.TypeTested.Container.BuilderminimumVolume(Element minimumVolume)The minimum volume to be conditioned in the container.SpecimenDefinition.TypeTested.Container.BuildermodifierExtension(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.SpecimenDefinition.TypeTested.Container.BuildermodifierExtension(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.SpecimenDefinition.TypeTested.Container.Builderpreparation(String preparation)Special processing that should be applied to the container for this kind of specimen.SpecimenDefinition.TypeTested.Container.Buildertype(CodeableConcept type)The type of container used to contain this kind of specimen.-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement.Builder
from
-
Methods inherited from class com.ibm.fhir.model.type.Element.Builder
from
-
-
-
-
Method Detail
-
id
public SpecimenDefinition.TypeTested.Container.Builder id(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:
idin classBackboneElement.Builder- Parameters:
id- Unique id for inter-element referencing- Returns:
- A reference to this Builder instance
-
extension
public SpecimenDefinition.TypeTested.Container.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
- Overrides:
extensionin classBackboneElement.Builder- Parameters:
extension- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public SpecimenDefinition.TypeTested.Container.Builder extension(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
- Overrides:
extensionin classBackboneElement.Builder- Parameters:
extension- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
modifierExtension
public SpecimenDefinition.TypeTested.Container.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
- Overrides:
modifierExtensionin classBackboneElement.Builder- Parameters:
modifierExtension- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public SpecimenDefinition.TypeTested.Container.Builder modifierExtension(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
- Overrides:
modifierExtensionin classBackboneElement.Builder- Parameters:
modifierExtension- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
material
public SpecimenDefinition.TypeTested.Container.Builder material(CodeableConcept material)
The type of material of the container.- Parameters:
material- Container material- Returns:
- A reference to this Builder instance
-
type
public SpecimenDefinition.TypeTested.Container.Builder type(CodeableConcept type)
The type of container used to contain this kind of specimen.- Parameters:
type- Kind of container associated with the kind of specimen- Returns:
- A reference to this Builder instance
-
cap
public SpecimenDefinition.TypeTested.Container.Builder cap(CodeableConcept cap)
Color of container cap.- Parameters:
cap- Color of container cap- Returns:
- A reference to this Builder instance
-
description
public SpecimenDefinition.TypeTested.Container.Builder description(String description)
The textual description of the kind of container.- Parameters:
description- Container description- Returns:
- A reference to this Builder instance
-
capacity
public SpecimenDefinition.TypeTested.Container.Builder capacity(SimpleQuantity capacity)
The capacity (volume or other measure) of this kind of container.- Parameters:
capacity- Container capacity- Returns:
- A reference to this Builder instance
-
minimumVolume
public SpecimenDefinition.TypeTested.Container.Builder minimumVolume(Element minimumVolume)
The minimum volume to be conditioned in the container.This is a choice element with the following allowed types:
- Parameters:
minimumVolume- Minimum volume- Returns:
- A reference to this Builder instance
-
additive
public SpecimenDefinition.TypeTested.Container.Builder additive(SpecimenDefinition.TypeTested.Container.Additive... additive)
Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.Adds new element(s) to the existing list
- Parameters:
additive- Additive associated with container- Returns:
- A reference to this Builder instance
-
additive
public SpecimenDefinition.TypeTested.Container.Builder additive(Collection<SpecimenDefinition.TypeTested.Container.Additive> additive)
Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
additive- Additive associated with container- Returns:
- A reference to this Builder instance
-
preparation
public SpecimenDefinition.TypeTested.Container.Builder preparation(String preparation)
Special processing that should be applied to the container for this kind of specimen.- Parameters:
preparation- Specimen container preparation- Returns:
- A reference to this Builder instance
-
build
public SpecimenDefinition.TypeTested.Container build()
Build theSpecimenDefinition.TypeTested.Container- Specified by:
buildin interfaceBuilder<Element>- Specified by:
buildin classBackboneElement.Builder- Returns:
- An immutable object of type
SpecimenDefinition.TypeTested.Container - Throws:
IllegalStateException- if the current state cannot be built into a valid Container per the base specification
-
from
protected SpecimenDefinition.TypeTested.Container.Builder from(SpecimenDefinition.TypeTested.Container container)
-
-