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 Summary
Constructors Constructor Description Dispense()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAdd()Gets the value(s) for add ().ca.uhn.fhir.model.primitive.DecimalDtgetAddElement()Gets the value(s) for add ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)IntegergetAxis()Gets the value(s) for axis ().ca.uhn.fhir.model.primitive.IntegerDtgetAxisElement()Gets the value(s) for axis ().BigDecimalgetBackCurve()Gets the value(s) for backCurve ().ca.uhn.fhir.model.primitive.DecimalDtgetBackCurveElement()Gets the value(s) for backCurve ().StringgetBase()Gets the value(s) for base ().ca.uhn.fhir.model.primitive.BoundCodeDt<VisionBaseEnum>getBaseElement()Gets the value(s) for base ().StringgetBrand()Gets the value(s) for brand ().ca.uhn.fhir.model.primitive.StringDtgetBrandElement()Gets the value(s) for brand ().StringgetColor()Gets the value(s) for color ().ca.uhn.fhir.model.primitive.StringDtgetColorElement()Gets the value(s) for color ().BigDecimalgetCylinder()Gets the value(s) for cylinder ().ca.uhn.fhir.model.primitive.DecimalDtgetCylinderElement()Gets the value(s) for cylinder ().BigDecimalgetDiameter()Gets the value(s) for diameter ().ca.uhn.fhir.model.primitive.DecimalDtgetDiameterElement()Gets the value(s) for diameter ().SimpleQuantityDtgetDuration()Gets the value(s) for duration ().StringgetEye()Gets the value(s) for eye ().ca.uhn.fhir.model.primitive.BoundCodeDt<VisionEyesEnum>getEyeElement()Gets the value(s) for eye ().StringgetNotes()Gets the value(s) for notes ().ca.uhn.fhir.model.primitive.StringDtgetNotesElement()Gets the value(s) for notes ().BigDecimalgetPower()Gets the value(s) for power ().ca.uhn.fhir.model.primitive.DecimalDtgetPowerElement()Gets the value(s) for power ().BigDecimalgetPrism()Gets the value(s) for prism ().ca.uhn.fhir.model.primitive.DecimalDtgetPrismElement()Gets the value(s) for prism ().CodingDtgetProduct()Gets the value(s) for product ().BigDecimalgetSphere()Gets the value(s) for sphere ().ca.uhn.fhir.model.primitive.DecimalDtgetSphereElement()Gets the value(s) for sphere ().booleanisEmpty()VisionPrescription.DispensesetAdd(double theValue)Sets the value for add ()VisionPrescription.DispensesetAdd(long theValue)Sets the value for add ()VisionPrescription.DispensesetAdd(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for add ()VisionPrescription.DispensesetAdd(BigDecimal theValue)Sets the value for add ()VisionPrescription.DispensesetAxis(int theInteger)Sets the value for axis ()VisionPrescription.DispensesetAxis(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for axis ()VisionPrescription.DispensesetBackCurve(double theValue)Sets the value for backCurve ()VisionPrescription.DispensesetBackCurve(long theValue)Sets the value for backCurve ()VisionPrescription.DispensesetBackCurve(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for backCurve ()VisionPrescription.DispensesetBackCurve(BigDecimal theValue)Sets the value for backCurve ()VisionPrescription.DispensesetBase(VisionBaseEnum theValue)Sets the value(s) for base ()VisionPrescription.DispensesetBase(ca.uhn.fhir.model.primitive.BoundCodeDt<VisionBaseEnum> theValue)Sets the value(s) for base ()VisionPrescription.DispensesetBrand(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for brand ()VisionPrescription.DispensesetBrand(String theString)Sets the value for brand ()VisionPrescription.DispensesetColor(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for color ()VisionPrescription.DispensesetColor(String theString)Sets the value for color ()VisionPrescription.DispensesetCylinder(double theValue)Sets the value for cylinder ()VisionPrescription.DispensesetCylinder(long theValue)Sets the value for cylinder ()VisionPrescription.DispensesetCylinder(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for cylinder ()VisionPrescription.DispensesetCylinder(BigDecimal theValue)Sets the value for cylinder ()VisionPrescription.DispensesetDiameter(double theValue)Sets the value for diameter ()VisionPrescription.DispensesetDiameter(long theValue)Sets the value for diameter ()VisionPrescription.DispensesetDiameter(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for diameter ()VisionPrescription.DispensesetDiameter(BigDecimal theValue)Sets the value for diameter ()VisionPrescription.DispensesetDuration(SimpleQuantityDt theValue)Sets the value(s) for duration ()VisionPrescription.DispensesetEye(VisionEyesEnum theValue)Sets the value(s) for eye ()VisionPrescription.DispensesetEye(ca.uhn.fhir.model.primitive.BoundCodeDt<VisionEyesEnum> theValue)Sets the value(s) for eye ()VisionPrescription.DispensesetNotes(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for notes ()VisionPrescription.DispensesetNotes(String theString)Sets the value for notes ()VisionPrescription.DispensesetPower(double theValue)Sets the value for power ()VisionPrescription.DispensesetPower(long theValue)Sets the value for power ()VisionPrescription.DispensesetPower(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for power ()VisionPrescription.DispensesetPower(BigDecimal theValue)Sets the value for power ()VisionPrescription.DispensesetPrism(double theValue)Sets the value for prism ()VisionPrescription.DispensesetPrism(long theValue)Sets the value for prism ()VisionPrescription.DispensesetPrism(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for prism ()VisionPrescription.DispensesetPrism(BigDecimal theValue)Sets the value for prism ()VisionPrescription.DispensesetProduct(CodingDt theValue)Sets the value(s) for product ()VisionPrescription.DispensesetSphere(double theValue)Sets the value for sphere ()VisionPrescription.DispensesetSphere(long theValue)Sets the value for sphere ()VisionPrescription.DispensesetSphere(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for sphere ()VisionPrescription.DispensesetSphere(BigDecimal theValue)Sets the value for sphere ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Dispense
public Dispense()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getProduct
public CodingDt getProduct()
Gets the value(s) for product (). creating it if it does not exist. Will not returnnull.Definition: Identifies the type of vision correction product which is required for the patient.
-
setProduct
public VisionPrescription.Dispense setProduct(CodingDt theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setEye(VisionEyesEnum theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setSphere(BigDecimal theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setCylinder(BigDecimal 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 returnnull.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 returnnull.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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setPrism(BigDecimal 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<VisionBaseEnum> getBaseElement()
Gets the value(s) for base (). creating it if it does not exist. Will not returnnull.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 returnnull.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
public VisionPrescription.Dispense setBase(VisionBaseEnum theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setAdd(BigDecimal 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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setPower(BigDecimal theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setBackCurve(BigDecimal theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setDiameter(BigDecimal theValue)
Sets the value 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 returnnull.Definition: The recommended maximum wear period for the lens.
-
setDuration
public VisionPrescription.Dispense setDuration(SimpleQuantityDt theValue)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setColor(String theString)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setBrand(String theString)
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 returnnull.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 returnnull.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
public VisionPrescription.Dispense setNotes(String theString)
Sets the value for notes ()Definition: Notes for special requirements such as coatings and lens materials.
-
-