
Package org.hl7.fhir.r4.model
Class MedicinalProductIngredient
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.MedicinalProductIngredient
- 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
An ingredient of a manufactured item or pharmaceutical product.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanTypeIf the ingredient is a known or suspected allergen.protected IdentifierThe identifier(s) of this Ingredient that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.Manufacturer of this Ingredient.protected List<Organization> The actual objects that are the target of the reference (Manufacturer of this Ingredient.)protected CodeableConceptIngredient role e.g.A specified substance that comprises this ingredient.The ingredient substance.Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionaddSpecifiedSubstance(MedicinalProductIngredient.MedicinalProductIngredientSpecifiedSubstanceComponent t) copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()booleangetNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getRole()String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanhasRole()booleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setAllergenicIndicator(boolean value) setIdentifier(Identifier value) setManufacturer(List<Reference> theManufacturer) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setRole(CodeableConcept value) setSpecifiedSubstance(List<MedicinalProductIngredient.MedicinalProductIngredientSpecifiedSubstanceComponent> theSpecifiedSubstance) protected MedicinalProductIngredientMethods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
The identifier(s) of this Ingredient that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. -
role
Ingredient role e.g. Active ingredient, excipient. -
allergenicIndicator
If the ingredient is a known or suspected allergen. -
manufacturer
Manufacturer of this Ingredient. -
manufacturerTarget
The actual objects that are the target of the reference (Manufacturer of this Ingredient.) -
specifiedSubstance
protected List<MedicinalProductIngredient.MedicinalProductIngredientSpecifiedSubstanceComponent> specifiedSubstanceA specified substance that comprises this ingredient. -
substance
The ingredient substance.
-
-
Constructor Details
-
MedicinalProductIngredient
public MedicinalProductIngredient()Constructor -
MedicinalProductIngredient
Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier(The identifier(s) of this Ingredient that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value-identifier(The identifier(s) of this Ingredient that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.)
-
getRole
- Returns:
role(Ingredient role e.g. Active ingredient, excipient.)
-
hasRole
-
setRole
- Parameters:
value-role(Ingredient role e.g. Active ingredient, excipient.)
-
getAllergenicIndicatorElement
- Returns:
allergenicIndicator(If the ingredient is a known or suspected allergen.). This is the underlying object with id, value and extensions. The accessor "getAllergenicIndicator" gives direct access to the value
-
hasAllergenicIndicatorElement
-
hasAllergenicIndicator
-
setAllergenicIndicatorElement
- Parameters:
value-allergenicIndicator(If the ingredient is a known or suspected allergen.). This is the underlying object with id, value and extensions. The accessor "getAllergenicIndicator" gives direct access to the value
-
getAllergenicIndicator
- Returns:
- If the ingredient is a known or suspected allergen.
-
setAllergenicIndicator
- Parameters:
value- If the ingredient is a known or suspected allergen.
-
getManufacturer
- Returns:
manufacturer(Manufacturer of this Ingredient.)
-
setManufacturer
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasManufacturer
-
addManufacturer
-
addManufacturer
-
getManufacturerFirstRep
- Returns:
- The first repetition of repeating field
manufacturer, creating it if it does not already exist
-
getSpecifiedSubstance
public List<MedicinalProductIngredient.MedicinalProductIngredientSpecifiedSubstanceComponent> getSpecifiedSubstance()- Returns:
specifiedSubstance(A specified substance that comprises this ingredient.)
-
setSpecifiedSubstance
public MedicinalProductIngredient setSpecifiedSubstance(List<MedicinalProductIngredient.MedicinalProductIngredientSpecifiedSubstanceComponent> theSpecifiedSubstance) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSpecifiedSubstance
-
addSpecifiedSubstance
-
addSpecifiedSubstance
-
getSpecifiedSubstanceFirstRep
public MedicinalProductIngredient.MedicinalProductIngredientSpecifiedSubstanceComponent getSpecifiedSubstanceFirstRep()- Returns:
- The first repetition of repeating field
specifiedSubstance, creating it if it does not already exist
-
getSubstance
- Returns:
substance(The ingredient substance.)
-
hasSubstance
-
setSubstance
public MedicinalProductIngredient setSubstance(MedicinalProductIngredient.MedicinalProductIngredientSubstanceComponent value) - Parameters:
value-substance(The ingredient substance.)
-
listChildren
- 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
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-