Description
Return first-onset-minus-observation-start as minimumDays and exact prior-to-first difference only when known, otherwise exactDays zero with exactPresent false.
Menstrual and visit records can contain uncertain onsets, partial observation windows, and supplied day origins. A bounded interval calculation describes those records without predicting fertility or establishing a normal clinical pattern.
Return first-onset-minus-observation-start as minimumDays and exact prior-to-first difference only when known, otherwise exactDays zero with exactPresent false.
When to use this tool
Use Cycle Record Left Censored Interval Tag when you need one explicit day-coordinate or uncertainty-bound component.
How to use the tool and how it works
- Enter observationStart, firstOnset, priorOnset, priorKnown. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read minimumDays, exactDays, exactPresent. Inspect exactPresent before interpreting the associated values.
Require firstOnset at least observationStart and, when priorKnown, priorOnset no later than that start. Return first-onset-minus-observation-start as minimumDays and exact prior-to-first difference only when known, otherwise exactDays zero with exactPresent false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| observationStart | Observation Start | Required. Safe integer. |
| firstOnset | First Onset | Required. Safe integer. |
| priorOnset | Prior Onset | Required. Safe integer. |
| priorKnown | Prior Known | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| minimumDays | Lower bound from observation start to first onset. | Required. Safe integer. |
| exactDays | Prior-to-first interval only when exactPresent; zero placeholder otherwise. | Required. Safe integer. |
| exactPresent | Exact Present | Required. Boolean. |
{
"input": {
"observationStart": 100,
"firstOnset": 120,
"priorOnset": 95,
"priorKnown": true
},
"output": {
"minimumDays": 20,
"exactDays": 25,
"exactPresent": true
}
} Limitations and assumptions
- MinimumDays is a lower bound for a left-censored interval; exact zero is a placeholder when prior onset is unknown. No cycle normality, fertility, pregnancy, or future onset is inferred.
- 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
Preserve uncertainty and consult an appropriate health professional for symptoms, clinical interpretation, or care scheduling.
References
Similar or alternative tools
- Menstrual Diary Cycle Length One Pair
Return onset difference and that difference minus or plus the sum of uncertainties.
- Research Cycle Day Offset
Subtract suppliedCycleOrigin from recordedDay and add one only when oneBased.