{
  "x402Version": 2,
  "id": 39305,
  "slug": "39305",
  "resource": "https://api.magentlab.com/api/calc/asa_physical_status",
  "description": "ASA Physical Status Classification System (ASA House of Delegates 2014, last amended 2020). Caller-assigned class 1-6 plus optional emergency suffix E. Returns asa_label (e.g. 1 or 2E) and the published class definition. Classification alone does not predict perioperative risk. Not an anesthetic plan, not Gupta MICA, not Mallampati. magent does not examine the patient.",
  "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": [
              {
                "asa_class": 1,
                "emergency": false
              },
              {
                "asa_class": 1,
                "emergency": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "asa_class": 1,
                "asa_label": "1",
                "citation": {
                  "authors": "American Society of Anesthesiologists; Committee of Oversight: Economics",
                  "id": "asa-2020",
                  "source": "Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020",
                  "title": "ASA Physical Status Classification System"
                },
                "components": [
                  {
                    "factor": "asa_class",
                    "met": true,
                    "value": 1
                  },
                  {
                    "factor": "emergency",
                    "met": false
                  }
                ],
                "description": "A normal healthy patient",
                "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.",
                "emergency": false,
                "formula": "asa_physical_status",
                "formula_expression": "Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"
              },
              {
                "asa_class": 1,
                "asa_label": "1",
                "citation": {
                  "authors": "American Society of Anesthesiologists; Committee of Oversight: Economics",
                  "id": "asa-2020",
                  "source": "Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020",
                  "title": "ASA Physical Status Classification System"
                },
                "components": [
                  {
                    "factor": "asa_class",
                    "met": true,
                    "value": 1
                  },
                  {
                    "factor": "emergency",
                    "met": false
                  }
                ],
                "description": "A normal healthy patient",
                "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.",
                "emergency": false,
                "formula": "asa_physical_status",
                "formula_expression": "Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"
              }
            ],
            "path": "/api/calc/asa_physical_status"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "asa_class": {
                          "description": "ASA Physical Status class 1-6 as assigned by the caller (1 a normal healthy patient; 2 mild systemic disease; 3 severe systemic disease; 4 severe systemic disease that is a constant threat to life; 5 moribund, not expected to survive without the operation; 6 declared brain-dead organ donor). Not Gupta 2011 MICA (ASA 1-5). magent does not examine the patient.",
                          "type": "integer"
                        },
                        "emergency": {
                          "description": "true appends E for emergency surgery: delay in treatment of the patient would lead to a significant increase in the threat to life or body part (ASA 2014/2020). Required. Class 6 may still take E. magent does not examine the patient.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "asa_class",
                        "emergency"
                      ],
                      "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": [
    "asa",
    "asa-ps",
    "preoperative",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T23:50:51.627Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T23:50:51.438Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "asa_class": 1,
                  "emergency": false
                },
                {
                  "asa_class": 1,
                  "emergency": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "asa_class": 1,
                  "asa_label": "1",
                  "citation": {
                    "authors": "American Society of Anesthesiologists; Committee of Oversight: Economics",
                    "id": "asa-2020",
                    "source": "Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020",
                    "title": "ASA Physical Status Classification System"
                  },
                  "components": [
                    {
                      "factor": "asa_class",
                      "met": true,
                      "value": 1
                    },
                    {
                      "factor": "emergency",
                      "met": false
                    }
                  ],
                  "description": "A normal healthy patient",
                  "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.",
                  "emergency": false,
                  "formula": "asa_physical_status",
                  "formula_expression": "Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"
                },
                {
                  "asa_class": 1,
                  "asa_label": "1",
                  "citation": {
                    "authors": "American Society of Anesthesiologists; Committee of Oversight: Economics",
                    "id": "asa-2020",
                    "source": "Approved by the ASA House of Delegates on October 15, 2014, and last amended on December 13, 2020",
                    "title": "ASA Physical Status Classification System"
                  },
                  "components": [
                    {
                      "factor": "asa_class",
                      "met": true,
                      "value": 1
                    },
                    {
                      "factor": "emergency",
                      "met": false
                    }
                  ],
                  "description": "A normal healthy patient",
                  "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.",
                  "emergency": false,
                  "formula": "asa_physical_status",
                  "formula_expression": "Caller-assigned ASA Physical Status class 1-6; append E when emergency is true (ASA House of Delegates 2014, last amended 2020)"
                }
              ],
              "path": "/api/calc/asa_physical_status"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "asa_class": {
                            "description": "ASA Physical Status class 1-6 as assigned by the caller (1 a normal healthy patient; 2 mild systemic disease; 3 severe systemic disease; 4 severe systemic disease that is a constant threat to life; 5 moribund, not expected to survive without the operation; 6 declared brain-dead organ donor). Not Gupta 2011 MICA (ASA 1-5). magent does not examine the patient.",
                            "type": "integer"
                          },
                          "emergency": {
                            "description": "true appends E for emergency surgery: delay in treatment of the patient would lead to a significant increase in the threat to life or body part (ASA 2014/2020). Required. Class 6 may still take E. magent does not examine the patient.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "asa_class",
                          "emergency"
                        ],
                        "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"
  }
}