MAGENT

Emergency · LIVE

Aldrete postanesthetic recovery score

Aldrete

Compute the Aldrete 1970 postanesthetic recovery score as the sum of five caller-assigned 0-2 signs (activity, respiration, circulation, consciousness, color) and return the 1970 recovery-room band.

LIVE $0.005 USDC GET /api/calc/aldrete

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

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

What it computes

Compute the Aldrete 1970 postanesthetic recovery score as the sum of five caller-assigned 0-2 signs (activity, respiration, circulation, consciousness, color) and return the 1970 recovery-room band.

When to use

When an agent has already assigned the five Aldrete 1970 signs and needs the published 0-10 total and 0_to_7 / 8_to_9 / 10 band. magent does not examine the patient or issue a PACU discharge order.

When not to use

  • Not a medical device and not a PACU discharge, ward-transfer, or monitoring order.
  • Each sign is a caller-supplied integer 0-2. magent does not observe activity, respiration, blood pressure change, consciousness, or color.
  • Aldrete 1970 five signs including color. Not the 1995 revision that replaced color with SpO2. Not Marshall-Chung PADSS.
  • Totals of 8 or 9 were acceptable for discharge from the recovery room to the ward; 10 is ideal; 7 or less indicated continuous close observation. That 1970 language is not a discharge order.

Formula

Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)

Citation

Title
A postanesthetic recovery score
Authors
Aldrete JA, Kroulik D
Source
Anesth Analg. 1970;49(6):924-934
DOI
10.1213/00000539-197011000-00020

Worked example

All signs 2

Given: activity=2circulation=2color=2consciousness=2respiration=2

  1. activity 2 + respiration 2 + circulation 2 + consciousness 2 + color 2
  2. Score = 10 (max 10); category 10 (ideal)

Color 0, other signs 2

Given: activity=2circulation=2color=0consciousness=2respiration=2

  1. activity 2 + respiration 2 + circulation 2 + consciousness 2 + color 0
  2. Score = 8; category 8_to_9 (acceptable for recovery-room discharge to the ward)

Score 7

Given: activity=2circulation=2color=0consciousness=1respiration=2

  1. activity 2 + respiration 2 + circulation 2 + consciousness 1 + color 0
  2. Score = 7; category 0_to_7 (continuous close observation)

Also searched as

  • Aldrete score
  • postanesthetic recovery score
  • Aldrete 1970
  • PACU recovery score
  • postanesthesia recovery score
  • recovery room score
  • post anaesthetic recovery
  • PAR score

Try

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

/api/calc/aldrete?activity=2&respiration=2&circulation=2&consciousness=2&color=2

Full URL: https://api.magentlab.com/api/calc/aldrete?activity=2&respiration=2&circulation=2&consciousness=2&color=2

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/aldrete?activity=2&respiration=2&circulation=2&consciousness=2&color=2"

Parameters

Name Type Required Description
activity integer required Muscle activity (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = moves 4 extremities voluntarily or on command; 1 = 2 extremities; 0 = none. magent does not examine the patient.
respiration integer required Respiration (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = able to deep breathe and cough freely; 1 = dyspnea or limited breathing; 0 = apneic. magent does not auscultate.
circulation integer required Circulation (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = BP within 20% of preanesthetic level; 1 = BP 20-50% of preanesthetic; 0 = BP 50% or more from preanesthetic. magent does not measure blood pressure.
consciousness integer required Consciousness (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = fully awake; 1 = arousable on calling; 0 = not responding. magent does not examine the patient.
color integer required Color (Aldrete 1970). Integer 0, 1, or 2 as assigned by the caller. 2 = pink; 1 = pale, dusky, blotchy, jaundiced, or other; 0 = cyanotic. Not the 1995 SpO2 revision. magent does not observe skin color.

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/aldrete 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": [
    {
      "activity": "2",
      "circulation": "2",
      "color": "2",
      "consciousness": "2",
      "respiration": "2"
    },
    {
      "activity": "2",
      "circulation": "2",
      "color": "2",
      "consciousness": "2",
      "respiration": "2"
    }
  ]
}

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/aldrete",
  "items": [
    {
      "components": [
        {
          "value": 2,
          "factor": "activity",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "respiration",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "circulation",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "consciousness",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "color",
          "points": 2,
          "present": true
        }
      ],
      "category": "10",
      "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": "Aldrete JA, Kroulik D",
        "doi": "10.1213/00000539-197011000-00020",
        "id": "aldrete-1970",
        "pmid": "5534693",
        "source": "Anesth Analg. 1970;49(6):924-934",
        "title": "A postanesthetic recovery score"
      },
      "formula": "aldrete",
      "formula_expression": "Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)",
      "max_score": 10,
      "score": 10
    },
    {
      "components": [
        {
          "value": 2,
          "factor": "activity",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "respiration",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "circulation",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "consciousness",
          "points": 2,
          "present": true
        },
        {
          "value": 2,
          "factor": "color",
          "points": 2,
          "present": true
        }
      ],
      "category": "10",
      "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": "Aldrete JA, Kroulik D",
        "doi": "10.1213/00000539-197011000-00020",
        "id": "aldrete-1970",
        "pmid": "5534693",
        "source": "Anesth Analg. 1970;49(6):924-934",
        "title": "A postanesthetic recovery score"
      },
      "formula": "aldrete",
      "formula_expression": "Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)",
      "max_score": 10,
      "score": 10
    }
  ]
}

Response

Field Type Description
formula string aldrete
formula_expression string Exact expression used
score integer Total points 0-10
max_score integer Always 10
category string Aldrete 1970 recovery-room band: 0_to_7 (continuous close observation), 8_to_9 (acceptable for discharge from the recovery room to the ward), or 10 (ideal). Not a discharge order.
components array Per-sign points
citation object Anesth Analg 1970 citation
disclaimer string Not-a-device notice

Example JSON

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

{
  "components": [
    {
      "value": 2,
      "factor": "activity",
      "points": 2,
      "present": true
    },
    {
      "value": 2,
      "factor": "respiration",
      "points": 2,
      "present": true
    },
    {
      "value": 2,
      "factor": "circulation",
      "points": 2,
      "present": true
    },
    {
      "value": 2,
      "factor": "consciousness",
      "points": 2,
      "present": true
    },
    {
      "value": 2,
      "factor": "color",
      "points": 2,
      "present": true
    }
  ],
  "category": "10",
  "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": "Aldrete JA, Kroulik D",
    "doi": "10.1213/00000539-197011000-00020",
    "id": "aldrete-1970",
    "pmid": "5534693",
    "source": "Anesth Analg. 1970;49(6):924-934",
    "title": "A postanesthetic recovery score"
  },
  "formula": "aldrete",
  "formula_expression": "Aldrete = activity + respiration + circulation + consciousness + color; each 0-2; max 10; 8-9 acceptable for recovery-room discharge to ward; 10 ideal; 0-7 close observation (Aldrete 1970)",
  "max_score": 10,
  "score": 10
}

Client errors (HTTP 400)

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

HTTP Code When
400 invalid_aldrete_component activity, respiration, circulation, consciousness, and color must each be 0, 1, or 2 (Aldrete 1970). 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

  • Apgar score — Compute the Apgar newborn evaluation score as the sum of five caller-assigned 0-2 signs.
  • Mallampati — Return the Samsoon 1987 modified Mallampati class 1-4 from a caller-assigned integer, with a stable label.
  • Surgical Apgar — Compute the Gawande 2007 intraoperative Surgical Apgar score from estimated blood loss, lowest mean arterial pressure, and lowest heart rate.

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.