Class NutritionOrder.OralDiet
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class NutritionOrder.OralDiet extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: NutritionOrder.oralDiet ()Definition: Diet given orally in contrast to enteral (tube) feeding.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OralDiet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddFluidConsistencyType()Adds and returns a new value for fluidConsistencyType ()NutritionOrder.OralDietaddFluidConsistencyType(CodeableConceptDt theValue)Adds a given new value for fluidConsistencyType ()NutritionOrder.OralDietNutrientaddNutrient()Adds and returns a new value for nutrient ()NutritionOrder.OralDietaddNutrient(NutritionOrder.OralDietNutrient theValue)Adds a given new value for nutrient ()TimingDtaddSchedule()Adds and returns a new value for schedule ()NutritionOrder.OralDietaddSchedule(TimingDt theValue)Adds a given new value for schedule ()NutritionOrder.OralDietTextureaddTexture()Adds and returns a new value for texture ()NutritionOrder.OralDietaddTexture(NutritionOrder.OralDietTexture theValue)Adds a given new value for texture ()CodeableConceptDtaddType()Adds and returns a new value for type ()NutritionOrder.OralDietaddType(CodeableConceptDt theValue)Adds a given new value for type ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<CodeableConceptDt>getFluidConsistencyType()Gets the value(s) for fluidConsistencyType ().CodeableConceptDtgetFluidConsistencyTypeFirstRep()Gets the first repetition for fluidConsistencyType (), creating it if it does not already exist.StringgetInstruction()Gets the value(s) for instruction ().ca.uhn.fhir.model.primitive.StringDtgetInstructionElement()Gets the value(s) for instruction ().List<NutritionOrder.OralDietNutrient>getNutrient()Gets the value(s) for nutrient ().NutritionOrder.OralDietNutrientgetNutrientFirstRep()Gets the first repetition for nutrient (), creating it if it does not already exist.List<TimingDt>getSchedule()Gets the value(s) for schedule ().TimingDtgetScheduleFirstRep()Gets the first repetition for schedule (), creating it if it does not already exist.List<NutritionOrder.OralDietTexture>getTexture()Gets the value(s) for texture ().NutritionOrder.OralDietTexturegetTextureFirstRep()Gets the first repetition for texture (), creating it if it does not already exist.List<CodeableConceptDt>getType()Gets the value(s) for type ().CodeableConceptDtgetTypeFirstRep()Gets the first repetition for type (), creating it if it does not already exist.booleanisEmpty()NutritionOrder.OralDietsetFluidConsistencyType(List<CodeableConceptDt> theValue)Sets the value(s) for fluidConsistencyType ()NutritionOrder.OralDietsetInstruction(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for instruction ()NutritionOrder.OralDietsetInstruction(String theString)Sets the value for instruction ()NutritionOrder.OralDietsetNutrient(List<NutritionOrder.OralDietNutrient> theValue)Sets the value(s) for nutrient ()NutritionOrder.OralDietsetSchedule(List<TimingDt> theValue)Sets the value(s) for schedule ()NutritionOrder.OralDietsetTexture(List<NutritionOrder.OralDietTexture> theValue)Sets the value(s) for texture ()NutritionOrder.OralDietsetType(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
-
-
-
-
Constructor Detail
-
OralDiet
public OralDiet()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getType
public List<CodeableConceptDt> 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
public NutritionOrder.OralDiet setType(List<CodeableConceptDt> theValue)
Sets the value(s) for type ()Definition: The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.
-
addType
public CodeableConceptDt 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
public NutritionOrder.OralDiet addType(CodeableConceptDt theValue)
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
public CodeableConceptDt 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
public List<TimingDt> 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
public NutritionOrder.OralDiet setSchedule(List<TimingDt> theValue)
Sets the value(s) for schedule ()Definition: The time period and frequency at which the diet should be given
-
addSchedule
public TimingDt addSchedule()
Adds and returns a new value for schedule ()Definition: The time period and frequency at which the diet should be given
-
addSchedule
public NutritionOrder.OralDiet addSchedule(TimingDt theValue)
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
public TimingDt 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
public List<NutritionOrder.OralDietNutrient> 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
public NutritionOrder.OralDiet setNutrient(List<NutritionOrder.OralDietNutrient> theValue)
Sets the value(s) for nutrient ()Definition: Class that defines the quantity and type of nutrient modifications required for the oral diet.
-
addNutrient
public NutritionOrder.OralDietNutrient 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
public NutritionOrder.OralDiet addNutrient(NutritionOrder.OralDietNutrient theValue)
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
public NutritionOrder.OralDietNutrient 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
public List<NutritionOrder.OralDietTexture> 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
public NutritionOrder.OralDiet setTexture(List<NutritionOrder.OralDietTexture> theValue)
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
public NutritionOrder.OralDietTexture 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
public NutritionOrder.OralDiet addTexture(NutritionOrder.OralDietTexture theValue)
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
public NutritionOrder.OralDietTexture 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
public List<CodeableConceptDt> 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
public NutritionOrder.OralDiet setFluidConsistencyType(List<CodeableConceptDt> theValue)
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
public CodeableConceptDt 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
public NutritionOrder.OralDiet addFluidConsistencyType(CodeableConceptDt theValue)
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
public CodeableConceptDt 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
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public NutritionOrder.OralDiet setInstruction(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for instruction ()Definition: Free text or additional instructions or information pertaining to the oral diet.
-
setInstruction
public NutritionOrder.OralDiet setInstruction(String theString)
Sets the value for instruction ()Definition: Free text or additional instructions or information pertaining to the oral diet.
-
-