{
  "x402Version": 2,
  "id": 39106,
  "slug": "39106",
  "resource": "https://api.magentlab.com/api/calc/herdoo2",
  "description": "Rodger 2008 HERDOO2 after a first unprovoked VTE. Score 1 each for hyperpigmentation, edema, or redness in either leg; D-dimer ≥250 μg/L while on anticoagulants; BMI ≥30; age ≥65 (equality scores). Max 4. low_risk is true only for women with score ≤1. Men have no low-risk subgroup in the derivation. 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": [
              {
                "age": 40,
                "bmi_kg_m2": 22,
                "d_dimer_ge_250": false,
                "her_signs": false,
                "sex": "female"
              },
              {
                "age": 40,
                "bmi_kg_m2": 22,
                "d_dimer_ge_250": false,
                "her_signs": false,
                "sex": "female"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "bmi_kg_m2": 22,
                "citation": {
                  "authors": "Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ",
                  "doi": "10.1503/cmaj.080493",
                  "id": "rodger-2008",
                  "pmid": "18725614",
                  "source": "CMAJ. 2008;179(5):417-426",
                  "title": "Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"
                },
                "components": [
                  {
                    "factor": "her_signs",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "d_dimer_ge_250",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bmi_ge_30",
                    "points": 0,
                    "present": false,
                    "value": 22
                  },
                  {
                    "factor": "age_ge_65",
                    "points": 0,
                    "present": false,
                    "value": 40
                  }
                ],
                "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": "herdoo2",
                "formula_expression": "HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)",
                "low_risk": true,
                "max_score": 4,
                "score": 0,
                "sex": "female"
              },
              {
                "age_years": 40,
                "bmi_kg_m2": 22,
                "citation": {
                  "authors": "Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ",
                  "doi": "10.1503/cmaj.080493",
                  "id": "rodger-2008",
                  "pmid": "18725614",
                  "source": "CMAJ. 2008;179(5):417-426",
                  "title": "Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"
                },
                "components": [
                  {
                    "factor": "her_signs",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "d_dimer_ge_250",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bmi_ge_30",
                    "points": 0,
                    "present": false,
                    "value": 22
                  },
                  {
                    "factor": "age_ge_65",
                    "points": 0,
                    "present": false,
                    "value": 40
                  }
                ],
                "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": "herdoo2",
                "formula_expression": "HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)",
                "low_risk": true,
                "max_score": 4,
                "score": 0,
                "sex": "female"
              }
            ],
            "path": "/api/calc/herdoo2"
          },
          "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). Scores 1 when ≥65. Age 65 meets (Rodger 2008).",
                          "type": "integer"
                        },
                        "bmi_kg_m2": {
                          "description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Scores 1 when ≥30. Equality at 30.0 meets.",
                          "type": "number"
                        },
                        "d_dimer_ge_250": {
                          "description": "D-dimer ≥250 μg/L while on anticoagulants (Rodger 2008). Caller-assigned; magent does not assay D-dimer. true or false. 1 point if true.",
                          "type": "boolean"
                        },
                        "her_signs": {
                          "description": "Hyperpigmentation, edema, or redness in either leg (Rodger 2008). Caller-assigned. true or false. 1 point if true.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "female or male. low_risk is true only when female and score ≤1. Men have no low-risk subgroup in Rodger 2008.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "sex",
                        "her_signs",
                        "d_dimer_ge_250",
                        "bmi_kg_m2",
                        "age"
                      ],
                      "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": [
    "herdoo2",
    "vte",
    "recurrence",
    "d-dimer",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T06:06:36.309Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T06:06:36.144Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "bmi_kg_m2": 22,
                  "d_dimer_ge_250": false,
                  "her_signs": false,
                  "sex": "female"
                },
                {
                  "age": 40,
                  "bmi_kg_m2": 22,
                  "d_dimer_ge_250": false,
                  "her_signs": false,
                  "sex": "female"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "bmi_kg_m2": 22,
                  "citation": {
                    "authors": "Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ",
                    "doi": "10.1503/cmaj.080493",
                    "id": "rodger-2008",
                    "pmid": "18725614",
                    "source": "CMAJ. 2008;179(5):417-426",
                    "title": "Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"
                  },
                  "components": [
                    {
                      "factor": "her_signs",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "d_dimer_ge_250",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bmi_ge_30",
                      "points": 0,
                      "present": false,
                      "value": 22
                    },
                    {
                      "factor": "age_ge_65",
                      "points": 0,
                      "present": false,
                      "value": 40
                    }
                  ],
                  "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": "herdoo2",
                  "formula_expression": "HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)",
                  "low_risk": true,
                  "max_score": 4,
                  "score": 0,
                  "sex": "female"
                },
                {
                  "age_years": 40,
                  "bmi_kg_m2": 22,
                  "citation": {
                    "authors": "Rodger MA, Kahn SR, Wells PS, Anderson DA, Chagnon I, Le Gal G, Solymoss S, Crowther M, Perrier A, White R, Vickars L, Ramsay T, Betancourt MT, Kovacs MJ",
                    "doi": "10.1503/cmaj.080493",
                    "id": "rodger-2008",
                    "pmid": "18725614",
                    "source": "CMAJ. 2008;179(5):417-426",
                    "title": "Identifying unprovoked thromboembolism patients at low risk for recurrence who can discontinue anticoagulant therapy"
                  },
                  "components": [
                    {
                      "factor": "her_signs",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "d_dimer_ge_250",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bmi_ge_30",
                      "points": 0,
                      "present": false,
                      "value": 22
                    },
                    {
                      "factor": "age_ge_65",
                      "points": 0,
                      "present": false,
                      "value": 40
                    }
                  ],
                  "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": "herdoo2",
                  "formula_expression": "HERDOO2 = her_signs + d_dimer_ge_250 + (bmi_kg_m2>=30) + (age>=65); each 1 if true; max 4; low_risk iff female and score<=1 (men have no low-risk subgroup)",
                  "low_risk": true,
                  "max_score": 4,
                  "score": 0,
                  "sex": "female"
                }
              ],
              "path": "/api/calc/herdoo2"
            },
            "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). Scores 1 when ≥65. Age 65 meets (Rodger 2008).",
                            "type": "integer"
                          },
                          "bmi_kg_m2": {
                            "description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Scores 1 when ≥30. Equality at 30.0 meets.",
                            "type": "number"
                          },
                          "d_dimer_ge_250": {
                            "description": "D-dimer ≥250 μg/L while on anticoagulants (Rodger 2008). Caller-assigned; magent does not assay D-dimer. true or false. 1 point if true.",
                            "type": "boolean"
                          },
                          "her_signs": {
                            "description": "Hyperpigmentation, edema, or redness in either leg (Rodger 2008). Caller-assigned. true or false. 1 point if true.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "female or male. low_risk is true only when female and score ≤1. Men have no low-risk subgroup in Rodger 2008.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "sex",
                          "her_signs",
                          "d_dimer_ge_250",
                          "bmi_kg_m2",
                          "age"
                        ],
                        "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"
  }
}