Class NutritionOrder
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.NutritionOrder
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class NutritionOrder extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for NutritionOrder complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NutritionOrder"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="status" type="{http://hl7.org/fhir}NutritionOrderStatus" minOccurs="0"/> <element name="patient" type="{http://hl7.org/fhir}Reference"/> <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="dateTime" type="{http://hl7.org/fhir}dateTime"/> <element name="orderer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="allergyIntolerance" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="foodPreferenceModifier" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="excludeFoodModifier" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="oralDiet" type="{http://hl7.org/fhir}NutritionOrder.OralDiet" minOccurs="0"/> <element name="supplement" type="{http://hl7.org/fhir}NutritionOrder.Supplement" maxOccurs="unbounded" minOccurs="0"/> <element name="enteralFormula" type="{http://hl7.org/fhir}NutritionOrder.EnteralFormula" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Reference>allergyIntoleranceprotected DateTimedateTimeprotected Referenceencounterprotected NutritionOrderEnteralFormulaenteralFormulaprotected java.util.List<CodeableConcept>excludeFoodModifierprotected java.util.List<CodeableConcept>foodPreferenceModifierprotected java.util.List<Identifier>identifierprotected NutritionOrderOralDietoralDietprotected Referenceordererprotected Referencepatientprotected NutritionOrderStatusstatusprotected java.util.List<NutritionOrderSupplement>supplement-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description NutritionOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<Reference>getAllergyIntolerance()Gets the value of the allergyIntolerance property.DateTimegetDateTime()Gets the value of the dateTime property.ReferencegetEncounter()Gets the value of the encounter property.NutritionOrderEnteralFormulagetEnteralFormula()Gets the value of the enteralFormula property.java.util.List<CodeableConcept>getExcludeFoodModifier()Gets the value of the excludeFoodModifier property.java.util.List<CodeableConcept>getFoodPreferenceModifier()Gets the value of the foodPreferenceModifier property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.NutritionOrderOralDietgetOralDiet()Gets the value of the oralDiet property.ReferencegetOrderer()Gets the value of the orderer property.ReferencegetPatient()Gets the value of the patient property.NutritionOrderStatusgetStatus()Gets the value of the status property.java.util.List<NutritionOrderSupplement>getSupplement()Gets the value of the supplement property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDateTime(DateTime value)Sets the value of the dateTime property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetEnteralFormula(NutritionOrderEnteralFormula value)Sets the value of the enteralFormula property.voidsetOralDiet(NutritionOrderOralDiet value)Sets the value of the oralDiet property.voidsetOrderer(Reference value)Sets the value of the orderer property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetStatus(NutritionOrderStatus value)Sets the value of the status property.java.lang.StringtoString()NutritionOrderwithAllergyIntolerance(java.util.Collection<Reference> values)NutritionOrderwithAllergyIntolerance(Reference... values)NutritionOrderwithContained(java.util.Collection<ResourceContainer> values)NutritionOrderwithContained(ResourceContainer... values)NutritionOrderwithDateTime(DateTime value)NutritionOrderwithEncounter(Reference value)NutritionOrderwithEnteralFormula(NutritionOrderEnteralFormula value)NutritionOrderwithExcludeFoodModifier(java.util.Collection<CodeableConcept> values)NutritionOrderwithExcludeFoodModifier(CodeableConcept... values)NutritionOrderwithExtension(java.util.Collection<Extension> values)NutritionOrderwithExtension(Extension... values)NutritionOrderwithFoodPreferenceModifier(java.util.Collection<CodeableConcept> values)NutritionOrderwithFoodPreferenceModifier(CodeableConcept... values)NutritionOrderwithId(Id value)NutritionOrderwithIdentifier(java.util.Collection<Identifier> values)NutritionOrderwithIdentifier(Identifier... values)NutritionOrderwithImplicitRules(Uri value)NutritionOrderwithLanguage(Code value)NutritionOrderwithMeta(Meta value)NutritionOrderwithModifierExtension(java.util.Collection<Extension> values)NutritionOrderwithModifierExtension(Extension... values)NutritionOrderwithOralDiet(NutritionOrderOralDiet value)NutritionOrderwithOrderer(Reference value)NutritionOrderwithPatient(Reference value)NutritionOrderwithStatus(NutritionOrderStatus value)NutritionOrderwithSupplement(java.util.Collection<NutritionOrderSupplement> values)NutritionOrderwithSupplement(NutritionOrderSupplement... values)NutritionOrderwithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
status
protected NutritionOrderStatus status
-
patient
protected Reference patient
-
encounter
protected Reference encounter
-
dateTime
protected DateTime dateTime
-
orderer
protected Reference orderer
-
allergyIntolerance
protected java.util.List<Reference> allergyIntolerance
-
foodPreferenceModifier
protected java.util.List<CodeableConcept> foodPreferenceModifier
-
excludeFoodModifier
protected java.util.List<CodeableConcept> excludeFoodModifier
-
oralDiet
protected NutritionOrderOralDiet oralDiet
-
supplement
protected java.util.List<NutritionOrderSupplement> supplement
-
enteralFormula
protected NutritionOrderEnteralFormula enteralFormula
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier
-
getStatus
public NutritionOrderStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
NutritionOrderStatus
-
setStatus
public void setStatus(NutritionOrderStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isNutritionOrderStatus
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getDateTime
public DateTime getDateTime()
Gets the value of the dateTime property.- Returns:
- possible object is
DateTime
-
setDateTime
public void setDateTime(DateTime value)
Sets the value of the dateTime property.- Parameters:
value- allowed object isDateTime
-
getOrderer
public Reference getOrderer()
Gets the value of the orderer property.- Returns:
- possible object is
Reference
-
setOrderer
public void setOrderer(Reference value)
Sets the value of the orderer property.- Parameters:
value- allowed object isReference
-
getAllergyIntolerance
public java.util.List<Reference> getAllergyIntolerance()
Gets the value of the allergyIntolerance property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the allergyIntolerance property.For example, to add a new item, do as follows:
getAllergyIntolerance().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getFoodPreferenceModifier
public java.util.List<CodeableConcept> getFoodPreferenceModifier()
Gets the value of the foodPreferenceModifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the foodPreferenceModifier property.For example, to add a new item, do as follows:
getFoodPreferenceModifier().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getExcludeFoodModifier
public java.util.List<CodeableConcept> getExcludeFoodModifier()
Gets the value of the excludeFoodModifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the excludeFoodModifier property.For example, to add a new item, do as follows:
getExcludeFoodModifier().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getOralDiet
public NutritionOrderOralDiet getOralDiet()
Gets the value of the oralDiet property.- Returns:
- possible object is
NutritionOrderOralDiet
-
setOralDiet
public void setOralDiet(NutritionOrderOralDiet value)
Sets the value of the oralDiet property.- Parameters:
value- allowed object isNutritionOrderOralDiet
-
getSupplement
public java.util.List<NutritionOrderSupplement> getSupplement()
Gets the value of the supplement property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the supplement property.For example, to add a new item, do as follows:
getSupplement().add(newItem);Objects of the following type(s) are allowed in the list
NutritionOrderSupplement
-
getEnteralFormula
public NutritionOrderEnteralFormula getEnteralFormula()
Gets the value of the enteralFormula property.- Returns:
- possible object is
NutritionOrderEnteralFormula
-
setEnteralFormula
public void setEnteralFormula(NutritionOrderEnteralFormula value)
Sets the value of the enteralFormula property.- Parameters:
value- allowed object isNutritionOrderEnteralFormula
-
withIdentifier
public NutritionOrder withIdentifier(Identifier... values)
-
withIdentifier
public NutritionOrder withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public NutritionOrder withStatus(NutritionOrderStatus value)
-
withPatient
public NutritionOrder withPatient(Reference value)
-
withEncounter
public NutritionOrder withEncounter(Reference value)
-
withDateTime
public NutritionOrder withDateTime(DateTime value)
-
withOrderer
public NutritionOrder withOrderer(Reference value)
-
withAllergyIntolerance
public NutritionOrder withAllergyIntolerance(Reference... values)
-
withAllergyIntolerance
public NutritionOrder withAllergyIntolerance(java.util.Collection<Reference> values)
-
withFoodPreferenceModifier
public NutritionOrder withFoodPreferenceModifier(CodeableConcept... values)
-
withFoodPreferenceModifier
public NutritionOrder withFoodPreferenceModifier(java.util.Collection<CodeableConcept> values)
-
withExcludeFoodModifier
public NutritionOrder withExcludeFoodModifier(CodeableConcept... values)
-
withExcludeFoodModifier
public NutritionOrder withExcludeFoodModifier(java.util.Collection<CodeableConcept> values)
-
withOralDiet
public NutritionOrder withOralDiet(NutritionOrderOralDiet value)
-
withSupplement
public NutritionOrder withSupplement(NutritionOrderSupplement... values)
-
withSupplement
public NutritionOrder withSupplement(java.util.Collection<NutritionOrderSupplement> values)
-
withEnteralFormula
public NutritionOrder withEnteralFormula(NutritionOrderEnteralFormula value)
-
withText
public NutritionOrder withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public NutritionOrder withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public NutritionOrder withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public NutritionOrder withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public NutritionOrder withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public NutritionOrder withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public NutritionOrder withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public NutritionOrder withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public NutritionOrder withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public NutritionOrder withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public NutritionOrder withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-