{
  "x402Version": 2,
  "id": 39219,
  "slug": "39219",
  "resource": "https://api.magentlab.com/api/calc/csrs",
  "description": "Thiruganasambandamoorthy 2016 Canadian Syncope Risk Score: vasovagal predisposition −1, heart disease +1, any ED SBP <90 or >180 +2, troponin above the 99th percentile +2, QRS axis < −30° or >100° +1, QRS duration >130 ms +1, QTc >480 ms +2, ED vasovagal diagnosis −2, ED cardiac diagnosis +2. Score −3 to 11. Caller assigns flags and ECG numbers. Not a medical device, not a syncope diagnosis, and not a disposition protocol.",
  "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": [
              {
                "ed_cardiac_syncope": false,
                "ed_vasovagal_syncope": false,
                "elevated_troponin": false,
                "heart_disease": false,
                "predisposition_vasovagal": false,
                "qrs_axis_deg": 0,
                "qrs_duration_ms": 80,
                "qtc_ms": 400,
                "sbp_lt_90_or_gt_180": false
              },
              {
                "ed_cardiac_syncope": false,
                "ed_vasovagal_syncope": false,
                "elevated_troponin": false,
                "heart_disease": false,
                "predisposition_vasovagal": false,
                "qrs_axis_deg": 0,
                "qrs_duration_ms": 80,
                "qtc_ms": 400,
                "sbp_lt_90_or_gt_180": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.",
                  "doi": "10.1503/cmaj.151469",
                  "id": "thiruganasambandamoorthy-2016",
                  "pmid": "27378464",
                  "source": "CMAJ. 2016;188(12):E289-E298",
                  "title": "Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."
                },
                "components": [
                  {
                    "factor": "predisposition_vasovagal",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "heart_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sbp_lt_90_or_gt_180",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "elevated_troponin",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "qrs_axis",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "qrs_duration",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "qtc",
                    "points": 0,
                    "present": false,
                    "value": 400
                  },
                  {
                    "factor": "ed_vasovagal_syncope",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ed_cardiac_syncope",
                    "points": 0,
                    "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": "csrs",
                "formula_expression": "CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)",
                "max_score": 11,
                "qrs_axis_deg": 0,
                "qrs_duration_ms": 80,
                "qtc_ms": 400,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.",
                  "doi": "10.1503/cmaj.151469",
                  "id": "thiruganasambandamoorthy-2016",
                  "pmid": "27378464",
                  "source": "CMAJ. 2016;188(12):E289-E298",
                  "title": "Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."
                },
                "components": [
                  {
                    "factor": "predisposition_vasovagal",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "heart_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sbp_lt_90_or_gt_180",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "elevated_troponin",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "qrs_axis",
                    "points": 0,
                    "present": false,
                    "value": 0
                  },
                  {
                    "factor": "qrs_duration",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "qtc",
                    "points": 0,
                    "present": false,
                    "value": 400
                  },
                  {
                    "factor": "ed_vasovagal_syncope",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "ed_cardiac_syncope",
                    "points": 0,
                    "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": "csrs",
                "formula_expression": "CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)",
                "max_score": 11,
                "qrs_axis_deg": 0,
                "qrs_duration_ms": 80,
                "qtc_ms": 400,
                "score": 0
              }
            ],
            "path": "/api/calc/csrs"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "ed_cardiac_syncope": {
                          "description": "ED diagnosis of cardiac syncope (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true. Cannot be true together with ed_vasovagal_syncope.",
                          "type": "boolean"
                        },
                        "ed_vasovagal_syncope": {
                          "description": "ED diagnosis of vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -2 if true. Cannot be true together with ed_cardiac_syncope.",
                          "type": "boolean"
                        },
                        "elevated_troponin": {
                          "description": "Troponin above the 99th percentile (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true.",
                          "type": "boolean"
                        },
                        "heart_disease": {
                          "description": "History of heart disease (Thiruganasambandamoorthy 2016). true or false. Scores 1 if true.",
                          "type": "boolean"
                        },
                        "predisposition_vasovagal": {
                          "description": "Predisposition to vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -1 if true.",
                          "type": "boolean"
                        },
                        "qrs_axis_deg": {
                          "description": "QRS axis in degrees (-180 to 180). Scores 1 when < -30 or > 100 (Figure 2 / abstract; not table 110). -30 and 100 do not score; -31 and 101 do.",
                          "type": "number"
                        },
                        "qrs_duration_ms": {
                          "description": "QRS duration in milliseconds (40-300). Scores 1 when >130. 130 does not score; 131 does.",
                          "type": "number"
                        },
                        "qtc_ms": {
                          "description": "QTc in milliseconds (200-800). Scores 2 when >480. 480 does not score; 481 does.",
                          "type": "number"
                        },
                        "sbp_lt_90_or_gt_180": {
                          "description": "Any ED systolic BP <90 or >180 mm Hg (caller-assigned; SBP 90 and 180 are not out of range). true or false. Scores 2 if true. magent does not take a numeric SBP.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "predisposition_vasovagal",
                        "heart_disease",
                        "sbp_lt_90_or_gt_180",
                        "elevated_troponin",
                        "qrs_axis_deg",
                        "qrs_duration_ms",
                        "qtc_ms",
                        "ed_vasovagal_syncope",
                        "ed_cardiac_syncope"
                      ],
                      "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": [
    "csrs",
    "syncope",
    "emergency",
    "ecg",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T02:26:14.324Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:26:14.216Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "ed_cardiac_syncope": false,
                  "ed_vasovagal_syncope": false,
                  "elevated_troponin": false,
                  "heart_disease": false,
                  "predisposition_vasovagal": false,
                  "qrs_axis_deg": 0,
                  "qrs_duration_ms": 80,
                  "qtc_ms": 400,
                  "sbp_lt_90_or_gt_180": false
                },
                {
                  "ed_cardiac_syncope": false,
                  "ed_vasovagal_syncope": false,
                  "elevated_troponin": false,
                  "heart_disease": false,
                  "predisposition_vasovagal": false,
                  "qrs_axis_deg": 0,
                  "qrs_duration_ms": 80,
                  "qtc_ms": 400,
                  "sbp_lt_90_or_gt_180": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.",
                    "doi": "10.1503/cmaj.151469",
                    "id": "thiruganasambandamoorthy-2016",
                    "pmid": "27378464",
                    "source": "CMAJ. 2016;188(12):E289-E298",
                    "title": "Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."
                  },
                  "components": [
                    {
                      "factor": "predisposition_vasovagal",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "heart_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sbp_lt_90_or_gt_180",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "elevated_troponin",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "qrs_axis",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "qrs_duration",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "qtc",
                      "points": 0,
                      "present": false,
                      "value": 400
                    },
                    {
                      "factor": "ed_vasovagal_syncope",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ed_cardiac_syncope",
                      "points": 0,
                      "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": "csrs",
                  "formula_expression": "CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)",
                  "max_score": 11,
                  "qrs_axis_deg": 0,
                  "qrs_duration_ms": 80,
                  "qtc_ms": 400,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Thiruganasambandamoorthy V, Kwong K, Wells GA, et al.",
                    "doi": "10.1503/cmaj.151469",
                    "id": "thiruganasambandamoorthy-2016",
                    "pmid": "27378464",
                    "source": "CMAJ. 2016;188(12):E289-E298",
                    "title": "Development of the Canadian Syncope Risk Score to predict serious adverse events after emergency department assessment of syncope."
                  },
                  "components": [
                    {
                      "factor": "predisposition_vasovagal",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "heart_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sbp_lt_90_or_gt_180",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "elevated_troponin",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "qrs_axis",
                      "points": 0,
                      "present": false,
                      "value": 0
                    },
                    {
                      "factor": "qrs_duration",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "qtc",
                      "points": 0,
                      "present": false,
                      "value": 400
                    },
                    {
                      "factor": "ed_vasovagal_syncope",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "ed_cardiac_syncope",
                      "points": 0,
                      "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": "csrs",
                  "formula_expression": "CSRS = predisposition_vasovagal(-1) + heart_disease(1) + sbp_lt_90_or_gt_180(2) + elevated_troponin(2) + (qrs_axis < -30 or > 100)(1) + (qrs_duration > 130)(1) + (qtc > 480)(2) + ed_vasovagal_syncope(-2) + ed_cardiac_syncope(2); range -3 to 11; max 11; Figure 2 / abstract (axis >100, not table 110)",
                  "max_score": 11,
                  "qrs_axis_deg": 0,
                  "qrs_duration_ms": 80,
                  "qtc_ms": 400,
                  "score": 0
                }
              ],
              "path": "/api/calc/csrs"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "ed_cardiac_syncope": {
                            "description": "ED diagnosis of cardiac syncope (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true. Cannot be true together with ed_vasovagal_syncope.",
                            "type": "boolean"
                          },
                          "ed_vasovagal_syncope": {
                            "description": "ED diagnosis of vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -2 if true. Cannot be true together with ed_cardiac_syncope.",
                            "type": "boolean"
                          },
                          "elevated_troponin": {
                            "description": "Troponin above the 99th percentile (Thiruganasambandamoorthy 2016). true or false. Scores 2 if true.",
                            "type": "boolean"
                          },
                          "heart_disease": {
                            "description": "History of heart disease (Thiruganasambandamoorthy 2016). true or false. Scores 1 if true.",
                            "type": "boolean"
                          },
                          "predisposition_vasovagal": {
                            "description": "Predisposition to vasovagal syncope (Thiruganasambandamoorthy 2016). true or false. Scores -1 if true.",
                            "type": "boolean"
                          },
                          "qrs_axis_deg": {
                            "description": "QRS axis in degrees (-180 to 180). Scores 1 when < -30 or > 100 (Figure 2 / abstract; not table 110). -30 and 100 do not score; -31 and 101 do.",
                            "type": "number"
                          },
                          "qrs_duration_ms": {
                            "description": "QRS duration in milliseconds (40-300). Scores 1 when >130. 130 does not score; 131 does.",
                            "type": "number"
                          },
                          "qtc_ms": {
                            "description": "QTc in milliseconds (200-800). Scores 2 when >480. 480 does not score; 481 does.",
                            "type": "number"
                          },
                          "sbp_lt_90_or_gt_180": {
                            "description": "Any ED systolic BP <90 or >180 mm Hg (caller-assigned; SBP 90 and 180 are not out of range). true or false. Scores 2 if true. magent does not take a numeric SBP.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "predisposition_vasovagal",
                          "heart_disease",
                          "sbp_lt_90_or_gt_180",
                          "elevated_troponin",
                          "qrs_axis_deg",
                          "qrs_duration_ms",
                          "qtc_ms",
                          "ed_vasovagal_syncope",
                          "ed_cardiac_syncope"
                        ],
                        "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"
  }
}