Class SpecimenDefinition.TypeTested.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.Builder
-
- Enclosing class:
- SpecimenDefinition.TypeTested
public static class SpecimenDefinition.TypeTested.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.TypeTestedbuild()Build theSpecimenDefinition.TypeTestedSpecimenDefinition.TypeTested.Buildercontainer(SpecimenDefinition.TypeTested.Container container)The specimen's container.SpecimenDefinition.TypeTested.Builderextension(Extension... extension)May be used to represent additional information that is not part of the basic definition of the element.SpecimenDefinition.TypeTested.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.Builderfrom(SpecimenDefinition.TypeTested typeTested)SpecimenDefinition.TypeTested.Builderhandling(SpecimenDefinition.TypeTested.Handling... handling)Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.SpecimenDefinition.TypeTested.Builderhandling(Collection<SpecimenDefinition.TypeTested.Handling> handling)Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.SpecimenDefinition.TypeTested.Builderid(String id)Unique id for the element within a resource (for internal references).SpecimenDefinition.TypeTested.BuilderisDerived(Boolean isDerived)Primary of secondary specimen.SpecimenDefinition.TypeTested.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.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.Builderpreference(SpecimenContainedPreference preference)The preference for this type of conditioned specimen.SpecimenDefinition.TypeTested.BuilderrejectionCriterion(CodeableConcept... rejectionCriterion)Criterion for rejection of the specimen in its container by the laboratory.SpecimenDefinition.TypeTested.BuilderrejectionCriterion(Collection<CodeableConcept> rejectionCriterion)Criterion for rejection of the specimen in its container by the laboratory.SpecimenDefinition.TypeTested.Builderrequirement(String requirement)Requirements for delivery and special handling of this kind of conditioned specimen.SpecimenDefinition.TypeTested.BuilderretentionTime(Duration retentionTime)The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.SpecimenDefinition.TypeTested.Buildertype(CodeableConcept type)The kind of specimen conditioned for testing expected by lab.-
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.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.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.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.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.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
-
isDerived
public SpecimenDefinition.TypeTested.Builder isDerived(Boolean isDerived)
Primary of secondary specimen.- Parameters:
isDerived- Primary or secondary specimen- Returns:
- A reference to this Builder instance
-
type
public SpecimenDefinition.TypeTested.Builder type(CodeableConcept type)
The kind of specimen conditioned for testing expected by lab.- Parameters:
type- Type of intended specimen- Returns:
- A reference to this Builder instance
-
preference
public SpecimenDefinition.TypeTested.Builder preference(SpecimenContainedPreference preference)
The preference for this type of conditioned specimen.This element is required.
- Parameters:
preference- preferred | alternate- Returns:
- A reference to this Builder instance
-
container
public SpecimenDefinition.TypeTested.Builder container(SpecimenDefinition.TypeTested.Container container)
The specimen's container.- Parameters:
container- The specimen's container- Returns:
- A reference to this Builder instance
-
requirement
public SpecimenDefinition.TypeTested.Builder requirement(String requirement)
Requirements for delivery and special handling of this kind of conditioned specimen.- Parameters:
requirement- Specimen requirements- Returns:
- A reference to this Builder instance
-
retentionTime
public SpecimenDefinition.TypeTested.Builder retentionTime(Duration retentionTime)
The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing.- Parameters:
retentionTime- Specimen retention time- Returns:
- A reference to this Builder instance
-
rejectionCriterion
public SpecimenDefinition.TypeTested.Builder rejectionCriterion(CodeableConcept... rejectionCriterion)
Criterion for rejection of the specimen in its container by the laboratory.Adds new element(s) to the existing list
- Parameters:
rejectionCriterion- Rejection criterion- Returns:
- A reference to this Builder instance
-
rejectionCriterion
public SpecimenDefinition.TypeTested.Builder rejectionCriterion(Collection<CodeableConcept> rejectionCriterion)
Criterion for rejection of the specimen in its container by the laboratory.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
rejectionCriterion- Rejection criterion- Returns:
- A reference to this Builder instance
-
handling
public SpecimenDefinition.TypeTested.Builder handling(SpecimenDefinition.TypeTested.Handling... handling)
Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.Adds new element(s) to the existing list
- Parameters:
handling- Specimen handling before testing- Returns:
- A reference to this Builder instance
-
handling
public SpecimenDefinition.TypeTested.Builder handling(Collection<SpecimenDefinition.TypeTested.Handling> handling)
Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
handling- Specimen handling before testing- Returns:
- A reference to this Builder instance
-
build
public SpecimenDefinition.TypeTested build()
- Specified by:
buildin interfaceBuilder<Element>- Specified by:
buildin classBackboneElement.Builder- Returns:
- An immutable object of type
SpecimenDefinition.TypeTested - Throws:
IllegalStateException- if the current state cannot be built into a valid TypeTested per the base specification
-
from
protected SpecimenDefinition.TypeTested.Builder from(SpecimenDefinition.TypeTested typeTested)
-
-