Class VisionPrescription.Dispense

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.VisionPrescription.Dispense
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
VisionPrescription

public static class VisionPrescription.Dispense
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: VisionPrescription.dispense ()

Definition: Deals with details of the dispense part of the supply specification.

See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getProduct

      public CodingDt getProduct()
      Gets the value(s) for product (). creating it if it does not exist. Will not return null.

      Definition: Identifies the type of vision correction product which is required for the patient.

    • setProduct

      Sets the value(s) for product ()

      Definition: Identifies the type of vision correction product which is required for the patient.

    • getEyeElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<VisionEyesEnum> getEyeElement()
      Gets the value(s) for eye (). creating it if it does not exist. Will not return null.

      Definition: The eye for which the lens applies.

    • getEye

      public String getEye()
      Gets the value(s) for eye (). creating it if it does not exist. This method may return null.

      Definition: The eye for which the lens applies.

    • setEye

      public VisionPrescription.Dispense setEye​(ca.uhn.fhir.model.primitive.BoundCodeDt<VisionEyesEnum> theValue)
      Sets the value(s) for eye ()

      Definition: The eye for which the lens applies.

    • setEye

      Sets the value(s) for eye ()

      Definition: The eye for which the lens applies.

    • getSphereElement

      public ca.uhn.fhir.model.primitive.DecimalDt getSphereElement()
      Gets the value(s) for sphere (). creating it if it does not exist. Will not return null.

      Definition: Lens power measured in diopters (0.25 units).

    • getSphere

      Gets the value(s) for sphere (). creating it if it does not exist. This method may return null.

      Definition: Lens power measured in diopters (0.25 units).

    • setSphere

      public VisionPrescription.Dispense setSphere​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for sphere ()

      Definition: Lens power measured in diopters (0.25 units).

    • setSphere

      public VisionPrescription.Dispense setSphere​(long theValue)
      Sets the value for sphere ()

      Definition: Lens power measured in diopters (0.25 units).

    • setSphere

      public VisionPrescription.Dispense setSphere​(double theValue)
      Sets the value for sphere ()

      Definition: Lens power measured in diopters (0.25 units).

    • setSphere

      Sets the value for sphere ()

      Definition: Lens power measured in diopters (0.25 units).

    • getCylinderElement

      public ca.uhn.fhir.model.primitive.DecimalDt getCylinderElement()
      Gets the value(s) for cylinder (). creating it if it does not exist. Will not return null.

      Definition: Power adjustment for astigmatism measured in diopters (0.25 units).

    • getCylinder

      Gets the value(s) for cylinder (). creating it if it does not exist. This method may return null.

      Definition: Power adjustment for astigmatism measured in diopters (0.25 units).

    • setCylinder

      public VisionPrescription.Dispense setCylinder​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for cylinder ()

      Definition: Power adjustment for astigmatism measured in diopters (0.25 units).

    • setCylinder

      public VisionPrescription.Dispense setCylinder​(long theValue)
      Sets the value for cylinder ()

      Definition: Power adjustment for astigmatism measured in diopters (0.25 units).

    • setCylinder

      public VisionPrescription.Dispense setCylinder​(double theValue)
      Sets the value for cylinder ()

      Definition: Power adjustment for astigmatism measured in diopters (0.25 units).

    • setCylinder

      Sets the value for cylinder ()

      Definition: Power adjustment for astigmatism measured in diopters (0.25 units).

    • getAxisElement

      public ca.uhn.fhir.model.primitive.IntegerDt getAxisElement()
      Gets the value(s) for axis (). creating it if it does not exist. Will not return null.

      Definition: Adjustment for astigmatism measured in integer degrees.

    • getAxis

      public Integer getAxis()
      Gets the value(s) for axis (). creating it if it does not exist. This method may return null.

      Definition: Adjustment for astigmatism measured in integer degrees.

    • setAxis

      public VisionPrescription.Dispense setAxis​(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for axis ()

      Definition: Adjustment for astigmatism measured in integer degrees.

    • setAxis

      public VisionPrescription.Dispense setAxis​(int theInteger)
      Sets the value for axis ()

      Definition: Adjustment for astigmatism measured in integer degrees.

    • getPrismElement

      public ca.uhn.fhir.model.primitive.DecimalDt getPrismElement()
      Gets the value(s) for prism (). creating it if it does not exist. Will not return null.

      Definition: Amount of prism to compensate for eye alignment in fractional units.

    • getPrism

      public BigDecimal getPrism()
      Gets the value(s) for prism (). creating it if it does not exist. This method may return null.

      Definition: Amount of prism to compensate for eye alignment in fractional units.

    • setPrism

      public VisionPrescription.Dispense setPrism​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for prism ()

      Definition: Amount of prism to compensate for eye alignment in fractional units.

    • setPrism

      public VisionPrescription.Dispense setPrism​(long theValue)
      Sets the value for prism ()

      Definition: Amount of prism to compensate for eye alignment in fractional units.

    • setPrism

      public VisionPrescription.Dispense setPrism​(double theValue)
      Sets the value for prism ()

      Definition: Amount of prism to compensate for eye alignment in fractional units.

    • setPrism

      Sets the value for prism ()

      Definition: Amount of prism to compensate for eye alignment in fractional units.

    • getBaseElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<VisionBaseEnum> getBaseElement()
      Gets the value(s) for base (). creating it if it does not exist. Will not return null.

      Definition: The relative base, or reference lens edge, for the prism.

    • getBase

      public String getBase()
      Gets the value(s) for base (). creating it if it does not exist. This method may return null.

      Definition: The relative base, or reference lens edge, for the prism.

    • setBase

      public VisionPrescription.Dispense setBase​(ca.uhn.fhir.model.primitive.BoundCodeDt<VisionBaseEnum> theValue)
      Sets the value(s) for base ()

      Definition: The relative base, or reference lens edge, for the prism.

    • setBase

      Sets the value(s) for base ()

      Definition: The relative base, or reference lens edge, for the prism.

    • getAddElement

      public ca.uhn.fhir.model.primitive.DecimalDt getAddElement()
      Gets the value(s) for add (). creating it if it does not exist. Will not return null.

      Definition: Power adjustment for multifocal lenses measured in diopters (0.25 units).

    • getAdd

      public BigDecimal getAdd()
      Gets the value(s) for add (). creating it if it does not exist. This method may return null.

      Definition: Power adjustment for multifocal lenses measured in diopters (0.25 units).

    • setAdd

      public VisionPrescription.Dispense setAdd​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for add ()

      Definition: Power adjustment for multifocal lenses measured in diopters (0.25 units).

    • setAdd

      public VisionPrescription.Dispense setAdd​(long theValue)
      Sets the value for add ()

      Definition: Power adjustment for multifocal lenses measured in diopters (0.25 units).

    • setAdd

      public VisionPrescription.Dispense setAdd​(double theValue)
      Sets the value for add ()

      Definition: Power adjustment for multifocal lenses measured in diopters (0.25 units).

    • setAdd

      Sets the value for add ()

      Definition: Power adjustment for multifocal lenses measured in diopters (0.25 units).

    • getPowerElement

      public ca.uhn.fhir.model.primitive.DecimalDt getPowerElement()
      Gets the value(s) for power (). creating it if it does not exist. Will not return null.

      Definition: Contact lens power measured in diopters (0.25 units).

    • getPower

      public BigDecimal getPower()
      Gets the value(s) for power (). creating it if it does not exist. This method may return null.

      Definition: Contact lens power measured in diopters (0.25 units).

    • setPower

      public VisionPrescription.Dispense setPower​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for power ()

      Definition: Contact lens power measured in diopters (0.25 units).

    • setPower

      public VisionPrescription.Dispense setPower​(long theValue)
      Sets the value for power ()

      Definition: Contact lens power measured in diopters (0.25 units).

    • setPower

      public VisionPrescription.Dispense setPower​(double theValue)
      Sets the value for power ()

      Definition: Contact lens power measured in diopters (0.25 units).

    • setPower

      Sets the value for power ()

      Definition: Contact lens power measured in diopters (0.25 units).

    • getBackCurveElement

      public ca.uhn.fhir.model.primitive.DecimalDt getBackCurveElement()
      Gets the value(s) for backCurve (). creating it if it does not exist. Will not return null.

      Definition: Back curvature measured in millimeters.

    • getBackCurve

      Gets the value(s) for backCurve (). creating it if it does not exist. This method may return null.

      Definition: Back curvature measured in millimeters.

    • setBackCurve

      public VisionPrescription.Dispense setBackCurve​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for backCurve ()

      Definition: Back curvature measured in millimeters.

    • setBackCurve

      public VisionPrescription.Dispense setBackCurve​(long theValue)
      Sets the value for backCurve ()

      Definition: Back curvature measured in millimeters.

    • setBackCurve

      public VisionPrescription.Dispense setBackCurve​(double theValue)
      Sets the value for backCurve ()

      Definition: Back curvature measured in millimeters.

    • setBackCurve

      Sets the value for backCurve ()

      Definition: Back curvature measured in millimeters.

    • getDiameterElement

      public ca.uhn.fhir.model.primitive.DecimalDt getDiameterElement()
      Gets the value(s) for diameter (). creating it if it does not exist. Will not return null.

      Definition: Contact lens diameter measured in millimeters.

    • getDiameter

      Gets the value(s) for diameter (). creating it if it does not exist. This method may return null.

      Definition: Contact lens diameter measured in millimeters.

    • setDiameter

      public VisionPrescription.Dispense setDiameter​(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for diameter ()

      Definition: Contact lens diameter measured in millimeters.

    • setDiameter

      public VisionPrescription.Dispense setDiameter​(long theValue)
      Sets the value for diameter ()

      Definition: Contact lens diameter measured in millimeters.

    • setDiameter

      public VisionPrescription.Dispense setDiameter​(double theValue)
      Sets the value for diameter ()

      Definition: Contact lens diameter measured in millimeters.

    • setDiameter

      Sets the value for diameter ()

      Definition: Contact lens diameter measured in millimeters.

    • getDuration

      Gets the value(s) for duration (). creating it if it does not exist. Will not return null.

      Definition: The recommended maximum wear period for the lens.

    • setDuration

      Sets the value(s) for duration ()

      Definition: The recommended maximum wear period for the lens.

    • getColorElement

      public ca.uhn.fhir.model.primitive.StringDt getColorElement()
      Gets the value(s) for color (). creating it if it does not exist. Will not return null.

      Definition: Special color or pattern.

    • getColor

      public String getColor()
      Gets the value(s) for color (). creating it if it does not exist. This method may return null.

      Definition: Special color or pattern.

    • setColor

      public VisionPrescription.Dispense setColor​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for color ()

      Definition: Special color or pattern.

    • setColor

      Sets the value for color ()

      Definition: Special color or pattern.

    • getBrandElement

      public ca.uhn.fhir.model.primitive.StringDt getBrandElement()
      Gets the value(s) for brand (). creating it if it does not exist. Will not return null.

      Definition: Brand recommendations or restrictions.

    • getBrand

      public String getBrand()
      Gets the value(s) for brand (). creating it if it does not exist. This method may return null.

      Definition: Brand recommendations or restrictions.

    • setBrand

      public VisionPrescription.Dispense setBrand​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for brand ()

      Definition: Brand recommendations or restrictions.

    • setBrand

      Sets the value for brand ()

      Definition: Brand recommendations or restrictions.

    • getNotesElement

      public ca.uhn.fhir.model.primitive.StringDt getNotesElement()
      Gets the value(s) for notes (). creating it if it does not exist. Will not return null.

      Definition: Notes for special requirements such as coatings and lens materials.

    • getNotes

      public String getNotes()
      Gets the value(s) for notes (). creating it if it does not exist. This method may return null.

      Definition: Notes for special requirements such as coatings and lens materials.

    • setNotes

      public VisionPrescription.Dispense setNotes​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for notes ()

      Definition: Notes for special requirements such as coatings and lens materials.

    • setNotes

      Sets the value for notes ()

      Definition: Notes for special requirements such as coatings and lens materials.