{"uid":"cap_83vvf-o2UYpE45xv1brhB","slug":"du-bois-2011-abbreviated-ipf-score-calculator-cda2f6f4","name":"du Bois 2011 Abbreviated IPF Score Calculator","description":"du Bois 2011 abbreviated four-predictor IPF score from age (<60 → 0, 60–69 → 4, ≥70 → 8), 24-week respiratory hospitalization (true → 14), FVC % predicted (<50 → 18, 51–65 → 13, 66–79 → 8, >80 → 0; 50 and 80 unpublished), and 24-week FVC % change (≤ −10 → 21, > −10 and < −4.9 → 10, ≥ −4.9 → 0). Returns a 0–61 total only. Does not interpolate Table 4 risk percents. Not GAP and not a transplant listing.","url":"https://api.magentlab.com/api/calc/du_bois","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","respiratory_hospitalization","fvc_percent_predicted","fvc_change_24wk"],"properties":{"age":{"type":"integer","description":"Age in years (integer 18-120). du Bois 2011 Table 4: <60 scores 0; 60-69 scores 4; >=70 scores 8."},"fvc_change_24wk":{"type":"number","description":"24-week change in FVC percent predicted, in percentage points (-50 to 50). du Bois 2011 Table 4: <= -10 scores 21; > -10 and < -4.9 scores 10; >= -4.9 scores 0."},"fvc_percent_predicted":{"type":"number","description":"FVC percent predicted (10-150). du Bois 2011 Table 4: <50 scores 18; 51-65 scores 13; 66-79 scores 8; >80 scores 0. Exactly 50 or 80 is unpublished."},"respiratory_hospitalization":{"type":"boolean","description":"24-week history of respiratory hospitalization (true or false). du Bois 2011 Table 4: false scores 0; true scores 14."}}}},"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_A4lDJka4rdRnH-xmwMFhR","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 du Bois 2011 four-predictor abbreviated IPF (Idiopathic Pulmonary Fibrosis) score from age, respiratory hospitalization history, FVC % predicted, and 24-week FVC % change, returning a total score from 0 to 61.","exampleAgentPrompt":"Calculate the du Bois 2011 abbreviated IPF score for a 67-year-old patient who had a respiratory hospitalization in the past 24 weeks, FVC percent predicted of 72%, and a 24-week FVC change of -7 percentage points.","exampleUseCases":[{"title":"IPF prognosis at clinic visit","prompt":"My IPF patient is 71 years old, no respiratory hospitalization in the past 24 weeks, FVC percent predicted is 58%, and their FVC changed by -3 percentage points over 24 weeks — what is their du Bois abbreviated IPF score?"},{"title":"Serial monitoring score change","prompt":"Six months ago my patient scored low on the du Bois IPF scale. Now they're 64, had a respiratory hospitalization, FVC percent predicted dropped to 48%, and FVC change is -11 percentage points. Recalculate their du Bois 2011 abbreviated IPF score."},{"title":"Automated EMR IPF risk flagging","prompt":"For our pulmonology workflow: patient is 59 years old, no respiratory hospitalizations, FVC percent predicted is 82%, and 24-week FVC change is -2 percentage points — run the du Bois 2011 four-predictor IPF score so we can document it in the chart."}],"resultDescription":"Returns a single integer total score ranging from 0 to 61, representing the sum of points assigned by the du Bois 2011 abbreviated four-predictor IPF model. Higher scores indicate worse prognosis. The endpoint does not interpolate or return Table 4 risk percentages, and does not compute the GAP index or transplant listing scores.","failureModes":["Missing required parameters (age, respiratory_hospitalization, fvc_percent_predicted, fvc_change_24wk) returns an error","FVC percent predicted exactly at boundary values 50 or 80 is unpublished/undefined — results may be ambiguous","Out-of-range inputs (age <18 or >120, FVC values outside 10–150) may return validation errors","Payment not provided or insufficient (x402 payment required at $0.005 USDC per call)"],"whenToPreferThis":"Use this endpoint when you need the specific du Bois 2011 abbreviated four-predictor IPF score (0–61) for a patient with known age, 24-week respiratory hospitalization history, FVC percent predicted, and 24-week FVC percent change. Choose this over generic calculators when you need the published scoring table logic faithfully implemented. Do not use this for GAP index scoring, transplant listing decisions, or when you need Table 4 risk percentages — this endpoint returns the raw score only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:40.320Z","isFirstParty":false}