Skip to content

Main content

Older Adult Preferred Print Size

Find an explicitly preferred print size in supplied options, choosing the first option on equal-distance ties.

Loading tool…

Description

Find the closest available print size, retaining the first listed option on ties.

Older-adult care records combine preferences, respondent roles, assistance, handoffs, services and medication-list text. Recorded coverage hours differ from adequate care, and a textual medication match differs from clinical medication reconciliation. Consent and proxy authority are contextual questions that a supplied flag cannot settle.

Find the closest available print size, retaining the first listed option on ties.

When to use this tool

Use Older Adult Preferred Print Size when checking the stated older-adult record, assistance, coverage or care-log convention.

How to use the tool and how it works

  1. Enter preferredPoints, availablePoints. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read exactAvailable, closestPoints. Inspect exactAvailable before interpreting the associated values.

Require preferredPoints>0 and a nonempty list of positive available point sizes. Return exact membership and the available size with the smallest absolute difference; retain the first listed size on an exact tie.1

Input fieldMeaning and unitsAccepted input
preferredPointsPreferred PointsRequired. Finite number; strictly above 0.
availablePointsAvailable PointsRequired. Array of finite number; maximum items 256.
Output fieldInterpretationReturned shape
exactAvailableExact AvailableRequired. Boolean.
closestPointsNumerically closest listed point size; first-listed candidate wins an exact tie.Required. Finite number.
json
{
  "input": {
    "preferredPoints": 18,
    "availablePoints": [
      12,
      16,
      20
    ]
  },
  "output": {
    "exactAvailable": false,
    "closestPoints": 16
  }
}

Limitations and assumptions

  • The numerical nearest size is not a readability, visual-acuity or accessibility recommendation.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Review verified source records and individual needs with qualified medical/care professionals; use appropriate legal and accessibility assessment for actual authority, services and care decisions.

References

  1. Calculation and input contract: geriatrics/older-adult-preferred-print-size — tool.io

Similar or alternative tools