public static class VisionPrescription.VisionPrescriptionLensSpecificationComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected DecimalType |
add
Power adjustment for multifocal lenses measured in dioptres (0.25 units).
|
protected IntegerType |
axis
Adjustment for astigmatism measured in integer degrees.
|
protected DecimalType |
backCurve
Back curvature measured in millimetres.
|
protected StringType |
brand
Brand recommendations or restrictions.
|
protected StringType |
color
Special color or pattern.
|
protected DecimalType |
cylinder
Power adjustment for astigmatism measured in dioptres (0.25 units).
|
protected DecimalType |
diameter
Contact lens diameter measured in millimetres.
|
protected Quantity |
duration
The recommended maximum wear period for the lens.
|
protected Enumeration<VisionPrescription.VisionEyes> |
eye
The eye for which the lens specification applies.
|
protected List<Annotation> |
note
Notes for special requirements such as coatings and lens materials.
|
protected DecimalType |
power
Contact lens power measured in dioptres (0.25 units).
|
protected List<VisionPrescription.PrismComponent> |
prism
Allows for adjustment on two axis.
|
protected CodeableConcept |
product
Identifies the type of vision correction product which is required for the patient.
|
protected DecimalType |
sphere
Lens power measured in dioptres (0.25 units).
|
modifierExtension| Constructor and Description |
|---|
VisionPrescriptionLensSpecificationComponent()
Constructor
|
VisionPrescriptionLensSpecificationComponent(CodeableConcept product,
Enumeration<VisionPrescription.VisionEyes> eye)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected CodeableConcept product
protected Enumeration<VisionPrescription.VisionEyes> eye
protected DecimalType sphere
protected DecimalType cylinder
protected IntegerType axis
protected List<VisionPrescription.PrismComponent> prism
protected DecimalType add
protected DecimalType power
protected DecimalType backCurve
protected DecimalType diameter
protected StringType color
protected StringType brand
protected List<Annotation> note
public VisionPrescriptionLensSpecificationComponent()
public VisionPrescriptionLensSpecificationComponent(CodeableConcept product, Enumeration<VisionPrescription.VisionEyes> eye)
public CodeableConcept getProduct()
product (Identifies the type of vision correction product which is required for the patient.)public boolean hasProduct()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setProduct(CodeableConcept value)
value - product (Identifies the type of vision correction product which is required for the patient.)public Enumeration<VisionPrescription.VisionEyes> getEyeElement()
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 valuepublic boolean hasEyeElement()
public boolean hasEye()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setEyeElement(Enumeration<VisionPrescription.VisionEyes> value)
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 valuepublic VisionPrescription.VisionEyes getEye()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setEye(VisionPrescription.VisionEyes value)
value - The eye for which the lens specification applies.public DecimalType getSphereElement()
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 valuepublic boolean hasSphereElement()
public boolean hasSphere()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setSphereElement(DecimalType value)
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 valuepublic BigDecimal getSphere()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setSphere(BigDecimal value)
value - Lens power measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setSphere(long value)
value - Lens power measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setSphere(double value)
value - Lens power measured in dioptres (0.25 units).public DecimalType getCylinderElement()
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 valuepublic boolean hasCylinderElement()
public boolean hasCylinder()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setCylinderElement(DecimalType value)
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 valuepublic BigDecimal getCylinder()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setCylinder(BigDecimal value)
value - Power adjustment for astigmatism measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setCylinder(long value)
value - Power adjustment for astigmatism measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setCylinder(double value)
value - Power adjustment for astigmatism measured in dioptres (0.25 units).public IntegerType getAxisElement()
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 valuepublic boolean hasAxisElement()
public boolean hasAxis()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAxisElement(IntegerType value)
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 valuepublic int getAxis()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAxis(int value)
value - Adjustment for astigmatism measured in integer degrees.public List<VisionPrescription.PrismComponent> getPrism()
prism (Allows for adjustment on two axis.)public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPrism(List<VisionPrescription.PrismComponent> thePrism)
this for easy method chainingpublic boolean hasPrism()
public VisionPrescription.PrismComponent addPrism()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent addPrism(VisionPrescription.PrismComponent t)
public VisionPrescription.PrismComponent getPrismFirstRep()
prism, creating it if it does not already existpublic DecimalType getAddElement()
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 valuepublic boolean hasAddElement()
public boolean hasAdd()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAddElement(DecimalType value)
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 valuepublic BigDecimal getAdd()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAdd(BigDecimal value)
value - Power adjustment for multifocal lenses measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAdd(long value)
value - Power adjustment for multifocal lenses measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setAdd(double value)
value - Power adjustment for multifocal lenses measured in dioptres (0.25 units).public DecimalType getPowerElement()
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 valuepublic boolean hasPowerElement()
public boolean hasPower()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPowerElement(DecimalType value)
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 valuepublic BigDecimal getPower()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPower(BigDecimal value)
value - Contact lens power measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPower(long value)
value - Contact lens power measured in dioptres (0.25 units).public VisionPrescription.VisionPrescriptionLensSpecificationComponent setPower(double value)
value - Contact lens power measured in dioptres (0.25 units).public DecimalType getBackCurveElement()
backCurve (Back curvature measured in millimetres.). This is the underlying object with id, value and extensions. The accessor "getBackCurve" gives direct access to the valuepublic boolean hasBackCurveElement()
public boolean hasBackCurve()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBackCurveElement(DecimalType value)
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 valuepublic BigDecimal getBackCurve()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBackCurve(BigDecimal value)
value - Back curvature measured in millimetres.public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBackCurve(long value)
value - Back curvature measured in millimetres.public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBackCurve(double value)
value - Back curvature measured in millimetres.public DecimalType getDiameterElement()
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 valuepublic boolean hasDiameterElement()
public boolean hasDiameter()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDiameterElement(DecimalType value)
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 valuepublic BigDecimal getDiameter()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDiameter(BigDecimal value)
value - Contact lens diameter measured in millimetres.public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDiameter(long value)
value - Contact lens diameter measured in millimetres.public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDiameter(double value)
value - Contact lens diameter measured in millimetres.public Quantity getDuration()
duration (The recommended maximum wear period for the lens.)public boolean hasDuration()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setDuration(Quantity value)
value - duration (The recommended maximum wear period for the lens.)public StringType getColorElement()
color (Special color or pattern.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the valuepublic boolean hasColorElement()
public boolean hasColor()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setColorElement(StringType value)
value - color (Special color or pattern.). This is the underlying object with id, value and extensions. The accessor "getColor" gives direct access to the valuepublic VisionPrescription.VisionPrescriptionLensSpecificationComponent setColor(String value)
value - Special color or pattern.public StringType getBrandElement()
brand (Brand recommendations or restrictions.). This is the underlying object with id, value and extensions. The accessor "getBrand" gives direct access to the valuepublic boolean hasBrandElement()
public boolean hasBrand()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent setBrandElement(StringType value)
value - brand (Brand recommendations or restrictions.). This is the underlying object with id, value and extensions. The accessor "getBrand" gives direct access to the valuepublic VisionPrescription.VisionPrescriptionLensSpecificationComponent setBrand(String value)
value - Brand recommendations or restrictions.public List<Annotation> getNote()
note (Notes for special requirements such as coatings and lens materials.)public VisionPrescription.VisionPrescriptionLensSpecificationComponent setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic VisionPrescription.VisionPrescriptionLensSpecificationComponent copy()
copy in class BackboneElementpublic void copyValues(VisionPrescription.VisionPrescriptionLensSpecificationComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.