{
  "x402Version": 2,
  "id": 39186,
  "slug": "39186",
  "resource": "https://api.magentlab.com/api/calc/esas_r",
  "description": "Watanabe 2011 ESAS-r from nine caller-assigned integers 0-10 (pain, tiredness, drowsiness, nausea, lack of appetite, shortness of breath, depression, anxiety, wellbeing; now; 0 none/best, 10 worst). magent does not administer the form. Sum 0-90. Watanabe 2011 published no severity classes for that sum. Not Bruera 1991 ESAS, not ESAS-r Renal (itch is not a core item), not a diagnosis or treatment order, 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": [
              {
                "anxiety": 0,
                "depression": 0,
                "drowsiness": 0,
                "lack_of_appetite": 0,
                "nausea": 0,
                "pain": 0,
                "shortness_of_breath": 0,
                "tiredness": 0,
                "wellbeing": 0
              },
              {
                "anxiety": 0,
                "depression": 0,
                "drowsiness": 0,
                "lack_of_appetite": 0,
                "nausea": 0,
                "pain": 0,
                "shortness_of_breath": 0,
                "tiredness": 0,
                "wellbeing": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F",
                  "doi": "10.1016/j.jpainsymman.2010.04.020",
                  "id": "watanabe-2011",
                  "pmid": "20832987",
                  "source": "J Pain Symptom Manage. 2011;41(2):456-468",
                  "title": "A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"
                },
                "components": [
                  {
                    "factor": "pain",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tiredness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "drowsiness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "nausea",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "lack_of_appetite",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "shortness_of_breath",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "depression",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "anxiety",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "wellbeing",
                    "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": "esas_r",
                "formula_expression": "ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS",
                "max_score": 90,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F",
                  "doi": "10.1016/j.jpainsymman.2010.04.020",
                  "id": "watanabe-2011",
                  "pmid": "20832987",
                  "source": "J Pain Symptom Manage. 2011;41(2):456-468",
                  "title": "A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"
                },
                "components": [
                  {
                    "factor": "pain",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tiredness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "drowsiness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "nausea",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "lack_of_appetite",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "shortness_of_breath",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "depression",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "anxiety",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "wellbeing",
                    "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": "esas_r",
                "formula_expression": "ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS",
                "max_score": 90,
                "score": 0
              }
            ],
            "path": "/api/calc/esas_r"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "anxiety": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r anxiety (integer 0-10): 0 no anxiety, 10 worst possible anxiety (anxiety = feeling nervous); how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "depression": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r depression (integer 0-10): 0 no depression, 10 worst possible depression (depression = feeling sad); how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "drowsiness": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r drowsiness (integer 0-10): 0 no drowsiness, 10 worst possible drowsiness (drowsiness = feeling sleepy); how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "lack_of_appetite": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r lack of appetite (integer 0-10): 0 no lack of appetite, 10 worst possible lack of appetite; how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "nausea": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r nausea (integer 0-10): 0 no nausea, 10 worst possible nausea; how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "pain": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r pain (integer 0-10): 0 no pain, 10 worst possible pain; how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "shortness_of_breath": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r shortness of breath (integer 0-10): 0 no shortness of breath, 10 worst possible shortness of breath; how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "tiredness": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r tiredness (integer 0-10): 0 no tiredness, 10 worst possible tiredness (tiredness = lack of energy); how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        },
                        "wellbeing": {
                          "description": "Caller-assigned Watanabe 2011 ESAS-r wellbeing (integer 0-10): 0 best wellbeing, 10 worst possible wellbeing (wellbeing = how you feel overall); how the person feels now. magent does not administer the form.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "pain",
                        "tiredness",
                        "drowsiness",
                        "nausea",
                        "lack_of_appetite",
                        "shortness_of_breath",
                        "depression",
                        "anxiety",
                        "wellbeing"
                      ],
                      "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": [
    "esas-r",
    "palliative",
    "symptoms",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T03:26:58.26Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T03:26:58.095Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "anxiety": 0,
                  "depression": 0,
                  "drowsiness": 0,
                  "lack_of_appetite": 0,
                  "nausea": 0,
                  "pain": 0,
                  "shortness_of_breath": 0,
                  "tiredness": 0,
                  "wellbeing": 0
                },
                {
                  "anxiety": 0,
                  "depression": 0,
                  "drowsiness": 0,
                  "lack_of_appetite": 0,
                  "nausea": 0,
                  "pain": 0,
                  "shortness_of_breath": 0,
                  "tiredness": 0,
                  "wellbeing": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F",
                    "doi": "10.1016/j.jpainsymman.2010.04.020",
                    "id": "watanabe-2011",
                    "pmid": "20832987",
                    "source": "J Pain Symptom Manage. 2011;41(2):456-468",
                    "title": "A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"
                  },
                  "components": [
                    {
                      "factor": "pain",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tiredness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "drowsiness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "nausea",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "lack_of_appetite",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "shortness_of_breath",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "depression",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "anxiety",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "wellbeing",
                      "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": "esas_r",
                  "formula_expression": "ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS",
                  "max_score": 90,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Watanabe SM, Nekolaichuk C, Beaumont C, Johnson L, Myers J, Strasser F",
                    "doi": "10.1016/j.jpainsymman.2010.04.020",
                    "id": "watanabe-2011",
                    "pmid": "20832987",
                    "source": "J Pain Symptom Manage. 2011;41(2):456-468",
                    "title": "A multicenter study comparing two numerical versions of the Edmonton Symptom Assessment System in palliative care patients"
                  },
                  "components": [
                    {
                      "factor": "pain",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tiredness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "drowsiness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "nausea",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "lack_of_appetite",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "shortness_of_breath",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "depression",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "anxiety",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "wellbeing",
                      "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": "esas_r",
                  "formula_expression": "ESAS-r = pain + tiredness + drowsiness + nausea + lack_of_appetite + shortness_of_breath + depression + anxiety + wellbeing; each caller-assigned 0-10; max 90; Watanabe 2011; no total-score severity classes; not Bruera 1991 ESAS",
                  "max_score": 90,
                  "score": 0
                }
              ],
              "path": "/api/calc/esas_r"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "anxiety": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r anxiety (integer 0-10): 0 no anxiety, 10 worst possible anxiety (anxiety = feeling nervous); how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "depression": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r depression (integer 0-10): 0 no depression, 10 worst possible depression (depression = feeling sad); how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "drowsiness": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r drowsiness (integer 0-10): 0 no drowsiness, 10 worst possible drowsiness (drowsiness = feeling sleepy); how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "lack_of_appetite": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r lack of appetite (integer 0-10): 0 no lack of appetite, 10 worst possible lack of appetite; how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "nausea": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r nausea (integer 0-10): 0 no nausea, 10 worst possible nausea; how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "pain": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r pain (integer 0-10): 0 no pain, 10 worst possible pain; how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "shortness_of_breath": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r shortness of breath (integer 0-10): 0 no shortness of breath, 10 worst possible shortness of breath; how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "tiredness": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r tiredness (integer 0-10): 0 no tiredness, 10 worst possible tiredness (tiredness = lack of energy); how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          },
                          "wellbeing": {
                            "description": "Caller-assigned Watanabe 2011 ESAS-r wellbeing (integer 0-10): 0 best wellbeing, 10 worst possible wellbeing (wellbeing = how you feel overall); how the person feels now. magent does not administer the form.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "pain",
                          "tiredness",
                          "drowsiness",
                          "nausea",
                          "lack_of_appetite",
                          "shortness_of_breath",
                          "depression",
                          "anxiety",
                          "wellbeing"
                        ],
                        "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"
  }
}