{
  "x402Version": 2,
  "id": 39023,
  "slug": "39023",
  "resource": "https://api.magentlab.com/api/calc/modified_rankin",
  "description": "Modified Rankin handicap grade 0-5 (van Swieten 1988) as assigned by the caller. Returns the published wording (no symptoms at all through severe disability: bedridden, incontinent, constant nursing). This 1988 scale has six grades 0-5 and does not include a dead grade. Not a diagnosis or discharge/disability-benefit protocol; magent does not interview 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": [
              {
                "mrs": 0
              },
              {
                "mrs": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J",
                  "doi": "10.1161/01.STR.19.5.604",
                  "id": "van-swieten-1988",
                  "pmid": "3363593",
                  "source": "Stroke. 1988;19(5):604-607",
                  "title": "Interobserver agreement for the assessment of handicap in stroke patients"
                },
                "components": [
                  {
                    "factor": "mrs",
                    "points": 0,
                    "present": true
                  }
                ],
                "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": "modified_rankin",
                "formula_expression": "modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)",
                "grade": "No symptoms at all",
                "max_score": 5,
                "mrs": 0,
                "score": 0
              },
              {
                "citation": {
                  "authors": "van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J",
                  "doi": "10.1161/01.STR.19.5.604",
                  "id": "van-swieten-1988",
                  "pmid": "3363593",
                  "source": "Stroke. 1988;19(5):604-607",
                  "title": "Interobserver agreement for the assessment of handicap in stroke patients"
                },
                "components": [
                  {
                    "factor": "mrs",
                    "points": 0,
                    "present": true
                  }
                ],
                "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": "modified_rankin",
                "formula_expression": "modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)",
                "grade": "No symptoms at all",
                "max_score": 5,
                "mrs": 0,
                "score": 0
              }
            ],
            "path": "/api/calc/modified_rankin"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "mrs": {
                          "description": "van Swieten 1988 modified Rankin handicap grade 0-5 as assigned by the caller (0 no symptoms at all; 1 no significant disability despite symptoms; 2 slight disability; 3 moderate disability, walks unaided; 4 moderately severe, unable to walk unaided; 5 severe, bedridden, incontinent, constant nursing). magent does not interview the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "mrs"
                      ],
                      "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": [
    "modified-rankin",
    "stroke",
    "mrs",
    "neurology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T09:21:31.524Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T09:21:31.367Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "mrs": 0
                },
                {
                  "mrs": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J",
                    "doi": "10.1161/01.STR.19.5.604",
                    "id": "van-swieten-1988",
                    "pmid": "3363593",
                    "source": "Stroke. 1988;19(5):604-607",
                    "title": "Interobserver agreement for the assessment of handicap in stroke patients"
                  },
                  "components": [
                    {
                      "factor": "mrs",
                      "points": 0,
                      "present": true
                    }
                  ],
                  "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": "modified_rankin",
                  "formula_expression": "modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)",
                  "grade": "No symptoms at all",
                  "max_score": 5,
                  "mrs": 0,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "van Swieten JC, Koudstaal PJ, Visser MC, Schouten HJ, van Gijn J",
                    "doi": "10.1161/01.STR.19.5.604",
                    "id": "van-swieten-1988",
                    "pmid": "3363593",
                    "source": "Stroke. 1988;19(5):604-607",
                    "title": "Interobserver agreement for the assessment of handicap in stroke patients"
                  },
                  "components": [
                    {
                      "factor": "mrs",
                      "points": 0,
                      "present": true
                    }
                  ],
                  "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": "modified_rankin",
                  "formula_expression": "modified Rankin 0-5 as assigned by the caller; van Swieten 1988 six grades (no dead grade)",
                  "grade": "No symptoms at all",
                  "max_score": 5,
                  "mrs": 0,
                  "score": 0
                }
              ],
              "path": "/api/calc/modified_rankin"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "mrs": {
                            "description": "van Swieten 1988 modified Rankin handicap grade 0-5 as assigned by the caller (0 no symptoms at all; 1 no significant disability despite symptoms; 2 slight disability; 3 moderate disability, walks unaided; 4 moderately severe, unable to walk unaided; 5 severe, bedridden, incontinent, constant nursing). magent does not interview the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "mrs"
                        ],
                        "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"
  }
}