Skip to content

Main content

Pregnancy Study Dating Anchor Offset Tool

Compare supplied dating anchors on a common research day index.

Loading tool…

Description

Compare supplied dating anchors on a common research day index.

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.

Compare supplied dating anchors on a common research day index.

When to use this tool

Use Pregnancy Study Dating Anchor Offset when you need this supplied research age, date, interval, clock, provenance, or record-rule calculation.

How to use the tool and how it works

  1. Enter firstAnchorDay, secondAnchorDay, observationDay. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read anchorDifferenceDays, firstRelativeDay, secondRelativeDay. Use the output convention below.

Return anchorDifferenceDays=secondAnchorDay-firstAnchorDay and each observation-relative day as observationDay minus the respective anchor.1

Input fieldMeaning and unitsAccepted input
firstAnchorDayFirst Anchor DayRequired. Safe integer.
secondAnchorDaySecond Anchor DayRequired. Safe integer.
observationDayObservation DayRequired. Safe integer.
Output fieldInterpretationReturned shape
anchorDifferenceDaysAnchor Difference DaysRequired. Safe integer.
firstRelativeDayFirst Relative DayRequired. Safe integer.
secondRelativeDaySecond Relative DayRequired. Safe integer.
json
{
  "input": {
    "firstAnchorDay": 100,
    "secondAnchorDay": 103,
    "observationDay": 190
  },
  "output": {
    "anchorDifferenceDays": 3,
    "firstRelativeDay": 90,
    "secondRelativeDay": 87
  }
}

Limitations and assumptions

  • Inputs are integer day coordinates on one basis. The tool compares supplied anchors without deciding which dating method is clinically correct, reconciling uncertain dates, or determining gestational age for 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

  1. Calculation and input contract: obstetrics/pregnancy-study-dating-anchor-offset — tool.io

Similar or alternative tools