Package org.hl7.fhir.dstu3.model
Class VisionPrescription.VisionPrescriptionDispenseComponent
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.model.Element
org.hl7.fhir.dstu3.model.BackboneElement
org.hl7.fhir.dstu3.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 List
<Annotation> 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 CodeableConcept
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.dstu3.model.BackboneElement
modifierExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddNote()
copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getAdd()
int
getAxis()
getBase()
getBrand()
getColor()
getEye()
getNamedProperty
(int _hash, String _name, boolean _checkValid) getNote()
getPower()
getPrism()
Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) 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
hasNote()
boolean
hasPower()
boolean
boolean
hasPrism()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAdd
(double value) setAdd
(long value) setAdd
(BigDecimal value) setAddElement
(DecimalType value) setAxis
(int value) setAxisElement
(IntegerType value) setBackCurve
(double value) setBackCurve
(long value) setBackCurve
(BigDecimal value) setBackCurveElement
(DecimalType value) setBrandElement
(StringType value) setColorElement
(StringType value) setCylinder
(double value) setCylinder
(long value) setCylinder
(BigDecimal value) setCylinderElement
(DecimalType value) setDiameter
(double value) setDiameter
(long value) setDiameter
(BigDecimal value) setDiameterElement
(DecimalType value) setDuration
(SimpleQuantity value) setNote
(List<Annotation> theNote) setPower
(double value) setPower
(long value) setPower
(BigDecimal value) setPowerElement
(DecimalType value) setPrism
(double value) setPrism
(long value) setPrism
(BigDecimal value) setPrismElement
(DecimalType value) setProduct
(CodeableConcept value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSphere
(double value) setSphere
(long value) setSphere
(BigDecimal value) setSphereElement
(DecimalType value) Methods inherited from class org.hl7.fhir.dstu3.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, 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. -
note
Notes for special requirements such as coatings and lens materials.
-
-
Constructor Details
-
VisionPrescriptionDispenseComponent
public VisionPrescriptionDispenseComponent()Constructor
-
-
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).
-
setSphere
- Parameters:
value
- 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).
-
setCylinder
- Parameters:
value
- 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.
-
setPrism
- Parameters:
value
- 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).
-
setAdd
- Parameters:
value
- 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).
-
setPower
- Parameters:
value
- 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.
-
setBackCurve
- Parameters:
value
- 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.
-
setDiameter
- Parameters:
value
- 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.
-
getNote
- Returns:
note
(Notes for special requirements such as coatings and lens materials.)
-
setNote
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasNote
-
addNote
-
addNote
-
getNoteFirstRep
- Returns:
- The first repetition of repeating field
note
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
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
-