Skip to content
Fourohtwo

Yeh 2016 DAPT prediction rule after PCI

api.magentlab.com/api/calc/dapt

Yeh 2016 DAPT prediction rule after PCI: exclusive age (<65: 0; 65 to younger th

BaseAnswering
POSThttps://api.magentlab.com/api/calc/dapt

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.magentlab.com/api/calc/dapt", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"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}]}),
});
console.log(await res.json());

Example input

{
  "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
    }
  ]
}

More from magentProvider status