Class ProdCharacteristic

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.ICompositeType

    public class ProdCharacteristic
    extends BackboneType
    implements org.hl7.fhir.instance.model.api.ICompositeType
    Base StructureDefinition for ProdCharacteristic Type: 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.
    See Also:
    Serialized Form
    • Field Detail

      • height

        protected Quantity height
        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.
      • width

        protected Quantity width
        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.
      • depth

        protected Quantity depth
        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.
      • weight

        protected Quantity weight
        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.
      • nominalVolume

        protected Quantity nominalVolume
        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.
      • externalDiameter

        protected Quantity externalDiameter
        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.
      • shape

        protected StringType shape
        Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.
      • color

        protected List<StringType> color
        Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.
      • image

        protected List<Attachment> image
        Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.
      • scoring

        protected CodeableConcept scoring
        Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.
    • Method Detail

      • getHeight

        public Quantity getHeight()
        Returns:
        height (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.)
      • setHeight

        public ProdCharacteristic setHeight​(Quantity value)
        Parameters:
        value - height (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.)
      • getWidth

        public Quantity getWidth()
        Returns:
        width (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.)
      • setWidth

        public ProdCharacteristic setWidth​(Quantity value)
        Parameters:
        value - width (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.)
      • getDepth

        public Quantity getDepth()
        Returns:
        depth (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.)
      • setDepth

        public ProdCharacteristic setDepth​(Quantity value)
        Parameters:
        value - depth (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.)
      • getWeight

        public Quantity getWeight()
        Returns:
        weight (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.)
      • setWeight

        public ProdCharacteristic setWeight​(Quantity value)
        Parameters:
        value - weight (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.)
      • getNominalVolume

        public Quantity getNominalVolume()
        Returns:
        nominalVolume (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.)
      • setNominalVolume

        public ProdCharacteristic setNominalVolume​(Quantity value)
        Parameters:
        value - nominalVolume (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.)
      • getExternalDiameter

        public Quantity getExternalDiameter()
        Returns:
        externalDiameter (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.)
      • setExternalDiameter

        public ProdCharacteristic setExternalDiameter​(Quantity value)
        Parameters:
        value - externalDiameter (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.)
      • getShapeElement

        public StringType getShapeElement()
        Returns:
        shape (Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.). This is the underlying object with id, value and extensions. The accessor "getShape" gives direct access to the value
      • setShapeElement

        public ProdCharacteristic setShapeElement​(StringType value)
        Parameters:
        value - shape (Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.). This is the underlying object with id, value and extensions. The accessor "getShape" gives direct access to the value
      • getShape

        public String getShape()
        Returns:
        Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.
      • setShape

        public ProdCharacteristic setShape​(String value)
        Parameters:
        value - Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.
      • getColor

        public List<StringTypegetColor()
        Returns:
        color (Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.)
      • addColorElement

        public StringType addColorElement()
        Returns:
        color (Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.)
      • addColor

        public ProdCharacteristic addColor​(String value)
        Parameters:
        value - color (Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.)
      • hasColor

        public boolean hasColor​(String value)
        Parameters:
        value - color (Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.)
      • hasImprint

        public boolean hasImprint​(String value)
        Parameters:
        value - imprint (Where applicable, the imprint can be specified as text.)
      • getImage

        public List<AttachmentgetImage()
        Returns:
        image (Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.)
      • getImageFirstRep

        public Attachment getImageFirstRep()
        Returns:
        The first repetition of repeating field image, creating it if it does not already exist {3}
      • getScoring

        public CodeableConcept getScoring()
        Returns:
        scoring (Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.)
      • setScoring

        public ProdCharacteristic setScoring​(CodeableConcept value)
        Parameters:
        value - scoring (Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.)
      • getProperty

        public Base[] getProperty​(int hash,
                                  String name,
                                  boolean checkValid)
                           throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        getProperty in class BackboneType
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class BackboneType