{"slug":"api-magentlab-com-api-calc-years-a1f792","title":"YEARS algorithm (van der Hulle 2017 Lancet)","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/years","category":"other","description":"YEARS algorithm (van der Hulle 2017 Lancet). Count three caller-assigned items (clinical signs of DVT, hemoptysis, PE most likely) and exclude PE only when D-dimer (ng/mL FEU) is strictly below 1000 with 0 items or 500 with 1-3 items. Equality is not excluded. Not a diagnosis, not Wells, not PERC. m","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":271,"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":[{"clinical_signs_dvt":false,"d_dimer_ng_ml":499,"hemoptysis":false,"pe_most_likely":false},{"clinical_signs_dvt":false,"d_dimer_ng_ml":499,"hemoptysis":false,"pe_most_likely":false}]},"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":{"clinical_signs_dvt":{"description":"Clinical signs of deep-vein thrombosis. true or false as assigned by the caller. Counts as one unweighted YEARS item when true.","type":"boolean"},"d_dimer_ng_ml":{"description":"D-dimer in ng/mL fibrinogen-equivalent units (FEU) as in van der Hulle 2017 (0-20000). PE excluded only when strictly below 1000 (0 YEARS items) or 500 (1-3 items). Equality is not excluded.","type":"number"},"hemoptysis":{"description":"Hemoptysis. true or false as assigned by the caller. Counts as one unweighted YEARS item when true.","type":"boolean"},"pe_most_likely":{"description":"PE is the most likely diagnosis, as assigned by the caller. magent does not decide PE most likely. Counts as one unweighted YEARS item when true.","type":"boolean"}},"required":["clinical_signs_dvt","hemoptysis","pe_most_likely","d_dimer_ng_ml"],"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.007,"price_match":false,"latency_ms":271,"error":null}],"description_full":"YEARS algorithm (van der Hulle 2017 Lancet). Count three caller-assigned items (clinical signs of DVT, hemoptysis, PE most likely) and exclude PE only when D-dimer (ng/mL FEU) is strictly below 1000 with 0 items or 500 with 1-3 items. Equality is not excluded. Not a diagnosis, not Wells, not PERC. magent does not decide PE most likely. The 2017 cohort excluded pregnancy.","last_updated":"2026-09-28T14:23:59.095Z","schemes":["exact"]}