MAGENT

Emergency · LIVE

RegiSCAR DRESS score (Kardaun 2007)

RegiSCAR

Sum the ten Kardaun 2007 RegiSCAR DRESS scoring-letter items from caller-assigned flags, eosinophilia grade, and organ count, and return the −4 to 9 total and the published none/possible/probable/definite band.

LIVE $0.005 USDC GET /api/calc/regiscar

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

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

What it computes

Sum the ten Kardaun 2007 RegiSCAR DRESS scoring-letter items from caller-assigned flags, eosinophilia grade, and organ count, and return the −4 to 9 total and the published none/possible/probable/definite band.

When to use

When an agent has already assigned the Kardaun 2007 scoring-letter items and needs the published total and validation band. magent does not count eosinophils, read a biopsy, measure BSA, or diagnose DRESS.

When not to use

  • Not a medical device and not a DRESS diagnosis.
  • magent does not count eosinophils or read a biopsy. Each item is caller-assigned. Biopsy unknown is not offered: biopsy_compatible must be true (0) or false (−1).
  • Not SCORTEN and not J-SCAR.
  • Scoring is the Kardaun 2007 Br J Dermatol scoring letter, not the 2013 prospective series.

Formula

RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6

Citation

Title
Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?
Authors
Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC
Source
Br J Dermatol. 2007;156(3):609-611
DOI
10.1111/j.1365-2133.2006.07704.x

Worked example

Worked example scores −1 none

Given: alternative_causes_excluded=falseatypical_lymphocytes=falsebiopsy_compatible=trueeosinophilia=nonefever_ge_38_5=truelymphadenopathy_ge_2_sites=falseorgans=0rash_gt_50_bsa=falserash_suggestive=falseresolution_ge_15_days=true

  1. fever_ge_38_5 true → 0; lymphadenopathy_ge_2_sites false → 0; eosinophilia none → 0; atypical_lymphocytes false → 0; rash_gt_50_bsa false → 0
  2. rash_suggestive false → −1; biopsy_compatible true → 0; organs 0 → 0; resolution_ge_15_days true → 0; alternative_causes_excluded false → 0
  3. Score = −1 (max 9); regiscar_band none

Also searched as

  • RegiSCAR DRESS
  • Kardaun 2007
  • DRESS validation score
  • drug reaction with eosinophilia
  • RegiSCAR score
  • DRESS syndrome score
  • Kardaun scoring letter
  • cutaneous drug reaction score

Try

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

/api/calc/regiscar?fever_ge_38_5=true&lymphadenopathy_ge_2_sites=false&eosinophilia=none&atypical_lymphocytes=false&rash_gt_50_bsa=false&rash_suggestive=false&biopsy_compatible=true&organs=0&resolution_ge_15_days=true&alternative_causes_excluded=false

Full URL: https://api.magentlab.com/api/calc/regiscar?fever_ge_38_5=true&lymphadenopathy_ge_2_sites=false&eosinophilia=none&atypical_lymphocytes=false&rash_gt_50_bsa=false&rash_suggestive=false&biopsy_compatible=true&organs=0&resolution_ge_15_days=true&alternative_causes_excluded=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/regiscar?fever_ge_38_5=true&lymphadenopathy_ge_2_sites=false&eosinophilia=none&atypical_lymphocytes=false&rash_gt_50_bsa=false&rash_suggestive=false&biopsy_compatible=true&organs=0&resolution_ge_15_days=true&alternative_causes_excluded=false"

Parameters

Name Type Required Description
fever_ge_38_5 boolean required Caller-assigned fever ≥38.5 °C (Kardaun 2007). true scores 0; false scores −1. magent does not measure temperature.
lymphadenopathy_ge_2_sites boolean required Caller-assigned lymphadenopathy involving ≥2 sites (Kardaun 2007). true scores 1; false scores 0. magent does not examine lymph nodes.
eosinophilia string required · none, mild, severe Caller-assigned eosinophilia (Kardaun 2007): none (0), mild (1; 700–1499/µL or 10–19%), or severe (2; ≥1500/µL or ≥20%). magent does not count eosinophils.
atypical_lymphocytes boolean required Caller-assigned atypical lymphocytes (Kardaun 2007). true scores 1; false scores 0. magent does not read a blood film.
rash_gt_50_bsa boolean required Caller-assigned rash extent >50% body surface area (Kardaun 2007). true scores 1; false scores 0. magent does not measure BSA.
rash_suggestive boolean required Caller-assigned rash morphology suggestive of DRESS (Kardaun 2007). true scores 1; false scores −1. magent does not examine the skin.
biopsy_compatible boolean required Caller-assigned skin-biopsy compatibility with DRESS (Kardaun 2007). true scores 0; false scores −1. Unknown is not offered. magent does not read a biopsy.
organs integer required Caller-assigned organ involvement count (Kardaun 2007): integer 0, 1, or 2 (≥2 organs scores 2). Values outside 0–2 are rejected. magent does not diagnose organ injury.
resolution_ge_15_days boolean required Caller-assigned resolution ≥15 days (Kardaun 2007). true scores 0; false scores −1. magent does not time the illness.
alternative_causes_excluded boolean required Caller-assigned exclusion of alternative causes (Kardaun 2007). true scores 1; false scores 0. magent does not exclude infection or other diagnoses.

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/regiscar 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": [
    {
      "alternative_causes_excluded": "false",
      "atypical_lymphocytes": "false",
      "biopsy_compatible": "true",
      "eosinophilia": "none",
      "fever_ge_38_5": "true",
      "lymphadenopathy_ge_2_sites": "false",
      "organs": "0",
      "rash_gt_50_bsa": "false",
      "rash_suggestive": "false",
      "resolution_ge_15_days": "true"
    },
    {
      "alternative_causes_excluded": "false",
      "atypical_lymphocytes": "false",
      "biopsy_compatible": "true",
      "eosinophilia": "none",
      "fever_ge_38_5": "true",
      "lymphadenopathy_ge_2_sites": "false",
      "organs": "0",
      "rash_gt_50_bsa": "false",
      "rash_suggestive": "false",
      "resolution_ge_15_days": "true"
    }
  ]
}

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/regiscar",
  "items": [
    {
      "components": [
        {
          "value": true,
          "factor": "fever_ge_38_5",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "lymphadenopathy_ge_2_sites",
          "points": 0,
          "present": true
        },
        {
          "value": "none",
          "factor": "eosinophilia",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "atypical_lymphocytes",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "rash_gt_50_bsa",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "rash_suggestive",
          "points": -1,
          "present": true
        },
        {
          "value": true,
          "factor": "biopsy_compatible",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "organs",
          "points": 0,
          "present": true
        },
        {
          "value": true,
          "factor": "resolution_ge_15_days",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "alternative_causes_excluded",
          "points": 0,
          "present": true
        }
      ],
      "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": "Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC",
        "doi": "10.1111/j.1365-2133.2006.07704.x",
        "id": "kardaun-2007",
        "pmid": "17300272",
        "source": "Br J Dermatol. 2007;156(3):609-611",
        "title": "Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"
      },
      "formula": "regiscar",
      "formula_expression": "RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6",
      "max_score": 9,
      "score": -1,
      "regiscar_band": "none"
    },
    {
      "components": [
        {
          "value": true,
          "factor": "fever_ge_38_5",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "lymphadenopathy_ge_2_sites",
          "points": 0,
          "present": true
        },
        {
          "value": "none",
          "factor": "eosinophilia",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "atypical_lymphocytes",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "rash_gt_50_bsa",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "rash_suggestive",
          "points": -1,
          "present": true
        },
        {
          "value": true,
          "factor": "biopsy_compatible",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "organs",
          "points": 0,
          "present": true
        },
        {
          "value": true,
          "factor": "resolution_ge_15_days",
          "points": 0,
          "present": true
        },
        {
          "value": false,
          "factor": "alternative_causes_excluded",
          "points": 0,
          "present": true
        }
      ],
      "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": "Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC",
        "doi": "10.1111/j.1365-2133.2006.07704.x",
        "id": "kardaun-2007",
        "pmid": "17300272",
        "source": "Br J Dermatol. 2007;156(3):609-611",
        "title": "Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"
      },
      "formula": "regiscar",
      "formula_expression": "RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6",
      "max_score": 9,
      "score": -1,
      "regiscar_band": "none"
    }
  ]
}

Response

Field Type Description
formula string regiscar
formula_expression string Exact expression used
score integer Kardaun 2007 RegiSCAR DRESS points −4 to 9
max_score integer Always 9
regiscar_band string Published validation band: none (<2), possible (2–3), probable (4–5), or definite (≥6). Not a DRESS diagnosis.
components array Per-item caller-assigned points
citation object Kardaun 2007 Br J Dermatol scoring-letter citation
disclaimer string Not-a-device notice

Example JSON

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

{
  "components": [
    {
      "value": true,
      "factor": "fever_ge_38_5",
      "points": 0,
      "present": true
    },
    {
      "value": false,
      "factor": "lymphadenopathy_ge_2_sites",
      "points": 0,
      "present": true
    },
    {
      "value": "none",
      "factor": "eosinophilia",
      "points": 0,
      "present": true
    },
    {
      "value": false,
      "factor": "atypical_lymphocytes",
      "points": 0,
      "present": true
    },
    {
      "value": false,
      "factor": "rash_gt_50_bsa",
      "points": 0,
      "present": true
    },
    {
      "value": false,
      "factor": "rash_suggestive",
      "points": -1,
      "present": true
    },
    {
      "value": true,
      "factor": "biopsy_compatible",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "organs",
      "points": 0,
      "present": true
    },
    {
      "value": true,
      "factor": "resolution_ge_15_days",
      "points": 0,
      "present": true
    },
    {
      "value": false,
      "factor": "alternative_causes_excluded",
      "points": 0,
      "present": true
    }
  ],
  "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": "Kardaun SH, Sidoroff A, Valeyrie-Allanore L, Halevy S, Davidovici BB, Mockenhaupt M, Roujeau JC",
    "doi": "10.1111/j.1365-2133.2006.07704.x",
    "id": "kardaun-2007",
    "pmid": "17300272",
    "source": "Br J Dermatol. 2007;156(3):609-611",
    "title": "Variability in the clinical pattern of cutaneous side-effects of drugs with systemic symptoms: does a DRESS syndrome really exist?"
  },
  "formula": "regiscar",
  "formula_expression": "RegiSCAR = fever_ge_38_5 (true 0, false −1) + lymphadenopathy_ge_2_sites (true 1, false 0) + eosinophilia (none 0, mild 1, severe 2) + atypical_lymphocytes (true 1, false 0) + rash_gt_50_bsa (true 1, false 0) + rash_suggestive (true 1, false −1) + biopsy_compatible (true 0, false −1) + organs (0/1/≥2 → 0/1/2) + resolution_ge_15_days (true 0, false −1) + alternative_causes_excluded (true 1, false 0); Kardaun 2007 scoring letter; sum −4 to 9; none <2, possible 2–3, probable 4–5, definite ≥6",
  "max_score": 9,
  "score": -1,
  "regiscar_band": "none"
}

Client errors (HTTP 400)

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

HTTP Code When
400 invalid_regiscar RegiSCAR items must use the published Kardaun 2007 values (fever/lymphadenopathy/atypical_lymphocytes/rash flags; eosinophilia none, mild, or severe; organs 0-2; resolution_ge_15_days; alternative_causes_excluded). 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

  • SCORTEN — Sum the seven Bastuji-Garin 2000 SCORTEN risk factors from caller-assigned flags and return the 0–7 score and that paper's predicted in-hospital mortality token.

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.