Skip to content

Main content

Gestation Completed Week Day Label

Format explicitly supplied gestational days as completed weeks plus days without dating a pregnancy.

Loading tool…

Description

Express supplied gestational days as completed weeks and remaining days.

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.

Express supplied gestational days as completed weeks and remaining days.

When to use this tool

Use Gestation Completed Week Day Label when you already have recordedGestationalDays and need to express supplied gestational days as completed weeks and remaining days.

How to use the tool and how it works

  1. Enter recordedGestationalDays. 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 completedWeeks, remainingDays, label. Use the output convention below.

Require nonnegative safe whole recordedGestationalDays; return floor(days/7), days%7 and a weeks+days label.1

Input fieldMeaning and unitsAccepted input
recordedGestationalDaysAlready recorded nonnegative whole days; no conception date or gestational age is inferred.Required. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
completedWeeksCompleted WeeksRequired. Safe integer.
remainingDaysRemaining DaysRequired. Safe integer.
labelLabelRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "recordedGestationalDays": 198
  },
  "output": {
    "completedWeeks": 28,
    "remainingDays": 2,
    "label": "28+2"
  }
}

Limitations and assumptions

  • No gestational dating, viability, developmental assessment or treatment recommendation is performed.
  • 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

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/gestation-completed-week-day-label — tool.io

Similar or alternative tools