public static class NutritionOrder.Supplement extends BaseIdentifiableElement implements IResourceBlock
Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
| Constructor and Description |
|---|
Supplement() |
| Modifier and Type | Method and Description |
|---|---|
TimingDt |
addSchedule()
Adds and returns a new value for schedule ()
|
NutritionOrder.Supplement |
addSchedule(TimingDt theValue)
Adds a given new value for schedule ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getInstruction()
Gets the value(s) for instruction ().
|
StringDt |
getInstructionElement()
Gets the value(s) for instruction ().
|
String |
getProductName()
Gets the value(s) for productName ().
|
StringDt |
getProductNameElement()
Gets the value(s) for productName ().
|
SimpleQuantityDt |
getQuantity()
Gets the value(s) for quantity ().
|
List<TimingDt> |
getSchedule()
Gets the value(s) for schedule ().
|
TimingDt |
getScheduleFirstRep()
Gets the first repetition for schedule (),
creating it if it does not already exist.
|
BoundCodeableConceptDt<SupplementTypeCodesEnum> |
getType()
Gets the value(s) for type ().
|
boolean |
isEmpty() |
NutritionOrder.Supplement |
setInstruction(String theString)
Sets the value for instruction ()
|
NutritionOrder.Supplement |
setInstruction(StringDt theValue)
Sets the value(s) for instruction ()
|
NutritionOrder.Supplement |
setProductName(String theString)
Sets the value for productName ()
|
NutritionOrder.Supplement |
setProductName(StringDt theValue)
Sets the value(s) for productName ()
|
NutritionOrder.Supplement |
setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()
|
NutritionOrder.Supplement |
setSchedule(List<TimingDt> theValue)
Sets the value(s) for schedule ()
|
NutritionOrder.Supplement |
setType(BoundCodeableConceptDt<SupplementTypeCodesEnum> theValue)
Sets the value(s) for type ()
|
NutritionOrder.Supplement |
setType(SupplementTypeCodesEnum theValue)
Sets the value(s) for type ()
|
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 Supplement()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic BoundCodeableConceptDt<SupplementTypeCodesEnum> getType()
null.
Definition: The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement
public NutritionOrder.Supplement setType(BoundCodeableConceptDt<SupplementTypeCodesEnum> theValue)
Definition: The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement
public NutritionOrder.Supplement setType(SupplementTypeCodesEnum theValue)
Definition: The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement
public StringDt getProductNameElement()
null.
Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
public String getProductName()
null.
Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
public NutritionOrder.Supplement setProductName(StringDt theValue)
Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
public NutritionOrder.Supplement setProductName(String theString)
Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
public List<TimingDt> getSchedule()
null.
Definition: The time period and frequency at which the supplement(s) should be given
public NutritionOrder.Supplement setSchedule(List<TimingDt> theValue)
Definition: The time period and frequency at which the supplement(s) should be given
public TimingDt addSchedule()
Definition: The time period and frequency at which the supplement(s) should be given
public NutritionOrder.Supplement addSchedule(TimingDt theValue)
Definition: The time period and frequency at which the supplement(s) should be given
theValue - The schedule to add (must not be null)public TimingDt getScheduleFirstRep()
Definition: The time period and frequency at which the supplement(s) should be given
public SimpleQuantityDt getQuantity()
null.
Definition: The amount of the nutritional supplement to be given
public NutritionOrder.Supplement setQuantity(SimpleQuantityDt theValue)
Definition: The amount of the nutritional supplement to be given
public StringDt getInstructionElement()
null.
Definition: Free text or additional instructions or information pertaining to the oral supplement.
public String getInstruction()
null.
Definition: Free text or additional instructions or information pertaining to the oral supplement.
public NutritionOrder.Supplement setInstruction(StringDt theValue)
Definition: Free text or additional instructions or information pertaining to the oral supplement.
public NutritionOrder.Supplement setInstruction(String theString)
Definition: Free text or additional instructions or information pertaining to the oral supplement.
Copyright © 2014–2016 University Health Network. All rights reserved.