Class MedicinalProductPackaged.PackageItem

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    MedicinalProductPackaged

    public static class MedicinalProductPackaged.PackageItem
    extends BackboneElement
    A packaging item, as a contained for medicine, possibly with other packaging items within.
    • Method Detail

      • getIdentifier

        public List<Identifier> getIdentifier()
        Including possibly Data Carrier Identifier.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getType

        public CodeableConcept getType()
        The physical type of the container of the medicine.
        Returns:
        An immutable object of type CodeableConcept that is non-null.
      • getQuantity

        public Quantity getQuantity()
        The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1.
        Returns:
        An immutable object of type Quantity that is non-null.
      • getMaterial

        public List<CodeableConcept> getMaterial()
        Material type of the package item.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getAlternateMaterial

        public List<CodeableConcept> getAlternateMaterial()
        A possible alternate material for the packaging.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getDevice

        public List<Reference> getDevice()
        A device accompanying a medicinal product.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getManufacturedItem

        public List<Reference> getManufacturedItem()
        The manufactured item as contained in the packaged medicinal product.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getPhysicalCharacteristics

        public ProdCharacteristic getPhysicalCharacteristics()
        Dimensions, color etc.
        Returns:
        An immutable object of type ProdCharacteristic that may be null.
      • getOtherCharacteristics

        public List<CodeableConcept> getOtherCharacteristics()
        Other codeable characteristics.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getShelfLifeStorage

        public List<ProductShelfLife> getShelfLifeStorage()
        Shelf Life and storage information.
        Returns:
        An unmodifiable list containing immutable objects of type ProductShelfLife that may be empty.
      • getManufacturer

        public List<Reference> getManufacturer()
        Manufacturer of this Package Item.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • 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 interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object