Package org.hl7.fhir.r5.model
Class PackagedProductDefinition.PackagedProductDefinitionPackagingComponent
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.PackagedProductDefinitionPackagingComponent
- 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.PackagedProductDefinitionPackagingComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CodeableConcept> A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g.protected BooleanType
Is this a part of the packaging (e.g.The item(s) within the packaging.protected List
<Identifier> A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer.Manufacturer of this packaging item.protected List
<CodeableConcept> Material type of the package item.Allows containers (and parts of containers) within containers, still as a part of a single packaged product.General characteristics of this item.protected IntegerType
The quantity of packaging items contained at this layer of the package.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
-
Method Summary
Modifier and TypeMethodDescriptionaddContainedItem
(PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent t) copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
boolean
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
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setAlternateMaterial
(List<CodeableConcept> theAlternateMaterial) setComponentPart
(boolean value) setContainedItem
(List<PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent> theContainedItem) setIdentifier
(List<Identifier> theIdentifier) setManufacturer
(List<Reference> theManufacturer) setMaterial
(List<CodeableConcept> theMaterial) setPackaging
(List<PackagedProductDefinition.PackagedProductDefinitionPackagingComponent> thePackaging) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setProperty
(List<PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent> 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, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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
A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode). -
type
The physical type of the container of the items. -
componentPart
Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial). The latter type are designed be a container, but the former are not. -
quantity
The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2. -
material
Material type of the package item. -
alternateMaterial
A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve). -
shelfLifeStorage
Shelf Life and storage information. -
manufacturer
Manufacturer of this packaging item. When there are multiple values each one is a potential manufacturer of this packaging item. -
property
protected List<PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent> propertyGeneral characteristics of this item. -
containedItem
protected List<PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent> containedItemThe item(s) within the packaging. -
packaging
Allows containers (and parts of containers) within containers, still as a part of a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition).
-
-
Constructor Details
-
PackagedProductDefinitionPackagingComponent
Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode).)
-
setIdentifier
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent 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.PackagedProductDefinitionPackagingComponent setType(CodeableConcept value) - Parameters:
value
-type
(The physical type of the container of the items.)
-
getComponentPartElement
- Returns:
componentPart
(Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial). The latter type are designed be a container, but the former are not.). This is the underlying object with id, value and extensions. The accessor "getComponentPart" gives direct access to the value
-
hasComponentPartElement
-
hasComponentPart
-
setComponentPartElement
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent setComponentPartElement(BooleanType value) - Parameters:
value
-componentPart
(Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial). The latter type are designed be a container, but the former are not.). This is the underlying object with id, value and extensions. The accessor "getComponentPart" gives direct access to the value
-
getComponentPart
- Returns:
- Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial). The latter type are designed be a container, but the former are not.
-
setComponentPart
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent setComponentPart(boolean value) - Parameters:
value
- Is this a part of the packaging (e.g. a cap or bottle stopper), rather than the packaging itself (e.g. a bottle or vial). The latter type are designed be a container, but the former are not.
-
getQuantityElement
- Returns:
quantity
(The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value
-
hasQuantityElement
-
hasQuantity
-
setQuantityElement
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent setQuantityElement(IntegerType value) - Parameters:
value
-quantity
(The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value
-
getQuantity
- Returns:
- The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.
-
setQuantity
- Parameters:
value
- The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.
-
getMaterial
- Returns:
material
(Material type of the package item.)
-
setMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent 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 this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve).)
-
setAlternateMaterial
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent 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.PackagedProductDefinitionPackagingComponent 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 packaging item. When there are multiple values each one is a potential manufacturer of this packaging item.)
-
setManufacturer
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent 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.PackagedProductDefinitionPackagingPropertyComponent> getProperty()- Returns:
property
(General characteristics of this item.)
-
setProperty
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent setProperty(List<PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent> theProperty) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasProperty
-
addProperty
-
addProperty
-
getPropertyFirstRep
public PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent getPropertyFirstRep()- Returns:
- The first repetition of repeating field
property
, creating it if it does not already exist {3}
-
getContainedItem
public List<PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent> getContainedItem()- Returns:
containedItem
(The item(s) within the packaging.)
-
setContainedItem
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent setContainedItem(List<PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent> theContainedItem) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasContainedItem
-
addContainedItem
-
addContainedItem
-
getContainedItemFirstRep
public PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent getContainedItemFirstRep()- Returns:
- The first repetition of repeating field
containedItem
, creating it if it does not already exist {3}
-
getPackaging
- Returns:
packaging
(Allows containers (and parts of containers) within containers, still as a part of a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition).)
-
setPackaging
public PackagedProductDefinition.PackagedProductDefinitionPackagingComponent setPackaging(List<PackagedProductDefinition.PackagedProductDefinitionPackagingComponent> thePackaging) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasPackaging
-
addPackaging
-
addPackaging
-
getPackagingFirstRep
- Returns:
- The first repetition of repeating field
packaging
, 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
-
removeChild
- Overrides:
removeChild
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
- Returns:
- the FHIR type name of the instance (not the java class name)
-