{"api":"v1","generated_at":"2026-10-02T17:15:23.325Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-oakland-fe40ef","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-oakland-fe40ef/at/2026-10-02T12-31Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T12:31:46.748Z","snapshot_stamp":"2026-10-02T12-31Z","endpoint":{"slug":"api-magentlab-com-api-calc-oakland-fe40ef","canonical_url":"https://api.magentlab.com/api/calc/oakland","resource":"https://api.magentlab.com/api/calc/oakland","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"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 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.","service_name":"magent","declared_category":null,"declared_tags":["oakland","lgib","gi-bleed","discharge","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:07:18.133Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc oakland","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-02T12:31:46.748Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-02T12:31:46.748Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:07:18.015Z"},"validation":{"latest":{"observed_at":"2026-10-01T10:10:46.377Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-01"},"uptime":[{"days":7,"observed":4,"passed":4,"ratio":1},{"days":30,"observed":4,"passed":4,"ratio":1},{"days":90,"observed":4,"passed":4,"ratio":1}],"history_90d":[{"observed_at":"2026-10-01T10:10:46.377Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T09:36:51.675Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T21:43:17.676Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:51:28.648Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["oakland","lgib","gi-bleed","discharge","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/oakland","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:07:18.015Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/oakland","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":35,"sex":"female","dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_l":165,"systolic_mm_hg":165,"hemoglobin_g_dl":16.5,"previous_lgib_admission":false},{"age":35,"sex":"female","dre_blood":false,"heart_rate_bpm":65,"hemoglobin_g_l":165,"systolic_mm_hg":165,"hemoglobin_g_dl":16.5,"previous_lgib_admission":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/oakland","count":2,"items":[{"sex":"female","score":0,"formula":"oakland","citation":{"id":"oakland-2017","doi":"10.1016/s2468-1253(17)30150-4","pmid":"28651935","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS"},"age_years":35,"dre_blood":false,"max_score":35,"components":[{"value":35,"factor":"age","points":0,"present":false},{"value":"female","factor":"sex","points":0,"present":false},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"value":65,"factor":"heart_rate","points":0,"present":false},{"value":165,"factor":"systolic","points":0,"present":false},{"value":16.5,"factor":"hemoglobin","points":0,"present":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.","oakland_band":"safe_discharge","heart_rate_bpm":65,"systolic_mm_hg":165,"hemoglobin_g_dl":16.5,"formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb 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); Oakland 2017 derivation; max 35; safe_discharge ≤8","previous_lgib_admission":false},{"sex":"female","score":0,"formula":"oakland","citation":{"id":"oakland-2017","doi":"10.1016/s2468-1253(17)30150-4","pmid":"28651935","title":"Derivation and validation of a novel risk score for safe discharge after acute lower gastrointestinal bleeding: a modelling study","source":"Lancet Gastroenterol Hepatol. 2017;2(9):635-643","authors":"Oakland K, Jairath V, Uberoi R, Guy R, Ayaru L, Mortensen N, Murphy MF, Collins GS"},"age_years":35,"dre_blood":false,"max_score":35,"components":[{"value":35,"factor":"age","points":0,"present":false},{"value":"female","factor":"sex","points":0,"present":false},{"factor":"previous_lgib_admission","points":0,"present":false},{"factor":"dre_blood","points":0,"present":false},{"value":65,"factor":"heart_rate","points":0,"present":false},{"value":165,"factor":"systolic","points":0,"present":false},{"value":16.5,"factor":"hemoglobin","points":0,"present":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.","oakland_band":"safe_discharge","heart_rate_bpm":65,"systolic_mm_hg":165,"hemoglobin_g_dl":16.5,"formula_expression":"Oakland = age (≤39:0, 40-69:1, ≥70:2) + male 1 + previous_lgib_admission 1 + dre_blood 1 + HR (<70:0, 70-89:1, 90-109:2, ≥110:3) + SBP (50-89:5, 90-119:4, 120-129:3, 130-159:2, ≥160:0) + Hb 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); Oakland 2017 derivation; max 35; safe_discharge ≤8","previous_lgib_admission":false}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["age","sex","previous_lgib_admission","dre_blood","heart_rate_bpm","systolic_mm_hg"],"properties":{"age":{"type":"integer","description":"Age in years (integer 16-120). Oakland 2017: ≤39 → 0, 40-69 → 1, ≥70 → 2."},"sex":{"enum":["female","male"],"type":"string","description":"Sex as assigned by the caller. female scores 0; male scores 1."},"dre_blood":{"type":"boolean","description":"Blood on digital rectal examination as assigned by the caller (Oakland 2017). true scores 1. magent does not examine the rectum."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220). Oakland 2017: <70 → 0, 70-89 → 1, 90-109 → 2, ≥110 → 3."},"hemoglobin_g_l":{"type":"number","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."},"systolic_mm_hg":{"type":"number","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."},"hemoglobin_g_dl":{"type":"number","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."},"previous_lgib_admission":{"type":"boolean","description":"Previous admission for lower GI bleeding as assigned by the caller (Oakland 2017). true scores 1."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"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 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.","lastUpdated":"2026-09-28T14:07:18.133Z","serviceName":"magent","x402Version":2}]}}