
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CodeableConcept>
A possible alternate material for the packaging.The item(s) within the packaging.protected List<Identifier>
Including possibly Data Carrier Identifier.Manufacturer of this package Item.protected List<CodeableConcept>
Material type of the package item.Allows containers (and parts of containers) parwithin containers, still a single packaged product.General characteristics of this item.protected IntegerType
The quantity of this level of packaging in the package that contains it.protected List<ProductShelfLife>
Shelf Life and storage information.protected CodeableConcept
The physical type of the container of the items.Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContainedItem
(PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent t) copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) int
getType()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAlternateMaterial
(List<CodeableConcept> theAlternateMaterial) setContainedItem
(List<PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent> theContainedItem) setIdentifier
(List<Identifier> theIdentifier) setManufacturer
(List<Reference> theManufacturer) setMaterial
(List<CodeableConcept> theMaterial) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setProperty
(List<PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent> theProperty) setQuantity
(int value) setQuantityElement
(IntegerType value) setShelfLifeStorage
(List<ProductShelfLife> theShelfLifeStorage) setType
(CodeableConcept value) 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
identifier
Including possibly Data Carrier Identifier. -
type
The physical type of the container of the items. -
quantity
The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1. -
material
Material type of the package item. -
alternateMaterial
A possible alternate material for the packaging. -
shelfLifeStorage
Shelf Life and storage information. -
manufacturer
Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers. -
property
protected List<PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent> propertyGeneral characteristics of this item. -
containedItem
protected List<PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent> containedItemThe item(s) within the packaging. -
package_
Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition).
-
-
Constructor Details
-
PackagedProductDefinitionPackageComponent
Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Including possibly Data Carrier Identifier.)
-
setIdentifier
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setIdentifier(List<Identifier> theIdentifier) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist {3}
-
getType
- Returns:
type
(The physical type of the container of the items.)
-
hasType
-
setType
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setType(CodeableConcept value) - Parameters:
value
-type
(The physical type of the container of the items.)
-
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
-
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
- Returns:
- The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.
-
setQuantity
- Parameters:
value
- The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.
-
getMaterial
- Returns:
material
(Material type of the package item.)
-
setMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setMaterial(List<CodeableConcept> theMaterial) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasMaterial
-
addMaterial
-
addMaterial
-
getMaterialFirstRep
- Returns:
- The first repetition of repeating field
material
, creating it if it does not already exist {3}
-
getAlternateMaterial
- Returns:
alternateMaterial
(A possible alternate material for the packaging.)
-
setAlternateMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setAlternateMaterial(List<CodeableConcept> theAlternateMaterial) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasAlternateMaterial
-
addAlternateMaterial
-
addAlternateMaterial
-
getAlternateMaterialFirstRep
- Returns:
- The first repetition of repeating field
alternateMaterial
, creating it if it does not already exist {3}
-
getShelfLifeStorage
- Returns:
shelfLifeStorage
(Shelf Life and storage information.)
-
setShelfLifeStorage
public PackagedProductDefinition.PackagedProductDefinitionPackageComponent setShelfLifeStorage(List<ProductShelfLife> theShelfLifeStorage) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasShelfLifeStorage
-
addShelfLifeStorage
-
addShelfLifeStorage
-
getShelfLifeStorageFirstRep
- Returns:
- The first repetition of repeating field
shelfLifeStorage
, creating it if it does not already exist {3}
-
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
this
for easy method chaining
-
hasManufacturer
-
addManufacturer
-
addManufacturer
-
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
this
for easy method chaining
-
hasProperty
-
addProperty
-
addProperty
-
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
this
for easy method chaining
-
hasContainedItem
-
addContainedItem
-
addContainedItem
-
getContainedItemFirstRep
public PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent getContainedItemFirstRep()- Returns:
- The first repetition of repeating field
containedItem
, creating it if it does not already exist {3}
-
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
this
for easy method chaining
-
hasPackage
-
addPackage
-
addPackage
-
getPackageFirstRep
- Returns:
- The first repetition of repeating field
package_
, creating it if it does not already exist {3}
-
listChildren
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copy
in classBackboneElement
-
copyValues
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-