Package org.hl7.fhir
Class VisionPrescriptionDispense
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.VisionPrescriptionDispense
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class VisionPrescriptionDispense extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
An authorization for the supply of glasses and/or contact lenses to a patient.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Decimaladdprotected Integeraxisprotected DecimalbackCurveprotected VisionBasebaseprotected Stringbrandprotected Stringcolorprotected Decimalcylinderprotected Decimaldiameterprotected SimpleQuantitydurationprotected VisionEyeseyeprotected Stringnotesprotected Decimalpowerprotected Decimalprismprotected Codingproductprotected Decimalsphere-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description VisionPrescriptionDispense()
-
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)DecimalgetAdd()Gets the value of the add property.IntegergetAxis()Gets the value of the axis property.DecimalgetBackCurve()Gets the value of the backCurve property.VisionBasegetBase()Gets the value of the base property.StringgetBrand()Gets the value of the brand property.StringgetColor()Gets the value of the color property.DecimalgetCylinder()Gets the value of the cylinder property.DecimalgetDiameter()Gets the value of the diameter property.SimpleQuantitygetDuration()Gets the value of the duration property.VisionEyesgetEye()Gets the value of the eye property.StringgetNotes()Gets the value of the notes property.DecimalgetPower()Gets the value of the power property.DecimalgetPrism()Gets the value of the prism property.CodinggetProduct()Gets the value of the product property.DecimalgetSphere()Gets the value of the sphere property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAdd(Decimal value)Sets the value of the add property.voidsetAxis(Integer value)Sets the value of the axis property.voidsetBackCurve(Decimal value)Sets the value of the backCurve property.voidsetBase(VisionBase value)Sets the value of the base property.voidsetBrand(String value)Sets the value of the brand property.voidsetColor(String value)Sets the value of the color property.voidsetCylinder(Decimal value)Sets the value of the cylinder property.voidsetDiameter(Decimal value)Sets the value of the diameter property.voidsetDuration(SimpleQuantity value)Sets the value of the duration property.voidsetEye(VisionEyes value)Sets the value of the eye property.voidsetNotes(String value)Sets the value of the notes property.voidsetPower(Decimal value)Sets the value of the power property.voidsetPrism(Decimal value)Sets the value of the prism property.voidsetProduct(Coding value)Sets the value of the product property.voidsetSphere(Decimal value)Sets the value of the sphere property.java.lang.StringtoString()VisionPrescriptionDispensewithAdd(Decimal value)VisionPrescriptionDispensewithAxis(Integer value)VisionPrescriptionDispensewithBackCurve(Decimal value)VisionPrescriptionDispensewithBase(VisionBase value)VisionPrescriptionDispensewithBrand(String value)VisionPrescriptionDispensewithColor(String value)VisionPrescriptionDispensewithCylinder(Decimal value)VisionPrescriptionDispensewithDiameter(Decimal value)VisionPrescriptionDispensewithDuration(SimpleQuantity value)VisionPrescriptionDispensewithExtension(java.util.Collection<Extension> values)VisionPrescriptionDispensewithExtension(Extension... values)VisionPrescriptionDispensewithEye(VisionEyes value)VisionPrescriptionDispensewithId(java.lang.String value)VisionPrescriptionDispensewithModifierExtension(java.util.Collection<Extension> values)VisionPrescriptionDispensewithModifierExtension(Extension... values)VisionPrescriptionDispensewithNotes(String value)VisionPrescriptionDispensewithPower(Decimal value)VisionPrescriptionDispensewithPrism(Decimal value)VisionPrescriptionDispensewithProduct(Coding value)VisionPrescriptionDispensewithSphere(Decimal value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
product
protected Coding product
-
eye
protected VisionEyes eye
-
sphere
protected Decimal sphere
-
cylinder
protected Decimal cylinder
-
axis
protected Integer axis
-
prism
protected Decimal prism
-
base
protected VisionBase base
-
add
protected Decimal add
-
power
protected Decimal power
-
backCurve
protected Decimal backCurve
-
diameter
protected Decimal diameter
-
duration
protected SimpleQuantity duration
-
color
protected String color
-
brand
protected String brand
-
notes
protected String notes
-
-
Method Detail
-
getProduct
public Coding getProduct()
Gets the value of the product property.- Returns:
- possible object is
Coding
-
setProduct
public void setProduct(Coding value)
Sets the value of the product property.- Parameters:
value- allowed object isCoding
-
getEye
public VisionEyes getEye()
Gets the value of the eye property.- Returns:
- possible object is
VisionEyes
-
setEye
public void setEye(VisionEyes value)
Sets the value of the eye property.- Parameters:
value- allowed object isVisionEyes
-
getSphere
public Decimal getSphere()
Gets the value of the sphere property.- Returns:
- possible object is
Decimal
-
setSphere
public void setSphere(Decimal value)
Sets the value of the sphere property.- Parameters:
value- allowed object isDecimal
-
getCylinder
public Decimal getCylinder()
Gets the value of the cylinder property.- Returns:
- possible object is
Decimal
-
setCylinder
public void setCylinder(Decimal value)
Sets the value of the cylinder property.- Parameters:
value- allowed object isDecimal
-
getAxis
public Integer getAxis()
Gets the value of the axis property.- Returns:
- possible object is
Integer
-
setAxis
public void setAxis(Integer value)
Sets the value of the axis property.- Parameters:
value- allowed object isInteger
-
getPrism
public Decimal getPrism()
Gets the value of the prism property.- Returns:
- possible object is
Decimal
-
setPrism
public void setPrism(Decimal value)
Sets the value of the prism property.- Parameters:
value- allowed object isDecimal
-
getBase
public VisionBase getBase()
Gets the value of the base property.- Returns:
- possible object is
VisionBase
-
setBase
public void setBase(VisionBase value)
Sets the value of the base property.- Parameters:
value- allowed object isVisionBase
-
getAdd
public Decimal getAdd()
Gets the value of the add property.- Returns:
- possible object is
Decimal
-
setAdd
public void setAdd(Decimal value)
Sets the value of the add property.- Parameters:
value- allowed object isDecimal
-
getPower
public Decimal getPower()
Gets the value of the power property.- Returns:
- possible object is
Decimal
-
setPower
public void setPower(Decimal value)
Sets the value of the power property.- Parameters:
value- allowed object isDecimal
-
getBackCurve
public Decimal getBackCurve()
Gets the value of the backCurve property.- Returns:
- possible object is
Decimal
-
setBackCurve
public void setBackCurve(Decimal value)
Sets the value of the backCurve property.- Parameters:
value- allowed object isDecimal
-
getDiameter
public Decimal getDiameter()
Gets the value of the diameter property.- Returns:
- possible object is
Decimal
-
setDiameter
public void setDiameter(Decimal value)
Sets the value of the diameter property.- Parameters:
value- allowed object isDecimal
-
getDuration
public SimpleQuantity getDuration()
Gets the value of the duration property.- Returns:
- possible object is
SimpleQuantity
-
setDuration
public void setDuration(SimpleQuantity value)
Sets the value of the duration property.- Parameters:
value- allowed object isSimpleQuantity
-
getColor
public String getColor()
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
public void setColor(String value)
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getBrand
public String getBrand()
Gets the value of the brand property.- Returns:
- possible object is
String
-
setBrand
public void setBrand(String value)
Sets the value of the brand property.- Parameters:
value- allowed object isString
-
getNotes
public String getNotes()
Gets the value of the notes property.- Returns:
- possible object is
String
-
setNotes
public void setNotes(String value)
Sets the value of the notes property.- Parameters:
value- allowed object isString
-
withProduct
public VisionPrescriptionDispense withProduct(Coding value)
-
withEye
public VisionPrescriptionDispense withEye(VisionEyes value)
-
withSphere
public VisionPrescriptionDispense withSphere(Decimal value)
-
withCylinder
public VisionPrescriptionDispense withCylinder(Decimal value)
-
withAxis
public VisionPrescriptionDispense withAxis(Integer value)
-
withPrism
public VisionPrescriptionDispense withPrism(Decimal value)
-
withBase
public VisionPrescriptionDispense withBase(VisionBase value)
-
withAdd
public VisionPrescriptionDispense withAdd(Decimal value)
-
withPower
public VisionPrescriptionDispense withPower(Decimal value)
-
withBackCurve
public VisionPrescriptionDispense withBackCurve(Decimal value)
-
withDiameter
public VisionPrescriptionDispense withDiameter(Decimal value)
-
withDuration
public VisionPrescriptionDispense withDuration(SimpleQuantity value)
-
withColor
public VisionPrescriptionDispense withColor(String value)
-
withBrand
public VisionPrescriptionDispense withBrand(String value)
-
withNotes
public VisionPrescriptionDispense withNotes(String value)
-
withModifierExtension
public VisionPrescriptionDispense withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public VisionPrescriptionDispense withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public VisionPrescriptionDispense withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public VisionPrescriptionDispense withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public VisionPrescriptionDispense withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-
-