{"api":"v1","generated_at":"2026-10-02T17:35:39.303Z","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-scarf-2918f2","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-scarf-2918f2/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-scarf-2918f2","canonical_url":"https://api.magentlab.com/api/calc/scarf","resource":"https://api.magentlab.com/api/calc/scarf","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Hardin 2019 SCARF from four caller-assigned flags (incentive spirometry <50% predicted, respiratory rate >20, numeric pain score ≥5, inadequate cough). 1 point each, total 0-4. Proposed threshold is score greater than 2. magent does not measure spirometry or examine the chest. Not a named risk class, analgesia order, or SSRF order.","service_name":"magent","declared_category":null,"declared_tags":["scarf","rib-fracture","trauma","emergency","respiratory"],"route_template":null,"registry_updated":"2026-09-28T14:45:54.344Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc scarf","category":"other","first_observed_by_toll":"2026-09-28T23:15:29.636Z","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-28T23:15:29.636Z","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:45:54.224Z"},"validation":{"latest":{"observed_at":"2026-10-02T13:43:04.581Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T13:43:04.581Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T06:53:09.532Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T06:10:08.846Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:30:51.201Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-29T17:47:57.664Z","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":["scarf","rib-fracture","trauma","emergency","respiratory"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/scarf","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:45:54.224Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/scarf","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"pain_score_ge_5":false,"inadequate_cough":false,"respiratory_rate_gt_20":false,"incentive_spirometry_lt_50_predicted":false},{"pain_score_ge_5":false,"inadequate_cough":false,"respiratory_rate_gt_20":false,"incentive_spirometry_lt_50_predicted":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/scarf","count":2,"items":[{"score":0,"formula":"scarf","citation":{"id":"hardin-2019","doi":"10.1097/TA.0000000000002480","pmid":"31425473","title":"The Sequential Clinical Assessment of Respiratory Function (SCARF) score: A dynamic pulmonary physiologic score that predicts adverse outcomes in critically ill rib fracture patients","source":"J Trauma Acute Care Surg. 2019;87(6):1260-1268","authors":"Hardin KS, Leasia KN, Haenel J, Moore EE, Burlew CC, Pieracci FM"},"max_score":4,"components":[{"factor":"incentive_spirometry_lt_50_predicted","points":0,"present":false},{"factor":"respiratory_rate_gt_20","points":0,"present":false},{"factor":"pain_score_ge_5","points":0,"present":false},{"factor":"inadequate_cough","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.","scarf_gt_2":false,"formula_expression":"SCARF = incentive_spirometry_lt_50_predicted + respiratory_rate_gt_20 + pain_score_ge_5 + inadequate_cough; each 1; Hardin 2019; max 4; proposed threshold score > 2 (scarf_gt_2); caller-assigned flags; magent does not measure spirometry or examine the chest"},{"score":0,"formula":"scarf","citation":{"id":"hardin-2019","doi":"10.1097/TA.0000000000002480","pmid":"31425473","title":"The Sequential Clinical Assessment of Respiratory Function (SCARF) score: A dynamic pulmonary physiologic score that predicts adverse outcomes in critically ill rib fracture patients","source":"J Trauma Acute Care Surg. 2019;87(6):1260-1268","authors":"Hardin KS, Leasia KN, Haenel J, Moore EE, Burlew CC, Pieracci FM"},"max_score":4,"components":[{"factor":"incentive_spirometry_lt_50_predicted","points":0,"present":false},{"factor":"respiratory_rate_gt_20","points":0,"present":false},{"factor":"pain_score_ge_5","points":0,"present":false},{"factor":"inadequate_cough","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.","scarf_gt_2":false,"formula_expression":"SCARF = incentive_spirometry_lt_50_predicted + respiratory_rate_gt_20 + pain_score_ge_5 + inadequate_cough; each 1; Hardin 2019; max 4; proposed threshold score > 2 (scarf_gt_2); caller-assigned flags; magent does not measure spirometry or examine the chest"}]}},"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":["incentive_spirometry_lt_50_predicted","respiratory_rate_gt_20","pain_score_ge_5","inadequate_cough"],"properties":{"pain_score_ge_5":{"type":"boolean","description":"Numeric pain score ≥5 as assigned by the caller (Hardin 2019). true or false. magent does not score pain."},"inadequate_cough":{"type":"boolean","description":"Inadequate cough (unable to clear secretions) as assigned by the caller (Hardin 2019). true or false. magent does not examine the chest or cough."},"respiratory_rate_gt_20":{"type":"boolean","description":"Respiratory rate >20 breaths/min as assigned by the caller (Hardin 2019). true or false. magent does not count respiratory rate."},"incentive_spirometry_lt_50_predicted":{"type":"boolean","description":"Incentive spirometry volume <50% of predicted as assigned by the caller (Hardin 2019). true or false. magent does not measure incentive spirometry."}}},"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":"Hardin 2019 SCARF from four caller-assigned flags (incentive spirometry <50% predicted, respiratory rate >20, numeric pain score ≥5, inadequate cough). 1 point each, total 0-4. Proposed threshold is score greater than 2. magent does not measure spirometry or examine the chest. Not a named risk class, analgesia order, or SSRF order.","lastUpdated":"2026-09-28T14:45:54.344Z","serviceName":"magent","x402Version":2}]}}