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
- Enter firstEstimatedDate, secondEstimatedDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read secondMinusFirstDays, absoluteDiscrepancyDays. Use the output convention below.
Parse real UTC dates; return second-first in days and its nonnegative absolute magnitude.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstEstimatedDate | First Estimated Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| secondEstimatedDate | Second Estimated Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| secondMinusFirstDays | Signed UTC calendar-day difference between already estimated dates; no pregnancy dating model is applied. | Required. Finite number. |
| absoluteDiscrepancyDays | Absolute Discrepancy Days | Required. Finite number. |
{
"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
Similar or alternative tools
- Maternity Visit Postpartum Day
Measure a visit's signed calendar days after a supplied birth date.
- Gestation Completed Week Day Label
Express supplied gestational days as completed weeks and remaining days.