78trust / 100

Calc R Iss

by magent in Security & trust

x402 APIPassing, checked 32 min ago

Palumbo 2015 R-ISS for multiple myeloma. ISS from beta-2 microglobulin and albumin (Greipp 2005). R-ISS I: ISS I, standard-risk iFISH CA, and normal LDH. R-ISS III: ISS III plus high-risk CA (del(17p) and/or t(4;14) and/or t(14;16)) or LDH > ULN. R-ISS II: all other combinations. Not a myeloma diagnosis or treatment choice; not R2-ISS; not Durie-Salmon. magent does not assay beta-2 microglobulin, albumin, LDH, or cytogenetics.

POST https://api.magentlab.com/api/calc/r_iss

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
148 ms typical, 229 ms slowest 5%
Last check
32 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.magentlab.com/api/calc/r_iss" \
  -H "content-type: application/json" \
  -d '{"items":[{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false},{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fr_iss
const res = await pay("https://api.magentlab.com/api/calc/r_iss", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"items":[{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false},{"albumin_g_dl":4,"albumin_g_l":40,"beta2_microglobulin_mg_l":2,"high_risk_ca":false,"ldh_gt_uln":false}]}),
});
console.log(await res.json());

Example input

{
  "items": [
    {
      "albumin_g_dl": 4,
      "albumin_g_l": 40,
      "beta2_microglobulin_mg_l": 2,
      "high_risk_ca": false,
      "ldh_gt_uln": false
    },
    {
      "albumin_g_dl": 4,
      "albumin_g_l": 40,
      "beta2_microglobulin_mg_l": 2,
      "high_risk_ca": false,
      "ldh_gt_uln": false
    }
  ]
}

Example output

{
  "count": 2,
  "items": [
    {
      "albumin_g_dl": 4,
      "beta2_microglobulin_mg_l": 2,
      "citation": {
        "authors": "Palumbo A, Avet-Loiseau H, Oliva S, et al.",
        "doi": "10.1200/JCO.2015.61.2267",
        "id": "palumbo-2015",
        "pmid": "26240224",
        "source": "J Clin Oncol. 2015;33(26):2863-2869",
        "title": "Revised International Staging System for Multiple Myeloma: A Report From International Myeloma Working Group"
      },
      "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": "r_iss",
      "formula_expression": "R-ISS I: ISS I AND high_risk_ca false AND ldh_gt_uln false; R-ISS III: ISS III AND (high_risk_ca OR ldh_gt_uln); R-ISS II: all other combinations. ISS I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; ISS III: beta2_microglobulin_mg_l >= 5.5; ISS II: neither I nor III (Palumbo 2015; ISS as Greipp 2005)",
      "high_risk_ca": false,
      "iss_stage": 1,
      "iss_stage_label": "I",
      "ldh_gt_uln": false,
      "riss_stage": 1,
      "riss_stage_label": "I"
    },
    {
      "albumin_g_dl": 4,
      "beta2_microglobulin_mg_l": 2,
      "citation": {
        "authors": "Palumbo A, Avet-Loiseau H, Oliva S, et al.",
        "doi": "10.1200/JCO.2015.61.2267",
        "id": "palumbo-2015",
        "pmid": "26240224",
        "source": "J Clin Oncol. 2015;33(26):2863-2869",
        "title": "Revised International Staging System for Multiple Myeloma: A Report From International Myeloma Working Group"
      },
      "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": "r_iss",
      "formula_expression": "R-ISS I: ISS I AND high_risk_ca false AND ldh_gt_uln false; R-ISS III: ISS III AND (high_risk_ca OR ldh_gt_uln); R-ISS II: all other combinations. ISS I: beta2_microglobulin_mg_l < 3.5 AND albumin_g_dl >= 3.5; ISS III: beta2_microglobulin_mg_l >= 5.5; ISS II: neither I nor III (Palumbo 2015; ISS as Greipp 2005)",
      "high_risk_ca": false,
      "iss_stage": 1,
      "iss_stage_label": "I",
      "ldh_gt_uln": false,
      "riss_stage": 1,
      "riss_stage_label": "I"
    }
  ],
  "path": "/api/calc/r_iss"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
32 min agoPassed402148 ms$0.005
4 h agoPassed402155 ms$0.005
12 h agoPassed402140 ms$0.005
16 h agoPassed402140 ms$0.005
20 h agoPassed402139 ms$0.005
23 h agoPassed402158 ms$0.005
27 h agoPassed402229 ms$0.005
31 h agoPassed402271 ms$0.005
34 h agoPassed402221 ms$0.005
39 h agoPassed402138 ms$0.005