Description
Return record/review ages and remaining review margin.
Laboratory-safety administration tracks inspection records, equipment counts, training coverage and supplied policy limits. A local balance or current-status flag can reveal a record gap while actual equipment condition, training competence and adequate protection require independent verification.
Return record/review ages and remaining review margin.
When to use this tool
Use Protective Record Review Gap when checking the stated laboratory-safety record, timing, capacity or inventory convention.
How to use the tool and how it works
- Enter recordCreatedDate, lastReviewDate, evaluationDate, suppliedReviewDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read recordAgeDays, reviewAgeDays, reviewMarginDays. Use the output convention below.
Return record/review ages and remaining review margin. Validate real date-only strings with created <= review <= evaluation and nonnegative whole suppliedReviewDays; compute UTC day ages and reviewMarginDays = interval-reviewAge.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordCreatedDate | Record Created Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| lastReviewDate | Last Review Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| evaluationDate | Evaluation Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| suppliedReviewDays | Supplied Review Days | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| recordAgeDays | Record Age Days | Required. Safe integer. |
| reviewAgeDays | Review Age Days | Required. Safe integer. |
| reviewMarginDays | Review Margin Days | Required. Safe integer. |
{
"input": {
"recordCreatedDate": "2024-01-01",
"lastReviewDate": "2024-01-03",
"evaluationDate": "2024-01-08",
"suppliedReviewDays": 4
},
"output": {
"recordAgeDays": 7,
"reviewAgeDays": 5,
"reviewMarginDays": -1
}
} Limitations and assumptions
- Modern date years 0000-9999 are accepted; actual inspection, current safety status and appropriate review frequency are not verified.
- 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
Inspect actual equipment and verified records under the applicable procedures; use qualified risk assessment and professional judgment to determine adequate protection and actual authorization.
References
Similar or alternative tools
- Protective Equipment Review Age
Return review age and whether the record is future-dated.
- Protective Training Expiry Margin
Check a protective-training expiry boundary.