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
FieldsModifier and TypeFieldDescriptionprotected Decimalprotected Integerprotected Decimalprotected VisionBaseprotected Stringprotected Stringprotected Decimalprotected Decimalprotected SimpleQuantityprotected VisionEyesprotected Stringprotected Decimalprotected Decimalprotected Codingprotected DecimalFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) getAdd()Gets the value of the add property.getAxis()Gets the value of the axis property.Gets the value of the backCurve property.getBase()Gets the value of the base property.getBrand()Gets the value of the brand property.getColor()Gets the value of the color property.Gets the value of the cylinder property.Gets the value of the diameter property.Gets the value of the duration property.getEye()Gets the value of the eye property.getNotes()Gets the value of the notes property.getPower()Gets the value of the power property.getPrism()Gets the value of the prism property.Gets the value of the product property.Gets the value of the sphere property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the add property.voidSets 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.voidSets the value of the brand property.voidSets 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.voidSets the value of the notes property.voidSets the value of the power property.voidSets the value of the prism property.voidsetProduct(Coding value) Sets the value of the product property.voidSets the value of the sphere property.toString()withBackCurve(Decimal value) withBase(VisionBase value) withCylinder(Decimal value) withDiameter(Decimal value) withDuration(SimpleQuantity value) withExtension(Collection<Extension> values) withExtension(Extension... values) withEye(VisionEyes value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withProduct(Coding value) withSphere(Decimal value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
product
-
eye
-
sphere
-
cylinder
-
axis
-
prism
-
base
-
add
-
power
-
backCurve
-
diameter
-
duration
-
color
-
brand
-
notes
-
-
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, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
- 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
- Overrides:
toStringin classBackboneElement
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-