{"uid":"cap_JBC-JjxlXJYNCs7x07vwo","slug":"gajic-2011-lips-lung-injury-prediction-score-calculator-f4c9bbc8","name":"Gajic 2011 LIPS Lung Injury Prediction Score Calculator","description":"Gajic 2011 lung injury prediction score (Table 3): caller-assigned predisposing conditions, at most one high-risk surgery type plus emergency add-on, stacking trauma items, and risk modifiers including diabetes -1 only with sepsis. Score is a number; published observed range 0-15.5. Band low if <4, high if >=4 (ROC cutoff). Not an ARDS diagnosis. magent does not examine the patient or read imaging.","url":"https://api.magentlab.com/api/calc/lips","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":["shock","aspiration","sepsis","pneumonia","orthopedic_spine","acute_abdomen","cardiac","aortic_vascular","emergency_surgery","traumatic_brain_injury","smoke_inhalation","near_drowning","lung_contusion","multiple_fractures","alcohol_abuse","obesity_bmi_gt_30","hypoalbuminemia","chemotherapy","fio2_gt_035","tachypnea_rr_gt_30","spo2_lt_95","acidosis_ph_lt_735","diabetes_mellitus"],"properties":{"shock":{"type":"boolean","description":"Shock as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient."},"sepsis":{"type":"boolean","description":"Sepsis as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not diagnose sepsis."},"cardiac":{"type":"boolean","description":"High-risk cardiac surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true."},"pneumonia":{"type":"boolean","description":"Pneumonia as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not read imaging."},"aspiration":{"type":"boolean","description":"Aspiration as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient."},"spo2_lt_95":{"type":"boolean","description":"SpO2 <95% as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not measure SpO2."},"fio2_gt_035":{"type":"boolean","description":"FiO2 >0.35 or >4 L/min as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not read the ventilator or flowmeter."},"chemotherapy":{"type":"boolean","description":"Chemotherapy as assigned by the caller (Gajic 2011 Table 3). true scores 1."},"acute_abdomen":{"type":"boolean","description":"High-risk acute abdomen surgery as assigned by the caller (Gajic 2011 Table 3). true scores 2. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true."},"alcohol_abuse":{"type":"boolean","description":"Alcohol abuse as assigned by the caller (Gajic 2011 Table 3). true scores 1."},"near_drowning":{"type":"boolean","description":"Near drowning as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack."},"lung_contusion":{"type":"boolean","description":"Lung contusion as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack. magent does not read imaging."},"aortic_vascular":{"type":"boolean","description":"High-risk aortic vascular surgery as assigned by the caller (Gajic 2011 Table 3). true scores 3.5. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true."},"hypoalbuminemia":{"type":"boolean","description":"Hypoalbuminemia as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not assay albumin."},"orthopedic_spine":{"type":"boolean","description":"High-risk orthopedic spine surgery as assigned by the caller (Gajic 2011 Table 3). true scores 1. At most one of orthopedic_spine, acute_abdomen, cardiac, and aortic_vascular may be true."},"smoke_inhalation":{"type":"boolean","description":"Smoke inhalation as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack."},"diabetes_mellitus":{"type":"boolean","description":"Diabetes mellitus as assigned by the caller (Gajic 2011 Table 3 footnote dagger). Subtracts 1 only when sepsis is true. If diabetes is true and sepsis is false, 0 points (do not subtract). magent does not diagnose diabetes."},"emergency_surgery":{"type":"boolean","description":"Emergency surgery as assigned by the caller (Gajic 2011 Table 3 footnote *: add 1.5 points if emergency surgery). true scores 1.5 in addition to any one surgery type."},"obesity_bmi_gt_30":{"type":"boolean","description":"Obesity (BMI >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not take height or weight."},"acidosis_ph_lt_735":{"type":"boolean","description":"Acidosis (pH <7.35) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not assay blood gas."},"multiple_fractures":{"type":"boolean","description":"Multiple fractures as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack."},"tachypnea_rr_gt_30":{"type":"boolean","description":"Tachypnea (respiratory rate >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not count respirations."},"traumatic_brain_injury":{"type":"boolean","description":"Traumatic brain injury as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack. magent does not read imaging."}}}},"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_2V1bxv0qev6TP3t9O3ARL","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 Lung Injury Prediction Score (LIPS) from Gajic 2011 Table 3 using caller-assigned predisposing conditions, surgery type, trauma items, and risk modifiers to estimate risk of developing ARDS","exampleAgentPrompt":"Calculate the Gajic 2011 LIPS score for a patient who has shock and aspiration, is not septic, has no pneumonia, underwent emergency cardiac surgery, has lung contusion and multiple fractures, is obese (BMI >30), has hypoalbuminemia, no chemotherapy, FiO2 is above 0.35, SpO2 is below 95%, no acidosis, and no diabetes — tell me the numeric score and whether they're in the high-risk band.","exampleUseCases":[{"title":"ICU triage for ARDS risk","prompt":"I have a patient admitted to the ICU with shock, aspiration, and sepsis but no pneumonia, no high-risk surgery, traumatic brain injury present, smoke inhalation yes, no near drowning, lung contusion present, multiple fractures yes, alcohol abuse yes, BMI over 30, no hypoalbuminemia, no chemotherapy, FiO2 above 0.35, respiratory rate above 30, SpO2 below 95%, pH below 7.35, and no diabetes — compute their LIPS score and tell me if they're high risk."},{"title":"Pre-op lung injury screening","prompt":"Before this patient goes into emergency aortic vascular surgery, I want to know their LIPS score — they have no shock, no aspiration, no sepsis, no pneumonia, the surgery type is aortic vascular with emergency add-on, no trauma items, they have obesity and hypoalbuminemia, no chemotherapy, FiO2 is under 0.35, RR under 30, SpO2 above 95%, pH normal, and no diabetes."},{"title":"Trauma bay acute lung injury stratification","prompt":"Score this trauma patient for lung injury risk using the LIPS calculator: no shock, no aspiration, no sepsis, no pneumonia, no surgery, traumatic brain injury yes, smoke inhalation no, near drowning no, lung contusion yes, multiple fractures yes, alcohol abuse no, not obese, no hypoalbuminemia, no chemo, FiO2 under 0.35, RR under 30, SpO2 above 95%, no acidosis, and diabetes is present but no sepsis."}],"resultDescription":"Returns a numeric LIPS score (published observed range 0–15.5) and a risk band label: 'low' if the score is below 4 or 'high' if 4 or above, based on the ROC-derived cutoff from Gajic 2011. Does not constitute an ARDS diagnosis.","failureModes":["Missing required boolean parameters returns a validation error","More than one high-risk surgery type flagged true simultaneously causes an input constraint violation","Diabetes mellitus scored as -1 only when sepsis is also true; misconfiguration by caller may produce unexpected scores","Invalid parameter types (non-boolean values) cause schema rejection"],"whenToPreferThis":"Use this endpoint when you need a fast, reproducible implementation of the Gajic 2011 LIPS score exactly as published in Table 3, including correct handling of the single-surgery-type constraint, emergency surgery add-on, stacking trauma items, and the diabetes/sepsis interaction modifier. Prefer it over manual calculation to avoid scoring logic errors.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:12:38.893Z","isFirstParty":false}