Description
Compare a recorded prism-base code with a supplied code list.
Optical records distinguish sphere/cylinder powers, principal meridian axes, prism-base labels and eye-specific offset signs. A radial lens-blank margin is half its diametral margin under centered circular geometry. Local optical formulas and code labels do not perform refraction, verify fit or prescribe a lens.
Compare a recorded prism-base code with a supplied code list.
When to use this tool
Use Prism Base Direction Code when you already have recordId, baseDirectionCode, suppliedCodes and need to compare a recorded prism-base code with a supplied code list.
How to use the tool and how it works
- Enter recordId, baseDirectionCode, suppliedCodes. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read label, recognized. Inspect recognized before interpreting the associated values.
Require recordId/baseDirectionCode nonempty; return a label and literal list membership as recognized.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordId | Record Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| baseDirectionCode | Base Direction Code | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| suppliedCodes | Supplied Codes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| label | Label | Required. Text; maximum UTF-16 length 8192. |
| recognized | Recognized | Required. Boolean. |
{
"input": {
"recordId": "P17",
"baseDirectionCode": "BI",
"suppliedCodes": [
"BI",
"BO"
]
},
"output": {
"label": "P17 [BI]",
"recognized": true
}
} Limitations and assumptions
- The list is supplied; no prism prescription, standardized code validity, optical effect or clinical suitability is established.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the complete verified optical prescription and lens/frame geometry for a design or fit analysis. Preserve sphere-cylinder axis and eye-specific direction conventions; a meridian sum or centered circular clearance is only one part of that calculation.
References
Similar or alternative tools
- Optometric Uncorrected or Corrected Tag
Label an optometry record's supplied correction status.
- Lens Meridian Power Pair
Calculate orthogonal principal-meridian powers from supplied sphere and cylinder.