Package com.ibm.fhir.model.type
Class ProdCharacteristic
- 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.type.ProdCharacteristic
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ProdCharacteristic extends BackboneElement
The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProdCharacteristic.Builder
-
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(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static ProdCharacteristic.Builderbuilder()booleanequals(Object obj)List<String>getColor()Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.QuantitygetDepth()Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.QuantitygetExternalDiameter()Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.QuantitygetHeight()Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.List<Attachment>getImage()Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.List<String>getImprint()Where applicable, the imprint can be specified as text.QuantitygetNominalVolume()Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.CodeableConceptgetScoring()Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.StringgetShape()Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.QuantitygetWeight()Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.QuantitygetWidth()Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.booleanhasChildren()inthashCode()ProdCharacteristic.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getHeight
public Quantity getHeight()
Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.- Returns:
- An immutable object of type
Quantitythat may be null.
-
getWidth
public Quantity getWidth()
Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.- Returns:
- An immutable object of type
Quantitythat may be null.
-
getDepth
public Quantity getDepth()
Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.- Returns:
- An immutable object of type
Quantitythat may be null.
-
getWeight
public Quantity getWeight()
Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.- Returns:
- An immutable object of type
Quantitythat may be null.
-
getNominalVolume
public Quantity getNominalVolume()
Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.- Returns:
- An immutable object of type
Quantitythat may be null.
-
getExternalDiameter
public Quantity getExternalDiameter()
Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.- Returns:
- An immutable object of type
Quantitythat may be null.
-
getShape
public String getShape()
Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.- Returns:
- An immutable object of type
Stringthat may be null.
-
getColor
public List<String> getColor()
Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat may be empty.
-
getImprint
public List<String> getImprint()
Where applicable, the imprint can be specified as text.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat may be empty.
-
getImage
public List<Attachment> getImage()
Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.- Returns:
- An unmodifiable list containing immutable objects of type
Attachmentthat may be empty.
-
getScoring
public CodeableConcept getScoring()
Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(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
-
toBuilder
public ProdCharacteristic.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static ProdCharacteristic.Builder builder()
-
-