Hassanein 2021 IDF-DAR fasting risk table: type 1 scores 1; duration ≥10 scores 1; hypo…
Hassanein 2021 IDF-DAR fasting risk table: type 1 scores 1; duration ≥10 scores 1; hypoglycemia 0/1/3.5/5.5/6.5; HbA1c band 0/1/2; treatment 0/0.5/1/1.5/2/2.5/3; SMBG 0/1/2; DKA/HONC 0/1/2/3; MVD 0/2/6.5; eGFR band 0/2/4/6.5; pregnancy 0/3.5/6.5; frailty 0/3.…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Hassanein 2021 IDF-DAR fasting risk table: type 1 scores 1; duration ≥10 scores 1; hypoglycemia 0/1/3.5/5.5/6.5; HbA1c band 0/1/2; treatment 0/0.5/1/1.5/2/2.5/3; SMBG 0/1/2; DKA/HONC 0/1/2/3; MVD 0/2/6.5; eGFR band 0/2/4/6.5; pregnancy 0/3.5/6.5; frailty 0/3.5/6.5; labour 0/2/4; prior negative Ramadan 1; fasting ≥16 h 1. Low 0–3, moderate 3.5–6, high >6. Caller-assigned; not a fasting order or insulin dose.
Tags: idf-dar · ramadan · diabetes · fasting-risk · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"acute_complication": "none",
"age": 50,
"duration_ge_10": false,
"fasting_hours_ge_16": false,
"glycaemic_control": "lt_7_5",
"home_support": true,
"hypoglycemia": "none",
"impaired_cognition_or_frail": false,
"mvd": "none",
"physical_labor": "none",
"pregnancy": "not_pregnant",
"previous_ramadan_negative": false,
"renal": "egfr_gt_60",
"smbg": "as_indicated",
"treatment": "other",
"type_1_diabetes": false
},
{
"acute_complication": "none",
"age": 50,
"duration_ge_10": false,
"fasting_hours_ge_16": false,
"glycaemic_control": "lt_7_5",
"home_support": true,
"hypoglycemia": "none",
"impaired_cognition_or_frail": false,
"mvd": "none",
"physical_labor": "none",
"pregnancy": "not_pregnant",
"previous_ramadan_negative": false,
"renal": "egfr_gt_60",
"smbg": "as_indicated",
"treatment": "other",
"type_1_diabetes": false
}
]
}{
"count": 2,
"items": [
{
"age_years": 50,
"citation": {
"authors": "Hassanein M, Afandi B, Yakoob Ahmedani M, et al.",
"doi": "10.1016/j.diabres.2021.109185",
"id": "hassanein-2021",
"pmid": "35016991",
"source": "Diabetes Res Clin Pract. 2022;185:109185",
"title": "Diabetes and Ramadan: Practical guidelines 2021"
},
"components": [
{
"factor": "diabetes_type",
"points": 0,
"present": false,
"value": false
},
{
"factor": "duration",
"points": 0,
"present": false,
"value": false
},
{
"factor": "hypoglycemia",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "glycaemic_control",
"points": 0,
"present": false,
"value": "lt_7_5"
},
{
"factor": "treatment",
"points": 0,
"present": false,
"value": "other"
},
{
"factor": "smbg",
"points": 0,
"present": false,
"value": "as_indicated"
},
{
"factor": "acute_complication",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "mvd",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "renal",
"points": 0,
"present": false,
"value": "egfr_gt_60"
},
{
"factor": "pregnancy",
"points": 0,
"present": false,
"value": "not_pregnant"
},
{
"factor": "frailty",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "physical_labor",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "previous_ramadan",
"points": 0,
"present": false,
"value": false
},
{
"factor": "fasting_hours",
"points": 0,
"present": false,
"value": 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": "idf_dar",
"formula_expression": "IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table",
"max_score": 50.5,
"risk": "low",
"score": 0
},
{
"age_years": 50,
"citation": {
"authors": "Hassanein M, Afandi B, Yakoob Ahmedani M, et al.",
"doi": "10.1016/j.diabres.2021.109185",
"id": "hassanein-2021",
"pmid": "35016991",
"source": "Diabetes Res Clin Pract. 2022;185:109185",
"title": "Diabetes and Ramadan: Practical guidelines 2021"
},
"components": [
{
"factor": "diabetes_type",
"points": 0,
"present": false,
"value": false
},
{
"factor": "duration",
"points": 0,
"present": false,
"value": false
},
{
"factor": "hypoglycemia",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "glycaemic_control",
"points": 0,
"present": false,
"value": "lt_7_5"
},
{
"factor": "treatment",
"points": 0,
"present": false,
"value": "other"
},
{
"factor": "smbg",
"points": 0,
"present": false,
"value": "as_indicated"
},
{
"factor": "acute_complication",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "mvd",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "renal",
"points": 0,
"present": false,
"value": "egfr_gt_60"
},
{
"factor": "pregnancy",
"points": 0,
"present": false,
"value": "not_pregnant"
},
{
"factor": "frailty",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "physical_labor",
"points": 0,
"present": false,
"value": "none"
},
{
"factor": "previous_ramadan",
"points": 0,
"present": false,
"value": false
},
{
"factor": "fasting_hours",
"points": 0,
"present": false,
"value": 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": "idf_dar",
"formula_expression": "IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table",
"max_score": 50.5,
"risk": "low",
"score": 0
}
],
"path": "/api/calc/idf_dar"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39096.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/idf_dar. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 5 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.magentlab.com/api/calc/idf_dar"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/idf_dar");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/idf_dar")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/idf_dar
- Machine-readable
/resources/39096.json