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 classSubstanceSourceMaterial.Organism.Author4.9.13.6.1 Author type (Conditional).static classSubstanceSourceMaterial.Organism.Builderstatic classSubstanceSourceMaterial.Organism.Hybrid4.9.13.8.1 Hybrid species maternal organism ID (Optional).static classSubstanceSourceMaterial.Organism.OrganismGeneral4.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 voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static SubstanceSourceMaterial.Organism.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<SubstanceSourceMaterial.Organism.Author>getAuthor()4.9.13.6.1 Author type (Conditional).CodeableConceptgetFamily()The family of an organism shall be specified.CodeableConceptgetGenus()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.HybridgetHybrid()4.9.13.8.1 Hybrid species maternal organism ID (Optional).StringgetIntraspecificDescription()The intraspecific description of an organism shall be specified based on a controlled vocabulary.CodeableConceptgetIntraspecificType()The Intraspecific type of an organism shall be specified.SubstanceSourceMaterial.Organism.OrganismGeneralgetOrganismGeneral()4.9.13.7.1 Kingdom (Conditional).CodeableConceptgetSpecies()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.booleanhasChildren()inthashCode()SubstanceSourceMaterial.Organism.BuildertoBuilder()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
CodeableConceptthat 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
CodeableConceptthat 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
CodeableConceptthat may be null.
-
getIntraspecificType
public CodeableConcept getIntraspecificType()
The Intraspecific type of an organism shall be specified.- Returns:
- An immutable object of type
CodeableConceptthat 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
Stringthat may be null.
-
getAuthor
public java.util.List<SubstanceSourceMaterial.Organism.Author> getAuthor()
4.9.13.6.1 Author type (Conditional).- Returns:
- An unmodifiable list containing immutable objects of type
SubstanceSourceMaterial.Organism.Authorthat 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.Hybridthat may be null.
-
getOrganismGeneral
public SubstanceSourceMaterial.Organism.OrganismGeneral getOrganismGeneral()
4.9.13.7.1 Kingdom (Conditional).- Returns:
- An immutable object of type
SubstanceSourceMaterial.Organism.OrganismGeneralthat may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public SubstanceSourceMaterial.Organism.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static SubstanceSourceMaterial.Organism.Builder builder()
-
-