{"slug":"api-magentlab-com-api-calc-idf-dar-a3adc7","title":"Hassanein 2021 IDF-DAR fasting risk table","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/idf_dar","category":"other","description":"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 Ramad","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":349,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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 ≥10 years (Hassanein 2021). true scores 1; false (<10 years) scores 0.","type":"boolean"},"fasting_hours_ge_16":{"description":"Caller-assigned fasting hours ≥16 (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–9%) 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–60) 2; egfr_30_to_45 (30–45) 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":["other","gliclazide_class","glibenclamide","basal_insulin","once_daily_mixed","basal_bolus_pump","multiple_daily_mixed"],"type":"string"},"type_1_diabetes":{"description":"Caller-assigned diabetes type (Hassanein 2021). true is type 1 and scores 1; false is type 2 and scores 0. magent does not diagnose diabetes.","type":"boolean"}},"required":["age","type_1_diabetes","duration_ge_10","hypoglycemia","glycaemic_control","treatment","smbg","acute_complication","mvd","renal","pregnancy","impaired_cognition_or_frail","home_support","physical_labor","previous_ramadan_negative","fasting_hours_ge_16"],"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"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":349,"error":null}],"description_full":"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.","last_updated":"2026-09-28T14:17:35.585Z","schemes":["exact"]}