Skip to content

Main content

Pregnancy Study Age Anchor Token Tool

Audit a research age-anchor token and supplied day offset without deriving gestational age or clinical dating.

Loading tool…

Description

Audit a research age-anchor token and supplied day offset without deriving gestational age or clinical dating.

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 a research age-anchor token and supplied day offset without deriving gestational age or clinical dating.

When to use this tool

Use Pregnancy Study Age Anchor Token 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 anchorToken, allowedAnchors, elapsedDays, suppliedAnchorOffsetDays. 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 recognized, anchoredDays. Inspect recognized before interpreting the associated values.

Return recognized on exact membership of anchorToken in allowedAnchors, and anchoredDays=elapsedDays+suppliedAnchorOffsetDays.1

Input fieldMeaning and unitsAccepted input
anchorTokenAnchor TokenRequired. Text; maximum UTF-16 length 8192.
allowedAnchorsAllowed AnchorsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
elapsedDaysElapsed DaysRequired. Safe integer.
suppliedAnchorOffsetDaysSupplied Anchor Offset DaysRequired. Safe integer.
Output fieldInterpretationReturned shape
recognizedRecognizedRequired. Boolean.
anchoredDaysElapsed plus supplied offset, calculated even if recognized=false.Required. Safe integer.
json
{
  "input": {
    "anchorToken": "A",
    "allowedAnchors": [
      "A",
      "B"
    ],
    "elapsedDays": 100,
    "suppliedAnchorOffsetDays": 14
  },
  "output": {
    "recognized": true,
    "anchoredDays": 114
  }
}

Limitations and assumptions

  • AnchoredDays is calculated even when recognized=false. Vocabulary and offset are supplied, not authenticated or selected from clinical guidance; the result does not establish an actual pregnancy dating convention.
  • 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-age-anchor-token — tool.io

Similar or alternative tools