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
- Enter observed, required. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| observed | Observed | Required. Text; maximum UTF-16 length 8192. |
| required | Required | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| exact | Exact | Required. Boolean. |
| caseOnlyDifference | Case Only Difference | Required. Boolean. |
{
"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
Similar or alternative tools
- Clinical Unit Case Sensitive Prefix Tag
Return exactMatch and caseOnlyDifference when unequal spellings become equal under JavaScript lowercase.
- Wearable Unit Resolution Ratio
Convert each resolution to the common base and return firstBaseResolution/secondBaseResolution.