Hassanein 2021 IDF-DAR fasting risk table
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.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
349 msmedian answer time
$0.005listed price per call
$0.007price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/idf_dar
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 349 ms |
Example input (from the provider)
{
"body": {
"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
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"acute_complication": {
"description": "Caller-assigned DKA or HONC recency (Hassanein 2021). none 0; last_12_months 1; last_6_months 2; last_3_months 3.",
"enum": [
"none",
"last_12_months",
"last_6_months",
"last_3_months"
],
"type": "string"
},
"age": {
"description": "Age in years (integer 18-120). Hassanein 2021 frailty band: age >70 with no home support scores 3.5 unless impaired_cognition_or_frail is true (6.5). Age 70 does not enter that band. magent does not read a chart.",
"type": "integer"
},
"duration_ge_10": {
"description": "Caller-assigned diabetes duration \u226510 years (Hassanein 2021). true scores 1; false (<10 years) scores 0.",
"type": "boolean"
},
"fasting_hours_ge_16": {
"description": "Caller-assigned fasting hours \u226516 (location; Hassanein 2021). true scores 1; false (<16 hours) scores 0. magent does not advise fasting.",
"type": "boolean"
},
"glycaemic_control": {
"description": "Caller-assigned HbA1c band (Hassanein 2021). lt_7_5 (<7.5%) scores 0; 7_5_to_9 (7.5\u20139%) scores 1; gt_9 (>9%) scores 2. magent does not assay glucose or HbA1c.",
"enum": [
"lt_7_5",
"7_5_to_9",
"gt_9"
],
"type": "string"
},
"home_support": {
"description": "Caller-assigned home support (Hassanein 2021). When age >70 and this is false and impaired_cognition_or_frail is false, frailty scores 3.5. true or false.",
"type": "boolean"
},
"hypoglycemia": {
"description": "Caller-assigned hypoglycemia history (Hassanein 2021; highest applicable). none 0; lt_weekly (less than once per week) 1; multiple_weekly 3.5; recent_severe 5.5; unawareness 6.5. magent does not assay glucose.",
"enum": [
"none",
"lt_weekly",
"multiple_weekly",
"recent_severe",
"unawareness"
],
"type": "string"
},
"impaired_cognition_or_frail": {
"description": "Caller-assigned impaired cognitive function or frailty (Hassanein 2021). true scores 6.5 and supersedes the age>70 / no-home-support band.",
"type": "boolean"
},
"mvd": {
"description": "Caller-assigned macrovascular disease (Hassanein 2021). none 0; stable 2; unstable 6.5.",
"enum": [
"none",
"stable",
"unstable"
],
"type": "string"
},
"physical_labor": {
"description": "Caller-assigned physical labour (Hassanein 2021). none 0; moderate 2; high 4.",
"enum": [
"none",
"moderate",
"high"
],
"type": "string"
},
"pregnancy": {
"description": "Caller-assigned pregnancy band (Hassanein 2021). not_pregnant 0; within_targets 3.5; not_within_targets 6.5. magent does not advise fasting.",
"enum": [
"not_pregnant",
"within_targets",
"not_within_targets"
],
"type": "string"
},
"previous_ramadan_negative": {
"description": "Caller-assigned overall negative previous Ramadan experience (Hassanein 2021). true scores 1; false scores 0.",
"type": "boolean"
},
"renal": {
"description": "Caller-assigned eGFR band in mL/min (Hassanein 2021). egfr_gt_60 (>60) 0; egfr_45_to_60 (45\u201360) 2; egfr_30_to_45 (30\u201345) 4; egfr_lt_30 (<30) 6.5. magent does not compute eGFR.",
"enum": [
"egfr_gt_60",
"egfr_45_to_60",
"egfr_30_to_45",
"egfr_lt_30"
],
"type": "string"
},
"smbg": {
"description": "Caller-assigned self-monitoring of blood glucose (Hassanein 2021). as_indicated 0; suboptimal 1; not_conducted 2. magent does not assay glucose.",
"enum": [
"as_indicated",
"suboptimal",
"not_conducted"
],
"type": "string"
},
"treatment": {
"description": "Caller-assigned treatment (Hassanein 2021). other (diet or metformin-class, no SU or insulin) 0; gliclazide_class (gliclazide/MR, glimepiride, or repaglinide) 0.5; glibenclamide 1; basal_insulin 1.5; once_daily_mixed 2; basal_bolus_pump 2.5; multiple_daily_mixed 3. Not an insulin dose.",
"enum": [