Package org.hl7.fhir.r5.model
Class PackagedProductDefinition.PackagedProductDefinitionPackageComponent
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.Element
-
- org.hl7.fhir.r5.model.BackboneElement
-
- org.hl7.fhir.r5.model.PackagedProductDefinition.PackagedProductDefinitionPackageComponent
-
- 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.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- PackagedProductDefinition
public static class PackagedProductDefinition.PackagedProductDefinitionPackageComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CodeableConcept>alternateMaterialA possible alternate material for the packaging.protected List<PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent>containedItemThe item(s) within the packaging.protected List<Identifier>identifierIncluding possibly Data Carrier Identifier.protected List<Reference>manufacturerManufacturer of this package Item.protected List<CodeableConcept>materialMaterial type of the package item.protected List<PackagedProductDefinition.PackagedProductDefinitionPackageComponent>package_Allows containers (and parts of containers) parwithin containers, still a single packaged product.protected List<PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent>propertyGeneral characteristics of this item.protected IntegerTypequantityThe quantity of this level of packaging in the package that contains it.protected List<ProductShelfLife>shelfLifeStorageShelf Life and storage information.protected CodeableConcepttypeThe physical type of the container of the items.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description PackagedProductDefinitionPackageComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, removeExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Including possibly Data Carrier Identifier.
-
type
protected CodeableConcept type
The physical type of the container of the items.
-
quantity
protected IntegerType quantity
The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.
-
material
protected List<CodeableConcept> material
Material type of the package item.
-
alternateMaterial
protected List<CodeableConcept> alternateMaterial
A possible alternate material for the packaging.
-
shelfLifeStorage
protected List<ProductShelfLife> shelfLifeStorage
Shelf Life and storage information.
-
manufacturer
protected List<Reference> manufacturer
Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers.
-
property
protected List<PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent> property
General characteristics of this item.
-
containedItem
protected List<PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent> containedItem
The item(s) within the packaging.
-
package_
protected List<PackagedProductDefinition.PackagedProductDefinitionPackageComponent> package_
Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition).
-
-
Constructor Detail
-
PackagedProductDefinitionPackageComponent
public PackagedProductDefinitionPackageComponent()
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Including possibly Data Carrier Identifier.)
-
setIdentifier
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getType
public CodeableConcept getType()
- Returns:
type(The physical type of the container of the items.)
-
hasType
public boolean hasType()
-
setType
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setType(CodeableConcept value)
- Parameters:
value-type(The physical type of the container of the items.)
-
getQuantityElement
public IntegerType getQuantityElement()
- Returns:
quantity(The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value
-
hasQuantityElement
public boolean hasQuantityElement()
-
hasQuantity
public boolean hasQuantity()
-
setQuantityElement
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setQuantityElement(IntegerType value)
- Parameters:
value-quantity(The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value
-
getQuantity
public int getQuantity()
- Returns:
- The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.
-
setQuantity
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setQuantity(int value)
- Parameters:
value- The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.
-
getMaterial
public List<CodeableConcept> getMaterial()
- Returns:
material(Material type of the package item.)
-
setMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setMaterial(List<CodeableConcept> theMaterial)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMaterial
public boolean hasMaterial()
-
addMaterial
public CodeableConcept addMaterial()
-
addMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addMaterial(CodeableConcept t)
-
getMaterialFirstRep
public CodeableConcept getMaterialFirstRep()
- Returns:
- The first repetition of repeating field
material, creating it if it does not already exist {3}
-
getAlternateMaterial
public List<CodeableConcept> getAlternateMaterial()
- Returns:
alternateMaterial(A possible alternate material for the packaging.)
-
setAlternateMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setAlternateMaterial(List<CodeableConcept> theAlternateMaterial)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAlternateMaterial
public boolean hasAlternateMaterial()
-
addAlternateMaterial
public CodeableConcept addAlternateMaterial()
-
addAlternateMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addAlternateMaterial(CodeableConcept t)
-
getAlternateMaterialFirstRep
public CodeableConcept getAlternateMaterialFirstRep()
- Returns:
- The first repetition of repeating field
alternateMaterial, creating it if it does not already exist {3}
-
getShelfLifeStorage
public List<ProductShelfLife> getShelfLifeStorage()
- Returns:
shelfLifeStorage(Shelf Life and storage information.)
-
setShelfLifeStorage
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setShelfLifeStorage(List<ProductShelfLife> theShelfLifeStorage)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasShelfLifeStorage
public boolean hasShelfLifeStorage()
-
addShelfLifeStorage
public ProductShelfLife addShelfLifeStorage()
-
addShelfLifeStorage
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addShelfLifeStorage(ProductShelfLife t)
-
getShelfLifeStorageFirstRep
public ProductShelfLife getShelfLifeStorageFirstRep()
- Returns:
- The first repetition of repeating field
shelfLifeStorage, creating it if it does not already exist {3}
-
getManufacturer
public List<Reference> getManufacturer()
- Returns:
manufacturer(Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers.)
-
setManufacturer
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setManufacturer(List<Reference> theManufacturer)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasManufacturer
public boolean hasManufacturer()
-
addManufacturer
public Reference addManufacturer()
-
addManufacturer
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addManufacturer(Reference t)
-
getManufacturerFirstRep
public Reference getManufacturerFirstRep()
- Returns:
- The first repetition of repeating field
manufacturer, creating it if it does not already exist {3}
-
getProperty
public List<PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent> getProperty()
- Returns:
property(General characteristics of this item.)
-
setProperty
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setProperty(List<PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent> theProperty)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProperty
public boolean hasProperty()
-
addProperty
public PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent addProperty()
-
addProperty
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addProperty(PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent t)
-
getPropertyFirstRep
public PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent getPropertyFirstRep()
- Returns:
- The first repetition of repeating field
property, creating it if it does not already exist {3}
-
getContainedItem
public List<PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent> getContainedItem()
- Returns:
containedItem(The item(s) within the packaging.)
-
setContainedItem
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setContainedItem(List<PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent> theContainedItem)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContainedItem
public boolean hasContainedItem()
-
addContainedItem
public PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent addContainedItem()
-
addContainedItem
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addContainedItem(PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent t)
-
getContainedItemFirstRep
public PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent getContainedItemFirstRep()
- Returns:
- The first repetition of repeating field
containedItem, creating it if it does not already exist {3}
-
getPackage
public List<PackagedProductDefinition.PackagedProductDefinitionPackageComponent> getPackage()
- Returns:
package_(Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition).)
-
setPackage
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setPackage(List<PackagedProductDefinition.PackagedProductDefinitionPackageComponent> thePackage)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPackage
public boolean hasPackage()
-
addPackage
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addPackage()
-
addPackage
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent addPackage(PackagedProductDefinition.PackagedProductDefinitionPackageComponent t)
-
getPackageFirstRep
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent getPackageFirstRep()
- Returns:
- The first repetition of repeating field
package_, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(PackagedProductDefinition.PackagedProductDefinitionPackageComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-