public static class Medication.ProductIngredient extends BaseIdentifiableElement implements IResourceBlock
Definition: Identifies a particular constituent of interest in the product
| Constructor and Description |
|---|
Medication.ProductIngredient() |
| 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 |
getAmount()
Gets the value(s) for amount (How much ingredient in product).
|
ResourceReferenceDt |
getItem()
Gets the value(s) for item (The product contained).
|
boolean |
isEmpty() |
Medication.ProductIngredient |
setAmount(RatioDt theValue)
Sets the value(s) for amount (How much ingredient in product)
|
Medication.ProductIngredient |
setItem(ResourceReferenceDt theValue)
Sets the value(s) for item (The product contained)
|
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 ResourceReferenceDt getItem()
null.
Definition: The actual ingredient - either a substance (simple ingredient) or another medication
public Medication.ProductIngredient setItem(ResourceReferenceDt theValue)
Definition: The actual ingredient - either a substance (simple ingredient) or another medication
public RatioDt getAmount()
null.
Definition: Specifies how many (or how much) of the items there are in this Medication. E.g. 250 mg per tablet
public Medication.ProductIngredient setAmount(RatioDt theValue)
Definition: Specifies how many (or how much) of the items there are in this Medication. E.g. 250 mg per tablet
Copyright © 2014 University Health Network. All rights reserved.