{
  "x402Version": 2,
  "id": 39262,
  "slug": "39262",
  "resource": "https://api.magentlab.com/api/calc/care",
  "description": "Cardiac Anesthesia Risk Evaluation (CARE) score (Dupuis 2001). Caller-assigned class 1-5; emergency suffix E only for classes 3-5 (labels 3E, 4E, 5E). Returns care_label plus Dupuis 2001 Table 4 in-hospital mortality and morbidity percents from the Ottawa reference population. Not an anesthetic plan or surgical booking. magent does not examine the patient. Not Parsonnet, EuroSCORE, or Gupta MICA.",
  "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": [
              {
                "care_class": 1,
                "emergency": false
              },
              {
                "care_class": 1,
                "emergency": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "care_class": 1,
                "care_label": "1",
                "citation": {
                  "authors": "Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M",
                  "doi": "10.1097/00000542-200102000-00006",
                  "id": "dupuis-2001",
                  "pmid": "11176081",
                  "source": "Anesthesiology. 2001;94(2):194-204",
                  "title": "The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"
                },
                "components": [
                  {
                    "factor": "care_class",
                    "met": true,
                    "value": 1
                  },
                  {
                    "factor": "emergency",
                    "met": false
                  }
                ],
                "description": "Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.",
                "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": "care",
                "formula_expression": "Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.",
                "morbidity_percent": 5.4,
                "mortality_percent": 0.5
              },
              {
                "care_class": 1,
                "care_label": "1",
                "citation": {
                  "authors": "Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M",
                  "doi": "10.1097/00000542-200102000-00006",
                  "id": "dupuis-2001",
                  "pmid": "11176081",
                  "source": "Anesthesiology. 2001;94(2):194-204",
                  "title": "The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"
                },
                "components": [
                  {
                    "factor": "care_class",
                    "met": true,
                    "value": 1
                  },
                  {
                    "factor": "emergency",
                    "met": false
                  }
                ],
                "description": "Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.",
                "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": "care",
                "formula_expression": "Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.",
                "morbidity_percent": 5.4,
                "mortality_percent": 0.5
              }
            ],
            "path": "/api/calc/care"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "care_class": {
                          "description": "Dupuis 2001 CARE class 1-5 as assigned by the caller (1 stable cardiac disease, no other medical problem, noncomplex surgery; 2 stable cardiac disease, one or more controlled medical problems, noncomplex surgery; 3 any uncontrolled medical problem or complex surgery; 4 uncontrolled medical problem and complex surgery; 5 chronic or advanced cardiac disease, surgery as last hope). magent does not examine the patient.",
                          "type": "integer"
                        },
                        "emergency": {
                          "description": "true appends E for emergency surgery as soon as the diagnosis is made and an operating room is available (Dupuis 2001). Required. E applies only to classes 3-5 (labels 3E, 4E, 5E). Class 1 or 2 with emergency true is rejected. Unstable conditions needing surgery within 24 h but not immediately are uncontrolled medical problems, not E. magent does not examine the patient.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "care_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": [
    "care",
    "cardiac-surgery",
    "preoperative",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T01:11:16.07Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T01:11:15.913Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "care_class": 1,
                  "emergency": false
                },
                {
                  "care_class": 1,
                  "emergency": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "care_class": 1,
                  "care_label": "1",
                  "citation": {
                    "authors": "Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M",
                    "doi": "10.1097/00000542-200102000-00006",
                    "id": "dupuis-2001",
                    "pmid": "11176081",
                    "source": "Anesthesiology. 2001;94(2):194-204",
                    "title": "The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"
                  },
                  "components": [
                    {
                      "factor": "care_class",
                      "met": true,
                      "value": 1
                    },
                    {
                      "factor": "emergency",
                      "met": false
                    }
                  ],
                  "description": "Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.",
                  "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": "care",
                  "formula_expression": "Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.",
                  "morbidity_percent": 5.4,
                  "mortality_percent": 0.5
                },
                {
                  "care_class": 1,
                  "care_label": "1",
                  "citation": {
                    "authors": "Dupuis JY, Wang F, Nathan H, Lam M, Grimes S, Bourke M",
                    "doi": "10.1097/00000542-200102000-00006",
                    "id": "dupuis-2001",
                    "pmid": "11176081",
                    "source": "Anesthesiology. 2001;94(2):194-204",
                    "title": "The cardiac anesthesia risk evaluation score: a clinically useful predictor of mortality and morbidity after cardiac surgery"
                  },
                  "components": [
                    {
                      "factor": "care_class",
                      "met": true,
                      "value": 1
                    },
                    {
                      "factor": "emergency",
                      "met": false
                    }
                  ],
                  "description": "Patient with stable cardiac disease and no other medical problem. A noncomplex surgery is undertaken.",
                  "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": "care",
                  "formula_expression": "Caller-assigned CARE class 1-5; append E when emergency is true for classes 3-5 only (Dupuis 2001). Emergency never applies to CARE 1 or 2.",
                  "morbidity_percent": 5.4,
                  "mortality_percent": 0.5
                }
              ],
              "path": "/api/calc/care"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "care_class": {
                            "description": "Dupuis 2001 CARE class 1-5 as assigned by the caller (1 stable cardiac disease, no other medical problem, noncomplex surgery; 2 stable cardiac disease, one or more controlled medical problems, noncomplex surgery; 3 any uncontrolled medical problem or complex surgery; 4 uncontrolled medical problem and complex surgery; 5 chronic or advanced cardiac disease, surgery as last hope). magent does not examine the patient.",
                            "type": "integer"
                          },
                          "emergency": {
                            "description": "true appends E for emergency surgery as soon as the diagnosis is made and an operating room is available (Dupuis 2001). Required. E applies only to classes 3-5 (labels 3E, 4E, 5E). Class 1 or 2 with emergency true is rejected. Unstable conditions needing surgery within 24 h but not immediately are uncontrolled medical problems, not E. magent does not examine the patient.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "care_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"
  }
}