public class NutritionOrder extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java 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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Reference> |
allergyIntolerance |
protected DateTime |
dateTime |
protected Reference |
encounter |
protected NutritionOrderEnteralFormula |
enteralFormula |
protected java.util.List<CodeableConcept> |
excludeFoodModifier |
protected java.util.List<CodeableConcept> |
foodPreferenceModifier |
protected java.util.List<Identifier> |
identifier |
protected NutritionOrderOralDiet |
oralDiet |
protected Reference |
orderer |
protected Reference |
patient |
protected NutritionOrderStatus |
status |
protected java.util.List<NutritionOrderSupplement> |
supplement |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
NutritionOrder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
java.util.List<Reference> |
getAllergyIntolerance()
Gets the value of the allergyIntolerance property.
|
DateTime |
getDateTime()
Gets the value of the dateTime property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
NutritionOrderEnteralFormula |
getEnteralFormula()
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.
|
NutritionOrderOralDiet |
getOralDiet()
Gets the value of the oralDiet property.
|
Reference |
getOrderer()
Gets the value of the orderer property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
NutritionOrderStatus |
getStatus()
Gets the value of the status property.
|
java.util.List<NutritionOrderSupplement> |
getSupplement()
Gets the value of the supplement property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDateTime(DateTime value)
Sets the value of the dateTime property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setEnteralFormula(NutritionOrderEnteralFormula value)
Sets the value of the enteralFormula property.
|
void |
setOralDiet(NutritionOrderOralDiet value)
Sets the value of the oralDiet property.
|
void |
setOrderer(Reference value)
Sets the value of the orderer property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setStatus(NutritionOrderStatus value)
Sets the value of the status property.
|
java.lang.String |
toString() |
NutritionOrder |
withAllergyIntolerance(java.util.Collection<Reference> values) |
NutritionOrder |
withAllergyIntolerance(Reference... values) |
NutritionOrder |
withContained(java.util.Collection<ResourceContainer> values) |
NutritionOrder |
withContained(ResourceContainer... values) |
NutritionOrder |
withDateTime(DateTime value) |
NutritionOrder |
withEncounter(Reference value) |
NutritionOrder |
withEnteralFormula(NutritionOrderEnteralFormula value) |
NutritionOrder |
withExcludeFoodModifier(CodeableConcept... values) |
NutritionOrder |
withExcludeFoodModifier(java.util.Collection<CodeableConcept> values) |
NutritionOrder |
withExtension(java.util.Collection<Extension> values) |
NutritionOrder |
withExtension(Extension... values) |
NutritionOrder |
withFoodPreferenceModifier(CodeableConcept... values) |
NutritionOrder |
withFoodPreferenceModifier(java.util.Collection<CodeableConcept> values) |
NutritionOrder |
withId(Id value) |
NutritionOrder |
withIdentifier(java.util.Collection<Identifier> values) |
NutritionOrder |
withIdentifier(Identifier... values) |
NutritionOrder |
withImplicitRules(Uri value) |
NutritionOrder |
withLanguage(Code value) |
NutritionOrder |
withMeta(Meta value) |
NutritionOrder |
withModifierExtension(java.util.Collection<Extension> values) |
NutritionOrder |
withModifierExtension(Extension... values) |
NutritionOrder |
withOralDiet(NutritionOrderOralDiet value) |
NutritionOrder |
withOrderer(Reference value) |
NutritionOrder |
withPatient(Reference value) |
NutritionOrder |
withStatus(NutritionOrderStatus value) |
NutritionOrder |
withSupplement(java.util.Collection<NutritionOrderSupplement> values) |
NutritionOrder |
withSupplement(NutritionOrderSupplement... values) |
NutritionOrder |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected NutritionOrderStatus status
protected Reference patient
protected Reference encounter
protected DateTime dateTime
protected Reference orderer
protected java.util.List<Reference> allergyIntolerance
protected java.util.List<CodeableConcept> foodPreferenceModifier
protected java.util.List<CodeableConcept> excludeFoodModifier
protected NutritionOrderOralDiet oralDiet
protected java.util.List<NutritionOrderSupplement> supplement
protected NutritionOrderEnteralFormula enteralFormula
public java.util.List<Identifier> getIdentifier()
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 set method 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
public NutritionOrderStatus getStatus()
NutritionOrderStatuspublic void setStatus(NutritionOrderStatus value)
value - allowed object is
NutritionOrderStatuspublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getDateTime()
DateTimepublic void setDateTime(DateTime value)
value - allowed object is
DateTimepublic Reference getOrderer()
Referencepublic void setOrderer(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getAllergyIntolerance()
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 set method 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
public java.util.List<CodeableConcept> getFoodPreferenceModifier()
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 set method 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
public java.util.List<CodeableConcept> getExcludeFoodModifier()
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 set method 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
public NutritionOrderOralDiet getOralDiet()
NutritionOrderOralDietpublic void setOralDiet(NutritionOrderOralDiet value)
value - allowed object is
NutritionOrderOralDietpublic java.util.List<NutritionOrderSupplement> getSupplement()
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 set method 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
public NutritionOrderEnteralFormula getEnteralFormula()
NutritionOrderEnteralFormulapublic void setEnteralFormula(NutritionOrderEnteralFormula value)
value - allowed object is
NutritionOrderEnteralFormulapublic NutritionOrder withIdentifier(Identifier... values)
public NutritionOrder withIdentifier(java.util.Collection<Identifier> values)
public NutritionOrder withStatus(NutritionOrderStatus value)
public NutritionOrder withPatient(Reference value)
public NutritionOrder withEncounter(Reference value)
public NutritionOrder withDateTime(DateTime value)
public NutritionOrder withOrderer(Reference value)
public NutritionOrder withAllergyIntolerance(Reference... values)
public NutritionOrder withAllergyIntolerance(java.util.Collection<Reference> values)
public NutritionOrder withFoodPreferenceModifier(CodeableConcept... values)
public NutritionOrder withFoodPreferenceModifier(java.util.Collection<CodeableConcept> values)
public NutritionOrder withExcludeFoodModifier(CodeableConcept... values)
public NutritionOrder withExcludeFoodModifier(java.util.Collection<CodeableConcept> values)
public NutritionOrder withOralDiet(NutritionOrderOralDiet value)
public NutritionOrder withSupplement(NutritionOrderSupplement... values)
public NutritionOrder withSupplement(java.util.Collection<NutritionOrderSupplement> values)
public NutritionOrder withEnteralFormula(NutritionOrderEnteralFormula value)
public NutritionOrder withText(Narrative value)
withText in class DomainResourcepublic NutritionOrder withContained(ResourceContainer... values)
withContained in class DomainResourcepublic NutritionOrder withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic NutritionOrder withExtension(Extension... values)
withExtension in class DomainResourcepublic NutritionOrder withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic NutritionOrder withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic NutritionOrder withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic NutritionOrder withId(Id value)
withId in class DomainResourcepublic NutritionOrder withMeta(Meta value)
withMeta in class DomainResourcepublic NutritionOrder withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic NutritionOrder withLanguage(Code value)
withLanguage in class DomainResourcepublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource