Description
Test event at or after start and strictly before end, and flag exact equality with the excluded end.
Epidemiological windows encode observation and classification rules on a timeline. Endpoint inclusion, late entry and supplied washout periods change counts, but a local timing flag does not establish infection, clinical risk or a validated case definition.
Test event at or after start and strictly before end, and flag exact equality with the excluded end.
When to use this tool
Use Risk Window Halfopen Boundary when you need a supplied surveillance-time or risk-window calculation.
How to use the tool and how it works
- Enter eventTime, windowStart, windowEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read inRiskWindow, atExcludedEnd. Inspect inRiskWindow, atExcludedEnd before interpreting the associated values.
Require ordered window bounds. Test event at or after start and strictly before end, and flag exact equality with the excluded end.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| eventTime | Event Time | Required. Finite number. |
| windowStart | Window Start | Required. Finite number. |
| windowEnd | Window End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| inRiskWindow | In Risk Window | Required. Boolean. |
| atExcludedEnd | At Excluded End | Required. Boolean. |
{
"input": {
"eventTime": 20,
"windowStart": 10,
"windowEnd": 20
},
"output": {
"inRiskWindow": false,
"atExcludedEnd": true
}
} Limitations and assumptions
- A zero-width window includes no event. Time units/origin are supplied and this membership does not establish clinical risk or actual follow-up eligibility.
- 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
Apply the appropriate study protocol or public-health definition to verified records. Resolve calendar, clock, follow-up and censoring conventions before interpreting timing as epidemiological evidence.
References
Similar or alternative tools
- Risk Window Left Entry Offset
Return max(0,enteredAt-windowStart) and max(0,windowEnd-max(windowStart,enteredAt)).
- Contact Risk Window Overlap Duration Term Tool
Duration overlap of half-open contact and caller-supplied risk intervals, without assigning infection risk.