Description
Report diary episode durations, onset spacing and signed rest gap.
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.
Report diary episode durations, onset spacing and signed rest gap.
When to use this tool
Use Maternity Diary Contraction Interval Term 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 firstStart, firstEnd, nextStart, nextEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read firstDuration, nextDuration, onsetInterval, restInterval, overlap. Inspect overlap before interpreting the associated values.
Require firstEnd>=firstStart, nextStart>=firstStart, and nextEnd>=nextStart. Return both event durations, onsetInterval=nextStart-firstStart, restInterval=nextStart-firstEnd, and overlap when nextStart<firstEnd.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstStart | First Start | Required. Finite number. |
| firstEnd | First End | Required. Finite number. |
| nextStart | Next Start | Required. Finite number. |
| nextEnd | Next End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| firstDuration | First Duration | Required. Finite number. |
| nextDuration | Next Duration | Required. Finite number. |
| onsetInterval | Onset Interval | Required. Finite number. |
| restInterval | Next onset minus first end; negative when supplied intervals overlap. | Required. Finite number. |
| overlap | Overlap | Required. Boolean. |
{
"input": {
"firstStart": 0,
"firstEnd": 45,
"nextStart": 180,
"nextEnd": 230
},
"output": {
"firstDuration": 45,
"nextDuration": 50,
"onsetInterval": 180,
"restInterval": 135,
"overlap": false
}
} Limitations and assumptions
- Times need one unit and origin. Negative rest intervals represent overlap, not an error; this records supplied diary timing without detecting contractions, diagnosing labor, or recommending when or how to seek obstetric 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
- Visit Window Coverage Fraction
Audit supplied research visit-window observation coverage without clinical scheduling guidance.
- Maternity Clock Precision Overlap
Compare closed timestamp uncertainty envelopes, including point contact, without inferring event sequence.