Package com.ibm.fhir.model.resource
Class MedicinalProductPackaged
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.MedicinalProductPackaged
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class MedicinalProductPackaged extends DomainResourceA medicinal product in a container or package.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicinalProductPackaged.BatchIdentifierBatch numbering.static classMedicinalProductPackaged.Builderstatic classMedicinalProductPackaged.PackageItemA packaging item, as a contained for medicine, possibly with other packaging items within.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All 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 MedicinalProductPackaged.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<MedicinalProductPackaged.BatchIdentifier>getBatchIdentifier()Batch numbering.StringgetDescription()Textual description.java.util.List<Identifier>getIdentifier()Unique identifier.CodeableConceptgetLegalStatusOfSupply()The legal status of supply of the medicinal product as classified by the regulator.java.util.List<Reference>getManufacturer()Manufacturer of this Package Item.ReferencegetMarketingAuthorization()Manufacturer of this Package Item.java.util.List<MarketingStatus>getMarketingStatus()Marketing information.java.util.List<MedicinalProductPackaged.PackageItem>getPackageItem()A packaging item, as a contained for medicine, possibly with other packaging items within.java.util.List<Reference>getSubject()The product with this is a pack for.booleanhasChildren()inthashCode()MedicinalProductPackaged.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Unique identifier.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getSubject
public java.util.List<Reference> getSubject()
The product with this is a pack for.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getDescription
public String getDescription()
Textual description.- Returns:
- An immutable object of type
Stringthat may be null.
-
getLegalStatusOfSupply
public CodeableConcept getLegalStatusOfSupply()
The legal status of supply of the medicinal product as classified by the regulator.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getMarketingStatus
public java.util.List<MarketingStatus> getMarketingStatus()
Marketing information.- Returns:
- An unmodifiable list containing immutable objects of type
MarketingStatusthat may be empty.
-
getMarketingAuthorization
public Reference getMarketingAuthorization()
Manufacturer of this Package Item.- Returns:
- An immutable object of type
Referencethat may be null.
-
getManufacturer
public java.util.List<Reference> getManufacturer()
Manufacturer of this Package Item.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getBatchIdentifier
public java.util.List<MedicinalProductPackaged.BatchIdentifier> getBatchIdentifier()
Batch numbering.- Returns:
- An unmodifiable list containing immutable objects of type
MedicinalProductPackaged.BatchIdentifierthat may be empty.
-
getPackageItem
public java.util.List<MedicinalProductPackaged.PackageItem> getPackageItem()
A packaging item, as a contained for medicine, possibly with other packaging items within.- Returns:
- An unmodifiable list containing immutable objects of type
MedicinalProductPackaged.PackageItemthat is non-empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public 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 interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public MedicinalProductPackaged.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static MedicinalProductPackaged.Builder builder()
-
-