{
  "x402Version": 2,
  "id": 39214,
  "slug": "39214",
  "resource": "https://api.magentlab.com/api/calc/dapt",
  "description": "Yeh 2016 DAPT prediction rule after PCI: exclusive age (<65: 0; 65 to younger than 75: -1; 75 or older: -2) plus MI at presentation, prior MI or PCI, diabetes, stent diameter <3 mm, smoking (current or within past year), and paclitaxel-eluting stent (1 each); CHF or LVEF <30% and vein-graft intervention (2 each). Max 10. Score >=2 high, <2 low. Not a duration order. Not a diagnosis.",
  "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": 60,
                "chf_or_lvef_lt_30": false,
                "diabetes": false,
                "myocardial_infarction_at_presentation": false,
                "paclitaxel_eluting_stent": false,
                "prior_mi_or_pci": false,
                "smoking": false,
                "stent_diameter_lt_3mm": false,
                "vein_graft_intervention": false
              },
              {
                "age": 60,
                "chf_or_lvef_lt_30": false,
                "diabetes": false,
                "myocardial_infarction_at_presentation": false,
                "paclitaxel_eluting_stent": false,
                "prior_mi_or_pci": false,
                "smoking": false,
                "stent_diameter_lt_3mm": false,
                "vein_graft_intervention": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 60,
                "citation": {
                  "authors": "Yeh RW, Secemsky EA, Kereiakes DJ, et al",
                  "doi": "10.1001/jama.2016.3775",
                  "id": "yeh-2016",
                  "pmid": "27022822",
                  "source": "JAMA. 2016;315(16):1735-1749",
                  "title": "Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "myocardial_infarction_at_presentation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_mi_or_pci",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "stent_diameter_lt_3mm",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "smoking",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "paclitaxel_eluting_stent",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chf_or_lvef_lt_30",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "vein_graft_intervention",
                    "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": "dapt",
                "formula_expression": "DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)",
                "max_score": 10,
                "risk_band": "low",
                "score": 0
              },
              {
                "age_years": 60,
                "citation": {
                  "authors": "Yeh RW, Secemsky EA, Kereiakes DJ, et al",
                  "doi": "10.1001/jama.2016.3775",
                  "id": "yeh-2016",
                  "pmid": "27022822",
                  "source": "JAMA. 2016;315(16):1735-1749",
                  "title": "Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 60
                  },
                  {
                    "factor": "myocardial_infarction_at_presentation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_mi_or_pci",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "stent_diameter_lt_3mm",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "smoking",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "paclitaxel_eluting_stent",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chf_or_lvef_lt_30",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "vein_graft_intervention",
                    "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": "dapt",
                "formula_expression": "DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)",
                "max_score": 10,
                "risk_band": "low",
                "score": 0
              }
            ],
            "path": "/api/calc/dapt"
          },
          "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). Yeh 2016 exclusive bands: younger than 65 scores 0; 65 to younger than 75 scores -1; 75 or older scores -2. Age 75 is -2, not -1.",
                          "type": "integer"
                        },
                        "chf_or_lvef_lt_30": {
                          "description": "Congestive heart failure or LVEF <30% as assigned by the caller (Yeh 2016). true scores 2. magent does not measure LVEF.",
                          "type": "boolean"
                        },
                        "diabetes": {
                          "description": "Diabetes mellitus as assigned by the caller (Yeh 2016). true scores 1.",
                          "type": "boolean"
                        },
                        "myocardial_infarction_at_presentation": {
                          "description": "Myocardial infarction at presentation as assigned by the caller (Yeh 2016). true scores 1. magent does not diagnose MI.",
                          "type": "boolean"
                        },
                        "paclitaxel_eluting_stent": {
                          "description": "Paclitaxel-eluting stent as assigned by the caller (Yeh 2016). true scores 1.",
                          "type": "boolean"
                        },
                        "prior_mi_or_pci": {
                          "description": "Prior myocardial infarction or prior PCI as assigned by the caller (Yeh 2016). true scores 1.",
                          "type": "boolean"
                        },
                        "smoking": {
                          "description": "Current cigarette smoking or smoking within the past year as assigned by the caller (Yeh 2016). true scores 1.",
                          "type": "boolean"
                        },
                        "stent_diameter_lt_3mm": {
                          "description": "Stent diameter <3 mm as assigned by the caller (Yeh 2016). true scores 1. magent does not measure the stent.",
                          "type": "boolean"
                        },
                        "vein_graft_intervention": {
                          "description": "Vein-graft PCI as assigned by the caller (Yeh 2016). true scores 2. magent does not interpret the angiogram.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age",
                        "myocardial_infarction_at_presentation",
                        "prior_mi_or_pci",
                        "diabetes",
                        "stent_diameter_lt_3mm",
                        "smoking",
                        "paclitaxel_eluting_stent",
                        "chf_or_lvef_lt_30",
                        "vein_graft_intervention"
                      ],
                      "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": [
    "dapt",
    "pci",
    "antiplatelet",
    "acs",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T02:36:17.863Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:36:17.492Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 60,
                  "chf_or_lvef_lt_30": false,
                  "diabetes": false,
                  "myocardial_infarction_at_presentation": false,
                  "paclitaxel_eluting_stent": false,
                  "prior_mi_or_pci": false,
                  "smoking": false,
                  "stent_diameter_lt_3mm": false,
                  "vein_graft_intervention": false
                },
                {
                  "age": 60,
                  "chf_or_lvef_lt_30": false,
                  "diabetes": false,
                  "myocardial_infarction_at_presentation": false,
                  "paclitaxel_eluting_stent": false,
                  "prior_mi_or_pci": false,
                  "smoking": false,
                  "stent_diameter_lt_3mm": false,
                  "vein_graft_intervention": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 60,
                  "citation": {
                    "authors": "Yeh RW, Secemsky EA, Kereiakes DJ, et al",
                    "doi": "10.1001/jama.2016.3775",
                    "id": "yeh-2016",
                    "pmid": "27022822",
                    "source": "JAMA. 2016;315(16):1735-1749",
                    "title": "Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "myocardial_infarction_at_presentation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_mi_or_pci",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "stent_diameter_lt_3mm",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "smoking",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "paclitaxel_eluting_stent",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chf_or_lvef_lt_30",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "vein_graft_intervention",
                      "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": "dapt",
                  "formula_expression": "DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)",
                  "max_score": 10,
                  "risk_band": "low",
                  "score": 0
                },
                {
                  "age_years": 60,
                  "citation": {
                    "authors": "Yeh RW, Secemsky EA, Kereiakes DJ, et al",
                    "doi": "10.1001/jama.2016.3775",
                    "id": "yeh-2016",
                    "pmid": "27022822",
                    "source": "JAMA. 2016;315(16):1735-1749",
                    "title": "Development and Validation of a Prediction Rule for Benefit and Harm of Dual Antiplatelet Therapy Beyond 1 Year After Percutaneous Coronary Intervention"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 60
                    },
                    {
                      "factor": "myocardial_infarction_at_presentation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_mi_or_pci",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "stent_diameter_lt_3mm",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "smoking",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "paclitaxel_eluting_stent",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chf_or_lvef_lt_30",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "vein_graft_intervention",
                      "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": "dapt",
                  "formula_expression": "DAPT = exclusive age (<65: 0, 65 to <75: -1, >=75: -2) + myocardial_infarction_at_presentation 1 + prior_mi_or_pci 1 + diabetes 1 + stent_diameter_lt_3mm 1 + smoking 1 + paclitaxel_eluting_stent 1 + chf_or_lvef_lt_30 2 + vein_graft_intervention 2; max 10; >=2 high, <2 low (Yeh 2016)",
                  "max_score": 10,
                  "risk_band": "low",
                  "score": 0
                }
              ],
              "path": "/api/calc/dapt"
            },
            "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). Yeh 2016 exclusive bands: younger than 65 scores 0; 65 to younger than 75 scores -1; 75 or older scores -2. Age 75 is -2, not -1.",
                            "type": "integer"
                          },
                          "chf_or_lvef_lt_30": {
                            "description": "Congestive heart failure or LVEF <30% as assigned by the caller (Yeh 2016). true scores 2. magent does not measure LVEF.",
                            "type": "boolean"
                          },
                          "diabetes": {
                            "description": "Diabetes mellitus as assigned by the caller (Yeh 2016). true scores 1.",
                            "type": "boolean"
                          },
                          "myocardial_infarction_at_presentation": {
                            "description": "Myocardial infarction at presentation as assigned by the caller (Yeh 2016). true scores 1. magent does not diagnose MI.",
                            "type": "boolean"
                          },
                          "paclitaxel_eluting_stent": {
                            "description": "Paclitaxel-eluting stent as assigned by the caller (Yeh 2016). true scores 1.",
                            "type": "boolean"
                          },
                          "prior_mi_or_pci": {
                            "description": "Prior myocardial infarction or prior PCI as assigned by the caller (Yeh 2016). true scores 1.",
                            "type": "boolean"
                          },
                          "smoking": {
                            "description": "Current cigarette smoking or smoking within the past year as assigned by the caller (Yeh 2016). true scores 1.",
                            "type": "boolean"
                          },
                          "stent_diameter_lt_3mm": {
                            "description": "Stent diameter <3 mm as assigned by the caller (Yeh 2016). true scores 1. magent does not measure the stent.",
                            "type": "boolean"
                          },
                          "vein_graft_intervention": {
                            "description": "Vein-graft PCI as assigned by the caller (Yeh 2016). true scores 2. magent does not interpret the angiogram.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age",
                          "myocardial_infarction_at_presentation",
                          "prior_mi_or_pci",
                          "diabetes",
                          "stent_diameter_lt_3mm",
                          "smoking",
                          "paclitaxel_eluting_stent",
                          "chf_or_lvef_lt_30",
                          "vein_graft_intervention"
                        ],
                        "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"
  }
}