Description
Subtract suppliedCorrectionDays from recordedAgeDays, then subtract referenceAgeDays for gapDays.
Age is a difference between an event and a selected origin. Gestational, chronological, corrected, and source-record coordinates can differ even when expressed in the same time unit.
Subtract suppliedCorrectionDays from recordedAgeDays, then subtract referenceAgeDays for gapDays.
When to use this tool
Use Corrected Age Reference Gap when you need to compare explicit age origins or recorded time coordinates.
How to use the tool and how it works
- Enter recordedAgeDays, suppliedCorrectionDays, referenceAgeDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read correctedAgeDays, gapDays. Use the output convention below.
Subtract suppliedCorrectionDays from recordedAgeDays, then subtract referenceAgeDays for gapDays.1
Corrected age accounts for prematurity by subtracting the time born early from chronological age. This tool accepts a correction explicitly instead of choosing a gestational reference or clinical policy.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordedAgeDays | Recorded Age Days | Required. Safe integer. |
| suppliedCorrectionDays | Supplied Correction Days | Required. Safe integer. |
| referenceAgeDays | Reference Age Days | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| correctedAgeDays | Corrected Age Days | Required. Safe integer. |
| gapDays | Gap Days | Required. Safe integer. |
{
"input": {
"recordedAgeDays": 100,
"suppliedCorrectionDays": 20,
"referenceAgeDays": 75
},
"output": {
"correctedAgeDays": 80,
"gapDays": 5
}
} Limitations and assumptions
- The correction is caller supplied and signed outputs are possible; this does not select a clinical correction policy.
- 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
Keep the original timestamps and age definitions, and confirm the intended convention with the relevant clinical or research protocol.
References
-
Calculation and input contract: neonatology/corrected-age-reference-gap — tool.io
-
Corrected Age For Preemies — American Academy of Pediatrics
Similar or alternative tools
- Neonatal Record Postmenstrual Age Anchor
Add nonnegative integer gestationAtBirthDays and chronologicalAgeDays.
- Postmenstrual Age Reference Gap
Add gestationalDaysAtBirth and postnatalDays, then subtract referenceDays for gap.