Description
Audit supplied research visit-window observation coverage without clinical scheduling guidance.
Pregnancy and birth research records distinguish observed and estimated values, dating anchors, day coordinates, time precision, clock offsets, and source permissions. A notation conversion or interval comparison does not determine a clinical date or validate consent. The supplied reference convention and uncertainty need to remain visible.
Audit supplied research visit-window observation coverage without clinical scheduling guidance.
When to use this tool
Use Visit Window Coverage Fraction when you need this supplied research age, date, interval, clock, provenance, or record-rule calculation.
How to use the tool and how it works
- Enter observedStart, observedEnd, allowedStart, allowedEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read coveredDuration, fraction. Use the output convention below.
Require observedStart<=observedEnd and allowedStart<allowedEnd. Return coveredDuration=max(0,min(observedEnd,allowedEnd)-max(observedStart,allowedStart)) and fraction=coveredDuration/(allowedEnd-allowedStart).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| observedStart | Observed Start | Required. Finite number. |
| observedEnd | Observed End | Required. Finite number. |
| allowedStart | Allowed Start | Required. Finite number. |
| allowedEnd | Allowed End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| coveredDuration | Covered Duration | Required. Finite number. |
| fraction | Dimensionless fraction under the stated basis. | Required. Finite number. |
{
"input": {
"observedStart": 0,
"observedEnd": 20,
"allowedStart": 10,
"allowedEnd": 30
},
"output": {
"coveredDuration": 10,
"fraction": 0.5
}
} Limitations and assumptions
- All coordinates need one time unit and origin. The allowed window is supplied rather than clinical guidance, and overlap does not verify attendance, gestational timing, or appropriateness of care.
- 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
Use verified dates and sources together with the intended research or clinical assessment process. Check dating anchors, clock conventions, uncertainty, and whether a supplied reporting rule is appropriate for the question.
References
Similar or alternative tools
- Maternity Clock Precision Overlap
Compare closed timestamp uncertainty envelopes, including point contact, without inferring event sequence.
- Pregnancy Study Dating Anchor Offset
Compare supplied dating anchors on a common research day index.