{"uid":"cap_HSmIKjmFr-M__N9BinEzn","slug":"sokal-cml-prognostic-index-calculator-b13a9b36","name":"Sokal CML Prognostic Index Calculator","description":"Sokal 1984 relative-risk index for newly diagnosed untreated chronic granulocytic leukemia (CML). sokal_index = exp(0.0116*(age-43.4)+0.0345*(spleen_cm-7.51)+0.188*((platelets_10e9_l/700)^2-0.563)+0.0887*(blasts_percent-2.10)). Low <0.8, intermediate 0.8–1.2, high >1.2. Coefficient 0.188. Does not diagnose CML or choose TKI therapy.","url":"https://api.magentlab.com/api/calc/sokal","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":["age","spleen_cm","platelets_10e9_l","blasts_percent"],"properties":{"age":{"type":"integer","description":"Age in years (integer 1-120). Sokal 1984 CML index; not the adult 18-120 clamp."},"spleen_cm":{"type":"number","description":"Spleen size in cm below the costal margin (0-40). Sokal 1984."},"blasts_percent":{"type":"number","description":"Circulating blasts as a percent of leukocytes (0-100). Sokal 1984."},"platelets_10e9_l":{"type":"number","description":"Platelet count ×10⁹/L (1-5000). Sokal 1984; CML counts may exceed 2000."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/sokal","count":2,"items":[{"age":50,"formula":"sokal","citation":{"id":"sokal-1984","doi":"10.1182/blood.V63.4.789.789","pmid":"6584184","title":"Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia","source":"Blood. 1984;63(4):789-799","authors":"Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C"},"spleen_cm":10,"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.","sokal_band":"intermediate","sokal_index":1.1,"blasts_percent":2,"platelets_10e9_l":350,"formula_expression":"sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))"},{"age":50,"formula":"sokal","citation":{"id":"sokal-1984","doi":"10.1182/blood.V63.4.789.789","pmid":"6584184","title":"Prognostic discrimination in \"good-risk\" chronic granulocytic leukemia","source":"Blood. 1984;63(4):789-799","authors":"Sokal JE, Cox EB, Baccarani M, Tura S, Gomez GA, Robertson JE, Tso CY, Braun TJ, Clarkson BD, Cervantes F, Rozman C"},"spleen_cm":10,"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.","sokal_band":"intermediate","sokal_index":1.1,"blasts_percent":2,"platelets_10e9_l":350,"formula_expression":"sokal_index = exp(0.0116 * (age - 43.4) + 0.0345 * (spleen_cm - 7.51) + 0.188 * ((platelets_10e9_l / 700) ^ 2 - 0.563) + 0.0887 * (blasts_percent - 2.10))"}]}},"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_FOSFBIqDovlmHVFTr7BHF","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":"Computes the Sokal 1984 relative-risk index for newly diagnosed untreated chronic granulocytic leukemia (CML) and classifies patients as low, intermediate, or high risk.","exampleAgentPrompt":"Calculate the Sokal CML risk index for a 52-year-old patient with a spleen palpable 12 cm below the costal margin, platelet count of 950 ×10⁹/L, and 4% circulating blasts — tell me the score and whether they're low, intermediate, or high risk.","exampleUseCases":[{"title":"Oncology intake risk stratification","prompt":"I'm reviewing a newly diagnosed CML patient: they're 47 years old, spleen 8 cm below the costal margin, platelets at 620 ×10⁹/L, and blasts at 3%. Can you run the Sokal 1984 index and tell me their risk category?"},{"title":"Automated CML case flagging","prompt":"Flag this case for our hematology team: patient is 61 years old, spleen 18 cm, platelet count 1400 ×10⁹/L, blasts 7%. Compute the Sokal score and let me know if this is high risk."},{"title":"Clinical trial eligibility pre-screening","prompt":"We need the Sokal index for trial enrollment screening — patient is 38 years old, spleen 5 cm below costal margin, platelets 480 ×10⁹/L, blasts 1.5%. What's the score and risk group?"}],"resultDescription":"Returns the computed Sokal index value (a continuous number, e.g. 0.94) and the corresponding risk classification: low (<0.8), intermediate (0.8–1.2), or high (>1.2), based on the 1984 Sokal formula applied to the supplied age, spleen size, platelet count, and blast percentage.","failureModes":["Missing required parameters (age, spleen_cm, platelets_10e9_l, blasts_percent) returns a validation error","Out-of-range values (e.g. platelets > 5000 or negative spleen) may return an error or unexpected result","Endpoint does not diagnose CML or guide TKI therapy selection — misuse for those purposes yields clinically meaningless output","Non-integer age input may fail schema validation","Payment not fulfilled (x402) results in 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to programmatically compute the Sokal 1984 relative-risk index for a newly diagnosed, untreated CML patient given structured clinical values (age, spleen size, platelets, blasts). Prefer it over manual formula evaluation or general LLM arithmetic for reliable, auditable scoring. Do not use for diagnosing CML, selecting TKI therapy, or scoring treated or previously diagnosed patients.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:20:16.023Z","isFirstParty":false}