Skip to content

Main content

Home Health Measurement Unit Case Guard Tool

Calculate home health measurement unit case guard from explicit caller-supplied inputs.

Loading tool…

Description

Compare observed and required unit strings exactly and separately flag unequal spellings that match under JavaScript lowercase.

Personal measurement records use resolutions, scales, reference values, and rounding rules. Resolution is a recording increment and differs from accuracy, uncertainty, and clinical agreement.

Compare observed and required unit strings exactly and separately flag unequal spellings that match under JavaScript lowercase.

When to use this tool

Use Home Health Measurement Unit Case Guard when you need one explicit measurement-record comparison or supplied calibration component.

How to use the tool and how it works

  1. Enter observed, required. 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 exact, caseOnlyDifference. Inspect exact, caseOnlyDifference before interpreting the associated values.

Compare observed and required unit strings exactly and separately flag unequal spellings that match under JavaScript lowercase.1

Input fieldMeaning and unitsAccepted input
observedObservedRequired. Text; maximum UTF-16 length 8192.
requiredRequiredRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
exactExactRequired. Boolean.
caseOnlyDifferenceCase Only DifferenceRequired. Boolean.
json
{
  "input": {
    "observed": "mg",
    "required": "Mg"
  },
  "output": {
    "exact": false,
    "caseOnlyDifference": true
  }
}

Limitations and assumptions

  • Case-only similarity is not permission to normalize a unit; no actual unit conversion, dimensional equivalence, instrument validity, or clinical interpretation is provided.
  • 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

Check instrument specifications, unit definitions, and appropriate professional interpretation before drawing a health conclusion.

References

  1. Calculation and input contract: health/home-health-measurement-unit-case-guard — tool.io

Similar or alternative tools