Class MedicinalProductPharmaceutical
- 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.MedicinalProductPharmaceutical
-
- 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 MedicinalProductPharmaceutical extends DomainResource
A pharmaceutical product described in terms of its composition and dose form.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponentstatic classMedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponentstatic classMedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesComponentstatic classMedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriodComponent
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptadministrableDoseFormThe administrable dose form, after necessary reconstitution.protected List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent>characteristicsCharacteristics e.g.protected List<Reference>deviceAccompanying device.protected List<DeviceDefinition>deviceTargetThe actual objects that are the target of the reference (Accompanying device.)protected List<Identifier>identifierAn identifier for the pharmaceutical medicinal product.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierprotected List<Reference>ingredientIngredient.protected List<MedicinalProductIngredient>ingredientTargetThe actual objects that are the target of the reference (Ingredient.)static ca.uhn.fhir.rest.gclient.TokenClientParamROUTEFluent Client search parameter constant for routeprotected List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent>routeOfAdministrationThe path by which the pharmaceutical product is taken into or makes contact with the body.static StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_ROUTESearch parameter: routestatic StringSP_TARGET_SPECIESSearch parameter: target-speciesstatic ca.uhn.fhir.rest.gclient.TokenClientParamTARGET_SPECIESFluent Client search parameter constant for target-speciesprotected CodeableConceptunitOfPresentationTodo.-
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 MedicinalProductPharmaceutical()ConstructorMedicinalProductPharmaceutical(CodeableConcept administrableDoseForm)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
An identifier for the pharmaceutical medicinal product.
-
administrableDoseForm
protected CodeableConcept administrableDoseForm
The administrable dose form, after necessary reconstitution.
-
unitOfPresentation
protected CodeableConcept unitOfPresentation
Todo.
-
ingredient
protected List<Reference> ingredient
Ingredient.
-
ingredientTarget
protected List<MedicinalProductIngredient> ingredientTarget
The actual objects that are the target of the reference (Ingredient.)
-
deviceTarget
protected List<DeviceDefinition> deviceTarget
The actual objects that are the target of the reference (Accompanying device.)
-
characteristics
protected List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent> characteristics
Characteristics e.g. a products onset of action.
-
routeOfAdministration
protected List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent> routeOfAdministration
The path by which the pharmaceutical product is taken into or makes contact with the body.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: An identifier for the pharmaceutical medicinal product
Type: token
Path: MedicinalProductPharmaceutical.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An identifier for the pharmaceutical medicinal product
Type: token
Path: MedicinalProductPharmaceutical.identifier
-
SP_ROUTE
public static final String SP_ROUTE
Search parameter: routeDescription: Coded expression for the route
Type: token
Path: MedicinalProductPharmaceutical.routeOfAdministration.code
- See Also:
- Constant Field Values
-
ROUTE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROUTE
Fluent Client search parameter constant for routeDescription: Coded expression for the route
Type: token
Path: MedicinalProductPharmaceutical.routeOfAdministration.code
-
SP_TARGET_SPECIES
public static final String SP_TARGET_SPECIES
Search parameter: target-speciesDescription: Coded expression for the species
Type: token
Path: MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.code
- See Also:
- Constant Field Values
-
TARGET_SPECIES
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_SPECIES
Fluent Client search parameter constant for target-speciesDescription: Coded expression for the species
Type: token
Path: MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.code
-
-
Constructor Detail
-
MedicinalProductPharmaceutical
public MedicinalProductPharmaceutical()
Constructor
-
MedicinalProductPharmaceutical
public MedicinalProductPharmaceutical(CodeableConcept administrableDoseForm)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(An identifier for the pharmaceutical medicinal product.)
-
setIdentifier
public MedicinalProductPharmaceutical setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public MedicinalProductPharmaceutical addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getAdministrableDoseForm
public CodeableConcept getAdministrableDoseForm()
- Returns:
administrableDoseForm(The administrable dose form, after necessary reconstitution.)
-
hasAdministrableDoseForm
public boolean hasAdministrableDoseForm()
-
setAdministrableDoseForm
public MedicinalProductPharmaceutical setAdministrableDoseForm(CodeableConcept value)
- Parameters:
value-administrableDoseForm(The administrable dose form, after necessary reconstitution.)
-
getUnitOfPresentation
public CodeableConcept getUnitOfPresentation()
- Returns:
unitOfPresentation(Todo.)
-
hasUnitOfPresentation
public boolean hasUnitOfPresentation()
-
setUnitOfPresentation
public MedicinalProductPharmaceutical setUnitOfPresentation(CodeableConcept value)
- Parameters:
value-unitOfPresentation(Todo.)
-
getIngredient
public List<Reference> getIngredient()
- Returns:
ingredient(Ingredient.)
-
setIngredient
public MedicinalProductPharmaceutical setIngredient(List<Reference> theIngredient)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIngredient
public boolean hasIngredient()
-
addIngredient
public Reference addIngredient()
-
addIngredient
public MedicinalProductPharmaceutical addIngredient(Reference t)
-
getIngredientFirstRep
public Reference getIngredientFirstRep()
- Returns:
- The first repetition of repeating field
ingredient, creating it if it does not already exist
-
getIngredientTarget
@Deprecated public List<MedicinalProductIngredient> getIngredientTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addIngredientTarget
@Deprecated public MedicinalProductIngredient addIngredientTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
setDevice
public MedicinalProductPharmaceutical setDevice(List<Reference> theDevice)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDevice
public boolean hasDevice()
-
addDevice
public MedicinalProductPharmaceutical 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
-
getCharacteristics
public List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent> getCharacteristics()
- Returns:
characteristics(Characteristics e.g. a products onset of action.)
-
setCharacteristics
public MedicinalProductPharmaceutical setCharacteristics(List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent> theCharacteristics)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCharacteristics
public boolean hasCharacteristics()
-
addCharacteristics
public MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent addCharacteristics()
-
addCharacteristics
public MedicinalProductPharmaceutical addCharacteristics(MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent t)
-
getCharacteristicsFirstRep
public MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalCharacteristicsComponent getCharacteristicsFirstRep()
- Returns:
- The first repetition of repeating field
characteristics, creating it if it does not already exist
-
getRouteOfAdministration
public List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent> getRouteOfAdministration()
- Returns:
routeOfAdministration(The path by which the pharmaceutical product is taken into or makes contact with the body.)
-
setRouteOfAdministration
public MedicinalProductPharmaceutical setRouteOfAdministration(List<MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent> theRouteOfAdministration)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRouteOfAdministration
public boolean hasRouteOfAdministration()
-
addRouteOfAdministration
public MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent addRouteOfAdministration()
-
addRouteOfAdministration
public MedicinalProductPharmaceutical addRouteOfAdministration(MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent t)
-
getRouteOfAdministrationFirstRep
public MedicinalProductPharmaceutical.MedicinalProductPharmaceuticalRouteOfAdministrationComponent getRouteOfAdministrationFirstRep()
- Returns:
- The first repetition of repeating field
routeOfAdministration, 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 MedicinalProductPharmaceutical copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicinalProductPharmaceutical dst)
-
typedCopy
protected MedicinalProductPharmaceutical 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
-
-