public static class Substance.Ingredient extends BaseIdentifiableElement implements IResourceBlock
Definition: A substance can be composed of other substances
| Constructor and Description |
|---|
Substance.Ingredient() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
RatioDt |
getQuantity()
Gets the value(s) for quantity (Optional amount (concentration)).
|
ResourceReferenceDt |
getSubstance()
Gets the value(s) for substance (A component of the substance).
|
boolean |
isEmpty() |
Substance.Ingredient |
setQuantity(RatioDt theValue)
Sets the value(s) for quantity (Optional amount (concentration))
|
Substance.Ingredient |
setSubstance(ResourceReferenceDt theValue)
Sets the value(s) for substance (A component of the substance)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic RatioDt getQuantity()
null.
Definition: The amount of the ingredient in the substance - a concentration ratio
public Substance.Ingredient setQuantity(RatioDt theValue)
Definition: The amount of the ingredient in the substance - a concentration ratio
public ResourceReferenceDt getSubstance()
null.
Definition: Another substance that is a component of this substance
public Substance.Ingredient setSubstance(ResourceReferenceDt theValue)
Definition: Another substance that is a component of this substance
Copyright © 2014 University Health Network. All rights reserved.