Class NutritionOrder
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/NutritionOrder
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: NutritionOrder.enteralFormula ()static class
Block class for child element: NutritionOrder.enteralFormula.administration ()static class
Block class for child element: NutritionOrder.oralDiet ()static class
Block class for child element: NutritionOrder.oralDiet.nutrient ()static class
Block class for child element: NutritionOrder.oralDiet.texture ()static class
Block class for child element: NutritionOrder.supplement () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for additivestatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datetimestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for formulastatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for oraldietstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for providerstatic final String
Search parameter constant for additivestatic final String
Search parameter constant for datetimestatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for formulastatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for oraldietstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for providerstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for supplementstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for supplementFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for allergyIntolerance ()Adds and returns a new value for excludeFoodModifier ()addExcludeFoodModifier
(CodeableConceptDt theValue) Adds a given new value for excludeFoodModifier ()Adds and returns a new value for foodPreferenceModifier ()addFoodPreferenceModifier
(CodeableConceptDt theValue) Adds a given new value for foodPreferenceModifier ()Adds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)Adds and returns a new value for supplement ()addSupplement
(NutritionOrder.Supplement theValue) Adds a given new value for supplement ()Gets the value(s) for allergyIntolerance ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for dateTime (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for dateTime (when.recorded).Gets the value(s) for encounter (context).Gets the value(s) for enteralFormula ().Gets the value(s) for excludeFoodModifier ().Gets the first repetition for excludeFoodModifier (), creating it if it does not already exist.Gets the value(s) for foodPreferenceModifier ().Gets the first repetition for foodPreferenceModifier (), creating it if it does not already exist.Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for oralDiet ().Gets the value(s) for orderer (who.author).Gets the value(s) for patient (who.focus).Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<NutritionOrderStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for supplement ().Gets the first repetition for supplement (), creating it if it does not already exist.boolean
isEmpty()
setAllergyIntolerance
(List<ResourceReferenceDt> theValue) Sets the value(s) for allergyIntolerance ()setDateTime
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for dateTime (when.recorded)setDateTime
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateTime (when.recorded)setDateTimeWithSecondsPrecision
(Date theDate) Sets the value for dateTime (when.recorded)setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)Sets the value(s) for enteralFormula ()setExcludeFoodModifier
(List<CodeableConceptDt> theValue) Sets the value(s) for excludeFoodModifier ()setFoodPreferenceModifier
(List<CodeableConceptDt> theValue) Sets the value(s) for foodPreferenceModifier ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setOralDiet
(NutritionOrder.OralDiet theValue) Sets the value(s) for oralDiet ()setOrderer
(ResourceReferenceDt theValue) Sets the value(s) for orderer (who.author)setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient (who.focus)setStatus
(NutritionOrderStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<NutritionOrderStatusEnum> theValue) Sets the value(s) for status (status)setSupplement
(List<NutritionOrder.Supplement> theValue) Sets the value(s) for supplement ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_PATIENT
Search parameter constant for patientDescription: The identity of the person who requires the diet, formula or nutritional supplement
Type: reference
Path: NutritionOrder.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of the person who requires the diet, formula or nutritional supplement
Type: reference
Path: NutritionOrder.patient
-
SP_PROVIDER
Search parameter constant for providerDescription: The identify of the provider who placed the nutrition order
Type: reference
Path: NutritionOrder.orderer
- See Also:
-
PROVIDER
Fluent Client search parameter constant for providerDescription: The identify of the provider who placed the nutrition order
Type: reference
Path: NutritionOrder.orderer
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: Return nutrition orders with this external identifier
Type: token
Path: NutritionOrder.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Return nutrition orders with this external identifier
Type: token
Path: NutritionOrder.identifier
-
SP_ENCOUNTER
Search parameter constant for encounterDescription: Return nutrition orders with this encounter identifier
Type: reference
Path: NutritionOrder.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Return nutrition orders with this encounter identifier
Type: reference
Path: NutritionOrder.encounter
-
SP_DATETIME
Search parameter constant for datetimeDescription: Return nutrition orders requested on this date
Type: date
Path: NutritionOrder.dateTime
- See Also:
-
DATETIME
Fluent Client search parameter constant for datetimeDescription: Return nutrition orders requested on this date
Type: date
Path: NutritionOrder.dateTime
-
SP_STATUS
Search parameter constant for statusDescription: Status of the nutrition order.
Type: token
Path: NutritionOrder.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: Status of the nutrition order.
Type: token
Path: NutritionOrder.status
-
SP_ORALDIET
Search parameter constant for oraldietDescription: Type of diet that can be consumed orally (i.e., take via the mouth).
Type: token
Path: NutritionOrder.oralDiet.type
- See Also:
-
ORALDIET
Fluent Client search parameter constant for oraldietDescription: Type of diet that can be consumed orally (i.e., take via the mouth).
Type: token
Path: NutritionOrder.oralDiet.type
-
SP_SUPPLEMENT
Search parameter constant for supplementDescription: Type of supplement product requested
Type: token
Path: NutritionOrder.supplement.type
- See Also:
-
SUPPLEMENT
Fluent Client search parameter constant for supplementDescription: Type of supplement product requested
Type: token
Path: NutritionOrder.supplement.type
-
SP_FORMULA
Search parameter constant for formulaDescription: Type of enteral or infant formula
Type: token
Path: NutritionOrder.enteralFormula.baseFormulaType
- See Also:
-
FORMULA
Fluent Client search parameter constant for formulaDescription: Type of enteral or infant formula
Type: token
Path: NutritionOrder.enteralFormula.baseFormulaType
-
SP_ADDITIVE
Search parameter constant for additiveDescription: Type of module component to add to the feeding
Type: token
Path: NutritionOrder.enteralFormula.additiveType
- See Also:
-
ADDITIVE
Fluent Client search parameter constant for additiveDescription: Type of module component to add to the feeding
Type: token
Path: NutritionOrder.enteralFormula.additiveType
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "NutritionOrder:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "NutritionOrder:patient". -
INCLUDE_PROVIDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "NutritionOrder:provider".
-
-
Constructor Details
-
NutritionOrder
public NutritionOrder()
-
-
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
-
getPatient
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull
.Definition: The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding.
-
setPatient
Sets the value(s) for patient (who.focus)Definition: The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding.
-
getOrderer
Gets the value(s) for orderer (who.author). creating it if it does not exist. Will not returnnull
.Definition: The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings.
-
setOrderer
Sets the value(s) for orderer (who.author)Definition: The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings.
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: Identifiers assigned to this order by the order sender or by the order receiver
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifiers assigned to this order by the order sender or by the order receiver
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifiers assigned to this order by the order sender or by the order receiver
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifiers assigned to this order by the order sender or by the order receiver
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifiers assigned to this order by the order sender or by the order receiver
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull
.Definition: An encounter that provides additional information about the healthcare context in which this request is made
-
setEncounter
Sets the value(s) for encounter (context)Definition: An encounter that provides additional information about the healthcare context in which this request is made
-
getDateTimeElement
Gets the value(s) for dateTime (when.recorded). creating it if it does not exist. Will not returnnull
.Definition: The date and time that this nutrition order was requested.
-
getDateTime
Gets the value(s) for dateTime (when.recorded). creating it if it does not exist. This method may returnnull
.Definition: The date and time that this nutrition order was requested.
-
setDateTime
Sets the value(s) for dateTime (when.recorded)Definition: The date and time that this nutrition order was requested.
-
setDateTimeWithSecondsPrecision
Sets the value for dateTime (when.recorded)Definition: The date and time that this nutrition order was requested.
-
setDateTime
public NutritionOrder setDateTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateTime (when.recorded)Definition: The date and time that this nutrition order was requested.
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: The workflow status of the nutrition order/request.
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: The workflow status of the nutrition order/request.
-
setStatus
public NutritionOrder setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<NutritionOrderStatusEnum> theValue) Sets the value(s) for status (status)Definition: The workflow status of the nutrition order/request.
-
setStatus
Sets the value(s) for status (status)Definition: The workflow status of the nutrition order/request.
-
getAllergyIntolerance
Gets the value(s) for allergyIntolerance (). creating it if it does not exist. Will not returnnull
.Definition: A link to a record of allergies or intolerances which should be included in the nutrition order.
-
setAllergyIntolerance
Sets the value(s) for allergyIntolerance ()Definition: A link to a record of allergies or intolerances which should be included in the nutrition order.
-
addAllergyIntolerance
Adds and returns a new value for allergyIntolerance ()Definition: A link to a record of allergies or intolerances which should be included in the nutrition order.
-
getFoodPreferenceModifier
Gets the value(s) for foodPreferenceModifier (). creating it if it does not exist. Will not returnnull
.Definition: This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
setFoodPreferenceModifier
Sets the value(s) for foodPreferenceModifier ()Definition: This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
addFoodPreferenceModifier
Adds and returns a new value for foodPreferenceModifier ()Definition: This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
addFoodPreferenceModifier
Adds a given new value for foodPreferenceModifier ()Definition: This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
- Parameters:
theValue
- The foodPreferenceModifier to add (must not benull
)
-
getFoodPreferenceModifierFirstRep
Gets the first repetition for foodPreferenceModifier (), creating it if it does not already exist.Definition: This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
getExcludeFoodModifier
Gets the value(s) for excludeFoodModifier (). creating it if it does not exist. Will not returnnull
.Definition: This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
setExcludeFoodModifier
Sets the value(s) for excludeFoodModifier ()Definition: This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
addExcludeFoodModifier
Adds and returns a new value for excludeFoodModifier ()Definition: This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
addExcludeFoodModifier
Adds a given new value for excludeFoodModifier ()Definition: This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
- Parameters:
theValue
- The excludeFoodModifier to add (must not benull
)
-
getExcludeFoodModifierFirstRep
Gets the first repetition for excludeFoodModifier (), creating it if it does not already exist.Definition: This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
-
getOralDiet
Gets the value(s) for oralDiet (). creating it if it does not exist. Will not returnnull
.Definition: Diet given orally in contrast to enteral (tube) feeding.
-
setOralDiet
Sets the value(s) for oralDiet ()Definition: Diet given orally in contrast to enteral (tube) feeding.
-
getSupplement
Gets the value(s) for supplement (). creating it if it does not exist. Will not returnnull
.Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
-
setSupplement
Sets the value(s) for supplement ()Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
-
addSupplement
Adds and returns a new value for supplement ()Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
-
addSupplement
Adds a given new value for supplement ()Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
- Parameters:
theValue
- The supplement to add (must not benull
)
-
getSupplementFirstRep
Gets the first repetition for supplement (), creating it if it does not already exist.Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.
-
getEnteralFormula
Gets the value(s) for enteralFormula (). creating it if it does not exist. Will not returnnull
.Definition: Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity.
-
setEnteralFormula
Sets the value(s) for enteralFormula ()Definition: Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity.
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-