Description
Mark definitelyBeforeExpiry only below the lower bound, definitelyAfterExpiry only above the upper bound, and ambiguous at either bound and throughout the interval.
Laboratory intervals can describe expiry, retention, sample return, or correction timing. Exact dates and uncertain date ranges have different boundary meanings; numeric interval arithmetic does not establish a regulatory retention or expiry policy.
Mark definitelyBeforeExpiry only below the lower bound, definitelyAfterExpiry only above the upper bound, and ambiguous at either bound and throughout the interval.
When to use this tool
Use GLP Reagent Expiry Precision when you need a laboratory duration or interval comparison under an explicit timing rule.
How to use the tool and how it works
- Enter expiryLower, expiryUpper, checkDay. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read definitelyBeforeExpiry, definitelyAfterExpiry, ambiguous. Inspect definitelyBeforeExpiry, definitelyAfterExpiry, ambiguous before interpreting the associated values.
Require ordered expiryLower and expiryUpper. Mark definitelyBeforeExpiry only below the lower bound, definitelyAfterExpiry only above the upper bound, and ambiguous at either bound and throughout the interval.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| expiryLower | Expiry Lower | Required. Safe integer. |
| expiryUpper | Expiry Upper | Required. Safe integer. |
| checkDay | Check Day | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| definitelyBeforeExpiry | Definitely Before Expiry | Required. Boolean. |
| definitelyAfterExpiry | Definitely After Expiry | Required. Boolean. |
| ambiguous | True unless checkDay is strictly before expiryLower or strictly after expiryUpper, including equality at either bound. | Required. Boolean. |
{
"input": {
"expiryLower": 100,
"expiryUpper": 130,
"checkDay": 120
},
"output": {
"definitelyBeforeExpiry": false,
"definitelyAfterExpiry": false,
"ambiguous": true
}
} Limitations and assumptions
- Coordinates share a day basis; even a collapsed bound is ambiguous at equality, and the tool does not select a manufacturer's expiry convention or determine reagent suitability.
- 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
Consult the controlled study and retention procedures for the applicable time convention. Authenticate the source dates and resolve uncertain endpoints before making a disposition decision.
References
Similar or alternative tools
- Cleaning Log Reference Time Margin
Require nonnegative creditedDuration and return suppliedDueAt-recordedAt+creditedDuration.
- GLP Archive Loan Return Window Gap
Return extended due date coordinate, elapsed loan duration, and positive overdue duration.