{
  "x402Version": 2,
  "id": 39461,
  "slug": "39461",
  "resource": "https://api.magentlab.com/api/calc/msoar",
  "description": "mSOAR (Abdul-Rahim 2016 Stroke): SOAR plus NIHSS for early mortality after acute stroke. Age ≤65 0, 66-85 1, >85 2; infarct 0, hemorrhage 1; OCSP LACS/PACS 0, POCS 1, TACS 2; prestroke mRS 0-2 0, 3-4 1, 5 2; NIHSS 0-4 0, 5-10 1, ≥11 2. Max 9. Table 2 derivation percents for scores 0-1 through 7. Not a care-withdrawal decision. magent does not examine the patient or score NIHSS items.",
  "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": [
              {
                "age": 18,
                "nihss": 0,
                "ocsp": "lacs",
                "prestroke_mrs": 0,
                "stroke_subtype": "infarct"
              },
              {
                "age": 18,
                "nihss": 0,
                "ocsp": "lacs",
                "prestroke_mrs": 0,
                "stroke_subtype": "infarct"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 18,
                "citation": {
                  "authors": "Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK",
                  "doi": "10.1161/STROKEAHA.115.009898",
                  "id": "abdul-rahim-2016",
                  "pmid": "26578661",
                  "source": "Stroke. 2016;47(1):74-79",
                  "title": "Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 18
                  },
                  {
                    "factor": "stroke_subtype",
                    "points": 0,
                    "present": false,
                    "value": "infarct"
                  },
                  {
                    "factor": "ocsp",
                    "points": 0,
                    "present": false,
                    "value": "lacs"
                  },
                  {
                    "factor": "prestroke_mrs",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "nihss",
                    "points": 0,
                    "present": 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.",
                "early_mortality_percent": 1,
                "formula": "msoar",
                "formula_expression": "mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7",
                "max_score": 9,
                "nihss": 0,
                "ocsp": "lacs",
                "prestroke_mrs": 0,
                "score": 0,
                "stroke_subtype": "infarct"
              },
              {
                "age_years": 18,
                "citation": {
                  "authors": "Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK",
                  "doi": "10.1161/STROKEAHA.115.009898",
                  "id": "abdul-rahim-2016",
                  "pmid": "26578661",
                  "source": "Stroke. 2016;47(1):74-79",
                  "title": "Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 18
                  },
                  {
                    "factor": "stroke_subtype",
                    "points": 0,
                    "present": false,
                    "value": "infarct"
                  },
                  {
                    "factor": "ocsp",
                    "points": 0,
                    "present": false,
                    "value": "lacs"
                  },
                  {
                    "factor": "prestroke_mrs",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "nihss",
                    "points": 0,
                    "present": 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.",
                "early_mortality_percent": 1,
                "formula": "msoar",
                "formula_expression": "mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7",
                "max_score": 9,
                "nihss": 0,
                "ocsp": "lacs",
                "prestroke_mrs": 0,
                "score": 0,
                "stroke_subtype": "infarct"
              }
            ],
            "path": "/api/calc/msoar"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (18-120). Abdul-Rahim 2016 Table 1: ≤65 scores 0; 66-85 scores 1; >85 scores 2. Age 85 is the 66-85 band.",
                          "type": "integer"
                        },
                        "nihss": {
                          "description": "Caller-assigned NIH Stroke Scale total (integer 0-42), not an item exam. Abdul-Rahim 2016 Suppl Table I / Table 1: 0-4 scores 0; 5-10 scores 1; 11-20 and ≥21 both score 2. magent does not compute NIHSS or examine the patient.",
                          "type": "integer"
                        },
                        "ocsp": {
                          "description": "Caller-assigned Oxfordshire Community Stroke Project class (Abdul-Rahim 2016 Table 1). lacs or pacs scores 0; pocs scores 1; tacs scores 2. Case-insensitive. magent does not examine the patient.",
                          "enum": [
                            "lacs",
                            "pacs",
                            "pocs",
                            "tacs"
                          ],
                          "type": "string"
                        },
                        "prestroke_mrs": {
                          "description": "Caller-assigned prestroke modified Rankin grade 0-5. SOAR weights used by mSOAR: 0-2 scores 0; 3-4 scores 1; 5 scores 2. Table 1 lists cohort counts as 0-1 / 2-3 / 4-5, not those integer weights. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "stroke_subtype": {
                          "description": "Caller-assigned stroke subtype (Abdul-Rahim 2016 Methods / Table 1). infarct (ischemic infarction) scores 0; hemorrhage scores 1. Case-insensitive. magent does not read imaging.",
                          "enum": [
                            "infarct",
                            "hemorrhage"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "age",
                        "stroke_subtype",
                        "ocsp",
                        "prestroke_mrs",
                        "nihss"
                      ],
                      "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": [
    "msoar",
    "stroke",
    "nihss",
    "neurology",
    "mortality",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:49:33.623Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:49:33.487Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 18,
                  "nihss": 0,
                  "ocsp": "lacs",
                  "prestroke_mrs": 0,
                  "stroke_subtype": "infarct"
                },
                {
                  "age": 18,
                  "nihss": 0,
                  "ocsp": "lacs",
                  "prestroke_mrs": 0,
                  "stroke_subtype": "infarct"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 18,
                  "citation": {
                    "authors": "Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK",
                    "doi": "10.1161/STROKEAHA.115.009898",
                    "id": "abdul-rahim-2016",
                    "pmid": "26578661",
                    "source": "Stroke. 2016;47(1):74-79",
                    "title": "Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 18
                    },
                    {
                      "factor": "stroke_subtype",
                      "points": 0,
                      "present": false,
                      "value": "infarct"
                    },
                    {
                      "factor": "ocsp",
                      "points": 0,
                      "present": false,
                      "value": "lacs"
                    },
                    {
                      "factor": "prestroke_mrs",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "nihss",
                      "points": 0,
                      "present": 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.",
                  "early_mortality_percent": 1,
                  "formula": "msoar",
                  "formula_expression": "mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7",
                  "max_score": 9,
                  "nihss": 0,
                  "ocsp": "lacs",
                  "prestroke_mrs": 0,
                  "score": 0,
                  "stroke_subtype": "infarct"
                },
                {
                  "age_years": 18,
                  "citation": {
                    "authors": "Abdul-Rahim AH, Quinn TJ, Alder S, Clark AB, Musgrave SD, Langhorne P, Potter JF, Myint PK",
                    "doi": "10.1161/STROKEAHA.115.009898",
                    "id": "abdul-rahim-2016",
                    "pmid": "26578661",
                    "source": "Stroke. 2016;47(1):74-79",
                    "title": "Derivation and Validation of a Novel Prognostic Scale (Modified–Stroke Subtype, Oxfordshire Community Stroke Project Classification, Age, and Prestroke Modified Rankin) to Predict Early Mortality in Acute Stroke"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 18
                    },
                    {
                      "factor": "stroke_subtype",
                      "points": 0,
                      "present": false,
                      "value": "infarct"
                    },
                    {
                      "factor": "ocsp",
                      "points": 0,
                      "present": false,
                      "value": "lacs"
                    },
                    {
                      "factor": "prestroke_mrs",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "nihss",
                      "points": 0,
                      "present": 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.",
                  "early_mortality_percent": 1,
                  "formula": "msoar",
                  "formula_expression": "mSOAR = age (≤65 0, 66-85 1, >85 2) + subtype (infarct 0, hemorrhage 1) + OCSP (LACS/PACS 0, POCS 1, TACS 2) + prestroke mRS (0-2 0, 3-4 1, 5 2) + NIHSS (0-4 0, 5-10 1, ≥11 2; 11-20 and ≥21 both 2); Abdul-Rahim 2016 Table 1 bands and Suppl Table I NIHSS integers; max 9; Table 2 derivation early mortality 1.0/1.5/6.5/9.2/19.5/26.2/49.2% for scores 0-1/2/3/4/5/6/7",
                  "max_score": 9,
                  "nihss": 0,
                  "ocsp": "lacs",
                  "prestroke_mrs": 0,
                  "score": 0,
                  "stroke_subtype": "infarct"
                }
              ],
              "path": "/api/calc/msoar"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (18-120). Abdul-Rahim 2016 Table 1: ≤65 scores 0; 66-85 scores 1; >85 scores 2. Age 85 is the 66-85 band.",
                            "type": "integer"
                          },
                          "nihss": {
                            "description": "Caller-assigned NIH Stroke Scale total (integer 0-42), not an item exam. Abdul-Rahim 2016 Suppl Table I / Table 1: 0-4 scores 0; 5-10 scores 1; 11-20 and ≥21 both score 2. magent does not compute NIHSS or examine the patient.",
                            "type": "integer"
                          },
                          "ocsp": {
                            "description": "Caller-assigned Oxfordshire Community Stroke Project class (Abdul-Rahim 2016 Table 1). lacs or pacs scores 0; pocs scores 1; tacs scores 2. Case-insensitive. magent does not examine the patient.",
                            "enum": [
                              "lacs",
                              "pacs",
                              "pocs",
                              "tacs"
                            ],
                            "type": "string"
                          },
                          "prestroke_mrs": {
                            "description": "Caller-assigned prestroke modified Rankin grade 0-5. SOAR weights used by mSOAR: 0-2 scores 0; 3-4 scores 1; 5 scores 2. Table 1 lists cohort counts as 0-1 / 2-3 / 4-5, not those integer weights. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "stroke_subtype": {
                            "description": "Caller-assigned stroke subtype (Abdul-Rahim 2016 Methods / Table 1). infarct (ischemic infarction) scores 0; hemorrhage scores 1. Case-insensitive. magent does not read imaging.",
                            "enum": [
                              "infarct",
                              "hemorrhage"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "age",
                          "stroke_subtype",
                          "ocsp",
                          "prestroke_mrs",
                          "nihss"
                        ],
                        "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"
  }
}