Class NutritionOrder.Supplement
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
NutritionOrder
Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for schedule ()addSchedule
(TimingDt theValue) Adds a given new value for schedule ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for instruction ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for instruction ().Gets the value(s) for productName ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for productName ().Gets the value(s) for quantity ().Gets the value(s) for schedule ().Gets the first repetition for schedule (), creating it if it does not already exist.getType()
Gets the value(s) for type ().boolean
isEmpty()
setInstruction
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for instruction ()setInstruction
(String theString) Sets the value for instruction ()setProductName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for productName ()setProductName
(String theString) Sets the value for productName ()setQuantity
(SimpleQuantityDt theValue) Sets the value(s) for quantity ()setSchedule
(List<TimingDt> theValue) Sets the value(s) for schedule ()setType
(CodeableConceptDt theValue) Sets the value(s) for type ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Supplement
public Supplement()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement
-
setType
Sets the value(s) for type ()Definition: The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement
-
getProductNameElement
Gets the value(s) for productName (). creating it if it does not exist. Will not returnnull
.Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
-
getProductName
Gets the value(s) for productName (). creating it if it does not exist. This method may returnnull
.Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
-
setProductName
Sets the value(s) for productName ()Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
-
setProductName
Sets the value for productName ()Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".
-
getSchedule
Gets the value(s) for schedule (). creating it if it does not exist. Will not returnnull
.Definition: The time period and frequency at which the supplement(s) should be given
-
setSchedule
Sets the value(s) for schedule ()Definition: The time period and frequency at which the supplement(s) should be given
-
addSchedule
Adds and returns a new value for schedule ()Definition: The time period and frequency at which the supplement(s) should be given
-
addSchedule
Adds a given new value for schedule ()Definition: The time period and frequency at which the supplement(s) should be given
- Parameters:
theValue
- The schedule to add (must not benull
)
-
getScheduleFirstRep
Gets the first repetition for schedule (), creating it if it does not already exist.Definition: The time period and frequency at which the supplement(s) should be given
-
getQuantity
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull
.Definition: The amount of the nutritional supplement to be given
-
setQuantity
Sets the value(s) for quantity ()Definition: The amount of the nutritional supplement to be given
-
getInstructionElement
Gets the value(s) for instruction (). creating it if it does not exist. Will not returnnull
.Definition: Free text or additional instructions or information pertaining to the oral supplement.
-
getInstruction
Gets the value(s) for instruction (). creating it if it does not exist. This method may returnnull
.Definition: Free text or additional instructions or information pertaining to the oral supplement.
-
setInstruction
Sets the value(s) for instruction ()Definition: Free text or additional instructions or information pertaining to the oral supplement.
-
setInstruction
Sets the value for instruction ()Definition: Free text or additional instructions or information pertaining to the oral supplement.
-