{
  "x402Version": 2,
  "id": 39459,
  "slug": "39459",
  "resource": "https://api.magentlab.com/api/calc/capd",
  "description": "Traube 2014 CAPD: 8 caller-assigned integers 0-4. eye_contact, purposeful_actions, awareness, and communication are reverse-scored in that paper (never contributes 4; 0 is the never-delirium pole after that reverse key). Total 0-32. Screen-positive iff score ≥9. magent does not examine the child or invent a developmental-delay cutoff. Not a psychiatric diagnosis.",
  "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": [
              {
                "awareness": 0,
                "communication": 0,
                "delayed_response": 0,
                "eye_contact": 0,
                "inconsolable": 0,
                "purposeful_actions": 0,
                "restless": 0,
                "underactive": 0
              },
              {
                "awareness": 0,
                "communication": 0,
                "delayed_response": 0,
                "eye_contact": 0,
                "inconsolable": 0,
                "purposeful_actions": 0,
                "restless": 0,
                "underactive": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.",
                  "doi": "10.1097/CCM.0b013e3182a66b76",
                  "id": "traube-2014",
                  "pmid": "24145848",
                  "source": "Crit Care Med. 2014;42(3):656-663",
                  "title": "Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"
                },
                "components": [
                  {
                    "factor": "eye_contact",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "purposeful_actions",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "awareness",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "communication",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "restless",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "value": 0
                  },
                  {
                    "factor": "inconsolable",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "value": 0
                  },
                  {
                    "factor": "underactive",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "value": 0
                  },
                  {
                    "factor": "delayed_response",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "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": "capd",
                "formula_expression": "CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9",
                "max_score": 32,
                "score": 0,
                "screen_positive": false
              },
              {
                "citation": {
                  "authors": "Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.",
                  "doi": "10.1097/CCM.0b013e3182a66b76",
                  "id": "traube-2014",
                  "pmid": "24145848",
                  "source": "Crit Care Med. 2014;42(3):656-663",
                  "title": "Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"
                },
                "components": [
                  {
                    "factor": "eye_contact",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "purposeful_actions",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "awareness",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "communication",
                    "points": 0,
                    "present": true,
                    "reverse_scored": true,
                    "value": 0
                  },
                  {
                    "factor": "restless",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "value": 0
                  },
                  {
                    "factor": "inconsolable",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "value": 0
                  },
                  {
                    "factor": "underactive",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "value": 0
                  },
                  {
                    "factor": "delayed_response",
                    "points": 0,
                    "present": true,
                    "reverse_scored": false,
                    "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": "capd",
                "formula_expression": "CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9",
                "max_score": 32,
                "score": 0,
                "screen_positive": false
              }
            ],
            "path": "/api/calc/capd"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "awareness": {
                          "description": "Caller-assigned Traube 2014 CAPD item 3 (integer 0-4). Reverse-scored in that paper: is the child aware of his/her surroundings. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                          "type": "integer"
                        },
                        "communication": {
                          "description": "Caller-assigned Traube 2014 CAPD item 4 (integer 0-4). Reverse-scored in that paper: does the child communicate needs and wants. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                          "type": "integer"
                        },
                        "delayed_response": {
                          "description": "Caller-assigned Traube 2014 CAPD item 8 (integer 0-4): does it take the child a long time to respond to interactions. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                          "type": "integer"
                        },
                        "eye_contact": {
                          "description": "Caller-assigned Traube 2014 CAPD item 1 (integer 0-4). Reverse-scored in that paper: does the child make eye contact with the caregiver. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                          "type": "integer"
                        },
                        "inconsolable": {
                          "description": "Caller-assigned Traube 2014 CAPD item 6 (integer 0-4): is the child inconsolable. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                          "type": "integer"
                        },
                        "purposeful_actions": {
                          "description": "Caller-assigned Traube 2014 CAPD item 2 (integer 0-4). Reverse-scored in that paper: are the child's actions purposeful. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                          "type": "integer"
                        },
                        "restless": {
                          "description": "Caller-assigned Traube 2014 CAPD item 5 (integer 0-4): is the child restless. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                          "type": "integer"
                        },
                        "underactive": {
                          "description": "Caller-assigned Traube 2014 CAPD item 7 (integer 0-4): is the child underactive — very little movement while awake. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "eye_contact",
                        "purposeful_actions",
                        "awareness",
                        "communication",
                        "restless",
                        "inconsolable",
                        "underactive",
                        "delayed_response"
                      ],
                      "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": [
    "capd",
    "delirium",
    "picu",
    "neurology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:49:54.688Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:49:54.549Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "awareness": 0,
                  "communication": 0,
                  "delayed_response": 0,
                  "eye_contact": 0,
                  "inconsolable": 0,
                  "purposeful_actions": 0,
                  "restless": 0,
                  "underactive": 0
                },
                {
                  "awareness": 0,
                  "communication": 0,
                  "delayed_response": 0,
                  "eye_contact": 0,
                  "inconsolable": 0,
                  "purposeful_actions": 0,
                  "restless": 0,
                  "underactive": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.",
                    "doi": "10.1097/CCM.0b013e3182a66b76",
                    "id": "traube-2014",
                    "pmid": "24145848",
                    "source": "Crit Care Med. 2014;42(3):656-663",
                    "title": "Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"
                  },
                  "components": [
                    {
                      "factor": "eye_contact",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "purposeful_actions",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "awareness",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "communication",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "restless",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "value": 0
                    },
                    {
                      "factor": "inconsolable",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "value": 0
                    },
                    {
                      "factor": "underactive",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "value": 0
                    },
                    {
                      "factor": "delayed_response",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "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": "capd",
                  "formula_expression": "CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9",
                  "max_score": 32,
                  "score": 0,
                  "screen_positive": false
                },
                {
                  "citation": {
                    "authors": "Traube C, Silver G, Kearney J, Patel A, Atkinson TM, Yoon MJ, et al.",
                    "doi": "10.1097/CCM.0b013e3182a66b76",
                    "id": "traube-2014",
                    "pmid": "24145848",
                    "source": "Crit Care Med. 2014;42(3):656-663",
                    "title": "Cornell Assessment of Pediatric Delirium: a valid, rapid, observational tool for screening delirium in the PICU"
                  },
                  "components": [
                    {
                      "factor": "eye_contact",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "purposeful_actions",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "awareness",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "communication",
                      "points": 0,
                      "present": true,
                      "reverse_scored": true,
                      "value": 0
                    },
                    {
                      "factor": "restless",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "value": 0
                    },
                    {
                      "factor": "inconsolable",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "value": 0
                    },
                    {
                      "factor": "underactive",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "value": 0
                    },
                    {
                      "factor": "delayed_response",
                      "points": 0,
                      "present": true,
                      "reverse_scored": false,
                      "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": "capd",
                  "formula_expression": "CAPD = eye_contact + purposeful_actions + awareness + communication + restless + inconsolable + underactive + delayed_response; each caller-assigned 0-4 as in Traube 2014 (eye_contact, purposeful_actions, awareness, and communication reverse-scored in that paper so never contributes 4 and always contributes 0; 0 is the never-delirium published pole); max 32; Traube 2014 screen-positive iff score ≥ 9",
                  "max_score": 32,
                  "score": 0,
                  "screen_positive": false
                }
              ],
              "path": "/api/calc/capd"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "awareness": {
                            "description": "Caller-assigned Traube 2014 CAPD item 3 (integer 0-4). Reverse-scored in that paper: is the child aware of his/her surroundings. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                            "type": "integer"
                          },
                          "communication": {
                            "description": "Caller-assigned Traube 2014 CAPD item 4 (integer 0-4). Reverse-scored in that paper: does the child communicate needs and wants. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                            "type": "integer"
                          },
                          "delayed_response": {
                            "description": "Caller-assigned Traube 2014 CAPD item 8 (integer 0-4): does it take the child a long time to respond to interactions. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                            "type": "integer"
                          },
                          "eye_contact": {
                            "description": "Caller-assigned Traube 2014 CAPD item 1 (integer 0-4). Reverse-scored in that paper: does the child make eye contact with the caregiver. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                            "type": "integer"
                          },
                          "inconsolable": {
                            "description": "Caller-assigned Traube 2014 CAPD item 6 (integer 0-4): is the child inconsolable. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                            "type": "integer"
                          },
                          "purposeful_actions": {
                            "description": "Caller-assigned Traube 2014 CAPD item 2 (integer 0-4). Reverse-scored in that paper: are the child's actions purposeful. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child.",
                            "type": "integer"
                          },
                          "restless": {
                            "description": "Caller-assigned Traube 2014 CAPD item 5 (integer 0-4): is the child restless. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                            "type": "integer"
                          },
                          "underactive": {
                            "description": "Caller-assigned Traube 2014 CAPD item 7 (integer 0-4): is the child underactive — very little movement while awake. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "eye_contact",
                          "purposeful_actions",
                          "awareness",
                          "communication",
                          "restless",
                          "inconsolable",
                          "underactive",
                          "delayed_response"
                        ],
                        "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"
  }
}