Description
Scale the numerator and denominator to a coherent basis, divide them, and multiply by reportScale for reportedRatio.
A conversion factor maps a quantity onto a declared reporting basis. For ratios and rates, numerator and denominator units must be made coherent before comparison.
Scale the numerator and denominator to a coherent basis, divide them, and multiply by reportScale for reportedRatio.
When to use this tool
Use Urine Creatinine Ratio Unit Basis Check when you need a transparent conversion with factors you already know.
How to use the tool and how it works
- Enter numeratorValue, denominatorValue, numeratorScale, denominatorScale, reportScale. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read coherentRatio, reportedRatio. Use the output convention below.
Scale the numerator and denominator to a coherent basis, divide them, and multiply by reportScale for reportedRatio. Denominator and all scale factors must be positive.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| numeratorValue | Numerator Value | Required. Finite number; minimum 0. |
| denominatorValue | Denominator Value | Required. Finite number; strictly above 0. |
| numeratorScale | Multiplier converting numeratorValue to the coherent numerator unit. | Required. Finite number; strictly above 0. |
| denominatorScale | Multiplier converting denominatorValue to the coherent denominator unit. | Required. Finite number; strictly above 0. |
| reportScale | Multiplier from the coherent ratio to the desired reporting ratio. | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| coherentRatio | Scaled numerator divided by scaled denominator; units follow those two coherent bases. | Required. Finite number. |
| reportedRatio | Coherent ratio multiplied by reportScale. | Required. Finite number. |
{
"input": {
"numeratorValue": 30,
"denominatorValue": 10,
"numeratorScale": 1,
"denominatorScale": 2,
"reportScale": 100
},
"output": {
"coherentRatio": 1.5,
"reportedRatio": 150
}
} Limitations and assumptions
- The caller must choose compatible units and reportScale; no analyte-specific conversion or clinical interpretation is supplied.
- 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
Verify the laboratory's unit definitions and analyte-specific factors, then compare converted quantities on the same basis.
References
Similar or alternative tools
- Renal Analyte Unit Gap
Multiply reportedValue by suppliedUnitFactor and dilutionFactor, then subtract referenceValue for residual.
- Specimen Mass Unit Gap
Multiply recordedMass by positive unitFactor, then subtract referenceMass to return the signed gap.