Skip to content

Main content

Pregnancy Dating Discrepancy Days

Compare two explicitly supplied pregnancy date estimates without deciding which estimate to use.

Loading tool…

Description

Compare two supplied estimated pregnancy dates.

Maternity records distinguish estimated dates, recorded gestational age, postpartum calendar time and linked maternal/infant identifiers. Completed weeks plus remaining days is a representation of supplied days, not a dating estimate. Image planes, channels and birth-order labels depend on verified clinical records and source conventions.

Compare two supplied estimated pregnancy dates.

When to use this tool

Use Pregnancy Dating Discrepancy Days when you already have firstEstimatedDate, secondEstimatedDate and need to compare two supplied estimated pregnancy dates.

How to use the tool and how it works

  1. Enter firstEstimatedDate, secondEstimatedDate. 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 secondMinusFirstDays, absoluteDiscrepancyDays. Use the output convention below.

Parse real UTC dates; return second-first in days and its nonnegative absolute magnitude.1

Input fieldMeaning and unitsAccepted input
firstEstimatedDateFirst Estimated DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
secondEstimatedDateSecond Estimated DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
Output fieldInterpretationReturned shape
secondMinusFirstDaysSigned UTC calendar-day difference between already estimated dates; no pregnancy dating model is applied.Required. Finite number.
absoluteDiscrepancyDaysAbsolute Discrepancy DaysRequired. Finite number.
json
{
  "input": {
    "firstEstimatedDate": "2027-01-10",
    "secondEstimatedDate": "2027-01-15"
  },
  "output": {
    "secondMinusFirstDays": 5,
    "absoluteDiscrepancyDays": 5
  }
}

Limitations and assumptions

  • No pregnancy dating, due date, uncertainty threshold or appropriate clinical estimate is selected.
  • 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.

Alternative or Complementary methods

Consult the original dating, visit, imaging and birth records for a substantive question. Preserve each estimate's source and measurement convention; local date differences and labels do not choose a pregnancy date or assess maternal/fetal health.

References

  1. Calculation and input contract: obstetrics/pregnancy-dating-discrepancy-days — tool.io

Similar or alternative tools