{
  "x402Version": 2,
  "id": 39213,
  "slug": "39213",
  "resource": "https://api.magentlab.com/api/calc/dash",
  "description": "Tosetto 2012 DASH (D-dimer, Age, Sex, Hormonal therapy) after a first unprovoked VTE: abnormal D-dimer after stopping anticoagulation +2, age <50 +1 (age 50 does not score), male +1, hormone use at the initial VTE in women -2. Score -2 to 4. Returns published recurrence bands <=1, 2, and >=3 without percents. Not a medical device and not a duration-of-anticoagulation order.",
  "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": [
              {
                "abnormal_d_dimer": false,
                "age": 60,
                "hormone_use": false,
                "sex": "female"
              },
              {
                "abnormal_d_dimer": false,
                "age": 60,
                "hormone_use": false,
                "sex": "female"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 60,
                "citation": {
                  "authors": "Tosetto A, Iorio A, Marcucci M, et al.",
                  "doi": "10.1111/j.1538-7836.2012.04735.x",
                  "id": "tosetto-2012",
                  "pmid": "22489957",
                  "source": "J Thromb Haemost. 2012;10(6):1019-1025",
                  "title": "Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"
                },
                "components": [
                  {
                    "factor": "abnormal_d_dimer",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_lt_50",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "male",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hormone_use",
                    "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": "dash",
                "formula_expression": "DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3",
                "max_score": 4,
                "recurrence_band": "<=1",
                "score": 0,
                "sex": "female"
              },
              {
                "age_years": 60,
                "citation": {
                  "authors": "Tosetto A, Iorio A, Marcucci M, et al.",
                  "doi": "10.1111/j.1538-7836.2012.04735.x",
                  "id": "tosetto-2012",
                  "pmid": "22489957",
                  "source": "J Thromb Haemost. 2012;10(6):1019-1025",
                  "title": "Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"
                },
                "components": [
                  {
                    "factor": "abnormal_d_dimer",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "age_lt_50",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "male",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hormone_use",
                    "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": "dash",
                "formula_expression": "DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3",
                "max_score": 4,
                "recurrence_band": "<=1",
                "score": 0,
                "sex": "female"
              }
            ],
            "path": "/api/calc/dash"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "abnormal_d_dimer": {
                          "description": "Abnormal D-dimer after stopping anticoagulation (Tosetto 2012). true or false. 2 points if true.",
                          "type": "boolean"
                        },
                        "age": {
                          "description": "Age in years (18-120). Scores 1 when age is <50 (Tosetto 2012). Age 50 does not score.",
                          "type": "integer"
                        },
                        "hormone_use": {
                          "description": "Hormone use at the initial VTE. Required. Scores -2 only when sex is female and true. Must be false when sex is male.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "female or male. Male scores 1. Hormone use applies only when female.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "abnormal_d_dimer",
                        "hormone_use"
                      ],
                      "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": [
    "dash",
    "vte",
    "recurrence",
    "d-dimer",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T02:36:19.695Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:36:19.337Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "abnormal_d_dimer": false,
                  "age": 60,
                  "hormone_use": false,
                  "sex": "female"
                },
                {
                  "abnormal_d_dimer": false,
                  "age": 60,
                  "hormone_use": false,
                  "sex": "female"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 60,
                  "citation": {
                    "authors": "Tosetto A, Iorio A, Marcucci M, et al.",
                    "doi": "10.1111/j.1538-7836.2012.04735.x",
                    "id": "tosetto-2012",
                    "pmid": "22489957",
                    "source": "J Thromb Haemost. 2012;10(6):1019-1025",
                    "title": "Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"
                  },
                  "components": [
                    {
                      "factor": "abnormal_d_dimer",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_lt_50",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "male",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hormone_use",
                      "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": "dash",
                  "formula_expression": "DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3",
                  "max_score": 4,
                  "recurrence_band": "<=1",
                  "score": 0,
                  "sex": "female"
                },
                {
                  "age_years": 60,
                  "citation": {
                    "authors": "Tosetto A, Iorio A, Marcucci M, et al.",
                    "doi": "10.1111/j.1538-7836.2012.04735.x",
                    "id": "tosetto-2012",
                    "pmid": "22489957",
                    "source": "J Thromb Haemost. 2012;10(6):1019-1025",
                    "title": "Predicting disease recurrence in patients with previous unprovoked venous thromboembolism: a proposed prediction score (DASH)"
                  },
                  "components": [
                    {
                      "factor": "abnormal_d_dimer",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "age_lt_50",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "male",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hormone_use",
                      "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": "dash",
                  "formula_expression": "DASH = 2*abnormal_d_dimer + 1*(age<50) + 1*male + (-2)*hormone_use(female only); max 4; recurrence_band <=1 / 2 / >=3",
                  "max_score": 4,
                  "recurrence_band": "<=1",
                  "score": 0,
                  "sex": "female"
                }
              ],
              "path": "/api/calc/dash"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "abnormal_d_dimer": {
                            "description": "Abnormal D-dimer after stopping anticoagulation (Tosetto 2012). true or false. 2 points if true.",
                            "type": "boolean"
                          },
                          "age": {
                            "description": "Age in years (18-120). Scores 1 when age is <50 (Tosetto 2012). Age 50 does not score.",
                            "type": "integer"
                          },
                          "hormone_use": {
                            "description": "Hormone use at the initial VTE. Required. Scores -2 only when sex is female and true. Must be false when sex is male.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "female or male. Male scores 1. Hormone use applies only when female.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "abnormal_d_dimer",
                          "hormone_use"
                        ],
                        "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"
  }
}