Class 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
    • Method Detail

      • 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.

      • getEyeElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<VisionEyesEnumgetEyeElement()
        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.

      • 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

        public BigDecimal 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).

      • 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

        public BigDecimal 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​(double theValue)
        Sets the value 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).

      • 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.

      • 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​(double theValue)
        Sets the value 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.

      • getBaseElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<VisionBaseEnumgetBaseElement()
        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.

      • 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​(double theValue)
        Sets the value 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).

      • 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).

      • 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

        public BigDecimal 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.

      • 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

        public BigDecimal 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.

      • getDuration

        public SimpleQuantityDt 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.

      • 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.

      • 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.

      • 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.