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 -
Constructor Summary
Constructors Constructor Description VisionPrescriptionDispense() -
Method Summary
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)
-
Field Details
-
Constructor Details
-
VisionPrescriptionDispense
public VisionPrescriptionDispense()
-
-
Method Details
-
getProduct
Gets the value of the product property.- Returns:
- possible object is
Coding
-
setProduct
Sets the value of the product property.- Parameters:
value- allowed object isCoding
-
getEye
Gets the value of the eye property.- Returns:
- possible object is
VisionEyes
-
setEye
Sets the value of the eye property.- Parameters:
value- allowed object isVisionEyes
-
getSphere
Gets the value of the sphere property.- Returns:
- possible object is
Decimal
-
setSphere
Sets the value of the sphere property.- Parameters:
value- allowed object isDecimal
-
getCylinder
Gets the value of the cylinder property.- Returns:
- possible object is
Decimal
-
setCylinder
Sets the value of the cylinder property.- Parameters:
value- allowed object isDecimal
-
getAxis
Gets the value of the axis property.- Returns:
- possible object is
Integer
-
setAxis
Sets the value of the axis property.- Parameters:
value- allowed object isInteger
-
getPrism
Gets the value of the prism property.- Returns:
- possible object is
Decimal
-
setPrism
Sets the value of the prism property.- Parameters:
value- allowed object isDecimal
-
getBase
Gets the value of the base property.- Returns:
- possible object is
VisionBase
-
setBase
Sets the value of the base property.- Parameters:
value- allowed object isVisionBase
-
getAdd
Gets the value of the add property.- Returns:
- possible object is
Decimal
-
setAdd
Sets the value of the add property.- Parameters:
value- allowed object isDecimal
-
getPower
Gets the value of the power property.- Returns:
- possible object is
Decimal
-
setPower
Sets the value of the power property.- Parameters:
value- allowed object isDecimal
-
getBackCurve
Gets the value of the backCurve property.- Returns:
- possible object is
Decimal
-
setBackCurve
Sets the value of the backCurve property.- Parameters:
value- allowed object isDecimal
-
getDiameter
Gets the value of the diameter property.- Returns:
- possible object is
Decimal
-
setDiameter
Sets the value of the diameter property.- Parameters:
value- allowed object isDecimal
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
SimpleQuantity
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isSimpleQuantity
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getBrand
Gets the value of the brand property.- Returns:
- possible object is
String
-
setBrand
Sets the value of the brand property.- Parameters:
value- allowed object isString
-
getNotes
Gets the value of the notes property.- Returns:
- possible object is
String
-
setNotes
Sets the value of the notes property.- Parameters:
value- allowed object isString
-
withProduct
-
withEye
-
withSphere
-
withCylinder
-
withAxis
-
withPrism
-
withBase
-
withAdd
-
withPower
-
withBackCurve
-
withDiameter
-
withDuration
-
withColor
-
withBrand
-
withNotes
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- 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
-