Class PackagedProductDefinition
- java.lang.Object
- 
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
- 
- org.linuxforhealth.fhir.model.resource.Resource
- 
- org.linuxforhealth.fhir.model.resource.DomainResource
- 
- org.linuxforhealth.fhir.model.resource.PackagedProductDefinition
 
 
 
 
- 
- All Implemented Interfaces:
- Visitable
 
 @Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class PackagedProductDefinition extends DomainResourceA medically related item or items, in a container or package.Maturity level: FMM1 (Trial Use) 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPackagedProductDefinition.Builderstatic classPackagedProductDefinition.LegalStatusOfSupplyThe legal status of supply of the packaged item as classified by the regulator.static classPackagedProductDefinition.PackageA packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).
 - 
Field Summary- 
Fields inherited from class org.linuxforhealth.fhir.model.resource.DomainResourcecontained, extension, modifierExtension, text
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static PackagedProductDefinition.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<CodeableConcept>getCharacteristic()Allows the key features to be recorded, such as "hospital pack", "nurse prescribable", "calendar pack".java.util.List<Quantity>getContainedItemQuantity()A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization.BooleangetCopackagedIndicator()States whether a drug product is supplied with another item such as a diluent or adjuvant.MarkdowngetDescription()Textual description.java.util.List<Identifier>getIdentifier()A unique identifier for this package as whole.java.util.List<PackagedProductDefinition.LegalStatusOfSupply>getLegalStatusOfSupply()The legal status of supply of the packaged item as classified by the regulator.java.util.List<Reference>getManufacturer()Manufacturer of this package type.java.util.List<MarketingStatus>getMarketingStatus()Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated.StringgetName()A name for this package.PackagedProductDefinition.PackagegetPackage()A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).java.util.List<Reference>getPackageFor()The product that this is a pack for.CodeableConceptgetStatus()The status within the lifecycle of this item.DateTimegetStatusDate()The date at which the given status became applicable.CodeableConceptgetType()A high level category e.g.booleanhasChildren()inthashCode()PackagedProductDefinition.BuildertoBuilder()Create a new Builder from the contents of this Resource- 
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResourcegetContained, getExtension, getModifierExtension, getText
 - 
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resourceas, getId, getImplicitRules, getLanguage, getMeta, is
 
- 
 
- 
- 
- 
Method Detail- 
getIdentifierpublic java.util.List<Identifier> getIdentifier() A unique identifier for this package as whole. Unique instance identifiers assigned to a package by manufacturers, regulators, drug catalogue custodians or other organizations.- Returns:
- An unmodifiable list containing immutable objects of type Identifierthat may be empty.
 
 - 
getNamepublic String getName() A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc.- Returns:
- An immutable object of type Stringthat may be null.
 
 - 
getTypepublic CodeableConcept getType() A high level category e.g. medicinal product, raw material, shipping/transport container, etc.- Returns:
- An immutable object of type CodeableConceptthat may be null.
 
 - 
getPackageForpublic java.util.List<Reference> getPackageFor() The product that this is a pack for.- Returns:
- An unmodifiable list containing immutable objects of type Referencethat may be empty.
 
 - 
getStatuspublic CodeableConcept getStatus() The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status.- Returns:
- An immutable object of type CodeableConceptthat may be null.
 
 - 
getStatusDatepublic DateTime getStatusDate() The date at which the given status became applicable.- Returns:
- An immutable object of type DateTimethat may be null.
 
 - 
getContainedItemQuantitypublic java.util.List<Quantity> getContainedItemQuantity() A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.- Returns:
- An unmodifiable list containing immutable objects of type Quantitythat may be empty.
 
 - 
getDescriptionpublic Markdown getDescription() Textual description. Note that this is not the name of the package or product.- Returns:
- An immutable object of type Markdownthat may be null.
 
 - 
getLegalStatusOfSupplypublic java.util.List<PackagedProductDefinition.LegalStatusOfSupply> getLegalStatusOfSupply() The legal status of supply of the packaged item as classified by the regulator.- Returns:
- An unmodifiable list containing immutable objects of type PackagedProductDefinition.LegalStatusOfSupplythat may be empty.
 
 - 
getMarketingStatuspublic java.util.List<MarketingStatus> getMarketingStatus() Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated.- Returns:
- An unmodifiable list containing immutable objects of type MarketingStatusthat may be empty.
 
 - 
getCharacteristicpublic java.util.List<CodeableConcept> getCharacteristic() Allows the key features to be recorded, such as "hospital pack", "nurse prescribable", "calendar pack".- Returns:
- An unmodifiable list containing immutable objects of type CodeableConceptthat may be empty.
 
 - 
getCopackagedIndicatorpublic Boolean getCopackagedIndicator() States whether a drug product is supplied with another item such as a diluent or adjuvant.- Returns:
- An immutable object of type Booleanthat may be null.
 
 - 
getManufacturerpublic java.util.List<Reference> getManufacturer() Manufacturer of this package type. When there are multiple it means these are all possible manufacturers.- Returns:
- An unmodifiable list containing immutable objects of type Referencethat may be empty.
 
 - 
getPackagepublic PackagedProductDefinition.Package getPackage() A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).- Returns:
- An immutable object of type PackagedProductDefinition.Packagethat may be null.
 
 - 
hasChildrenpublic boolean hasChildren() - Overrides:
- hasChildrenin class- DomainResource
 
 - 
acceptpublic void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept 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:
- acceptin interface- Visitable
- Specified by:
- acceptin 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
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toBuilderpublic PackagedProductDefinition.Builder toBuilder() Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
- toBuilderin class- DomainResource
 
 - 
builderpublic static PackagedProductDefinition.Builder builder() 
 
- 
 
-