{"uid":"cap_DiJcA4PLFTClMjw1ug6lI","slug":"magent-d-a-d-ckd-risk-score-mocroft-2015-table-2-8b62c755","name":"Magent D:A:D CKD Risk Score (Mocroft 2015 Table 2)","description":"Mocroft 2015 D:A:D full CKD risk score (Table 2 integer points only): IDU, hepatitis C, age, caller-assigned eGFR >60, sex, nadir CD4, hypertension, prior CVD, and diabetes. Bands low <0, medium 0–4, high ≥5. Not the short score, not the Poisson probability model, not NNTH, and not an ART start order. Race is not an input.","url":"https://api.magentlab.com/api/calc/dad_ckd","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["ivdu","hepatitis_c","age_years","egfr_ml_min","sex","nadir_cd4_cells_mm3","hypertension","prior_cvd","diabetes"],"properties":{"sex":{"enum":["female","male"],"type":"string","description":"Sex (Mocroft 2015 Table 2). female scores 1; male scores 0."},"ivdu":{"type":"boolean","description":"Caller-assigned injecting drug use (Mocroft 2015 Table 2). true scores 2. magent does not diagnose injecting drug use."},"diabetes":{"type":"boolean","description":"Caller-assigned diabetes (Mocroft 2015 Table 2). true scores 2. magent does not diagnose diabetes."},"age_years":{"type":"integer","description":"Age in years (integer 16-120). Mocroft 2015 Table 2: ≤35 scores 0; >35 and ≤50 scores 4; >50 and ≤60 scores 7; >60 scores 10."},"prior_cvd":{"type":"boolean","description":"Caller-assigned prior cardiovascular disease (Mocroft 2015 Table 2). true scores 1. magent does not diagnose CVD."},"egfr_ml_min":{"type":"number","description":"Caller-assigned eGFR in mL/min (0.1-250, must be >60). Mocroft 2015 Table 2: >90 scores −6; >70 and ≤90 scores 0; >60 and ≤70 scores 6. eGFR ≤60 is outside the derivation population. magent does not compute eGFR."},"hepatitis_c":{"type":"boolean","description":"Caller-assigned hepatitis C co-infection (Mocroft 2015 Table 2). true scores 1. magent does not diagnose hepatitis C."},"hypertension":{"type":"boolean","description":"Caller-assigned hypertension (Mocroft 2015 Table 2). true scores 1. magent does not diagnose hypertension."},"nadir_cd4_cells_mm3":{"type":"integer","description":"Nadir CD4 count in cells/mm³ (integer 0-3000). Mocroft 2015 Table 2: ≤200 scores 0; >200 scores −1. magent does not assay CD4."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d8fao49SrL0tYD-IeToJH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Mocroft 2015 D:A:D full CKD risk score using integer point assignments from Table 2, returning a total score and low/medium/high risk band for HIV-positive patients with eGFR >60.","exampleAgentPrompt":"Calculate the D:A:D full CKD risk score (Mocroft 2015 Table 2) for a 52-year-old male HIV patient: no IVDU, no hepatitis C, eGFR 75 mL/min, nadir CD4 of 180 cells/mm³, hypertension present, no prior CVD, and no diabetes.","exampleUseCases":[{"title":"CKD risk triage in HIV clinic","prompt":"I need the Mocroft 2015 D:A:D full CKD integer score for a 58-year-old female HIV patient: she has a history of injecting drug use, is hepatitis C co-infected, her eGFR is 65 mL/min, nadir CD4 was 95 cells/mm³, she has hypertension and diabetes but no prior CVD — what risk band does she fall into?"},{"title":"Nephrology referral decision support","prompt":"Run the D:A:D CKD risk score for a 44-year-old male: no IVDU, no hepatitis C, eGFR 92 mL/min, nadir CD4 250 cells/mm³, no hypertension, no prior CVD, no diabetes — is he low, medium, or high risk?"},{"title":"Longitudinal HIV cohort risk stratification","prompt":"Score this HIV-positive patient for CKD risk using the Mocroft 2015 Table 2 model: 63-year-old male, no IVDU, hepatitis C positive, eGFR 68 mL/min, nadir CD4 of 50 cells/mm³, hypertension yes, prior CVD yes, diabetes no — give me the total integer points and band."}],"resultDescription":"Returns the summed integer point total from Mocroft 2015 Table 2 across all nine risk factors, plus a categorical risk band: low (score <0), medium (score 0–4), or high (score ≥5). Does not return a Poisson probability, NNTH, short score variant, or ART recommendation.","failureModes":["eGFR ≤60 provided — endpoint requires eGFR >60 (outside derivation population)","age_years outside 16–120 integer range — validation error","nadir_cd4_cells_mm3 outside 0–3000 integer range — validation error","egfr_ml_min outside 0.1–250 range — validation error","Missing required query parameters (any of the nine) — 400 bad request","sex enum value not 'male' or 'female' — validation error","Payment not provided or insufficient (x402) — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the Mocroft 2015 D:A:D full CKD risk score (Table 2 integer points) specifically — not the short score variant, not a Poisson probability model, and not a general eGFR calculator. Appropriate for HIV-positive patients with eGFR >60 mL/min where race is not an input. Choose this over generic kidney risk calculators when the clinical context is HIV-associated CKD risk stratification using the D:A:D cohort derivation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:02:50.068Z","isFirstParty":false}