{
  "x402Version": 2,
  "id": 38831,
  "slug": "38831",
  "resource": "https://api.magentlab.com/api/calc/rose",
  "description": "Reed 2010 ROSE (BRACES) for ED syncope: BNP ≥300 pg/mL, heart rate ≤50, fecal occult blood, hemoglobin ≤90 g/L, chest pain associated with syncope, Q wave not in lead III, and room-air SpO2 ≤94%. Each present criterion is 1 point (score 0-7). High-risk if any item is present. Caller assigns labs, vitals, FOB, chest pain, and the Q-wave flag. Not a medical device or disposition protocol; magent does not measure BNP, hemoglobin, or SpO2, and does not read an ECG.",
  "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": [
              {
                "bnp_pg_ml": 50,
                "chest_pain": false,
                "fecal_occult_blood": false,
                "heart_rate_bpm": 70,
                "hemoglobin_g_l": 130,
                "q_wave_not_lead_iii": false,
                "spo2_percent": 98
              },
              {
                "bnp_pg_ml": 50,
                "chest_pain": false,
                "fecal_occult_blood": false,
                "heart_rate_bpm": 70,
                "hemoglobin_g_l": 130,
                "q_wave_not_lead_iii": false,
                "spo2_percent": 98
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "bnp_pg_ml": 50,
                "citation": {
                  "authors": "Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ",
                  "doi": "10.1016/j.jacc.2009.09.049",
                  "id": "reed-2010",
                  "pmid": "20170806",
                  "source": "J Am Coll Cardiol. 2010;55(8):713-721",
                  "title": "The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"
                },
                "components": [
                  {
                    "factor": "bnp_ge_300",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "heart_rate_le_50",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "fecal_occult_blood",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hemoglobin_le_90",
                    "points": 0,
                    "present": false,
                    "value": 130
                  },
                  {
                    "factor": "chest_pain",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "q_wave_not_lead_iii",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "spo2_le_94",
                    "points": 0,
                    "present": false,
                    "value": 98
                  }
                ],
                "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": "rose",
                "formula_expression": "ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)",
                "heart_rate_bpm": 70,
                "hemoglobin_g_l": 130,
                "max_score": 7,
                "rose_high_risk": false,
                "score": 0,
                "spo2_percent": 98
              },
              {
                "bnp_pg_ml": 50,
                "citation": {
                  "authors": "Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ",
                  "doi": "10.1016/j.jacc.2009.09.049",
                  "id": "reed-2010",
                  "pmid": "20170806",
                  "source": "J Am Coll Cardiol. 2010;55(8):713-721",
                  "title": "The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"
                },
                "components": [
                  {
                    "factor": "bnp_ge_300",
                    "points": 0,
                    "present": false,
                    "value": 50
                  },
                  {
                    "factor": "heart_rate_le_50",
                    "points": 0,
                    "present": false,
                    "value": 70
                  },
                  {
                    "factor": "fecal_occult_blood",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hemoglobin_le_90",
                    "points": 0,
                    "present": false,
                    "value": 130
                  },
                  {
                    "factor": "chest_pain",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "q_wave_not_lead_iii",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "spo2_le_94",
                    "points": 0,
                    "present": false,
                    "value": 98
                  }
                ],
                "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": "rose",
                "formula_expression": "ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)",
                "heart_rate_bpm": 70,
                "hemoglobin_g_l": 130,
                "max_score": 7,
                "rose_high_risk": false,
                "score": 0,
                "spo2_percent": 98
              }
            ],
            "path": "/api/calc/rose"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "bnp_pg_ml": {
                          "description": "BNP in pg/mL (0-35000). Reed 2010 BRACES scores 1 when ≥300; 300 is high-risk. magent does not measure BNP.",
                          "type": "number"
                        },
                        "chest_pain": {
                          "description": "Chest pain associated with syncope (Reed 2010 C). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "fecal_occult_blood": {
                          "description": "Rectal exam showing fecal occult blood if GI-bleed suspicion (Reed 2010 R). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "heart_rate_bpm": {
                          "description": "Heart rate in beats/min (integer 30-220). Reed 2010 bradycardia ≤50 (ED or pre-hospital in the paper; this tool takes one integer). 50 scores 1. magent does not measure heart rate.",
                          "type": "integer"
                        },
                        "hemoglobin_g_l": {
                          "description": "Hemoglobin in g/L (30-220). Reed 2010 anemia scores 1 when ≤90; 90 is high-risk. magent does not assay hemoglobin.",
                          "type": "number"
                        },
                        "q_wave_not_lead_iii": {
                          "description": "Q wave not in lead III (Reed 2010 E). true or false as assigned by the caller. magent does not read an ECG.",
                          "type": "boolean"
                        },
                        "spo2_percent": {
                          "description": "Room-air SpO2 percent (50-100). Reed 2010 scores 1 when ≤94; 94 is high-risk. magent does not measure SpO2.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "bnp_pg_ml",
                        "heart_rate_bpm",
                        "fecal_occult_blood",
                        "hemoglobin_g_l",
                        "chest_pain",
                        "q_wave_not_lead_iii",
                        "spo2_percent"
                      ],
                      "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": [
    "rose",
    "syncope",
    "emergency",
    "braces",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T13:52:27.32Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T13:52:27.189Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "bnp_pg_ml": 50,
                  "chest_pain": false,
                  "fecal_occult_blood": false,
                  "heart_rate_bpm": 70,
                  "hemoglobin_g_l": 130,
                  "q_wave_not_lead_iii": false,
                  "spo2_percent": 98
                },
                {
                  "bnp_pg_ml": 50,
                  "chest_pain": false,
                  "fecal_occult_blood": false,
                  "heart_rate_bpm": 70,
                  "hemoglobin_g_l": 130,
                  "q_wave_not_lead_iii": false,
                  "spo2_percent": 98
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "bnp_pg_ml": 50,
                  "citation": {
                    "authors": "Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ",
                    "doi": "10.1016/j.jacc.2009.09.049",
                    "id": "reed-2010",
                    "pmid": "20170806",
                    "source": "J Am Coll Cardiol. 2010;55(8):713-721",
                    "title": "The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"
                  },
                  "components": [
                    {
                      "factor": "bnp_ge_300",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "heart_rate_le_50",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "fecal_occult_blood",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hemoglobin_le_90",
                      "points": 0,
                      "present": false,
                      "value": 130
                    },
                    {
                      "factor": "chest_pain",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "q_wave_not_lead_iii",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "spo2_le_94",
                      "points": 0,
                      "present": false,
                      "value": 98
                    }
                  ],
                  "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": "rose",
                  "formula_expression": "ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)",
                  "heart_rate_bpm": 70,
                  "hemoglobin_g_l": 130,
                  "max_score": 7,
                  "rose_high_risk": false,
                  "score": 0,
                  "spo2_percent": 98
                },
                {
                  "bnp_pg_ml": 50,
                  "citation": {
                    "authors": "Reed MJ, Newby DE, Coull AJ, Prescott RJ, Jacques KG, Gray AJ",
                    "doi": "10.1016/j.jacc.2009.09.049",
                    "id": "reed-2010",
                    "pmid": "20170806",
                    "source": "J Am Coll Cardiol. 2010;55(8):713-721",
                    "title": "The ROSE (Risk Stratification of Syncope in the Emergency Department) Study"
                  },
                  "components": [
                    {
                      "factor": "bnp_ge_300",
                      "points": 0,
                      "present": false,
                      "value": 50
                    },
                    {
                      "factor": "heart_rate_le_50",
                      "points": 0,
                      "present": false,
                      "value": 70
                    },
                    {
                      "factor": "fecal_occult_blood",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hemoglobin_le_90",
                      "points": 0,
                      "present": false,
                      "value": 130
                    },
                    {
                      "factor": "chest_pain",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "q_wave_not_lead_iii",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "spo2_le_94",
                      "points": 0,
                      "present": false,
                      "value": 98
                    }
                  ],
                  "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": "rose",
                  "formula_expression": "ROSE = bnp_ge_300 + heart_rate_le_50 + fecal_occult_blood + hemoglobin_le_90 + chest_pain + q_wave_not_lead_iii + spo2_le_94; each 1 if present; rose_high_risk iff score >= 1; max 7 (Reed 2010 BRACES)",
                  "heart_rate_bpm": 70,
                  "hemoglobin_g_l": 130,
                  "max_score": 7,
                  "rose_high_risk": false,
                  "score": 0,
                  "spo2_percent": 98
                }
              ],
              "path": "/api/calc/rose"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "bnp_pg_ml": {
                            "description": "BNP in pg/mL (0-35000). Reed 2010 BRACES scores 1 when ≥300; 300 is high-risk. magent does not measure BNP.",
                            "type": "number"
                          },
                          "chest_pain": {
                            "description": "Chest pain associated with syncope (Reed 2010 C). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "fecal_occult_blood": {
                            "description": "Rectal exam showing fecal occult blood if GI-bleed suspicion (Reed 2010 R). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "heart_rate_bpm": {
                            "description": "Heart rate in beats/min (integer 30-220). Reed 2010 bradycardia ≤50 (ED or pre-hospital in the paper; this tool takes one integer). 50 scores 1. magent does not measure heart rate.",
                            "type": "integer"
                          },
                          "hemoglobin_g_l": {
                            "description": "Hemoglobin in g/L (30-220). Reed 2010 anemia scores 1 when ≤90; 90 is high-risk. magent does not assay hemoglobin.",
                            "type": "number"
                          },
                          "q_wave_not_lead_iii": {
                            "description": "Q wave not in lead III (Reed 2010 E). true or false as assigned by the caller. magent does not read an ECG.",
                            "type": "boolean"
                          },
                          "spo2_percent": {
                            "description": "Room-air SpO2 percent (50-100). Reed 2010 scores 1 when ≤94; 94 is high-risk. magent does not measure SpO2.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "bnp_pg_ml",
                          "heart_rate_bpm",
                          "fecal_occult_blood",
                          "hemoglobin_g_l",
                          "chest_pain",
                          "q_wave_not_lead_iii",
                          "spo2_percent"
                        ],
                        "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"
  }
}