Package org.hl7.fhir.dstu2.model
Class VisionPrescription.VisionPrescriptionDispenseComponent
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.BackboneElement
org.hl7.fhir.dstu2.model.VisionPrescription.VisionPrescriptionDispenseComponent
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseBackboneElement
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
VisionPrescription
public static class VisionPrescription.VisionPrescriptionDispenseComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected DecimalType
Power adjustment for multifocal lenses measured in diopters (0.25 units).protected IntegerType
Adjustment for astigmatism measured in integer degrees.protected DecimalType
Back curvature measured in millimeters.protected Enumeration
<VisionPrescription.VisionBase> The relative base, or reference lens edge, for the prism.protected StringType
Brand recommendations or restrictions.protected StringType
Special color or pattern.protected DecimalType
Power adjustment for astigmatism measured in diopters (0.25 units).protected DecimalType
Contact lens diameter measured in millimeters.protected SimpleQuantity
The recommended maximum wear period for the lens.protected Enumeration
<VisionPrescription.VisionEyes> The eye for which the lens applies.protected StringType
Notes for special requirements such as coatings and lens materials.protected DecimalType
Contact lens power measured in diopters (0.25 units).protected DecimalType
Amount of prism to compensate for eye alignment in fractional units.protected Coding
Identifies the type of vision correction product which is required for the patient.protected DecimalType
Lens power measured in diopters (0.25 units).Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getAdd()
int
getAxis()
getBase()
getBrand()
getColor()
getEye()
getNotes()
getPower()
getPrism()
boolean
hasAdd()
boolean
boolean
hasAxis()
boolean
boolean
boolean
boolean
hasBase()
boolean
boolean
hasBrand()
boolean
boolean
hasColor()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasEye()
boolean
boolean
hasNotes()
boolean
boolean
hasPower()
boolean
boolean
hasPrism()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAdd
(BigDecimal value) setAddElement
(DecimalType value) setAxis
(int value) setAxisElement
(IntegerType value) setBackCurve
(BigDecimal value) setBackCurveElement
(DecimalType value) setBrandElement
(StringType value) setColorElement
(StringType value) setCylinder
(BigDecimal value) setCylinderElement
(DecimalType value) setDiameter
(BigDecimal value) setDiameterElement
(DecimalType value) setDuration
(SimpleQuantity value) setNotesElement
(StringType value) setPower
(BigDecimal value) setPowerElement
(DecimalType value) setPrism
(BigDecimal value) setPrismElement
(DecimalType value) setProduct
(Coding value) void
setProperty
(String name, Base value) setSphere
(BigDecimal value) setSphereElement
(DecimalType value) Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
product
Identifies the type of vision correction product which is required for the patient. -
eye
The eye for which the lens applies. -
sphere
Lens power measured in diopters (0.25 units). -
cylinder
Power adjustment for astigmatism measured in diopters (0.25 units). -
axis
Adjustment for astigmatism measured in integer degrees. -
prism
Amount of prism to compensate for eye alignment in fractional units. -
base
The relative base, or reference lens edge, for the prism. -
add
Power adjustment for multifocal lenses measured in diopters (0.25 units). -
power
Contact lens power measured in diopters (0.25 units). -
backCurve
Back curvature measured in millimeters. -
diameter
Contact lens diameter measured in millimeters. -
duration
The recommended maximum wear period for the lens. -
color
Special color or pattern. -
brand
Brand recommendations or restrictions. -
notes
Notes for special requirements such as coatings and lens materials.
-
-
Constructor Details
-
VisionPrescriptionDispenseComponent
public VisionPrescriptionDispenseComponent() -
VisionPrescriptionDispenseComponent
-
-
Method Details
-
getProduct
- Returns:
product
(Identifies the type of vision correction product which is required for the patient.)
-
hasProduct
-
setProduct
- Parameters:
value
-product
(Identifies the type of vision correction product which is required for the patient.)
-
getEyeElement
- Returns:
eye
(The eye for which the lens applies.). This is the underlying object with id, value and extensions. The accessor "getEye" gives direct access to the value
-
hasEyeElement
-
hasEye
-
setEyeElement
public VisionPrescription.VisionPrescriptionDispenseComponent setEyeElement(Enumeration<VisionPrescription.VisionEyes> value) - Parameters:
value
-eye
(The eye for which the lens applies.). This is the underlying object with id, value and extensions. The accessor "getEye" gives direct access to the value
-
getEye
- Returns:
- The eye for which the lens applies.
-
setEye
public VisionPrescription.VisionPrescriptionDispenseComponent setEye(VisionPrescription.VisionEyes value) - Parameters:
value
- The eye for which the lens applies.
-
getSphereElement
- Returns:
sphere
(Lens power measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getSphere" gives direct access to the value
-
hasSphereElement
-
hasSphere
-
setSphereElement
- Parameters:
value
-sphere
(Lens power measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getSphere" gives direct access to the value
-
getSphere
- Returns:
- Lens power measured in diopters (0.25 units).
-
setSphere
- Parameters:
value
- Lens power measured in diopters (0.25 units).
-
getCylinderElement
- Returns:
cylinder
(Power adjustment for astigmatism measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getCylinder" gives direct access to the value
-
hasCylinderElement
-
hasCylinder
-
setCylinderElement
- Parameters:
value
-cylinder
(Power adjustment for astigmatism measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getCylinder" gives direct access to the value
-
getCylinder
- Returns:
- Power adjustment for astigmatism measured in diopters (0.25 units).
-
setCylinder
- Parameters:
value
- Power adjustment for astigmatism measured in diopters (0.25 units).
-
getAxisElement
- Returns:
axis
(Adjustment for astigmatism measured in integer degrees.). This is the underlying object with id, value and extensions. The accessor "getAxis" gives direct access to the value
-
hasAxisElement
-
hasAxis
-
setAxisElement
- Parameters:
value
-axis
(Adjustment for astigmatism measured in integer degrees.). This is the underlying object with id, value and extensions. The accessor "getAxis" gives direct access to the value
-
getAxis
- Returns:
- Adjustment for astigmatism measured in integer degrees.
-
setAxis
- Parameters:
value
- Adjustment for astigmatism measured in integer degrees.
-
getPrismElement
- Returns:
prism
(Amount of prism to compensate for eye alignment in fractional units.). This is the underlying object with id, value and extensions. The accessor "getPrism" gives direct access to the value
-
hasPrismElement
-
hasPrism
-
setPrismElement
- Parameters:
value
-prism
(Amount of prism to compensate for eye alignment in fractional units.). This is the underlying object with id, value and extensions. The accessor "getPrism" gives direct access to the value
-
getPrism
- Returns:
- Amount of prism to compensate for eye alignment in fractional units.
-
setPrism
- Parameters:
value
- Amount of prism to compensate for eye alignment in fractional units.
-
getBaseElement
- Returns:
base
(The relative base, or reference lens edge, for the prism.). This is the underlying object with id, value and extensions. The accessor "getBase" gives direct access to the value
-
hasBaseElement
-
hasBase
-
setBaseElement
public VisionPrescription.VisionPrescriptionDispenseComponent setBaseElement(Enumeration<VisionPrescription.VisionBase> value) - Parameters:
value
-base
(The relative base, or reference lens edge, for the prism.). This is the underlying object with id, value and extensions. The accessor "getBase" gives direct access to the value
-
getBase
- Returns:
- The relative base, or reference lens edge, for the prism.
-
setBase
public VisionPrescription.VisionPrescriptionDispenseComponent setBase(VisionPrescription.VisionBase value) - Parameters:
value
- The relative base, or reference lens edge, for the prism.
-
getAddElement
- Returns:
add
(Power adjustment for multifocal lenses measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getAdd" gives direct access to the value
-
hasAddElement
-
hasAdd
-
setAddElement
- Parameters:
value
-add
(Power adjustment for multifocal lenses measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getAdd" gives direct access to the value
-
getAdd
- Returns:
- Power adjustment for multifocal lenses measured in diopters (0.25 units).
-
setAdd
- Parameters:
value
- Power adjustment for multifocal lenses measured in diopters (0.25 units).
-
getPowerElement
- Returns:
power
(Contact lens power measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getPower" gives direct access to the value
-
hasPowerElement
-
hasPower
-
setPowerElement
- Parameters:
value
-power
(Contact lens power measured in diopters (0.25 units).). This is the underlying object with id, value and extensions. The accessor "getPower" gives direct access to the value
-
getPower
- Returns:
- Contact lens power measured in diopters (0.25 units).
-
setPower
- Parameters:
value
- Contact lens power measured in diopters (0.25 units).
-
getBackCurveElement
- Returns:
backCurve
(Back curvature measured in millimeters.). This is the underlying object with id, value and extensions. The accessor "getBackCurve" gives direct access to the value
-
hasBackCurveElement
-
hasBackCurve
-
setBackCurveElement
public VisionPrescription.VisionPrescriptionDispenseComponent setBackCurveElement(DecimalType value) - Parameters:
value
-backCurve
(Back curvature measured in millimeters.). This is the underlying object with id, value and extensions. The accessor "getBackCurve" gives direct access to the value
-
getBackCurve
- Returns:
- Back curvature measured in millimeters.
-
setBackCurve
- Parameters:
value
- Back curvature measured in millimeters.
-
getDiameterElement
- Returns:
diameter
(Contact lens diameter measured in millimeters.). This is the underlying object with id, value and extensions. The accessor "getDiameter" gives direct access to the value
-
hasDiameterElement
-
hasDiameter
-
setDiameterElement
- Parameters:
value
-diameter
(Contact lens diameter measured in millimeters.). This is the underlying object with id, value and extensions. The accessor "getDiameter" gives direct access to the value
-
getDiameter
- Returns:
- Contact lens diameter measured in millimeters.
-
setDiameter
- Parameters:
value
- Contact lens diameter measured in millimeters.
-
getDuration
- Returns:
duration
(The recommended maximum wear period for the lens.)
-
hasDuration
-
setDuration
- Parameters:
value
-duration
(The recommended maximum wear period for the lens.)
-
getColorElement
- Returns:
color
(Special color or pattern.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value
-
hasColorElement
-
hasColor
-
setColorElement
- Parameters:
value
-color
(Special color or pattern.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the value
-
getColor
- Returns:
- Special color or pattern.
-
setColor
- Parameters:
value
- Special color or pattern.
-
getBrandElement
- Returns:
brand
(Brand recommendations or restrictions.). This is the underlying object with id, value and extensions. The accessor "getBrand" gives direct access to the value
-
hasBrandElement
-
hasBrand
-
setBrandElement
- Parameters:
value
-brand
(Brand recommendations or restrictions.). This is the underlying object with id, value and extensions. The accessor "getBrand" gives direct access to the value
-
getBrand
- Returns:
- Brand recommendations or restrictions.
-
setBrand
- Parameters:
value
- Brand recommendations or restrictions.
-
getNotesElement
- Returns:
notes
(Notes for special requirements such as coatings and lens materials.). This is the underlying object with id, value and extensions. The accessor "getNotes" gives direct access to the value
-
hasNotesElement
-
hasNotes
-
setNotesElement
- Parameters:
value
-notes
(Notes for special requirements such as coatings and lens materials.). This is the underlying object with id, value and extensions. The accessor "getNotes" gives direct access to the value
-
getNotes
- Returns:
- Notes for special requirements such as coatings and lens materials.
-
setNotes
- Parameters:
value
- Notes for special requirements such as coatings and lens materials.
-
listChildren
- Overrides:
listChildren
in classBackboneElement
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copy
in classBackboneElement
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-