public class NutritionOrderOralDiet extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for NutritionOrder.OralDiet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NutritionOrder.OralDiet">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="schedule" type="{http://hl7.org/fhir}Timing" maxOccurs="unbounded" minOccurs="0"/>
<element name="nutrient" type="{http://hl7.org/fhir}NutritionOrder.Nutrient" maxOccurs="unbounded" minOccurs="0"/>
<element name="texture" type="{http://hl7.org/fhir}NutritionOrder.Texture" maxOccurs="unbounded" minOccurs="0"/>
<element name="fluidConsistencyType" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="instruction" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CodeableConcept> |
fluidConsistencyType |
protected String |
instruction |
protected java.util.List<NutritionOrderNutrient> |
nutrient |
protected java.util.List<Timing> |
schedule |
protected java.util.List<NutritionOrderTexture> |
texture |
protected java.util.List<CodeableConcept> |
type |
modifierExtension| Constructor and Description |
|---|
NutritionOrderOralDiet() |
| 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<CodeableConcept> |
getFluidConsistencyType()
Gets the value of the fluidConsistencyType property.
|
String |
getInstruction()
Gets the value of the instruction property.
|
java.util.List<NutritionOrderNutrient> |
getNutrient()
Gets the value of the nutrient property.
|
java.util.List<Timing> |
getSchedule()
Gets the value of the schedule property.
|
java.util.List<NutritionOrderTexture> |
getTexture()
Gets the value of the texture property.
|
java.util.List<CodeableConcept> |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setInstruction(String value)
Sets the value of the instruction property.
|
java.lang.String |
toString() |
NutritionOrderOralDiet |
withExtension(java.util.Collection<Extension> values) |
NutritionOrderOralDiet |
withExtension(Extension... values) |
NutritionOrderOralDiet |
withFluidConsistencyType(CodeableConcept... values) |
NutritionOrderOralDiet |
withFluidConsistencyType(java.util.Collection<CodeableConcept> values) |
NutritionOrderOralDiet |
withId(java.lang.String value) |
NutritionOrderOralDiet |
withInstruction(String value) |
NutritionOrderOralDiet |
withModifierExtension(java.util.Collection<Extension> values) |
NutritionOrderOralDiet |
withModifierExtension(Extension... values) |
NutritionOrderOralDiet |
withNutrient(java.util.Collection<NutritionOrderNutrient> values) |
NutritionOrderOralDiet |
withNutrient(NutritionOrderNutrient... values) |
NutritionOrderOralDiet |
withSchedule(java.util.Collection<Timing> values) |
NutritionOrderOralDiet |
withSchedule(Timing... values) |
NutritionOrderOralDiet |
withTexture(java.util.Collection<NutritionOrderTexture> values) |
NutritionOrderOralDiet |
withTexture(NutritionOrderTexture... values) |
NutritionOrderOralDiet |
withType(CodeableConcept... values) |
NutritionOrderOralDiet |
withType(java.util.Collection<CodeableConcept> values) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<CodeableConcept> type
protected java.util.List<Timing> schedule
protected java.util.List<NutritionOrderNutrient> nutrient
protected java.util.List<NutritionOrderTexture> texture
protected java.util.List<CodeableConcept> fluidConsistencyType
protected String instruction
public java.util.List<CodeableConcept> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<Timing> getSchedule()
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 schedule property.
For example, to add a new item, do as follows:
getSchedule().add(newItem);
Objects of the following type(s) are allowed in the list
Timing
public java.util.List<NutritionOrderNutrient> getNutrient()
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 nutrient property.
For example, to add a new item, do as follows:
getNutrient().add(newItem);
Objects of the following type(s) are allowed in the list
NutritionOrderNutrient
public java.util.List<NutritionOrderTexture> getTexture()
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 texture property.
For example, to add a new item, do as follows:
getTexture().add(newItem);
Objects of the following type(s) are allowed in the list
NutritionOrderTexture
public java.util.List<CodeableConcept> getFluidConsistencyType()
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 fluidConsistencyType property.
For example, to add a new item, do as follows:
getFluidConsistencyType().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public String getInstruction()
Stringpublic void setInstruction(String value)
value - allowed object is
Stringpublic NutritionOrderOralDiet withType(CodeableConcept... values)
public NutritionOrderOralDiet withType(java.util.Collection<CodeableConcept> values)
public NutritionOrderOralDiet withSchedule(Timing... values)
public NutritionOrderOralDiet withSchedule(java.util.Collection<Timing> values)
public NutritionOrderOralDiet withNutrient(NutritionOrderNutrient... values)
public NutritionOrderOralDiet withNutrient(java.util.Collection<NutritionOrderNutrient> values)
public NutritionOrderOralDiet withTexture(NutritionOrderTexture... values)
public NutritionOrderOralDiet withTexture(java.util.Collection<NutritionOrderTexture> values)
public NutritionOrderOralDiet withFluidConsistencyType(CodeableConcept... values)
public NutritionOrderOralDiet withFluidConsistencyType(java.util.Collection<CodeableConcept> values)
public NutritionOrderOralDiet withInstruction(String value)
public NutritionOrderOralDiet withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic NutritionOrderOralDiet withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic NutritionOrderOralDiet withExtension(Extension... values)
withExtension in class BackboneElementpublic NutritionOrderOralDiet withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic NutritionOrderOralDiet withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement