{"uid":"cap_WrUQ6RIY_os7RpPHaAqOq","slug":"epiphany-chaid-risk-stratifier-for-cancer-associated-pe-f98ec3cd","name":"EPIPHANY CHAID Risk Stratifier for Cancer-Associated PE","description":"Carmona-Bayonas 2017 EPIPHANY CHAID tree for cancer-associated PE. Hestia-like CDR any vs none, then ECOG-PS, SaO2, PE symptoms, tumour response, and primary resection as in Figure 2. Returns low, intermediate, or high with 15-day complication rates 1.6/9.4/30.6% and mortality 0.3/6.1/17.1%. Caller assigns the six covariates. Not a diagnosis or anticoagulation order. magent does not examine the patient.","url":"https://api.magentlab.com/api/calc/epiphany","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["hestia_like_any","ecog_ps_ge_2","oxygen_sat_lt_90","pe_specific_symptoms","tumour_uncontrolled","primary_tumour_resected"],"properties":{"ecog_ps_ge_2":{"type":"boolean","description":"ECOG-PS >=2 as assigned by the caller (Carmona-Bayonas 2017: <2 vs >=2). true or false. Used on the Hestia-like-any branch. magent does not assign performance status."},"hestia_like_any":{"type":"boolean","description":"true if any Carmona-Bayonas 2017 Hestia-like clinical decision rule item is present: SBP <100 mm Hg, arterial oxygen saturation <90%, respiratory rate >=30 breaths/min, pulse >=110 beats/min, sudden or progressive dyspnoea, or clinically relevant haemorrhage / high bleeding risk / platelets <50 000 mm^-3 (Figure 2). false if none. Caller-assigned; magent does not measure vitals or score the 11-item Zondag Hestia checklist."},"oxygen_sat_lt_90":{"type":"boolean","description":"Arterial oxygen saturation <90% as assigned by the caller (Figure 2: <90 vs >=90%). true or false. Used when Hestia-like any is present and ECOG-PS >=2; both sat leaves are high class. Distinct from the same cutoff inside the Hestia-like CDR. magent does not measure saturation."},"tumour_uncontrolled":{"type":"boolean","description":"true if tumour response is progression, unknown, or not evaluated; false for others (complete or partial response, stable disease, or no evidence of disease) per Carmona-Bayonas 2017 Table 1 / Figure 2. Used on the Hestia-like-none branch. magent does not apply RECIST."},"pe_specific_symptoms":{"type":"boolean","description":"PE-specific symptoms present as assigned by the caller (Carmona-Bayonas 2017 Figure 2). true or false. Used when Hestia-like any is present and ECOG-PS <2. Distinct from incidental vs symptomatic diagnosis and from the dyspnoea CDR item. magent does not take a history."},"primary_tumour_resected":{"type":"boolean","description":"Prior surgical resection of the primary tumour as assigned by the caller. true or false. Used when Hestia-like none and tumour_uncontrolled are both true. magent does not read an operative note."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9WgWtYfnInTzuckQnQCE2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Applies the Carmona-Bayonas 2017 EPIPHANY CHAID decision tree to stratify cancer-associated pulmonary embolism into low, intermediate, or high risk categories with associated 15-day complication and mortality rates.","exampleAgentPrompt":"My patient has cancer-associated PE — no Hestia-like red flags, ECOG-PS is 0, oxygen sat is 95%, has PE-specific symptoms, tumour is stable disease so not uncontrolled, and the primary tumour was resected. Run the EPIPHANY CHAID tree and tell me whether they're low, intermediate, or high risk and what the 15-day mortality and complication rates are.","exampleUseCases":[{"title":"Outpatient PE candidacy in oncology","prompt":"My oncology patient just had a PE diagnosed. She has no Hestia-like criteria, her ECOG-PS is 1 (so less than 2), O2 sat is 97%, she does have PE-specific symptoms, her tumour is in partial response (so not uncontrolled), and the primary tumour has been resected. Run the EPIPHANY risk tree and tell me her risk class and 15-day complication rate."},{"title":"High-risk PE triage in active cancer","prompt":"I have a cancer patient with new PE who has at least one Hestia-like flag, ECOG-PS of 3, and O2 sat below 90%. Run the Carmona-Bayonas 2017 EPIPHANY CHAID model — Hestia-like any is true, ECOG >=2 is true, O2 sat <90% is true, PE symptoms are present, tumour is uncontrolled, and no primary resection — and give me the risk class and expected mortality."},{"title":"Intermediate-risk identification for monitoring","prompt":"For my lung cancer patient with PE: Hestia-like criteria are absent, ECOG-PS is 2 (so >=2 is true), O2 sat is 92% (so not <90%), PE-specific symptoms are present, tumour response is stable (not uncontrolled), and primary tumour was not resected. What does the EPIPHANY model say about his risk class and 15-day outcomes?"}],"resultDescription":"Returns a risk class of low, intermediate, or high based on the EPIPHANY CHAID decision tree, along with the corresponding published 15-day complication rates (1.6%, 9.4%, or 30.6%) and 15-day mortality rates (0.3%, 6.1%, or 17.1%) from Carmona-Bayonas 2017. Does not provide diagnosis or anticoagulation recommendations.","failureModes":["Missing required boolean query parameters (hestia_like_any, ecog_ps_ge_2, oxygen_sat_lt_90, pe_specific_symptoms, tumour_uncontrolled, primary_tumour_resected) return validation errors","Non-boolean values for any parameter may result in rejection or incorrect tree traversal","Endpoint returns risk class only — caller must interpret clinical context; result is not a treatment order","Payment failure (x402) if USDC payment of $0.005 is not included in the request"],"whenToPreferThis":"Use this endpoint when you need to apply the validated Carmona-Bayonas 2017 EPIPHANY CHAID model specifically for cancer-associated pulmonary embolism risk stratification. Prefer this over generic PE risk tools (e.g. PESI, sPESI) when the patient has active malignancy and you need the oncology-specific six-variable decision tree with published 15-day outcome rates. The caller must pre-assign all six clinical covariates; this endpoint does not examine the patient or apply RECIST criteria.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:32:33.908Z","isFirstParty":false}