Class NutritionOrder.OralDiet
- 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: Diet given orally in contrast to enteral (tube) feeding.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for fluidConsistencyType ()addFluidConsistencyType
(CodeableConceptDt theValue) Adds a given new value for fluidConsistencyType ()Adds and returns a new value for nutrient ()addNutrient
(NutritionOrder.OralDietNutrient theValue) Adds a given new value for nutrient ()Adds and returns a new value for schedule ()addSchedule
(TimingDt theValue) Adds a given new value for schedule ()Adds and returns a new value for texture ()addTexture
(NutritionOrder.OralDietTexture theValue) Adds a given new value for texture ()addType()
Adds and returns a new value for type ()addType
(CodeableConceptDt theValue) Adds a given new value for type ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for fluidConsistencyType ().Gets the first repetition for fluidConsistencyType (), creating it if it does not already exist.Gets the value(s) for instruction ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for instruction ().Gets the value(s) for nutrient ().Gets the first repetition for nutrient (), creating it if it does not already exist.Gets the value(s) for schedule ().Gets the first repetition for schedule (), creating it if it does not already exist.Gets the value(s) for texture ().Gets the first repetition for texture (), creating it if it does not already exist.getType()
Gets the value(s) for type ().Gets the first repetition for type (), creating it if it does not already exist.boolean
isEmpty()
setFluidConsistencyType
(List<CodeableConceptDt> theValue) Sets the value(s) for fluidConsistencyType ()setInstruction
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for instruction ()setInstruction
(String theString) Sets the value for instruction ()setNutrient
(List<NutritionOrder.OralDietNutrient> theValue) Sets the value(s) for nutrient ()setSchedule
(List<TimingDt> theValue) Sets the value(s) for schedule ()setTexture
(List<NutritionOrder.OralDietTexture> theValue) Sets the value(s) for texture ()setType
(List<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
-
OralDiet
public OralDiet()
-
-
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 diet or dietary restriction such as fiber restricted diet or diabetic diet.
-
setType
Sets the value(s) for type ()Definition: The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.
-
addType
Adds and returns a new value for type ()Definition: The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.
-
addType
Adds a given new value for type ()Definition: The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.
- Parameters:
theValue
- The type to add (must not benull
)
-
getTypeFirstRep
Gets the first repetition for type (), creating it if it does not already exist.Definition: The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.
-
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 diet should be given
-
setSchedule
Sets the value(s) for schedule ()Definition: The time period and frequency at which the diet should be given
-
addSchedule
Adds and returns a new value for schedule ()Definition: The time period and frequency at which the diet should be given
-
addSchedule
Adds a given new value for schedule ()Definition: The time period and frequency at which the diet 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 diet should be given
-
getNutrient
Gets the value(s) for nutrient (). creating it if it does not exist. Will not returnnull
.Definition: Class that defines the quantity and type of nutrient modifications required for the oral diet.
-
setNutrient
Sets the value(s) for nutrient ()Definition: Class that defines the quantity and type of nutrient modifications required for the oral diet.
-
addNutrient
Adds and returns a new value for nutrient ()Definition: Class that defines the quantity and type of nutrient modifications required for the oral diet.
-
addNutrient
Adds a given new value for nutrient ()Definition: Class that defines the quantity and type of nutrient modifications required for the oral diet.
- Parameters:
theValue
- The nutrient to add (must not benull
)
-
getNutrientFirstRep
Gets the first repetition for nutrient (), creating it if it does not already exist.Definition: Class that defines the quantity and type of nutrient modifications required for the oral diet.
-
getTexture
Gets the value(s) for texture (). creating it if it does not exist. Will not returnnull
.Definition: Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
-
setTexture
Sets the value(s) for texture ()Definition: Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
-
addTexture
Adds and returns a new value for texture ()Definition: Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
-
addTexture
Adds a given new value for texture ()Definition: Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
- Parameters:
theValue
- The texture to add (must not benull
)
-
getTextureFirstRep
Gets the first repetition for texture (), creating it if it does not already exist.Definition: Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
-
getFluidConsistencyType
Gets the value(s) for fluidConsistencyType (). creating it if it does not exist. Will not returnnull
.Definition: The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.
-
setFluidConsistencyType
Sets the value(s) for fluidConsistencyType ()Definition: The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.
-
addFluidConsistencyType
Adds and returns a new value for fluidConsistencyType ()Definition: The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.
-
addFluidConsistencyType
Adds a given new value for fluidConsistencyType ()Definition: The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.
- Parameters:
theValue
- The fluidConsistencyType to add (must not benull
)
-
getFluidConsistencyTypeFirstRep
Gets the first repetition for fluidConsistencyType (), creating it if it does not already exist.Definition: The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.
-
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 diet.
-
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 diet.
-
setInstruction
Sets the value(s) for instruction ()Definition: Free text or additional instructions or information pertaining to the oral diet.
-
setInstruction
Sets the value for instruction ()Definition: Free text or additional instructions or information pertaining to the oral diet.
-