{
  "x402Version": 2,
  "id": 38978,
  "slug": "38978",
  "resource": "https://api.magentlab.com/api/calc/pawss",
  "description": "Maldonado 2014 PAWSS. Required 0-point threshold (any alcohol in the last 30 days or positive BAL on admission): if false, score 0 and band outside_window even if other flags are true. If true, ten yes/no items score 1 each (max 10); 0-3 low, >=4 high risk for complicated alcohol withdrawal. Not a diagnosis or prophylaxis order. magent does not interview the patient or measure BAL.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "alcohol_last_30d_or_positive_bal": false,
                "alcohol_rehab": false,
                "bal_ge_200": false,
                "blackouts": false,
                "combined_downers_90d": false,
                "combined_other_substances_90d": false,
                "delirium_tremens": false,
                "increased_autonomic_activity": false,
                "previous_withdrawal": false,
                "recently_intoxicated_30d": false,
                "withdrawal_seizures": false
              },
              {
                "alcohol_last_30d_or_positive_bal": false,
                "alcohol_rehab": false,
                "bal_ge_200": false,
                "blackouts": false,
                "combined_downers_90d": false,
                "combined_other_substances_90d": false,
                "delirium_tremens": false,
                "increased_autonomic_activity": false,
                "previous_withdrawal": false,
                "recently_intoxicated_30d": false,
                "withdrawal_seizures": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC",
                  "doi": "10.1016/j.alcohol.2014.01.004",
                  "id": "maldonado-2014",
                  "pmid": "24657098",
                  "source": "Alcohol. 2014;48(4):375-390",
                  "title": "The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"
                },
                "components": [
                  {
                    "factor": "alcohol_last_30d_or_positive_bal",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "recently_intoxicated_30d",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "alcohol_rehab",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "previous_withdrawal",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "blackouts",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "withdrawal_seizures",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "delirium_tremens",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "combined_downers_90d",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "combined_other_substances_90d",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bal_ge_200",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "increased_autonomic_activity",
                    "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.",
                "formula": "pawss",
                "formula_expression": "PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014",
                "max_score": 10,
                "pawss_band": "outside_window",
                "score": 0
              },
              {
                "citation": {
                  "authors": "Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC",
                  "doi": "10.1016/j.alcohol.2014.01.004",
                  "id": "maldonado-2014",
                  "pmid": "24657098",
                  "source": "Alcohol. 2014;48(4):375-390",
                  "title": "The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"
                },
                "components": [
                  {
                    "factor": "alcohol_last_30d_or_positive_bal",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "recently_intoxicated_30d",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "alcohol_rehab",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "previous_withdrawal",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "blackouts",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "withdrawal_seizures",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "delirium_tremens",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "combined_downers_90d",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "combined_other_substances_90d",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bal_ge_200",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "increased_autonomic_activity",
                    "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.",
                "formula": "pawss",
                "formula_expression": "PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014",
                "max_score": 10,
                "pawss_band": "outside_window",
                "score": 0
              }
            ],
            "path": "/api/calc/pawss"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "alcohol_last_30d_or_positive_bal": {
                          "description": "Part A threshold (0 points). Caller-assigned: consumed any alcohol in the last 30 days or a positive BAL on admission (Maldonado 2014). If false, score is 0 and pawss_band is outside_window; the ten items are not added. magent does not interview the patient or measure BAL.",
                          "type": "boolean"
                        },
                        "alcohol_rehab": {
                          "description": "Ever alcohol-use-disorder rehabilitation or AA as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "bal_ge_200": {
                          "description": "BAL on presentation ≥200 as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not measure BAL.",
                          "type": "boolean"
                        },
                        "blackouts": {
                          "description": "Ever blackouts as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "combined_downers_90d": {
                          "description": "Combined alcohol with benzodiazepines or barbiturates in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "combined_other_substances_90d": {
                          "description": "Combined alcohol with any other substance of abuse in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "delirium_tremens": {
                          "description": "Ever delirium tremens as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "increased_autonomic_activity": {
                          "description": "Increased autonomic activity as assigned by the caller (Maldonado 2014), for example HR>120, tremor, sweating, agitation, or nausea. true scores 1 when the Part A threshold is true. magent does not observe the patient.",
                          "type": "boolean"
                        },
                        "previous_withdrawal": {
                          "description": "Any previous alcohol withdrawal as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "recently_intoxicated_30d": {
                          "description": "Recently intoxicated or drunk within the last 30 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "withdrawal_seizures": {
                          "description": "Ever alcohol withdrawal seizures as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "alcohol_last_30d_or_positive_bal",
                        "recently_intoxicated_30d",
                        "alcohol_rehab",
                        "previous_withdrawal",
                        "blackouts",
                        "withdrawal_seizures",
                        "delirium_tremens",
                        "combined_downers_90d",
                        "combined_other_substances_90d",
                        "bal_ge_200",
                        "increased_autonomic_activity"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "pawss",
    "alcohol",
    "withdrawal",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T10:36:30.197Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T10:36:30.077Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "alcohol_last_30d_or_positive_bal": false,
                  "alcohol_rehab": false,
                  "bal_ge_200": false,
                  "blackouts": false,
                  "combined_downers_90d": false,
                  "combined_other_substances_90d": false,
                  "delirium_tremens": false,
                  "increased_autonomic_activity": false,
                  "previous_withdrawal": false,
                  "recently_intoxicated_30d": false,
                  "withdrawal_seizures": false
                },
                {
                  "alcohol_last_30d_or_positive_bal": false,
                  "alcohol_rehab": false,
                  "bal_ge_200": false,
                  "blackouts": false,
                  "combined_downers_90d": false,
                  "combined_other_substances_90d": false,
                  "delirium_tremens": false,
                  "increased_autonomic_activity": false,
                  "previous_withdrawal": false,
                  "recently_intoxicated_30d": false,
                  "withdrawal_seizures": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC",
                    "doi": "10.1016/j.alcohol.2014.01.004",
                    "id": "maldonado-2014",
                    "pmid": "24657098",
                    "source": "Alcohol. 2014;48(4):375-390",
                    "title": "The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"
                  },
                  "components": [
                    {
                      "factor": "alcohol_last_30d_or_positive_bal",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "recently_intoxicated_30d",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "alcohol_rehab",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "previous_withdrawal",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "blackouts",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "withdrawal_seizures",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "delirium_tremens",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "combined_downers_90d",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "combined_other_substances_90d",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bal_ge_200",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "increased_autonomic_activity",
                      "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.",
                  "formula": "pawss",
                  "formula_expression": "PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014",
                  "max_score": 10,
                  "pawss_band": "outside_window",
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Maldonado JR, Sher Y, Ashouri JF, Hills-Evans K, Swendsen H, Lolak S, Miller AC",
                    "doi": "10.1016/j.alcohol.2014.01.004",
                    "id": "maldonado-2014",
                    "pmid": "24657098",
                    "source": "Alcohol. 2014;48(4):375-390",
                    "title": "The \"Prediction of Alcohol Withdrawal Severity Scale\" (PAWSS): systematic literature review and pilot study of a new scale for the prediction of complicated alcohol withdrawal syndrome"
                  },
                  "components": [
                    {
                      "factor": "alcohol_last_30d_or_positive_bal",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "recently_intoxicated_30d",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "alcohol_rehab",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "previous_withdrawal",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "blackouts",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "withdrawal_seizures",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "delirium_tremens",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "combined_downers_90d",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "combined_other_substances_90d",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bal_ge_200",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "increased_autonomic_activity",
                      "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.",
                  "formula": "pawss",
                  "formula_expression": "PAWSS = if alcohol_last_30d_or_positive_bal then recently_intoxicated_30d + alcohol_rehab + previous_withdrawal + blackouts + withdrawal_seizures + delirium_tremens + combined_downers_90d + combined_other_substances_90d + bal_ge_200 + increased_autonomic_activity else 0; each item 1 if true; Part A threshold 0 points; max 10; threshold false → outside_window; 0-3 low; >=4 high; Maldonado 2014",
                  "max_score": 10,
                  "pawss_band": "outside_window",
                  "score": 0
                }
              ],
              "path": "/api/calc/pawss"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "alcohol_last_30d_or_positive_bal": {
                            "description": "Part A threshold (0 points). Caller-assigned: consumed any alcohol in the last 30 days or a positive BAL on admission (Maldonado 2014). If false, score is 0 and pawss_band is outside_window; the ten items are not added. magent does not interview the patient or measure BAL.",
                            "type": "boolean"
                          },
                          "alcohol_rehab": {
                            "description": "Ever alcohol-use-disorder rehabilitation or AA as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "bal_ge_200": {
                            "description": "BAL on presentation ≥200 as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not measure BAL.",
                            "type": "boolean"
                          },
                          "blackouts": {
                            "description": "Ever blackouts as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "combined_downers_90d": {
                            "description": "Combined alcohol with benzodiazepines or barbiturates in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "combined_other_substances_90d": {
                            "description": "Combined alcohol with any other substance of abuse in the last 90 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "delirium_tremens": {
                            "description": "Ever delirium tremens as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "increased_autonomic_activity": {
                            "description": "Increased autonomic activity as assigned by the caller (Maldonado 2014), for example HR>120, tremor, sweating, agitation, or nausea. true scores 1 when the Part A threshold is true. magent does not observe the patient.",
                            "type": "boolean"
                          },
                          "previous_withdrawal": {
                            "description": "Any previous alcohol withdrawal as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "recently_intoxicated_30d": {
                            "description": "Recently intoxicated or drunk within the last 30 days as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "withdrawal_seizures": {
                            "description": "Ever alcohol withdrawal seizures as assigned by the caller (Maldonado 2014). true scores 1 when the Part A threshold is true. magent does not interview the patient.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "alcohol_last_30d_or_positive_bal",
                          "recently_intoxicated_30d",
                          "alcohol_rehab",
                          "previous_withdrawal",
                          "blackouts",
                          "withdrawal_seizures",
                          "delirium_tremens",
                          "combined_downers_90d",
                          "combined_other_substances_90d",
                          "bal_ge_200",
                          "increased_autonomic_activity"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}