MAGENT

Kidney · LIVE

VURx (vesicoureteral reflux index)

Sum the Kirsch 2014 VURx factors (VUR timing 1-3, female sex, grade IV-V, complete ureteral duplication or periureteral diverticulum) and return score 1-6 with that derivation paper's improvement or resolution percent.

LIVE $0.005 USDC GET /api/calc/vurx

Markdown: /docs/vurx.md · Canonical: https://magentlab.com/docs/vurx

Not a medical device. Not a diagnosis, dose, or listing recommendation.

What it computes

Sum the Kirsch 2014 VURx factors (VUR timing 1-3, female sex, grade IV-V, complete ureteral duplication or periureteral diverticulum) and return score 1-6 with that derivation paper's improvement or resolution percent.

When to use

When an agent has caller-assigned VUR timing, sex, grade IV-V vs I-III, and ureteral anomaly for a child younger than 2 years with primary VUR and needs the Kirsch 2014 VURx total and that paper's improvement or resolution percent. magent does not read a VCUG.

When not to use

  • Not a medical device.
  • Published for children younger than 2 years with primary vesicoureteral reflux (Kirsch 2014). Does not expand the age range.
  • The caller assigns vur_timing, female, high_grade (IV-V vs I-III), and ureteral_anomaly. magent does not read a VCUG or assign grade from images.
  • Improvement or resolution percents are Kirsch 2014 derivation rates only (1: 89%, 2: 69%, 3: 53%, 4: 16%, 5-6: 11%). Does not emit later validation percents.
  • Not a surgery order, not a resolution diagnosis, and not a named risk class beyond those percents.

Formula

VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%

Citation

Title
Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age
Authors
Kirsch AJ, Arlen AM, Leong T, et al
Source
J Pediatr Urol. 2014;10(6):1249-1254
DOI
10.1016/j.jpurol.2014.06.019

Worked example

Male, voiding only, not high grade, no anomaly

Given: female=falsehigh_grade=falseureteral_anomaly=falsevur_timing=voiding

  1. vur_timing voiding = 1
  2. female false = 0
  3. high_grade false = 0
  4. ureteral_anomaly false = 0
  5. score = 1 (published minimum); improvement or resolution 89%

Early-mid filling, male, not high grade, no anomaly

Given: female=falsehigh_grade=falseureteral_anomaly=falsevur_timing=early_mid_filling

  1. vur_timing early_mid_filling = 3
  2. female, high_grade, and ureteral_anomaly each 0
  3. score = 3; improvement or resolution 53%

Female, early-mid filling, high grade, ureteral anomaly

Given: female=truehigh_grade=trueureteral_anomaly=truevur_timing=early_mid_filling

  1. vur_timing early_mid_filling = 3
  2. female true = 1
  3. high_grade true = 1
  4. ureteral_anomaly true = 1
  5. score = 6 (published maximum); improvement or resolution 11%

Also searched as

  • vesicoureteral reflux index
  • VURx
  • Kirsch VURx
  • VUR index
  • reflux resolution score
  • primary VUR improvement
  • vesicoureteral reflux score
  • VURx children under 2

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/vurx?female=false&vur_timing=voiding&high_grade=false&ureteral_anomaly=false

Full URL: https://api.magentlab.com/api/calc/vurx?female=false&vur_timing=voiding&high_grade=false&ureteral_anomaly=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/vurx?female=false&vur_timing=voiding&high_grade=false&ureteral_anomaly=false"

Parameters

Name Type Required Description
female boolean required Female sex (Kirsch 2014: 1 point). false for male (0 points). true or false. magent does not assign sex from a chart.
vur_timing string required · voiding, late_filling, early_mid_filling Caller-assigned VUR timing on VCUG (Kirsch 2014): voiding (1; voiding only), late_filling (2), or early_mid_filling (3; early- or mid-filling). magent does not read a VCUG.
high_grade boolean required Whether VUR grade is IV or V (Kirsch 2014: 1 point). false for grades I-III (0 points). true or false. magent does not assign grade from images.
ureteral_anomaly boolean required Complete ureteral duplication or periureteral diverticulum (Kirsch 2014: 1 point). true or false. magent does not read a VCUG.

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.

POST /api/calc/vurx Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 PREVIEW

  • 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": [
    {
      "female": "false",
      "high_grade": "false",
      "ureteral_anomaly": "false",
      "vur_timing": "voiding"
    },
    {
      "female": "false",
      "high_grade": "false",
      "ureteral_anomaly": "false",
      "vur_timing": "voiding"
    }
  ]
}

Open bulk paywall →

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/vurx",
  "items": [
    {
      "components": [
        {
          "value": "voiding",
          "factor": "vur_timing",
          "points": 1,
          "present": true
        },
        {
          "factor": "female",
          "points": 0,
          "present": false
        },
        {
          "factor": "high_grade",
          "points": 0,
          "present": false
        },
        {
          "factor": "ureteral_anomaly",
          "points": 0,
          "present": false
        }
      ],
      "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": "Kirsch AJ, Arlen AM, Leong T, et al",
        "doi": "10.1016/j.jpurol.2014.06.019",
        "id": "kirsch-2014",
        "pmid": "25511573",
        "source": "J Pediatr Urol. 2014;10(6):1249-1254",
        "title": "Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"
      },
      "formula": "vurx",
      "formula_expression": "VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%",
      "max_score": 6,
      "score": 1,
      "female": false,
      "high_grade": false,
      "improvement_or_resolution_percent": 89,
      "ureteral_anomaly": false,
      "vur_timing": "voiding"
    },
    {
      "components": [
        {
          "value": "voiding",
          "factor": "vur_timing",
          "points": 1,
          "present": true
        },
        {
          "factor": "female",
          "points": 0,
          "present": false
        },
        {
          "factor": "high_grade",
          "points": 0,
          "present": false
        },
        {
          "factor": "ureteral_anomaly",
          "points": 0,
          "present": false
        }
      ],
      "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": "Kirsch AJ, Arlen AM, Leong T, et al",
        "doi": "10.1016/j.jpurol.2014.06.019",
        "id": "kirsch-2014",
        "pmid": "25511573",
        "source": "J Pediatr Urol. 2014;10(6):1249-1254",
        "title": "Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"
      },
      "formula": "vurx",
      "formula_expression": "VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%",
      "max_score": 6,
      "score": 1,
      "female": false,
      "high_grade": false,
      "improvement_or_resolution_percent": 89,
      "ureteral_anomaly": false,
      "vur_timing": "voiding"
    }
  ]
}

Response

Field Type Description
formula string vurx
formula_expression string Exact expression used
score integer Kirsch 2014 VURx points 1-6
max_score integer Always 6
improvement_or_resolution_percent integer Kirsch 2014 derivation improvement or resolution percent: 89 (score 1), 69 (2), 53 (3), 16 (4), or 11 (5-6). Not later validation percents.
female boolean Echo of the caller-assigned female flag
vur_timing string Echo of caller-assigned timing: voiding, late_filling, or early_mid_filling
high_grade boolean Echo of the caller-assigned grade IV-V flag
ureteral_anomaly boolean Echo of the caller-assigned complete ureteral duplication or periureteral diverticulum flag
components array Per-factor points
citation object Kirsch et al. J Pediatr Urol 2014 citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "components": [
    {
      "value": "voiding",
      "factor": "vur_timing",
      "points": 1,
      "present": true
    },
    {
      "factor": "female",
      "points": 0,
      "present": false
    },
    {
      "factor": "high_grade",
      "points": 0,
      "present": false
    },
    {
      "factor": "ureteral_anomaly",
      "points": 0,
      "present": false
    }
  ],
  "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": "Kirsch AJ, Arlen AM, Leong T, et al",
    "doi": "10.1016/j.jpurol.2014.06.019",
    "id": "kirsch-2014",
    "pmid": "25511573",
    "source": "J Pediatr Urol. 2014;10(6):1249-1254",
    "title": "Vesicoureteral reflux index (VURx): a novel tool to predict primary reflux improvement and resolution in children less than 2 years of age"
  },
  "formula": "vurx",
  "formula_expression": "VURx = vur_timing (voiding 1, late_filling 2, early_mid_filling 3) + female (1) + high_grade (grade IV-V 1) + ureteral_anomaly (complete ureteral duplication or periureteral diverticulum 1); min 1, max 6; Kirsch 2014 children <2 years; improvement or resolution: 1 → 89%, 2 → 69%, 3 → 53%, 4 → 16%, 5-6 → 11%",
  "max_score": 6,
  "score": 1,
  "female": false,
  "high_grade": false,
  "improvement_or_resolution_percent": 89,
  "ureteral_anomaly": false,
  "vur_timing": "voiding"
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
400 invalid_vurx VURx inputs must match Kirsch 2014 gender, reflux timing, grade, and ureteral-anomaly factors from that paper. 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

  • Urine PCR — Compute the Ginsberg 1983 urine protein/creatinine ratio (mg/mg) from a single-void urine protein and urine creatinine, and return that rounded ratio as estimated_g_day (numeric estimate of 24-h protein g/day).
  • Schwartz 2009 eGFR — Compute the 2009 Schwartz bedside CKiD eGFR in mL/min/1.73m2 from height and serum creatinine.

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.