Package org.hl7.fhir.r5.model
Class VisionPrescription.VisionPrescriptionLensSpecificationComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.BackboneElement
org.hl7.fhir.r5.model.VisionPrescription.VisionPrescriptionLensSpecificationComponent
- 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.VisionPrescriptionLensSpecificationComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected DecimalType
Power adjustment for multifocal lenses measured in dioptres (0.25 units).protected IntegerType
Adjustment for astigmatism measured in integer degrees.protected DecimalType
Back curvature measured in millimetres.protected StringType
Brand recommendations or restrictions.protected StringType
Special color or pattern.protected DecimalType
Power adjustment for astigmatism measured in dioptres (0.25 units).protected DecimalType
Contact lens diameter measured in millimetres.protected Quantity
The recommended maximum wear period for the lens.protected Enumeration
<VisionPrescription.VisionEyes> The eye for which the lens specification applies.protected List
<Annotation> Notes for special requirements such as coatings and lens materials.protected DecimalType
Contact lens power measured in dioptres (0.25 units).protected List
<VisionPrescription.PrismComponent> Allows for adjustment on two axis.protected CodeableConcept
Identifies the type of vision correction product which is required for the patient.protected DecimalType
Lens power measured in dioptres (0.25 units).Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
Constructor Summary
ConstructorDescriptionConstructorVisionPrescriptionLensSpecificationComponent
(CodeableConcept product, VisionPrescription.VisionEyes eye) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddNote()
addPrism()
copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getAdd()
int
getAxis()
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
hasBrand()
boolean
boolean
hasColor()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasEye()
boolean
boolean
hasNote()
boolean
hasPower()
boolean
boolean
hasPrism()
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) 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
(Quantity value) setNote
(List<Annotation> theNote) setPower
(double value) setPower
(long value) setPower
(BigDecimal value) setPowerElement
(DecimalType value) setPrism
(List<VisionPrescription.PrismComponent> thePrism) 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.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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 specification applies. -
sphere
Lens power measured in dioptres (0.25 units). -
cylinder
Power adjustment for astigmatism measured in dioptres (0.25 units). -
axis
Adjustment for astigmatism measured in integer degrees. -
prism
Allows for adjustment on two axis. -
add
Power adjustment for multifocal lenses measured in dioptres (0.25 units). -
power
Contact lens power measured in dioptres (0.25 units). -
backCurve
Back curvature measured in millimetres. -
diameter
Contact lens diameter measured in millimetres. -
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
-
VisionPrescriptionLensSpecificationComponent
Constructor -
VisionPrescriptionLensSpecificationComponent
public VisionPrescriptionLensSpecificationComponent(CodeableConcept product, VisionPrescription.VisionEyes eye) Constructor
-
-
Method Details
-
getProduct
- Returns:
product
(Identifies the type of vision correction product which is required for the patient.)
-
hasProduct
-
setProduct
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setProduct(CodeableConcept value) - 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 specification 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.VisionPrescriptionLensSpecificationComponent setEyeElement(Enumeration<VisionPrescription.VisionEyes> value) - Parameters:
value
-eye
(The eye for which the lens specification 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 specification applies.
-
setEye
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setEye(VisionPrescription.VisionEyes value) - Parameters:
value
- The eye for which the lens specification applies.
-
getSphereElement
- Returns:
sphere
(Lens power measured in dioptres (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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setSphereElement(DecimalType value) - Parameters:
value
-sphere
(Lens power measured in dioptres (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 dioptres (0.25 units).
-
setSphere
- Parameters:
value
- Lens power measured in dioptres (0.25 units).
-
setSphere
- Parameters:
value
- Lens power measured in dioptres (0.25 units).
-
setSphere
- Parameters:
value
- Lens power measured in dioptres (0.25 units).
-
getCylinderElement
- Returns:
cylinder
(Power adjustment for astigmatism measured in dioptres (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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setCylinderElement(DecimalType value) - Parameters:
value
-cylinder
(Power adjustment for astigmatism measured in dioptres (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 dioptres (0.25 units).
-
setCylinder
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setCylinder(BigDecimal value) - Parameters:
value
- Power adjustment for astigmatism measured in dioptres (0.25 units).
-
setCylinder
- Parameters:
value
- Power adjustment for astigmatism measured in dioptres (0.25 units).
-
setCylinder
- Parameters:
value
- Power adjustment for astigmatism measured in dioptres (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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent 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
- Returns:
- Adjustment for astigmatism measured in integer degrees.
-
setAxis
- Parameters:
value
- Adjustment for astigmatism measured in integer degrees.
-
getPrism
- Returns:
prism
(Allows for adjustment on two axis.)
-
setPrism
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPrism(List<VisionPrescription.PrismComponent> thePrism) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasPrism
-
addPrism
-
addPrism
-
getPrismFirstRep
- Returns:
- The first repetition of repeating field
prism
, creating it if it does not already exist {3}
-
getAddElement
- Returns:
add
(Power adjustment for multifocal lenses measured in dioptres (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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAddElement(DecimalType value) - Parameters:
value
-add
(Power adjustment for multifocal lenses measured in dioptres (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 dioptres (0.25 units).
-
setAdd
- Parameters:
value
- Power adjustment for multifocal lenses measured in dioptres (0.25 units).
-
setAdd
- Parameters:
value
- Power adjustment for multifocal lenses measured in dioptres (0.25 units).
-
setAdd
- Parameters:
value
- Power adjustment for multifocal lenses measured in dioptres (0.25 units).
-
getPowerElement
- Returns:
power
(Contact lens power measured in dioptres (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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPowerElement(DecimalType value) - Parameters:
value
-power
(Contact lens power measured in dioptres (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 dioptres (0.25 units).
-
setPower
- Parameters:
value
- Contact lens power measured in dioptres (0.25 units).
-
setPower
- Parameters:
value
- Contact lens power measured in dioptres (0.25 units).
-
setPower
- Parameters:
value
- Contact lens power measured in dioptres (0.25 units).
-
getBackCurveElement
- Returns:
backCurve
(Back curvature measured in millimetres.). This is the underlying object with id, value and extensions. The accessor "getBackCurve" gives direct access to the value
-
hasBackCurveElement
-
hasBackCurve
-
setBackCurveElement
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBackCurveElement(DecimalType value) - Parameters:
value
-backCurve
(Back curvature measured in millimetres.). 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 millimetres.
-
setBackCurve
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBackCurve(BigDecimal value) - Parameters:
value
- Back curvature measured in millimetres.
-
setBackCurve
- Parameters:
value
- Back curvature measured in millimetres.
-
setBackCurve
- Parameters:
value
- Back curvature measured in millimetres.
-
getDiameterElement
- Returns:
diameter
(Contact lens diameter measured in millimetres.). This is the underlying object with id, value and extensions. The accessor "getDiameter" gives direct access to the value
-
hasDiameterElement
-
hasDiameter
-
setDiameterElement
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDiameterElement(DecimalType value) - Parameters:
value
-diameter
(Contact lens diameter measured in millimetres.). 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 millimetres.
-
setDiameter
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDiameter(BigDecimal value) - Parameters:
value
- Contact lens diameter measured in millimetres.
-
setDiameter
- Parameters:
value
- Contact lens diameter measured in millimetres.
-
setDiameter
- Parameters:
value
- Contact lens diameter measured in millimetres.
-
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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent 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
-
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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent 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
-
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
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setNote(List<Annotation> theNote) - 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 {3}
-
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
-
removeChild
- Overrides:
removeChild
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
-
copyValues
-
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
- Returns:
- the FHIR type name of the instance (not the java class name)
-