Package org.hl7.fhir.r4.model
Class MedicinalProductPackaged
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.MedicinalProductPackaged
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class MedicinalProductPackaged extends DomainResource
A medicinal product in a container or package.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponentstatic classMedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent>batchIdentifierBatch numbering.protected StringTypedescriptionTextual description.protected List<Identifier>identifierUnique identifier.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected CodeableConceptlegalStatusOfSupplyThe legal status of supply of the medicinal product as classified by the regulator.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 ReferencemarketingAuthorizationManufacturer of this Package Item.protected MedicinalProductAuthorizationmarketingAuthorizationTargetThe actual object that is the target of the reference (Manufacturer of this Package Item.)protected List<MarketingStatus>marketingStatusMarketing information.protected List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent>packageItemA packaging item, as a contained for medicine, possibly with other packaging items within.static StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_SUBJECTSearch parameter: subjectprotected List<Reference>subjectThe product with this is a pack for.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected List<MedicinalProduct>subjectTargetThe actual objects that are the target of the reference (The product with this is a pack for.)-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description MedicinalProductPackaged()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
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, 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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Unique identifier.
-
subjectTarget
protected List<MedicinalProduct> subjectTarget
The actual objects that are the target of the reference (The product with this is a pack for.)
-
description
protected StringType description
Textual description.
-
legalStatusOfSupply
protected CodeableConcept legalStatusOfSupply
The legal status of supply of the medicinal product as classified by the regulator.
-
marketingStatus
protected List<MarketingStatus> marketingStatus
Marketing information.
-
marketingAuthorization
protected Reference marketingAuthorization
Manufacturer of this Package Item.
-
marketingAuthorizationTarget
protected MedicinalProductAuthorization marketingAuthorizationTarget
The actual object that is the target of the reference (Manufacturer of this Package Item.)
-
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.)
-
batchIdentifier
protected List<MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent> batchIdentifier
Batch numbering.
-
packageItem
protected List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent> packageItem
A packaging item, as a contained for medicine, possibly with other packaging items within.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Unique identifier
Type: token
Path: MedicinalProductPackaged.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Unique identifier
Type: token
Path: MedicinalProductPackaged.identifier
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The product with this is a pack for
Type: reference
Path: MedicinalProductPackaged.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The product with this is a pack for
Type: reference
Path: MedicinalProductPackaged.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicinalProductPackaged:subject".
-
-
Constructor Detail
-
MedicinalProductPackaged
public MedicinalProductPackaged()
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Unique identifier.)
-
setIdentifier
public MedicinalProductPackaged setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public MedicinalProductPackaged addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getSubject
public List<Reference> getSubject()
- Returns:
subject(The product with this is a pack for.)
-
setSubject
public MedicinalProductPackaged setSubject(List<Reference> theSubject)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubject
public boolean hasSubject()
-
addSubject
public Reference addSubject()
-
addSubject
public MedicinalProductPackaged addSubject(Reference t)
-
getSubjectFirstRep
public Reference getSubjectFirstRep()
- Returns:
- The first repetition of repeating field
subject, creating it if it does not already exist
-
getSubjectTarget
@Deprecated public List<MedicinalProduct> getSubjectTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addSubjectTarget
@Deprecated public MedicinalProduct addSubjectTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(Textual description.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public MedicinalProductPackaged setDescriptionElement(StringType value)
- Parameters:
value-description(Textual description.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- Textual description.
-
setDescription
public MedicinalProductPackaged setDescription(String value)
- Parameters:
value- Textual description.
-
getLegalStatusOfSupply
public CodeableConcept getLegalStatusOfSupply()
- Returns:
legalStatusOfSupply(The legal status of supply of the medicinal product as classified by the regulator.)
-
hasLegalStatusOfSupply
public boolean hasLegalStatusOfSupply()
-
setLegalStatusOfSupply
public MedicinalProductPackaged setLegalStatusOfSupply(CodeableConcept value)
- Parameters:
value-legalStatusOfSupply(The legal status of supply of the medicinal product as classified by the regulator.)
-
getMarketingStatus
public List<MarketingStatus> getMarketingStatus()
- Returns:
marketingStatus(Marketing information.)
-
setMarketingStatus
public MedicinalProductPackaged setMarketingStatus(List<MarketingStatus> theMarketingStatus)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMarketingStatus
public boolean hasMarketingStatus()
-
addMarketingStatus
public MarketingStatus addMarketingStatus()
-
addMarketingStatus
public MedicinalProductPackaged addMarketingStatus(MarketingStatus t)
-
getMarketingStatusFirstRep
public MarketingStatus getMarketingStatusFirstRep()
- Returns:
- The first repetition of repeating field
marketingStatus, creating it if it does not already exist
-
getMarketingAuthorization
public Reference getMarketingAuthorization()
- Returns:
marketingAuthorization(Manufacturer of this Package Item.)
-
hasMarketingAuthorization
public boolean hasMarketingAuthorization()
-
setMarketingAuthorization
public MedicinalProductPackaged setMarketingAuthorization(Reference value)
- Parameters:
value-marketingAuthorization(Manufacturer of this Package Item.)
-
getMarketingAuthorizationTarget
public MedicinalProductAuthorization getMarketingAuthorizationTarget()
- Returns:
marketingAuthorizationThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Manufacturer of this Package Item.)
-
setMarketingAuthorizationTarget
public MedicinalProductPackaged setMarketingAuthorizationTarget(MedicinalProductAuthorization value)
- Parameters:
value-marketingAuthorizationThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Manufacturer of this Package Item.)
-
getManufacturer
public List<Reference> getManufacturer()
- Returns:
manufacturer(Manufacturer of this Package Item.)
-
setManufacturer
public MedicinalProductPackaged setManufacturer(List<Reference> theManufacturer)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasManufacturer
public boolean hasManufacturer()
-
addManufacturer
public Reference addManufacturer()
-
addManufacturer
public MedicinalProductPackaged 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
-
getBatchIdentifier
public List<MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent> getBatchIdentifier()
- Returns:
batchIdentifier(Batch numbering.)
-
setBatchIdentifier
public MedicinalProductPackaged setBatchIdentifier(List<MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent> theBatchIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBatchIdentifier
public boolean hasBatchIdentifier()
-
addBatchIdentifier
public MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent addBatchIdentifier()
-
addBatchIdentifier
public MedicinalProductPackaged addBatchIdentifier(MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent t)
-
getBatchIdentifierFirstRep
public MedicinalProductPackaged.MedicinalProductPackagedBatchIdentifierComponent getBatchIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
batchIdentifier, creating it if it does not already exist
-
getPackageItem
public List<MedicinalProductPackaged.MedicinalProductPackagedPackageItemComponent> getPackageItem()
- Returns:
packageItem(A packaging item, as a contained for medicine, possibly with other packaging items within.)
-
setPackageItem
public MedicinalProductPackaged 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 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
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public MedicinalProductPackaged copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicinalProductPackaged dst)
-
typedCopy
protected MedicinalProductPackaged typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-