{"slug":"api-magentlab-com-api-calc-oakland-df6836","title":"Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bl","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/oakland","category":"other","description":"Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bleeding. Points from age (0-2), sex (male 1), previous LGIB admission (1), caller-assigned blood on digital rectal examination (1), heart rate (0-3), systolic BP (0-5), and hemoglobin g/dL (0-22); max 35. safe_discharge w","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":316,"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":[{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165},{"age":35,"dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_dl":16.5,"hemoglobin_g_l":165,"previous_lgib_admission":false,"sex":"female","systolic_mm_hg":165}]},"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":{"age":{"description":"Age in years (integer 16-120). Oakland 2017: ≤39 → 0, 40-69 → 1, ≥70 → 2.","type":"integer"},"dre_blood":{"description":"Blood on digital rectal examination as assigned by the caller (Oakland 2017). true scores 1. magent does not examine the rectum.","type":"boolean"},"heart_rate_bpm":{"description":"Heart rate in beats per minute (integer 30-220). Oakland 2017: <70 → 0, 70-89 → 1, 90-109 → 2, ≥110 → 3.","type":"integer"},"hemoglobin_g_dl":{"description":"Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. Oakland 2017 bands start at 3.6 g/dL: 3.6-6.9 → 22, 7.0-8.9 → 17, 9.0-10.9 → 13, 11.0-12.9 → 8, 13.0-15.9 → 4, ≥16.0 → 0. Values <3.6 after conversion are rejected. magent does not assay hemoglobin.","type":"number"},"hemoglobin_g_l":{"description":"Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. Values <3.6 g/dL after conversion are rejected.","type":"number"},"previous_lgib_admission":{"description":"Previous admission for lower GI bleeding as assigned by the caller (Oakland 2017). true scores 1.","type":"boolean"},"sex":{"description":"Sex as assigned by the caller. female scores 0; male scores 1.","enum":["female","male"],"type":"string"},"systolic_mm_hg":{"description":"Systolic blood pressure in mm Hg (50-250). Oakland 2017: 50-89 → 5, 90-119 → 4, 120-129 → 3, 130-159 → 2, ≥160 → 0. magent does not read a blood pressure.","type":"number"}},"required":["age","sex","previous_lgib_admission","dre_blood","heart_rate_bpm","systolic_mm_hg"],"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.005,"price_match":true,"latency_ms":316,"error":null}],"description_full":"Oakland 2017 risk score for safe discharge after acute lower gastrointestinal bleeding. Points from age (0-2), sex (male 1), previous LGIB admission (1), caller-assigned blood on digital rectal examination (1), heart rate (0-3), systolic BP (0-5), and hemoglobin g/dL (0-22); max 35. safe_discharge when score ≤8 (derivation cutoff, not a later US validation). Not a discharge order or LGIB diagnosis. magent does not examine the rectum or assay hemoglobin. Hemoglobin g/dL or g/L.","last_updated":"2026-09-28T14:07:18.133Z","schemes":["exact"]}