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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DecimalTypeaddPower adjustment for multifocal lenses measured in diopters (0.25 units).protected IntegerTypeaxisAdjustment for astigmatism measured in integer degrees.protected DecimalTypebackCurveBack curvature measured in millimeters.protected Enumeration<VisionPrescription.VisionBase>baseThe relative base, or reference lens edge, for the prism.protected StringTypebrandBrand recommendations or restrictions.protected StringTypecolorSpecial color or pattern.protected DecimalTypecylinderPower adjustment for astigmatism measured in diopters (0.25 units).protected DecimalTypediameterContact lens diameter measured in millimeters.protected SimpleQuantitydurationThe recommended maximum wear period for the lens.protected Enumeration<VisionPrescription.VisionEyes>eyeThe eye for which the lens applies.protected StringTypenotesNotes for special requirements such as coatings and lens materials.protected DecimalTypepowerContact lens power measured in diopters (0.25 units).protected DecimalTypeprismAmount of prism to compensate for eye alignment in fractional units.protected CodingproductIdentifies the type of vision correction product which is required for the patient.protected DecimalTypesphereLens power measured in diopters (0.25 units).-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description VisionPrescriptionDispenseComponent()VisionPrescriptionDispenseComponent(Coding product)
-
Method Summary
-
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, copyValues, getExtension, 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
-
-
-
-
Field Detail
-
product
protected Coding product
Identifies the type of vision correction product which is required for the patient.
-
eye
protected Enumeration<VisionPrescription.VisionEyes> eye
The eye for which the lens applies.
-
sphere
protected DecimalType sphere
Lens power measured in diopters (0.25 units).
-
cylinder
protected DecimalType cylinder
Power adjustment for astigmatism measured in diopters (0.25 units).
-
axis
protected IntegerType axis
Adjustment for astigmatism measured in integer degrees.
-
prism
protected DecimalType prism
Amount of prism to compensate for eye alignment in fractional units.
-
base
protected Enumeration<VisionPrescription.VisionBase> base
The relative base, or reference lens edge, for the prism.
-
add
protected DecimalType add
Power adjustment for multifocal lenses measured in diopters (0.25 units).
-
power
protected DecimalType power
Contact lens power measured in diopters (0.25 units).
-
backCurve
protected DecimalType backCurve
Back curvature measured in millimeters.
-
diameter
protected DecimalType diameter
Contact lens diameter measured in millimeters.
-
duration
protected SimpleQuantity duration
The recommended maximum wear period for the lens.
-
color
protected StringType color
Special color or pattern.
-
brand
protected StringType brand
Brand recommendations or restrictions.
-
notes
protected StringType notes
Notes for special requirements such as coatings and lens materials.
-
-
Constructor Detail
-
VisionPrescriptionDispenseComponent
public VisionPrescriptionDispenseComponent()
-
VisionPrescriptionDispenseComponent
public VisionPrescriptionDispenseComponent(Coding product)
-
-
Method Detail
-
getProduct
public Coding getProduct()
- Returns:
product(Identifies the type of vision correction product which is required for the patient.)
-
hasProduct
public boolean hasProduct()
-
setProduct
public VisionPrescription.VisionPrescriptionDispenseComponent setProduct(Coding value)
- Parameters:
value-product(Identifies the type of vision correction product which is required for the patient.)
-
getEyeElement
public Enumeration<VisionPrescription.VisionEyes> 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
public boolean hasEyeElement()
-
hasEye
public boolean 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
public VisionPrescription.VisionEyes 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
public DecimalType 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
public boolean hasSphereElement()
-
hasSphere
public boolean hasSphere()
-
setSphereElement
public VisionPrescription.VisionPrescriptionDispenseComponent setSphereElement(DecimalType value)
- 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
public BigDecimal getSphere()
- Returns:
- Lens power measured in diopters (0.25 units).
-
setSphere
public VisionPrescription.VisionPrescriptionDispenseComponent setSphere(BigDecimal value)
- Parameters:
value- Lens power measured in diopters (0.25 units).
-
getCylinderElement
public DecimalType 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
public boolean hasCylinderElement()
-
hasCylinder
public boolean hasCylinder()
-
setCylinderElement
public VisionPrescription.VisionPrescriptionDispenseComponent setCylinderElement(DecimalType value)
- 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
public BigDecimal getCylinder()
- Returns:
- Power adjustment for astigmatism measured in diopters (0.25 units).
-
setCylinder
public VisionPrescription.VisionPrescriptionDispenseComponent setCylinder(BigDecimal value)
- Parameters:
value- Power adjustment for astigmatism measured in diopters (0.25 units).
-
getAxisElement
public IntegerType 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
public boolean hasAxisElement()
-
hasAxis
public boolean hasAxis()
-
setAxisElement
public VisionPrescription.VisionPrescriptionDispenseComponent setAxisElement(IntegerType value)
- 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
public int getAxis()
- Returns:
- Adjustment for astigmatism measured in integer degrees.
-
setAxis
public VisionPrescription.VisionPrescriptionDispenseComponent setAxis(int value)
- Parameters:
value- Adjustment for astigmatism measured in integer degrees.
-
getPrismElement
public DecimalType 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
public boolean hasPrismElement()
-
hasPrism
public boolean hasPrism()
-
setPrismElement
public VisionPrescription.VisionPrescriptionDispenseComponent setPrismElement(DecimalType value)
- 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
public BigDecimal getPrism()
- Returns:
- Amount of prism to compensate for eye alignment in fractional units.
-
setPrism
public VisionPrescription.VisionPrescriptionDispenseComponent setPrism(BigDecimal value)
- Parameters:
value- Amount of prism to compensate for eye alignment in fractional units.
-
getBaseElement
public Enumeration<VisionPrescription.VisionBase> 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
public boolean hasBaseElement()
-
hasBase
public boolean 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
public VisionPrescription.VisionBase 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
public DecimalType 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
public boolean hasAddElement()
-
hasAdd
public boolean hasAdd()
-
setAddElement
public VisionPrescription.VisionPrescriptionDispenseComponent setAddElement(DecimalType value)
- 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
public BigDecimal getAdd()
- Returns:
- Power adjustment for multifocal lenses measured in diopters (0.25 units).
-
setAdd
public VisionPrescription.VisionPrescriptionDispenseComponent setAdd(BigDecimal value)
- Parameters:
value- Power adjustment for multifocal lenses measured in diopters (0.25 units).
-
getPowerElement
public DecimalType 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
public boolean hasPowerElement()
-
hasPower
public boolean hasPower()
-
setPowerElement
public VisionPrescription.VisionPrescriptionDispenseComponent setPowerElement(DecimalType value)
- 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
public BigDecimal getPower()
- Returns:
- Contact lens power measured in diopters (0.25 units).
-
setPower
public VisionPrescription.VisionPrescriptionDispenseComponent setPower(BigDecimal value)
- Parameters:
value- Contact lens power measured in diopters (0.25 units).
-
getBackCurveElement
public DecimalType 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
public boolean hasBackCurveElement()
-
hasBackCurve
public boolean 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
public BigDecimal getBackCurve()
- Returns:
- Back curvature measured in millimeters.
-
setBackCurve
public VisionPrescription.VisionPrescriptionDispenseComponent setBackCurve(BigDecimal value)
- Parameters:
value- Back curvature measured in millimeters.
-
getDiameterElement
public DecimalType 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
public boolean hasDiameterElement()
-
hasDiameter
public boolean hasDiameter()
-
setDiameterElement
public VisionPrescription.VisionPrescriptionDispenseComponent setDiameterElement(DecimalType value)
- 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
public BigDecimal getDiameter()
- Returns:
- Contact lens diameter measured in millimeters.
-
setDiameter
public VisionPrescription.VisionPrescriptionDispenseComponent setDiameter(BigDecimal value)
- Parameters:
value- Contact lens diameter measured in millimeters.
-
getDuration
public SimpleQuantity getDuration()
- Returns:
duration(The recommended maximum wear period for the lens.)
-
hasDuration
public boolean hasDuration()
-
setDuration
public VisionPrescription.VisionPrescriptionDispenseComponent setDuration(SimpleQuantity value)
- Parameters:
value-duration(The recommended maximum wear period for the lens.)
-
getColorElement
public StringType 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
public boolean hasColorElement()
-
hasColor
public boolean hasColor()
-
setColorElement
public VisionPrescription.VisionPrescriptionDispenseComponent setColorElement(StringType value)
- 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
-
setColor
public VisionPrescription.VisionPrescriptionDispenseComponent setColor(String value)
- Parameters:
value- Special color or pattern.
-
getBrandElement
public StringType 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
public boolean hasBrandElement()
-
hasBrand
public boolean hasBrand()
-
setBrandElement
public VisionPrescription.VisionPrescriptionDispenseComponent setBrandElement(StringType value)
- 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
-
setBrand
public VisionPrescription.VisionPrescriptionDispenseComponent setBrand(String value)
- Parameters:
value- Brand recommendations or restrictions.
-
getNotesElement
public StringType 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
public boolean hasNotesElement()
-
hasNotes
public boolean hasNotes()
-
setNotesElement
public VisionPrescription.VisionPrescriptionDispenseComponent setNotesElement(StringType value)
- 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
public String getNotes()
- Returns:
- Notes for special requirements such as coatings and lens materials.
-
setNotes
public VisionPrescription.VisionPrescriptionDispenseComponent setNotes(String value)
- Parameters:
value- Notes for special requirements such as coatings and lens materials.
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public VisionPrescription.VisionPrescriptionDispenseComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-