Package com.ibm.fhir.model.resource
Class SubstanceSourceMaterial.Organism.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.SubstanceSourceMaterial.Organism.Builder
-
- Enclosing class:
- SubstanceSourceMaterial.Organism
public static class SubstanceSourceMaterial.Organism.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 SubstanceSourceMaterial.Organism.Builder
author(SubstanceSourceMaterial.Organism.Author... author)
4.9.13.6.1 Author type (Conditional).SubstanceSourceMaterial.Organism.Builder
author(Collection<SubstanceSourceMaterial.Organism.Author> author)
4.9.13.6.1 Author type (Conditional).SubstanceSourceMaterial.Organism
build()
Build theSubstanceSourceMaterial.Organism
SubstanceSourceMaterial.Organism.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the element.SubstanceSourceMaterial.Organism.Builder
extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the element.SubstanceSourceMaterial.Organism.Builder
family(CodeableConcept family)
The family of an organism shall be specified.protected SubstanceSourceMaterial.Organism.Builder
from(SubstanceSourceMaterial.Organism organism)
SubstanceSourceMaterial.Organism.Builder
genus(CodeableConcept genus)
The genus of an organism shall be specified; refers to the Latin epithet of the genus element of the plant/animal scientific name; it is present in names for genera, species and infraspecies.SubstanceSourceMaterial.Organism.Builder
hybrid(SubstanceSourceMaterial.Organism.Hybrid hybrid)
4.9.13.8.1 Hybrid species maternal organism ID (Optional).SubstanceSourceMaterial.Organism.Builder
id(String id)
Unique id for the element within a resource (for internal references).SubstanceSourceMaterial.Organism.Builder
intraspecificDescription(String intraspecificDescription)
The intraspecific description of an organism shall be specified based on a controlled vocabulary.SubstanceSourceMaterial.Organism.Builder
intraspecificType(CodeableConcept intraspecificType)
The Intraspecific type of an organism shall be specified.SubstanceSourceMaterial.Organism.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.SubstanceSourceMaterial.Organism.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.SubstanceSourceMaterial.Organism.Builder
organismGeneral(SubstanceSourceMaterial.Organism.OrganismGeneral organismGeneral)
4.9.13.7.1 Kingdom (Conditional).SubstanceSourceMaterial.Organism.Builder
species(CodeableConcept species)
The species of an organism shall be specified; refers to the Latin epithet of the species of the plant/animal; it is present in names for species and infraspecies.-
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 SubstanceSourceMaterial.Organism.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:
id
in classBackboneElement.Builder
- Parameters:
id
- Unique id for inter-element referencing- Returns:
- A reference to this Builder instance
-
extension
public SubstanceSourceMaterial.Organism.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:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public SubstanceSourceMaterial.Organism.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:
extension
in classBackboneElement.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
modifierExtension
public SubstanceSourceMaterial.Organism.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:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
modifierExtension
public SubstanceSourceMaterial.Organism.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:
modifierExtension
in classBackboneElement.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored even if unrecognized- Returns:
- A reference to this Builder instance
-
family
public SubstanceSourceMaterial.Organism.Builder family(CodeableConcept family)
The family of an organism shall be specified.- Parameters:
family
- The family of an organism shall be specified- Returns:
- A reference to this Builder instance
-
genus
public SubstanceSourceMaterial.Organism.Builder genus(CodeableConcept genus)
The genus of an organism shall be specified; refers to the Latin epithet of the genus element of the plant/animal scientific name; it is present in names for genera, species and infraspecies.- Parameters:
genus
- The genus of an organism shall be specified; refers to the Latin epithet of the genus element of the plant/animal scientific name; it is present in names for genera, species and infraspecies- Returns:
- A reference to this Builder instance
-
species
public SubstanceSourceMaterial.Organism.Builder species(CodeableConcept species)
The species of an organism shall be specified; refers to the Latin epithet of the species of the plant/animal; it is present in names for species and infraspecies.- Parameters:
species
- The species of an organism shall be specified; refers to the Latin epithet of the species of the plant/animal; it is present in names for species and infraspecies- Returns:
- A reference to this Builder instance
-
intraspecificType
public SubstanceSourceMaterial.Organism.Builder intraspecificType(CodeableConcept intraspecificType)
The Intraspecific type of an organism shall be specified.- Parameters:
intraspecificType
- The Intraspecific type of an organism shall be specified- Returns:
- A reference to this Builder instance
-
intraspecificDescription
public SubstanceSourceMaterial.Organism.Builder intraspecificDescription(String intraspecificDescription)
The intraspecific description of an organism shall be specified based on a controlled vocabulary. For Influenza Vaccine, the intraspecific description shall contain the syntax of the antigen in line with the WHO convention.- Parameters:
intraspecificDescription
- The intraspecific description of an organism shall be specified based on a controlled vocabulary. For Influenza Vaccine, the intraspecific description shall contain the syntax of the antigen in line with the WHO convention- Returns:
- A reference to this Builder instance
-
author
public SubstanceSourceMaterial.Organism.Builder author(SubstanceSourceMaterial.Organism.Author... author)
4.9.13.6.1 Author type (Conditional).Adds new element(s) to the existing list
- Parameters:
author
- 4.9.13.6.1 Author type (Conditional)- Returns:
- A reference to this Builder instance
-
author
public SubstanceSourceMaterial.Organism.Builder author(Collection<SubstanceSourceMaterial.Organism.Author> author)
4.9.13.6.1 Author type (Conditional).Replaces the existing list with a new one containing elements from the Collection
- Parameters:
author
- 4.9.13.6.1 Author type (Conditional)- Returns:
- A reference to this Builder instance
-
hybrid
public SubstanceSourceMaterial.Organism.Builder hybrid(SubstanceSourceMaterial.Organism.Hybrid hybrid)
4.9.13.8.1 Hybrid species maternal organism ID (Optional).- Parameters:
hybrid
- 4.9.13.8.1 Hybrid species maternal organism ID (Optional)- Returns:
- A reference to this Builder instance
-
organismGeneral
public SubstanceSourceMaterial.Organism.Builder organismGeneral(SubstanceSourceMaterial.Organism.OrganismGeneral organismGeneral)
4.9.13.7.1 Kingdom (Conditional).- Parameters:
organismGeneral
- 4.9.13.7.1 Kingdom (Conditional)- Returns:
- A reference to this Builder instance
-
build
public SubstanceSourceMaterial.Organism build()
Build theSubstanceSourceMaterial.Organism
- Specified by:
build
in interfaceBuilder<Element>
- Specified by:
build
in classBackboneElement.Builder
- Returns:
- An immutable object of type
SubstanceSourceMaterial.Organism
- Throws:
IllegalStateException
- if the current state cannot be built into a valid Organism per the base specification
-
from
protected SubstanceSourceMaterial.Organism.Builder from(SubstanceSourceMaterial.Organism organism)
-
-