Neonatal · LIVE
Grobman 2007 first-visit VBAC
Grobman VBAC
Compute the Grobman 2007 first-prenatal-visit logistic probability of vaginal birth after cesarean from maternal age, prepregnancy BMI, caller-assigned ethnicity, any prior vaginal delivery, prior VBAC after cesarean, and recurrent cesarean indication.
Markdown: /docs/grobman-vbac.md · Canonical: https://magentlab.com/docs/grobman-vbac
Not a medical device. Not a diagnosis, dose, or listing recommendation.
What it computes
Compute the Grobman 2007 first-prenatal-visit logistic probability of vaginal birth after cesarean from maternal age, prepregnancy BMI, caller-assigned ethnicity, any prior vaginal delivery, prior VBAC after cesarean, and recurrent cesarean indication.
When to use
When an agent already has Grobman 2007 first-visit predictors and needs that paper's probability. Not a trial-of-labor order, not the Flamm admission score, not the 2009/2010 admission model, and not Grobman 2021.
When not to use
- Not a medical device and not a trial-of-labor or cesarean order.
- ethnicity is caller-assigned as african_american, hispanic, or other using Grobman 2007 terms. magent does not assign race or ethnicity.
- Grobman 2007 first prenatal visit logistic model only. Not the 2009/2010 admission or intrapartum model. A later MFMU model without race/ethnicity exists (Grobman 2021) and is not this tool.
- Age 12-55 and BMI 15-70 are clinical ranges for TOLAC. Grobman 2007 does not print those clamps.
- prior_vaginal, prior_vbac, and recurrent_indication are caller-assigned independently. magent does not infer obstetric history.
Formula
w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order
Citation
- Authors
- Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)
- Source
- Obstet Gynecol. 2007;109(4):806-812
Worked example
Age 30, BMI 25, ethnicity other, all flags false
Given:
age=30bmi_kg_m2=25ethnicity=otherprior_vaginal=falseprior_vbac=falserecurrent_indication=false
- ethnicity other → African American 0, Hispanic 0; prior_vaginal false → 0; prior_vbac false → 0; recurrent_indication false → 0
- w = 3.766 - 0.039×30 - 0.060×25 = 1.096
- vbac_probability = exp(1.096)/(1+exp(1.096))
Same inputs, african_american (published coefficient)
Given:
age=30bmi_kg_m2=25ethnicity=african_americanprior_vaginal=falseprior_vbac=falserecurrent_indication=false
- african_american subtracts 0.671 from the other-ethnicity logit
- w = 1.096 - 0.671 = 0.425; caller assigns ethnicity; magent does not assign race
Same inputs, hispanic (published coefficient)
Given:
age=30bmi_kg_m2=25ethnicity=hispanicprior_vaginal=falseprior_vbac=falserecurrent_indication=false
- hispanic subtracts 0.680 from the other-ethnicity logit
- w = 1.096 - 0.680 = 0.416; caller assigns ethnicity; magent does not assign race
Same other-ethnicity row, any prior vaginal delivery
Given:
age=30bmi_kg_m2=25ethnicity=otherprior_vaginal=trueprior_vbac=falserecurrent_indication=false
- prior_vaginal true adds 0.888 to the logit
- w = 1.096 + 0.888 = 1.984
Also searched as
- Grobman VBAC
- Grobman 2007 nomogram
- first prenatal visit VBAC
- MFMU VBAC prediction
- vaginal birth after cesarean probability
- TOLAC success probability
- Grobman first visit model
- NICHD MFMU VBAC
Try
Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.
Full URL: https://api.magentlab.com/api/calc/grobman_vbac?age=30&bmi_kg_m2=25ðnicity=other&prior_vaginal=false&prior_vbac=false&recurrent_indication=false
Call
Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params
return HTTP 400 before any quote or charge.
curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/grobman_vbac?age=30&bmi_kg_m2=25ðnicity=other&prior_vaginal=false&prior_vbac=false&recurrent_indication=false"
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
age |
integer | required | Maternal age in years (integer 12-55). Grobman 2007 coefficient -0.039 per year. 12-55 is a clinical range for TOLAC; the paper does not print that clamp. magent does not take a date of birth. |
bmi_kg_m2 |
number | required | Prepregnancy BMI in kg/m^2 (15-70). Grobman 2007 coefficient -0.060. 15-70 is a clinical range; the paper does not print that clamp. Caller-supplied; magent does not compute BMI from height and weight. |
ethnicity |
string | required · african_american, hispanic, other | Caller-assigned ethnicity as used in Grobman 2007: african_american, hispanic, or other (mutually exclusive paper terms; other is the reference). magent does not assign race or ethnicity. |
prior_vaginal |
boolean | required | Any prior vaginal delivery as assigned by the caller (Grobman 2007). true scores +0.888. true or false. magent does not read the obstetric history. |
prior_vbac |
boolean | required | VBAC after prior cesarean as assigned by the caller (Grobman 2007). true scores +1.003. true or false. magent does not infer this from prior_vaginal. |
recurrent_indication |
boolean | required | Recurring indication for cesarean as assigned by the caller (Grobman 2007). true scores -0.632. true or false. magent does not read the operative indication. |
Bulk (POST)
POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.
- 1 to 25 items. Each item uses the same keys as the GET query parameters.
- POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
- The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
- HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
- Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
- x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.
Example request (fixture)
{
"items": [
{
"age": "30",
"bmi_kg_m2": "25",
"ethnicity": "other",
"prior_vaginal": "false",
"prior_vbac": "false",
"recurrent_indication": "false"
},
{
"age": "30",
"bmi_kg_m2": "25",
"ethnicity": "other",
"prior_vaginal": "false",
"prior_vbac": "false",
"recurrent_indication": "false"
}
]
}
Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.
Example 200 (fixture)
{
"count": 2,
"path": "/api/calc/grobman_vbac",
"items": [
{
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"citation": {
"authors": "Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)",
"doi": "10.1097/01.AOG.0000259312.36053.02",
"id": "grobman-2007-vbac",
"pmid": "17400840",
"source": "Obstet Gynecol. 2007;109(4):806-812",
"title": "Development of a nomogram for prediction of vaginal birth after cesarean delivery"
},
"formula": "grobman_vbac",
"formula_expression": "w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order",
"age_years": 30,
"bmi_kg_m2": 25.0,
"linear_predictor": 1.096,
"ethnicity": "other",
"prior_vaginal": false,
"prior_vbac": false,
"recurrent_indication": false,
"vbac_probability": 0.75
},
{
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"citation": {
"authors": "Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)",
"doi": "10.1097/01.AOG.0000259312.36053.02",
"id": "grobman-2007-vbac",
"pmid": "17400840",
"source": "Obstet Gynecol. 2007;109(4):806-812",
"title": "Development of a nomogram for prediction of vaginal birth after cesarean delivery"
},
"formula": "grobman_vbac",
"formula_expression": "w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order",
"age_years": 30,
"bmi_kg_m2": 25.0,
"linear_predictor": 1.096,
"ethnicity": "other",
"prior_vaginal": false,
"prior_vbac": false,
"recurrent_indication": false,
"vbac_probability": 0.75
}
]
}
Response
| Field | Type | Description |
|---|---|---|
formula |
string | grobman_vbac |
formula_expression |
string | Grobman 2007 first prenatal visit logistic expression |
age_years |
integer | Maternal age in years used (12-55) |
bmi_kg_m2 |
number | Prepregnancy BMI in kg/m^2 used (15-70) |
ethnicity |
string | Caller-assigned african_american, hispanic, or other used |
prior_vaginal |
boolean | Caller-assigned any prior vaginal delivery used |
prior_vbac |
boolean | Caller-assigned VBAC after prior cesarean used |
recurrent_indication |
boolean | Caller-assigned recurring cesarean indication used |
linear_predictor |
number | Grobman 2007 logit w, 3 decimals |
vbac_probability |
number | exp(w)/(1+exp(w)) on 0-1, 3 decimals. A published probability, not a counseling band or trial-of-labor order. |
citation |
object | Grobman et al. Obstet Gynecol 2007 citation |
disclaimer |
string | Not-a-device notice |
Example JSON
Machine form of the same example. Frozen fixture. Not a live lookup.
{
"disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
"citation": {
"authors": "Grobman WA, Lai Y, Landon MB, Spong CY, Leveno KJ, Rouse DJ, Varner MW, Moawad AH, Caritis SN, Harper M, Wapner RJ, Sorokin Y, Miodovnik M, Carpenter M, Peaceman AM, O'Sullivan MJ, Sibai BM, Langer O, Thorp JM, Ramin SM, Mercer BM; National Institute of Child Health and Human Development (NICHD) Maternal-Fetal Medicine Units Network (MFMU)",
"doi": "10.1097/01.AOG.0000259312.36053.02",
"id": "grobman-2007-vbac",
"pmid": "17400840",
"source": "Obstet Gynecol. 2007;109(4):806-812",
"title": "Development of a nomogram for prediction of vaginal birth after cesarean delivery"
},
"formula": "grobman_vbac",
"formula_expression": "w = 3.766 - 0.039*age_years - 0.060*prepregnancy_bmi - 0.671*[african_american] - 0.680*[hispanic] + 0.888*[any prior vaginal delivery] + 1.003*[VBAC after prior cesarean] - 0.632*[recurring indication for cesarean]; vbac_probability = exp(w)/(1+exp(w)); ethnicity african_american|hispanic|other (caller-assigned Grobman 2007 terms, mutually exclusive; other is the reference; magent does not assign race or ethnicity); flags 1 if true else 0; first prenatal visit model; round linear_predictor and vbac_probability 3 decimals; not Grobman 2009/2010 admission; not Grobman 2021 race-free; not a TOLAC order",
"age_years": 30,
"bmi_kg_m2": 25.0,
"linear_predictor": 1.096,
"ethnicity": "other",
"prior_vaginal": false,
"prior_vbac": false,
"recurrent_indication": false,
"vbac_probability": 0.75
}
Client errors (HTTP 400)
Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_grobman_vbac |
Grobman 2007 first-visit VBAC inputs must match age, BMI, caller-assigned ethnicity, prior vaginal birth, prior VBAC, and recurrent cesarean indication. Returned before settlement; you are not charged. |
| 400 | invalid_flag |
boolean clinical flags must be true or false Returned before settlement; you are not charged. |
| 400 | invalid_items |
POST body must be a JSON object with only an items array Returned before settlement; you are not charged. |
| 400 | invalid_item_count |
items must be an array of 1 to 25 objects Returned before settlement; you are not charged. |
| 400 | invalid_item |
each items entry must be a JSON object Returned before settlement; you are not charged. |
Related tools
- Flamm VBAC score — Sum the Flamm 1997 admission VBAC points (max 10) from caller-assigned age, vaginal-birth history, first-cesarean indication, and admission cervical factors, and return the published 49% or 95% success rates only for scores 0–2 and 8–10.
- simplified Bishop score — Return the Laughon 2011 simplified Bishop score as the sum of three caller-assigned Bishop 1964 integers (dilation, station, effacement; each 0-3; max 9) and whether the score is >5.
- Bishop score — Return the Bishop 1964 pelvic score as the sum of five caller-assigned integer components (dilation, effacement, station, consistency, position).
Payment
Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s. Unpaid valid requests return HTTP 402 with a base64
PAYMENT-REQUIRED
header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake
and shared payment errors: Payments.
Stdio MCP: /docs/mcp.
Guarantees
- HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
- exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
- HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
- Execution is timeout-bounded and concurrency-capped.
- Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.