{"uid":"cap_pZ3vMAhted4sDHbwmsMrx","slug":"magent-asdas-esr-calculator-lukas-2009-97687183","name":"magent ASDAS-ESR Calculator (Lukas 2009)","description":"Lukas 2009 ASDAS-ESR: 0.08*back pain + 0.07*morning stiffness duration + 0.11*patient global + 0.09*peripheral pain/swelling + 0.29*sqrt(ESR). BASDAI 0-10 items and ESR in mm/h. magent does not examine the patient or assay ESR. Not ASDAS-CRP. Not BASDAI total. Does not apply Machado 2011 1.3/2.1/3.5 activity cuts. Not a diagnosis or biologic order.","url":"https://api.magentlab.com/api/calc/asdas_esr","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":["back_pain","morning_stiffness_duration","patient_global","peripheral_pain_swelling","esr_mm_h"],"properties":{"esr_mm_h":{"type":"number","description":"Caller-assigned erythrocyte sedimentation rate in mm/h (Lukas 2009). Number 0-150 is a magent clamp. magent does not assay ESR."},"back_pain":{"type":"number","description":"Caller-assigned total back pain on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient."},"patient_global":{"type":"number","description":"Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (Lukas 2009). Number 0-10. magent does not examine the patient."},"peripheral_pain_swelling":{"type":"number","description":"Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient."},"morning_stiffness_duration":{"type":"number","description":"Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient."}}}},"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_3k95DsYXaZuidcAb9v7dx","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 ASDAS-ESR disease activity score for axial spondyloarthritis using the Lukas 2009 formula with five caller-supplied patient-reported and lab values.","exampleAgentPrompt":"Calculate the ASDAS-ESR score for my patient using the Lukas 2009 formula: back pain 7, morning stiffness duration 6, patient global assessment 8, peripheral pain/swelling 3, and ESR of 45 mm/h.","exampleUseCases":[{"title":"Rheumatology clinic disease monitoring","prompt":"My ankylosing spondylitis patient rates their back pain as 5, morning stiffness at 4, patient global at 6, peripheral pain/swelling at 2, and their lab ESR came back at 28 mm/h — can you compute their ASDAS-ESR score?"},{"title":"Research data pipeline scoring","prompt":"I have a cohort dataset with BASDAI back pain, morning stiffness duration, patient global, peripheral pain scores, and ESR values — compute the Lukas 2009 ASDAS-ESR for a patient with back pain 8, morning stiffness 7, patient global 9, peripheral pain 5, ESR 60 mm/h."},{"title":"Telemedicine SpA follow-up assessment","prompt":"The patient just submitted their symptom survey: back pain NRS 4, morning stiffness NRS 3, global disease activity NRS 5, joint pain NRS 1, and their home ESR test shows 18 mm/h — what's their ASDAS-ESR?"}],"resultDescription":"Returns a numeric ASDAS-ESR composite score computed as: 0.08×back_pain + 0.07×morning_stiffness_duration + 0.11×patient_global + 0.09×peripheral_pain_swelling + 0.29×sqrt(ESR). The score reflects axial spondyloarthritis disease activity per Lukas 2009; interpretation against Machado 2011 activity thresholds (inactive <1.3, low 1.3–2.1, high 2.1–3.5, very high ≥3.5) must be applied by the caller.","failureModes":["Missing any of the five required query parameters returns a 400 error","ESR values outside 0–150 mm/h are clamped by the service","Non-numeric inputs for any parameter will cause a validation error","Values outside the 0–10 range for patient-reported outcomes may not be validated — caller must enforce bounds","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need the ESR-based ASDAS variant (Lukas 2009) specifically, and ESR (not CRP) is the available lab value. Prefer over manual calculation to avoid arithmetic errors with the sqrt(ESR) term. Do not use if CRP is available and ASDAS-CRP is preferred, if you need the BASDAI total score, or if you need automated threshold classification per Machado 2011.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:15:54.092Z","isFirstParty":false}