{"api":"v1","generated_at":"2026-10-02T17:53:27.733Z","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-piro-cap-635810","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-piro-cap-635810/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-piro-cap-635810","canonical_url":"https://api.magentlab.com/api/calc/piro_cap","resource":"https://api.magentlab.com/api/calc/piro_cap","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Rello 2009 PIRO score for ICU community-acquired pneumonia: comorbidities (COPD or immunocompromise count as one feature) + age >70 + multilobar opacities + shock + severe hypoxemia + acute renal failure + bacteremia + ARDS. Each 1; max 8. Bands low 0-2, mild 3, high 4, very high 5-8. Not CURB-65, PSI, or APACHE II. magent does not interpret a chest radiograph. Not a diagnosis.","service_name":"magent","declared_category":null,"declared_tags":["piro-cap","pneumonia","icu","cap","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:22:34.224Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc piro cap","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:22:34.098Z"},"validation":{"latest":{"observed_at":"2026-10-02T14:52:49.693Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":6,"passed":6,"ratio":1},{"days":30,"observed":6,"passed":6,"ratio":1},{"days":90,"observed":6,"passed":6,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T14:52:49.693Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T07:47:28.402Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T07:06:31.410Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:23:47.178Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:57:06.185Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:43:03.018Z","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":["piro-cap","pneumonia","icu","cap","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/piro_cap","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:22:34.098Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/piro_cap","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":75,"ards":false,"copd":false,"shock":true,"bacteremia":false,"immunocompromise":false,"severe_hypoxemia":false,"acute_renal_failure":false,"multilobar_opacities":true},{"age":75,"ards":false,"copd":false,"shock":true,"bacteremia":false,"immunocompromise":false,"severe_hypoxemia":false,"acute_renal_failure":false,"multilobar_opacities":true}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/piro_cap","count":2,"items":[{"band":"mild","score":3,"formula":"piro_cap","citation":{"id":"rello-2009","doi":"10.1097/CCM.0b013e318194b021","pmid":"19114916","title":"PIRO score for community-acquired pneumonia: a new prediction rule for assessment of severity in intensive care unit patients with community-acquired pneumonia","source":"Crit Care Med. 2009;37(2):456-462","authors":"Rello J, Rodriguez A, Lisboa T, Gallego M, Lujan M, Wunderink R"},"age_years":75,"max_score":8,"components":[{"copd":false,"factor":"comorbidities","points":0,"present":false,"immunocompromise":false},{"value":75,"factor":"age_gt_70","points":1,"present":true},{"factor":"multilobar_opacities","points":1,"present":true},{"factor":"shock","points":1,"present":true},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"bacteremia","points":0,"present":false},{"factor":"ards","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.","formula_expression":"PIRO-CAP (Rello 2009 ICU CAP, within 24 h of ICU admission) = comorbidities (copd or immunocompromise, 1 if either) + age>70 + multilobar_opacities + shock + severe_hypoxemia + acute_renal_failure + bacteremia + ards; each 1; max 8; bands low 0-2, mild 3, high 4, very_high 5-8. Not CURB-65. Not PSI. Not APACHE II"},{"band":"mild","score":3,"formula":"piro_cap","citation":{"id":"rello-2009","doi":"10.1097/CCM.0b013e318194b021","pmid":"19114916","title":"PIRO score for community-acquired pneumonia: a new prediction rule for assessment of severity in intensive care unit patients with community-acquired pneumonia","source":"Crit Care Med. 2009;37(2):456-462","authors":"Rello J, Rodriguez A, Lisboa T, Gallego M, Lujan M, Wunderink R"},"age_years":75,"max_score":8,"components":[{"copd":false,"factor":"comorbidities","points":0,"present":false,"immunocompromise":false},{"value":75,"factor":"age_gt_70","points":1,"present":true},{"factor":"multilobar_opacities","points":1,"present":true},{"factor":"shock","points":1,"present":true},{"factor":"severe_hypoxemia","points":0,"present":false},{"factor":"acute_renal_failure","points":0,"present":false},{"factor":"bacteremia","points":0,"present":false},{"factor":"ards","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.","formula_expression":"PIRO-CAP (Rello 2009 ICU CAP, within 24 h of ICU admission) = comorbidities (copd or immunocompromise, 1 if either) + age>70 + multilobar_opacities + shock + severe_hypoxemia + acute_renal_failure + bacteremia + ards; each 1; max 8; bands low 0-2, mild 3, high 4, very_high 5-8. Not CURB-65. Not PSI. Not APACHE II"}]}},"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","copd","immunocompromise","multilobar_opacities","shock","severe_hypoxemia","acute_renal_failure","bacteremia","ards"],"properties":{"age":{"type":"integer","description":"Age in years (integer 18-120). Age >70 scores 1 (Rello 2009). Age 70 does not score. magent does not compute age from a date of birth."},"ards":{"type":"boolean","description":"Acute respiratory distress syndrome as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not diagnose ARDS."},"copd":{"type":"boolean","description":"Chronic obstructive pulmonary disease as assigned by the caller (Rello 2009 comorbidity feature with immunocompromise). true or false. COPD or immunocompromise scores 1 together, not 1 each. magent does not diagnose COPD."},"shock":{"type":"boolean","description":"Shock as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not measure blood pressure or diagnose shock."},"bacteremia":{"type":"boolean","description":"Bacteremia as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not interpret cultures."},"immunocompromise":{"type":"boolean","description":"Immunocompromise as assigned by the caller (Rello 2009 comorbidity feature with COPD). true or false. COPD or immunocompromise scores 1 together, not 1 each. magent does not assign immune status."},"severe_hypoxemia":{"type":"boolean","description":"Severe hypoxemia as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not measure PaO2 or FiO2."},"acute_renal_failure":{"type":"boolean","description":"Acute renal failure as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not assay creatinine."},"multilobar_opacities":{"type":"boolean","description":"Multilobar opacities on chest radiograph as assigned by the caller (Rello 2009). true or false. 1 point if true. magent does not interpret a chest radiograph."}}},"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":"Rello 2009 PIRO score for ICU community-acquired pneumonia: comorbidities (COPD or immunocompromise count as one feature) + age >70 + multilobar opacities + shock + severe hypoxemia + acute renal failure + bacteremia + ARDS. Each 1; max 8. Bands low 0-2, mild 3, high 4, very high 5-8. Not CURB-65, PSI, or APACHE II. magent does not interpret a chest radiograph. Not a diagnosis.","lastUpdated":"2026-09-28T14:22:34.224Z","serviceName":"magent","x402Version":2}]}}