calculate_due_date
Estimate a pregnancy due date and current stage using Naegele's rule, from the last menstrual period (LMP), conception date, or an IVF embryo-transfer date. Returns the estimated due date, weeks pregnant now, trimester and weeks remaining. Informational only, not medical advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | Reference date YYYY-MM-DD for "weeks pregnant now" (default today). | |
| date | Yes | The relevant date as YYYY-MM-DD: LMP, conception, or IVF transfer date. | |
| method | No | Dating method (default lmp). | |
| embryoAge | No | Embryo age in days at IVF transfer (commonly 3 or 5; default 5). |