public class VisionPrescriptionDispense extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for VisionPrescription.Dispense complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VisionPrescription.Dispense">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="product" type="{http://hl7.org/fhir}Coding"/>
<element name="eye" type="{http://hl7.org/fhir}VisionEyes" minOccurs="0"/>
<element name="sphere" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="cylinder" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="axis" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="prism" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="base" type="{http://hl7.org/fhir}VisionBase" minOccurs="0"/>
<element name="add" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="power" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="backCurve" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="diameter" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="duration" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="color" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="brand" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="notes" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Decimal |
add |
protected Integer |
axis |
protected Decimal |
backCurve |
protected VisionBase |
base |
protected String |
brand |
protected String |
color |
protected Decimal |
cylinder |
protected Decimal |
diameter |
protected SimpleQuantity |
duration |
protected VisionEyes |
eye |
protected String |
notes |
protected Decimal |
power |
protected Decimal |
prism |
protected Coding |
product |
protected Decimal |
sphere |
modifierExtension| Constructor and Description |
|---|
VisionPrescriptionDispense() |
| 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) |
Decimal |
getAdd()
Gets the value of the add property.
|
Integer |
getAxis()
Gets the value of the axis property.
|
Decimal |
getBackCurve()
Gets the value of the backCurve property.
|
VisionBase |
getBase()
Gets the value of the base property.
|
String |
getBrand()
Gets the value of the brand property.
|
String |
getColor()
Gets the value of the color property.
|
Decimal |
getCylinder()
Gets the value of the cylinder property.
|
Decimal |
getDiameter()
Gets the value of the diameter property.
|
SimpleQuantity |
getDuration()
Gets the value of the duration property.
|
VisionEyes |
getEye()
Gets the value of the eye property.
|
String |
getNotes()
Gets the value of the notes property.
|
Decimal |
getPower()
Gets the value of the power property.
|
Decimal |
getPrism()
Gets the value of the prism property.
|
Coding |
getProduct()
Gets the value of the product property.
|
Decimal |
getSphere()
Gets the value of the sphere property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAdd(Decimal value)
Sets the value of the add property.
|
void |
setAxis(Integer value)
Sets the value of the axis property.
|
void |
setBackCurve(Decimal value)
Sets the value of the backCurve property.
|
void |
setBase(VisionBase value)
Sets the value of the base property.
|
void |
setBrand(String value)
Sets the value of the brand property.
|
void |
setColor(String value)
Sets the value of the color property.
|
void |
setCylinder(Decimal value)
Sets the value of the cylinder property.
|
void |
setDiameter(Decimal value)
Sets the value of the diameter property.
|
void |
setDuration(SimpleQuantity value)
Sets the value of the duration property.
|
void |
setEye(VisionEyes value)
Sets the value of the eye property.
|
void |
setNotes(String value)
Sets the value of the notes property.
|
void |
setPower(Decimal value)
Sets the value of the power property.
|
void |
setPrism(Decimal value)
Sets the value of the prism property.
|
void |
setProduct(Coding value)
Sets the value of the product property.
|
void |
setSphere(Decimal value)
Sets the value of the sphere property.
|
java.lang.String |
toString() |
VisionPrescriptionDispense |
withAdd(Decimal value) |
VisionPrescriptionDispense |
withAxis(Integer value) |
VisionPrescriptionDispense |
withBackCurve(Decimal value) |
VisionPrescriptionDispense |
withBase(VisionBase value) |
VisionPrescriptionDispense |
withBrand(String value) |
VisionPrescriptionDispense |
withColor(String value) |
VisionPrescriptionDispense |
withCylinder(Decimal value) |
VisionPrescriptionDispense |
withDiameter(Decimal value) |
VisionPrescriptionDispense |
withDuration(SimpleQuantity value) |
VisionPrescriptionDispense |
withExtension(java.util.Collection<Extension> values) |
VisionPrescriptionDispense |
withExtension(Extension... values) |
VisionPrescriptionDispense |
withEye(VisionEyes value) |
VisionPrescriptionDispense |
withId(java.lang.String value) |
VisionPrescriptionDispense |
withModifierExtension(java.util.Collection<Extension> values) |
VisionPrescriptionDispense |
withModifierExtension(Extension... values) |
VisionPrescriptionDispense |
withNotes(String value) |
VisionPrescriptionDispense |
withPower(Decimal value) |
VisionPrescriptionDispense |
withPrism(Decimal value) |
VisionPrescriptionDispense |
withProduct(Coding value) |
VisionPrescriptionDispense |
withSphere(Decimal value) |
getModifierExtensiongetExtension, getId, setIdprotected Coding product
protected VisionEyes eye
protected Decimal sphere
protected Decimal cylinder
protected Integer axis
protected Decimal prism
protected VisionBase base
protected Decimal add
protected Decimal power
protected Decimal backCurve
protected Decimal diameter
protected SimpleQuantity duration
protected String color
protected String brand
protected String notes
public Coding getProduct()
Codingpublic void setProduct(Coding value)
value - allowed object is
Codingpublic VisionEyes getEye()
VisionEyespublic void setEye(VisionEyes value)
value - allowed object is
VisionEyespublic Decimal getSphere()
Decimalpublic void setSphere(Decimal value)
value - allowed object is
Decimalpublic Decimal getCylinder()
Decimalpublic void setCylinder(Decimal value)
value - allowed object is
Decimalpublic Integer getAxis()
Integerpublic void setAxis(Integer value)
value - allowed object is
Integerpublic Decimal getPrism()
Decimalpublic void setPrism(Decimal value)
value - allowed object is
Decimalpublic VisionBase getBase()
VisionBasepublic void setBase(VisionBase value)
value - allowed object is
VisionBasepublic Decimal getAdd()
Decimalpublic void setAdd(Decimal value)
value - allowed object is
Decimalpublic Decimal getPower()
Decimalpublic void setPower(Decimal value)
value - allowed object is
Decimalpublic Decimal getBackCurve()
Decimalpublic void setBackCurve(Decimal value)
value - allowed object is
Decimalpublic Decimal getDiameter()
Decimalpublic void setDiameter(Decimal value)
value - allowed object is
Decimalpublic SimpleQuantity getDuration()
SimpleQuantitypublic void setDuration(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic String getColor()
Stringpublic void setColor(String value)
value - allowed object is
Stringpublic String getBrand()
Stringpublic void setBrand(String value)
value - allowed object is
Stringpublic String getNotes()
Stringpublic void setNotes(String value)
value - allowed object is
Stringpublic VisionPrescriptionDispense withProduct(Coding value)
public VisionPrescriptionDispense withEye(VisionEyes value)
public VisionPrescriptionDispense withSphere(Decimal value)
public VisionPrescriptionDispense withCylinder(Decimal value)
public VisionPrescriptionDispense withAxis(Integer value)
public VisionPrescriptionDispense withPrism(Decimal value)
public VisionPrescriptionDispense withBase(VisionBase value)
public VisionPrescriptionDispense withAdd(Decimal value)
public VisionPrescriptionDispense withPower(Decimal value)
public VisionPrescriptionDispense withBackCurve(Decimal value)
public VisionPrescriptionDispense withDiameter(Decimal value)
public VisionPrescriptionDispense withDuration(SimpleQuantity value)
public VisionPrescriptionDispense withColor(String value)
public VisionPrescriptionDispense withBrand(String value)
public VisionPrescriptionDispense withNotes(String value)
public VisionPrescriptionDispense withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic VisionPrescriptionDispense withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic VisionPrescriptionDispense withExtension(Extension... values)
withExtension in class BackboneElementpublic VisionPrescriptionDispense withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic VisionPrescriptionDispense 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