Package com.ibm.fhir.model.resource
Class SubstanceSourceMaterial.Organism
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.SubstanceSourceMaterial.Organism
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- SubstanceSourceMaterial
public static class SubstanceSourceMaterial.Organism extends BackboneElement
This subclause describes the organism which the substance is derived from. For vaccines, the parent organism shall be specified based on these subclause elements. As an example, full taxonomy will be described for the Substance Name: ., Leaf.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubstanceSourceMaterial.Organism.Author
4.9.13.6.1 Author type (Conditional).static class
SubstanceSourceMaterial.Organism.Builder
static class
SubstanceSourceMaterial.Organism.Hybrid
4.9.13.8.1 Hybrid species maternal organism ID (Optional).static class
SubstanceSourceMaterial.Organism.OrganismGeneral
4.9.13.7.1 Kingdom (Conditional).
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static SubstanceSourceMaterial.Organism.Builder
builder()
boolean
equals(Object obj)
List<SubstanceSourceMaterial.Organism.Author>
getAuthor()
4.9.13.6.1 Author type (Conditional).CodeableConcept
getFamily()
The family of an organism shall be specified.CodeableConcept
getGenus()
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.Hybrid
getHybrid()
4.9.13.8.1 Hybrid species maternal organism ID (Optional).String
getIntraspecificDescription()
The intraspecific description of an organism shall be specified based on a controlled vocabulary.CodeableConcept
getIntraspecificType()
The Intraspecific type of an organism shall be specified.SubstanceSourceMaterial.Organism.OrganismGeneral
getOrganismGeneral()
4.9.13.7.1 Kingdom (Conditional).CodeableConcept
getSpecies()
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.boolean
hasChildren()
int
hashCode()
SubstanceSourceMaterial.Organism.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getFamily
public CodeableConcept getFamily()
The family of an organism shall be specified.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getGenus
public CodeableConcept getGenus()
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:
- An immutable object of type
CodeableConcept
that may be null.
-
getSpecies
public CodeableConcept getSpecies()
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:
- An immutable object of type
CodeableConcept
that may be null.
-
getIntraspecificType
public CodeableConcept getIntraspecificType()
The Intraspecific type of an organism shall be specified.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getIntraspecificDescription
public String getIntraspecificDescription()
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:
- An immutable object of type
String
that may be null.
-
getAuthor
public List<SubstanceSourceMaterial.Organism.Author> getAuthor()
4.9.13.6.1 Author type (Conditional).- Returns:
- An unmodifiable list containing immutable objects of type
SubstanceSourceMaterial.Organism.Author
that may be empty.
-
getHybrid
public SubstanceSourceMaterial.Organism.Hybrid getHybrid()
4.9.13.8.1 Hybrid species maternal organism ID (Optional).- Returns:
- An immutable object of type
SubstanceSourceMaterial.Organism.Hybrid
that may be null.
-
getOrganismGeneral
public SubstanceSourceMaterial.Organism.OrganismGeneral getOrganismGeneral()
4.9.13.7.1 Kingdom (Conditional).- Returns:
- An immutable object of type
SubstanceSourceMaterial.Organism.OrganismGeneral
that may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
toBuilder
public SubstanceSourceMaterial.Organism.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static SubstanceSourceMaterial.Organism.Builder builder()
-
-