{
  "x402Version": 2,
  "id": 39460,
  "slug": "39460",
  "resource": "https://api.magentlab.com/api/calc/cam_icu",
  "description": "CAM-ICU (Ely 2001). Delirium is present iff Feature 1 (acute onset or fluctuating course) and Feature 2 (inattention) both hold, and Feature 3 (disorganized thinking) or Feature 4 (altered level of consciousness) also holds. The caller assigns each feature as already determined. magent does not observe the patient, administer RASS, or run the attention screening exam. 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": [
              {
                "acute_onset_or_fluctuation": false,
                "altered_level_of_consciousness": false,
                "disorganized_thinking": false,
                "inattention": false
              },
              {
                "acute_onset_or_fluctuation": false,
                "altered_level_of_consciousness": false,
                "disorganized_thinking": false,
                "inattention": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Ely EW, Inouye SK, Bernard GR, et al.",
                  "doi": "10.1001/jama.286.21.2703",
                  "id": "ely-2001",
                  "pmid": "11730446",
                  "source": "JAMA. 2001;286(21):2703-2710",
                  "title": "Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"
                },
                "criteria": [
                  {
                    "factor": "acute_onset_or_fluctuation",
                    "met": false
                  },
                  {
                    "factor": "inattention",
                    "met": false
                  },
                  {
                    "factor": "disorganized_thinking",
                    "met": false
                  },
                  {
                    "factor": "altered_level_of_consciousness",
                    "met": false
                  }
                ],
                "delirium_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": "cam_icu",
                "formula_expression": "delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"
              },
              {
                "citation": {
                  "authors": "Ely EW, Inouye SK, Bernard GR, et al.",
                  "doi": "10.1001/jama.286.21.2703",
                  "id": "ely-2001",
                  "pmid": "11730446",
                  "source": "JAMA. 2001;286(21):2703-2710",
                  "title": "Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"
                },
                "criteria": [
                  {
                    "factor": "acute_onset_or_fluctuation",
                    "met": false
                  },
                  {
                    "factor": "inattention",
                    "met": false
                  },
                  {
                    "factor": "disorganized_thinking",
                    "met": false
                  },
                  {
                    "factor": "altered_level_of_consciousness",
                    "met": false
                  }
                ],
                "delirium_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": "cam_icu",
                "formula_expression": "delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"
              }
            ],
            "path": "/api/calc/cam_icu"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "acute_onset_or_fluctuation": {
                          "description": "Feature 1: acute onset of mental status change or fluctuating course. true or false as assigned by the caller. magent does not observe the patient or judge fluctuation.",
                          "type": "boolean"
                        },
                        "altered_level_of_consciousness": {
                          "description": "Feature 4: altered level of consciousness. true or false as assigned by the caller. magent does not administer RASS.",
                          "type": "boolean"
                        },
                        "disorganized_thinking": {
                          "description": "Feature 3: disorganized thinking. true or false as assigned by the caller. magent does not administer the thinking questions.",
                          "type": "boolean"
                        },
                        "inattention": {
                          "description": "Feature 2: inattention. true or false as assigned by the caller. magent does not run the attention screening exam.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "acute_onset_or_fluctuation",
                        "inattention",
                        "disorganized_thinking",
                        "altered_level_of_consciousness"
                      ],
                      "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": [
    "cam-icu",
    "delirium",
    "icu",
    "neurology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:49:47.768Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:49:47.629Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "acute_onset_or_fluctuation": false,
                  "altered_level_of_consciousness": false,
                  "disorganized_thinking": false,
                  "inattention": false
                },
                {
                  "acute_onset_or_fluctuation": false,
                  "altered_level_of_consciousness": false,
                  "disorganized_thinking": false,
                  "inattention": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Ely EW, Inouye SK, Bernard GR, et al.",
                    "doi": "10.1001/jama.286.21.2703",
                    "id": "ely-2001",
                    "pmid": "11730446",
                    "source": "JAMA. 2001;286(21):2703-2710",
                    "title": "Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"
                  },
                  "criteria": [
                    {
                      "factor": "acute_onset_or_fluctuation",
                      "met": false
                    },
                    {
                      "factor": "inattention",
                      "met": false
                    },
                    {
                      "factor": "disorganized_thinking",
                      "met": false
                    },
                    {
                      "factor": "altered_level_of_consciousness",
                      "met": false
                    }
                  ],
                  "delirium_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": "cam_icu",
                  "formula_expression": "delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"
                },
                {
                  "citation": {
                    "authors": "Ely EW, Inouye SK, Bernard GR, et al.",
                    "doi": "10.1001/jama.286.21.2703",
                    "id": "ely-2001",
                    "pmid": "11730446",
                    "source": "JAMA. 2001;286(21):2703-2710",
                    "title": "Delirium in mechanically ventilated patients: validity and reliability of the confusion assessment method for the intensive care unit (CAM-ICU)"
                  },
                  "criteria": [
                    {
                      "factor": "acute_onset_or_fluctuation",
                      "met": false
                    },
                    {
                      "factor": "inattention",
                      "met": false
                    },
                    {
                      "factor": "disorganized_thinking",
                      "met": false
                    },
                    {
                      "factor": "altered_level_of_consciousness",
                      "met": false
                    }
                  ],
                  "delirium_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": "cam_icu",
                  "formula_expression": "delirium present iff Feature 1 AND Feature 2 AND (Feature 3 OR Feature 4)"
                }
              ],
              "path": "/api/calc/cam_icu"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "acute_onset_or_fluctuation": {
                            "description": "Feature 1: acute onset of mental status change or fluctuating course. true or false as assigned by the caller. magent does not observe the patient or judge fluctuation.",
                            "type": "boolean"
                          },
                          "altered_level_of_consciousness": {
                            "description": "Feature 4: altered level of consciousness. true or false as assigned by the caller. magent does not administer RASS.",
                            "type": "boolean"
                          },
                          "disorganized_thinking": {
                            "description": "Feature 3: disorganized thinking. true or false as assigned by the caller. magent does not administer the thinking questions.",
                            "type": "boolean"
                          },
                          "inattention": {
                            "description": "Feature 2: inattention. true or false as assigned by the caller. magent does not run the attention screening exam.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "acute_onset_or_fluctuation",
                          "inattention",
                          "disorganized_thinking",
                          "altered_level_of_consciousness"
                        ],
                        "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"
  }
}