Package org.hl7.fhir.r4.model
Class MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent
-
- 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:
- MedicinalProductPackaged
public static class MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent 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<Reference>deviceA device accompanying a medicinal product.protected List<DeviceDefinition>deviceTargetThe actual objects that are the target of the reference (A device accompanying a medicinal product.)protected List<Identifier>identifierIncluding possibly Data Carrier Identifier.protected List<Reference>manufacturedItemThe manufactured item as contained in the packaged medicinal product.protected List<MedicinalProductManufactured>manufacturedItemTargetThe actual objects that are the target of the reference (The manufactured item as contained in the packaged medicinal product.)protected List<Reference>manufacturerManufacturer of this Package Item.protected List<Organization>manufacturerTargetThe actual objects that are the target of the reference (Manufacturer of this Package Item.)protected List<CodeableConcept>materialMaterial type of the package item.protected List<CodeableConcept>otherCharacteristicsOther codeable characteristics.protected List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent>packageItemAllows containers within containers.protected ProdCharacteristicphysicalCharacteristicsDimensions, color etc.protected QuantityquantityThe quantity of this package in the medicinal product, at the current level of packaging.protected List<ProductShelfLife>shelfLifeStorageShelf Life and storage information.protected CodeableConcepttypeThe physical type of the container of the medicine.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description MedicinalProductPackagedPackageItemComponent()ConstructorMedicinalProductPackagedPackageItemComponent(CodeableConcept type, Quantity quantity)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, 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 medicine.
-
quantity
protected Quantity quantity
The quantity of this package in the medicinal product, at the current level of packaging. The outermost 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.
-
deviceTarget
protected List<DeviceDefinition> deviceTarget
The actual objects that are the target of the reference (A device accompanying a medicinal product.)
-
manufacturedItem
protected List<Reference> manufacturedItem
The manufactured item as contained in the packaged medicinal product.
-
manufacturedItemTarget
protected List<MedicinalProductManufactured> manufacturedItemTarget
The actual objects that are the target of the reference (The manufactured item as contained in the packaged medicinal product.)
-
packageItem
protected List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent> packageItem
Allows containers within containers.
-
physicalCharacteristics
protected ProdCharacteristic physicalCharacteristics
Dimensions, color etc.
-
otherCharacteristics
protected List<CodeableConcept> otherCharacteristics
Other codeable characteristics.
-
shelfLifeStorage
protected List<ProductShelfLife> shelfLifeStorage
Shelf Life and storage information.
-
manufacturer
protected List<Reference> manufacturer
Manufacturer of this Package Item.
-
manufacturerTarget
protected List<Organization> manufacturerTarget
The actual objects that are the target of the reference (Manufacturer of this Package Item.)
-
-
Constructor Detail
-
MedicinalProductPackagedPackageItemComponent
public MedicinalProductPackagedPackageItemComponent()
Constructor
-
MedicinalProductPackagedPackageItemComponent
public MedicinalProductPackagedPackageItemComponent(CodeableConcept type, Quantity quantity)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Including possibly Data Carrier Identifier.)
-
setIdentifier
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getType
public CodeableConcept getType()
- Returns:
type(The physical type of the container of the medicine.)
-
hasType
public boolean hasType()
-
setType
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setType(CodeableConcept value)
- Parameters:
value-type(The physical type of the container of the medicine.)
-
getQuantity
public Quantity getQuantity()
- Returns:
quantity(The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setQuantity(Quantity value)
- Parameters:
value-quantity(The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1.)
-
getMaterial
public List<CodeableConcept> getMaterial()
- Returns:
material(Material type of the package item.)
-
setMaterial
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setMaterial(List<CodeableConcept> theMaterial)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMaterial
public boolean hasMaterial()
-
addMaterial
public CodeableConcept addMaterial()
-
addMaterial
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addMaterial(CodeableConcept t)
-
getMaterialFirstRep
public CodeableConcept getMaterialFirstRep()
- Returns:
- The first repetition of repeating field
material, creating it if it does not already exist
-
getAlternateMaterial
public List<CodeableConcept> getAlternateMaterial()
- Returns:
alternateMaterial(A possible alternate material for the packaging.)
-
setAlternateMaterial
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setAlternateMaterial(List<CodeableConcept> theAlternateMaterial)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAlternateMaterial
public boolean hasAlternateMaterial()
-
addAlternateMaterial
public CodeableConcept addAlternateMaterial()
-
addAlternateMaterial
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addAlternateMaterial(CodeableConcept t)
-
getAlternateMaterialFirstRep
public CodeableConcept getAlternateMaterialFirstRep()
- Returns:
- The first repetition of repeating field
alternateMaterial, creating it if it does not already exist
-
getDevice
public List<Reference> getDevice()
- Returns:
device(A device accompanying a medicinal product.)
-
setDevice
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setDevice(List<Reference> theDevice)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDevice
public boolean hasDevice()
-
addDevice
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addDevice(Reference t)
-
getDeviceFirstRep
public Reference getDeviceFirstRep()
- Returns:
- The first repetition of repeating field
device, creating it if it does not already exist
-
getDeviceTarget
@Deprecated public List<DeviceDefinition> getDeviceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addDeviceTarget
@Deprecated public DeviceDefinition addDeviceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getManufacturedItem
public List<Reference> getManufacturedItem()
- Returns:
manufacturedItem(The manufactured item as contained in the packaged medicinal product.)
-
setManufacturedItem
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setManufacturedItem(List<Reference> theManufacturedItem)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasManufacturedItem
public boolean hasManufacturedItem()
-
addManufacturedItem
public Reference addManufacturedItem()
-
addManufacturedItem
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addManufacturedItem(Reference t)
-
getManufacturedItemFirstRep
public Reference getManufacturedItemFirstRep()
- Returns:
- The first repetition of repeating field
manufacturedItem, creating it if it does not already exist
-
getManufacturedItemTarget
@Deprecated public List<MedicinalProductManufactured> getManufacturedItemTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addManufacturedItemTarget
@Deprecated public MedicinalProductManufactured addManufacturedItemTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getPackageItem
public List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent> getPackageItem()
- Returns:
packageItem(Allows containers within containers.)
-
setPackageItem
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setPackageItem(List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent> thePackageItem)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPackageItem
public boolean hasPackageItem()
-
addPackageItem
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addPackageItem()
-
addPackageItem
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addPackageItem(MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent t)
-
getPackageItemFirstRep
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent getPackageItemFirstRep()
- Returns:
- The first repetition of repeating field
packageItem, creating it if it does not already exist
-
getPhysicalCharacteristics
public ProdCharacteristic getPhysicalCharacteristics()
- Returns:
physicalCharacteristics(Dimensions, color etc.)
-
hasPhysicalCharacteristics
public boolean hasPhysicalCharacteristics()
-
setPhysicalCharacteristics
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setPhysicalCharacteristics(ProdCharacteristic value)
- Parameters:
value-physicalCharacteristics(Dimensions, color etc.)
-
getOtherCharacteristics
public List<CodeableConcept> getOtherCharacteristics()
- Returns:
otherCharacteristics(Other codeable characteristics.)
-
setOtherCharacteristics
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setOtherCharacteristics(List<CodeableConcept> theOtherCharacteristics)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOtherCharacteristics
public boolean hasOtherCharacteristics()
-
addOtherCharacteristics
public CodeableConcept addOtherCharacteristics()
-
addOtherCharacteristics
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addOtherCharacteristics(CodeableConcept t)
-
getOtherCharacteristicsFirstRep
public CodeableConcept getOtherCharacteristicsFirstRep()
- Returns:
- The first repetition of repeating field
otherCharacteristics, creating it if it does not already exist
-
getShelfLifeStorage
public List<ProductShelfLife> getShelfLifeStorage()
- Returns:
shelfLifeStorage(Shelf Life and storage information.)
-
setShelfLifeStorage
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setShelfLifeStorage(List<ProductShelfLife> theShelfLifeStorage)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasShelfLifeStorage
public boolean hasShelfLifeStorage()
-
addShelfLifeStorage
public ProductShelfLife addShelfLifeStorage()
-
addShelfLifeStorage
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addShelfLifeStorage(ProductShelfLife t)
-
getShelfLifeStorageFirstRep
public ProductShelfLife getShelfLifeStorageFirstRep()
- Returns:
- The first repetition of repeating field
shelfLifeStorage, creating it if it does not already exist
-
getManufacturer
public List<Reference> getManufacturer()
- Returns:
manufacturer(Manufacturer of this Package Item.)
-
setManufacturer
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent setManufacturer(List<Reference> theManufacturer)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasManufacturer
public boolean hasManufacturer()
-
addManufacturer
public Reference addManufacturer()
-
addManufacturer
public MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent addManufacturer(Reference t)
-
getManufacturerFirstRep
public Reference getManufacturerFirstRep()
- Returns:
- The first repetition of repeating field
manufacturer, creating it if it does not already exist
-
getManufacturerTarget
@Deprecated public List<Organization> getManufacturerTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addManufacturerTarget
@Deprecated public Organization addManufacturerTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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 MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent 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
-
-