Data Model Libraries
    Preparing search index...

    Class VisionPrescriptionLensSpecificationComponent

    VisionPrescriptionLensSpecificationComponent Class

    FHIR Specification

    • Short: Vision lens authorization
    • Definition: Contain the details of the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    product: null | CodeableConcept

    VisionPrescription.lensSpecification.product Element

    FHIR Specification

    • Short: Product to be supplied
    • Definition: Identifies the type of vision correction product which is required for the patient.
    • Requirements: Need to identify whether glasses or contacts.
    • FHIR Type: CodeableConcept
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    visionEyeCodesEnum: VisionEyeCodesEnum

    FHIR CodeSystem: VisionEyeCodes

    eye: null | EnumCodeType

    VisionPrescription.lensSpecification.eye Element

    FHIR Specification

    • Short: right | left
    • Definition: The eye for which the lens specification applies.
    • Comment: May also appear on the paper claim form or in the Medical Records as as OD (oculus dexter) for the right eye and OS (oculus sinister) for the left eye.
    • Requirements: Needed to identify which eye the lens specification applies to.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: VisionEyeCodesEnum

    sphere?: DecimalType

    VisionPrescription.lensSpecification.sphere Element

    FHIR Specification

    • Short: Power of the lens
    • Definition: Lens power measured in dioptres (0.25 units).
    • Comment: The value is negative for near-sighted and positive for far sighted. Often insurance will not cover a lens with power between +75 and -75.
    • Requirements: Standard lens prescription measures.
    • FHIR Type: decimal
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    cylinder?: DecimalType

    VisionPrescription.lensSpecification.cylinder Element

    FHIR Specification

    • Short: Lens power for astigmatism
    • Definition: Power adjustment for astigmatism measured in dioptres (0.25 units).
    • Requirements: Standard lens prescription measures.
    • FHIR Type: decimal
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    VisionPrescription.lensSpecification.axis Element

    FHIR Specification

    • Short: Lens meridian which contain no power for astigmatism
    • Definition: Adjustment for astigmatism measured in integer degrees.
    • Comment: The limits are +180 and -180 degrees.
    • Requirements: Standard lens prescription measures.
    • FHIR Type: integer
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    VisionPrescription.lensSpecification.prism Element

    FHIR Specification

    • Short: Eye alignment compensation
    • Definition: Allows for adjustment on two axis.
    • Requirements: Standard lens prescription measures.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    VisionPrescription.lensSpecification.add Element

    FHIR Specification

    • Short: Added power for multifocal levels
    • Definition: Power adjustment for multifocal lenses measured in dioptres (0.25 units).
    • Requirements: Standard lens prescription measures.
    • FHIR Type: decimal
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    power?: DecimalType

    VisionPrescription.lensSpecification.power Element

    FHIR Specification

    • Short: Contact lens power
    • Definition: Contact lens power measured in dioptres (0.25 units).
    • Requirements: Standard contact lens prescription measures.
    • FHIR Type: decimal
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    backCurve?: DecimalType

    VisionPrescription.lensSpecification.backCurve Element

    FHIR Specification

    • Short: Contact lens back curvature
    • Definition: Back curvature measured in millimetres.
    • Requirements: Standard contact lens prescription measures.
    • FHIR Type: decimal
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    diameter?: DecimalType

    VisionPrescription.lensSpecification.diameter Element

    FHIR Specification

    • Short: Contact lens diameter
    • Definition: Contact lens diameter measured in millimetres.
    • Requirements: Standard contact lens prescription measures.
    • FHIR Type: decimal
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    duration?: Quantity

    VisionPrescription.lensSpecification.duration Element

    FHIR Specification

    • Short: Lens wear duration
    • Definition: The recommended maximum wear period for the lens.
    • Requirements: Standard contact lens prescription measures.
    • FHIR Type: Quantity
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    color?: StringType

    VisionPrescription.lensSpecification.color Element

    FHIR Specification

    • Short: Color required
    • Definition: Special color or pattern.
    • Requirements: Standard contact lens prescription measures.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    brand?: StringType

    VisionPrescription.lensSpecification.brand Element

    FHIR Specification

    • Short: Brand required
    • Definition: Brand recommendations or restrictions.
    • Requirements: Standard lens prescription measures.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    note?: Annotation[]

    VisionPrescription.lensSpecification.note Element

    FHIR Specification

    • Short: Notes for coatings
    • Definition: Notes for special requirements such as coatings and lens materials.
    • Requirements: Standard lens prescription measures.
    • FHIR Type: Annotation
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided VisionPrescriptionLensSpecificationComponent JSON to instantiate the VisionPrescriptionLensSpecificationComponent data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR VisionPrescriptionLensSpecificationComponent

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to VisionPrescriptionLensSpecificationComponent

      Returns undefined | VisionPrescriptionLensSpecificationComponent

      VisionPrescriptionLensSpecificationComponent data model or undefined for VisionPrescriptionLensSpecificationComponent

      JsonError if the provided JSON is not a valid JSON object

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise