{
  "x402Version": 2,
  "id": 39237,
  "slug": "39237",
  "resource": "https://api.magentlab.com/api/calc/ciwa_ar",
  "description": "Sullivan 1989 CIWA-Ar (revised Clinical Institute Withdrawal Assessment for Alcohol). Ten caller-assigned integers: nausea/vomiting, tremor, paroxysmal sweats, anxiety, agitation, tactile, auditory, visual, and headache each 0-7; orientation 0-4 (not 0-7). Max 67. magent sums only and does not observe the patient or apply later protocol treatment cutoffs such as benzodiazepine orders. Not a diagnosis and not a medical device.",
  "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": [
              {
                "agitation": 0,
                "anxiety": 0,
                "auditory": 0,
                "headache": 0,
                "nausea_vomiting": 0,
                "orientation": 0,
                "paroxysmal_sweats": 0,
                "tactile": 0,
                "tremor": 0,
                "visual": 0
              },
              {
                "agitation": 0,
                "anxiety": 0,
                "auditory": 0,
                "headache": 0,
                "nausea_vomiting": 0,
                "orientation": 0,
                "paroxysmal_sweats": 0,
                "tactile": 0,
                "tremor": 0,
                "visual": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM",
                  "doi": "10.1111/j.1360-0443.1989.tb00737.x",
                  "id": "sullivan-1989",
                  "pmid": "2597811",
                  "source": "Br J Addict. 1989;84(11):1353-1357",
                  "title": "Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"
                },
                "components": [
                  {
                    "factor": "nausea_vomiting",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tremor",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "paroxysmal_sweats",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "anxiety",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "agitation",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tactile",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "auditory",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "visual",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "headache",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "orientation",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "ciwa_ar",
                "formula_expression": "CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67",
                "max_score": 67,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM",
                  "doi": "10.1111/j.1360-0443.1989.tb00737.x",
                  "id": "sullivan-1989",
                  "pmid": "2597811",
                  "source": "Br J Addict. 1989;84(11):1353-1357",
                  "title": "Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"
                },
                "components": [
                  {
                    "factor": "nausea_vomiting",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tremor",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "paroxysmal_sweats",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "anxiety",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "agitation",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tactile",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "auditory",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "visual",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "headache",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "orientation",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "ciwa_ar",
                "formula_expression": "CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67",
                "max_score": 67,
                "score": 0
              }
            ],
            "path": "/api/calc/ciwa_ar"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "agitation": {
                          "description": "Caller-assigned Sullivan 1989 agitation points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "anxiety": {
                          "description": "Caller-assigned Sullivan 1989 anxiety points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "auditory": {
                          "description": "Caller-assigned Sullivan 1989 auditory disturbances points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "headache": {
                          "description": "Caller-assigned Sullivan 1989 headache / fullness in head points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "nausea_vomiting": {
                          "description": "Caller-assigned Sullivan 1989 nausea and vomiting points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "orientation": {
                          "description": "Caller-assigned Sullivan 1989 orientation and clouding of sensorium (integer 0-4). This item is not 0-7. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "paroxysmal_sweats": {
                          "description": "Caller-assigned Sullivan 1989 paroxysmal sweats points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "tactile": {
                          "description": "Caller-assigned Sullivan 1989 tactile disturbances points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "tremor": {
                          "description": "Caller-assigned Sullivan 1989 tremor points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "visual": {
                          "description": "Caller-assigned Sullivan 1989 visual disturbances points (integer 0-7). magent does not observe the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "nausea_vomiting",
                        "tremor",
                        "paroxysmal_sweats",
                        "anxiety",
                        "agitation",
                        "tactile",
                        "auditory",
                        "visual",
                        "headache",
                        "orientation"
                      ],
                      "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": [
    "ciwa-ar",
    "alcohol",
    "withdrawal",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T01:56:31.7Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T01:56:31.556Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "agitation": 0,
                  "anxiety": 0,
                  "auditory": 0,
                  "headache": 0,
                  "nausea_vomiting": 0,
                  "orientation": 0,
                  "paroxysmal_sweats": 0,
                  "tactile": 0,
                  "tremor": 0,
                  "visual": 0
                },
                {
                  "agitation": 0,
                  "anxiety": 0,
                  "auditory": 0,
                  "headache": 0,
                  "nausea_vomiting": 0,
                  "orientation": 0,
                  "paroxysmal_sweats": 0,
                  "tactile": 0,
                  "tremor": 0,
                  "visual": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM",
                    "doi": "10.1111/j.1360-0443.1989.tb00737.x",
                    "id": "sullivan-1989",
                    "pmid": "2597811",
                    "source": "Br J Addict. 1989;84(11):1353-1357",
                    "title": "Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"
                  },
                  "components": [
                    {
                      "factor": "nausea_vomiting",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tremor",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "paroxysmal_sweats",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "anxiety",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "agitation",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tactile",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "auditory",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "visual",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "headache",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "orientation",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "ciwa_ar",
                  "formula_expression": "CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67",
                  "max_score": 67,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Sullivan JT, Sykora K, Schneiderman J, Naranjo CA, Sellers EM",
                    "doi": "10.1111/j.1360-0443.1989.tb00737.x",
                    "id": "sullivan-1989",
                    "pmid": "2597811",
                    "source": "Br J Addict. 1989;84(11):1353-1357",
                    "title": "Assessment of alcohol withdrawal: the revised clinical institute withdrawal assessment for alcohol scale (CIWA-Ar)"
                  },
                  "components": [
                    {
                      "factor": "nausea_vomiting",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tremor",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "paroxysmal_sweats",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "anxiety",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "agitation",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tactile",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "auditory",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "visual",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "headache",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "orientation",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "ciwa_ar",
                  "formula_expression": "CIWA-Ar = nausea_vomiting + tremor + paroxysmal_sweats + anxiety + agitation + tactile + auditory + visual + headache + orientation; nine items 0-7, orientation 0-4; max 67",
                  "max_score": 67,
                  "score": 0
                }
              ],
              "path": "/api/calc/ciwa_ar"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "agitation": {
                            "description": "Caller-assigned Sullivan 1989 agitation points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "anxiety": {
                            "description": "Caller-assigned Sullivan 1989 anxiety points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "auditory": {
                            "description": "Caller-assigned Sullivan 1989 auditory disturbances points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "headache": {
                            "description": "Caller-assigned Sullivan 1989 headache / fullness in head points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "nausea_vomiting": {
                            "description": "Caller-assigned Sullivan 1989 nausea and vomiting points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "orientation": {
                            "description": "Caller-assigned Sullivan 1989 orientation and clouding of sensorium (integer 0-4). This item is not 0-7. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "paroxysmal_sweats": {
                            "description": "Caller-assigned Sullivan 1989 paroxysmal sweats points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "tactile": {
                            "description": "Caller-assigned Sullivan 1989 tactile disturbances points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "tremor": {
                            "description": "Caller-assigned Sullivan 1989 tremor points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "visual": {
                            "description": "Caller-assigned Sullivan 1989 visual disturbances points (integer 0-7). magent does not observe the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "nausea_vomiting",
                          "tremor",
                          "paroxysmal_sweats",
                          "anxiety",
                          "agitation",
                          "tactile",
                          "auditory",
                          "visual",
                          "headache",
                          "orientation"
                        ],
                        "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"
  }
}