{
  "x402Version": 2,
  "id": 39582,
  "slug": "39582",
  "resource": "https://api.magentlab.com/api/calc/lips",
  "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "acidosis_ph_lt_735": false,
                "acute_abdomen": false,
                "alcohol_abuse": true,
                "aortic_vascular": false,
                "aspiration": false,
                "cardiac": false,
                "chemotherapy": false,
                "diabetes_mellitus": false,
                "emergency_surgery": false,
                "fio2_gt_035": true,
                "hypoalbuminemia": false,
                "lung_contusion": false,
                "multiple_fractures": false,
                "near_drowning": false,
                "obesity_bmi_gt_30": false,
                "orthopedic_spine": false,
                "pneumonia": true,
                "sepsis": true,
                "shock": true,
                "smoke_inhalation": false,
                "spo2_lt_95": false,
                "tachypnea_rr_gt_30": false,
                "traumatic_brain_injury": false
              },
              {
                "acidosis_ph_lt_735": false,
                "acute_abdomen": false,
                "alcohol_abuse": true,
                "aortic_vascular": false,
                "aspiration": false,
                "cardiac": false,
                "chemotherapy": false,
                "diabetes_mellitus": false,
                "emergency_surgery": false,
                "fio2_gt_035": true,
                "hypoalbuminemia": false,
                "lung_contusion": false,
                "multiple_fractures": false,
                "near_drowning": false,
                "obesity_bmi_gt_30": false,
                "orthopedic_spine": false,
                "pneumonia": true,
                "sepsis": true,
                "shock": true,
                "smoke_inhalation": false,
                "spo2_lt_95": false,
                "tachypnea_rr_gt_30": false,
                "traumatic_brain_injury": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)",
                  "doi": "10.1164/rccm.201004-0549OC",
                  "id": "gajic-2011",
                  "pmid": "20802164",
                  "source": "Am J Respir Crit Care Med. 2011;183(4):462-470",
                  "title": "Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"
                },
                "components": [
                  {
                    "factor": "shock",
                    "points": 2,
                    "present": true
                  },
                  {
                    "factor": "aspiration",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sepsis",
                    "points": 1,
                    "present": true
                  },
                  {
                    "factor": "pneumonia",
                    "points": 1.5,
                    "present": true
                  },
                  {
                    "factor": "emergency_surgery",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "traumatic_brain_injury",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "smoke_inhalation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "near_drowning",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lung_contusion",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "multiple_fractures",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "alcohol_abuse",
                    "points": 1,
                    "present": true
                  },
                  {
                    "factor": "obesity_bmi_gt_30",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hypoalbuminemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chemotherapy",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "fio2_gt_035",
                    "points": 2,
                    "present": true
                  },
                  {
                    "factor": "tachypnea_rr_gt_30",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "spo2_lt_95",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acidosis_ph_lt_735",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "orthopedic_spine",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acute_abdomen",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cardiac",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "aortic_vascular",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes_mellitus",
                    "points": 0,
                    "present": false
                  }
                ],
                "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.",
                "formula": "lips",
                "formula_expression": "LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4",
                "lips_band": "high",
                "max_score": 15.5,
                "score": 7.5
              },
              {
                "citation": {
                  "authors": "Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)",
                  "doi": "10.1164/rccm.201004-0549OC",
                  "id": "gajic-2011",
                  "pmid": "20802164",
                  "source": "Am J Respir Crit Care Med. 2011;183(4):462-470",
                  "title": "Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"
                },
                "components": [
                  {
                    "factor": "shock",
                    "points": 2,
                    "present": true
                  },
                  {
                    "factor": "aspiration",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sepsis",
                    "points": 1,
                    "present": true
                  },
                  {
                    "factor": "pneumonia",
                    "points": 1.5,
                    "present": true
                  },
                  {
                    "factor": "emergency_surgery",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "traumatic_brain_injury",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "smoke_inhalation",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "near_drowning",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lung_contusion",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "multiple_fractures",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "alcohol_abuse",
                    "points": 1,
                    "present": true
                  },
                  {
                    "factor": "obesity_bmi_gt_30",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "hypoalbuminemia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "chemotherapy",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "fio2_gt_035",
                    "points": 2,
                    "present": true
                  },
                  {
                    "factor": "tachypnea_rr_gt_30",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "spo2_lt_95",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acidosis_ph_lt_735",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "orthopedic_spine",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "acute_abdomen",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cardiac",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "aortic_vascular",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diabetes_mellitus",
                    "points": 0,
                    "present": false
                  }
                ],
                "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.",
                "formula": "lips",
                "formula_expression": "LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4",
                "lips_band": "high",
                "max_score": 15.5,
                "score": 7.5
              }
            ],
            "path": "/api/calc/lips"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "acidosis_ph_lt_735": {
                          "description": "Acidosis (pH <7.35) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not assay blood gas.",
                          "type": "boolean"
                        },
                        "acute_abdomen": {
                          "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.",
                          "type": "boolean"
                        },
                        "alcohol_abuse": {
                          "description": "Alcohol abuse as assigned by the caller (Gajic 2011 Table 3). true scores 1.",
                          "type": "boolean"
                        },
                        "aortic_vascular": {
                          "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.",
                          "type": "boolean"
                        },
                        "aspiration": {
                          "description": "Aspiration as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.",
                          "type": "boolean"
                        },
                        "cardiac": {
                          "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.",
                          "type": "boolean"
                        },
                        "chemotherapy": {
                          "description": "Chemotherapy as assigned by the caller (Gajic 2011 Table 3). true scores 1.",
                          "type": "boolean"
                        },
                        "diabetes_mellitus": {
                          "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.",
                          "type": "boolean"
                        },
                        "emergency_surgery": {
                          "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.",
                          "type": "boolean"
                        },
                        "fio2_gt_035": {
                          "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.",
                          "type": "boolean"
                        },
                        "hypoalbuminemia": {
                          "description": "Hypoalbuminemia as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not assay albumin.",
                          "type": "boolean"
                        },
                        "lung_contusion": {
                          "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.",
                          "type": "boolean"
                        },
                        "multiple_fractures": {
                          "description": "Multiple fractures as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack.",
                          "type": "boolean"
                        },
                        "near_drowning": {
                          "description": "Near drowning as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.",
                          "type": "boolean"
                        },
                        "obesity_bmi_gt_30": {
                          "description": "Obesity (BMI >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not take height or weight.",
                          "type": "boolean"
                        },
                        "orthopedic_spine": {
                          "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.",
                          "type": "boolean"
                        },
                        "pneumonia": {
                          "description": "Pneumonia as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not read imaging.",
                          "type": "boolean"
                        },
                        "sepsis": {
                          "description": "Sepsis as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not diagnose sepsis.",
                          "type": "boolean"
                        },
                        "shock": {
                          "description": "Shock as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.",
                          "type": "boolean"
                        },
                        "smoke_inhalation": {
                          "description": "Smoke inhalation as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.",
                          "type": "boolean"
                        },
                        "spo2_lt_95": {
                          "description": "SpO2 <95% as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not measure SpO2.",
                          "type": "boolean"
                        },
                        "tachypnea_rr_gt_30": {
                          "description": "Tachypnea (respiratory rate >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not count respirations.",
                          "type": "boolean"
                        },
                        "traumatic_brain_injury": {
                          "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.",
                          "type": "boolean"
                        }
                      },
                      "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"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "lips",
    "lung-injury",
    "respiratory",
    "score",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:40:23.555Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:40:23.393Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "acidosis_ph_lt_735": false,
                  "acute_abdomen": false,
                  "alcohol_abuse": true,
                  "aortic_vascular": false,
                  "aspiration": false,
                  "cardiac": false,
                  "chemotherapy": false,
                  "diabetes_mellitus": false,
                  "emergency_surgery": false,
                  "fio2_gt_035": true,
                  "hypoalbuminemia": false,
                  "lung_contusion": false,
                  "multiple_fractures": false,
                  "near_drowning": false,
                  "obesity_bmi_gt_30": false,
                  "orthopedic_spine": false,
                  "pneumonia": true,
                  "sepsis": true,
                  "shock": true,
                  "smoke_inhalation": false,
                  "spo2_lt_95": false,
                  "tachypnea_rr_gt_30": false,
                  "traumatic_brain_injury": false
                },
                {
                  "acidosis_ph_lt_735": false,
                  "acute_abdomen": false,
                  "alcohol_abuse": true,
                  "aortic_vascular": false,
                  "aspiration": false,
                  "cardiac": false,
                  "chemotherapy": false,
                  "diabetes_mellitus": false,
                  "emergency_surgery": false,
                  "fio2_gt_035": true,
                  "hypoalbuminemia": false,
                  "lung_contusion": false,
                  "multiple_fractures": false,
                  "near_drowning": false,
                  "obesity_bmi_gt_30": false,
                  "orthopedic_spine": false,
                  "pneumonia": true,
                  "sepsis": true,
                  "shock": true,
                  "smoke_inhalation": false,
                  "spo2_lt_95": false,
                  "tachypnea_rr_gt_30": false,
                  "traumatic_brain_injury": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)",
                    "doi": "10.1164/rccm.201004-0549OC",
                    "id": "gajic-2011",
                    "pmid": "20802164",
                    "source": "Am J Respir Crit Care Med. 2011;183(4):462-470",
                    "title": "Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"
                  },
                  "components": [
                    {
                      "factor": "shock",
                      "points": 2,
                      "present": true
                    },
                    {
                      "factor": "aspiration",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sepsis",
                      "points": 1,
                      "present": true
                    },
                    {
                      "factor": "pneumonia",
                      "points": 1.5,
                      "present": true
                    },
                    {
                      "factor": "emergency_surgery",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "traumatic_brain_injury",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "smoke_inhalation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "near_drowning",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lung_contusion",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "multiple_fractures",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "alcohol_abuse",
                      "points": 1,
                      "present": true
                    },
                    {
                      "factor": "obesity_bmi_gt_30",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hypoalbuminemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chemotherapy",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "fio2_gt_035",
                      "points": 2,
                      "present": true
                    },
                    {
                      "factor": "tachypnea_rr_gt_30",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "spo2_lt_95",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acidosis_ph_lt_735",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "orthopedic_spine",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acute_abdomen",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cardiac",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "aortic_vascular",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes_mellitus",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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.",
                  "formula": "lips",
                  "formula_expression": "LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4",
                  "lips_band": "high",
                  "max_score": 15.5,
                  "score": 7.5
                },
                {
                  "citation": {
                    "authors": "Gajic O, Dabbagh O, Park PK, Adesanya A, Chang SY, Hou P, Anderson H 3rd, Hoth JJ, Mikkelsen ME, Gentile NT, Gong MN, Talmor D, Bajwa E, Watkins TR, Festic E, Yilmaz M, Liendahl M, Khan NA, Sevransky JE, Malinchoc M; US Critical Illness and Injury Trials Group: Lung Injury Prevention Study Investigators (USCIITG-LIPS)",
                    "doi": "10.1164/rccm.201004-0549OC",
                    "id": "gajic-2011",
                    "pmid": "20802164",
                    "source": "Am J Respir Crit Care Med. 2011;183(4):462-470",
                    "title": "Early Identification of Patients at Risk of Acute Lung Injury: Evaluation of Lung Injury Prediction Score in a Multicenter Cohort Study"
                  },
                  "components": [
                    {
                      "factor": "shock",
                      "points": 2,
                      "present": true
                    },
                    {
                      "factor": "aspiration",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sepsis",
                      "points": 1,
                      "present": true
                    },
                    {
                      "factor": "pneumonia",
                      "points": 1.5,
                      "present": true
                    },
                    {
                      "factor": "emergency_surgery",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "traumatic_brain_injury",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "smoke_inhalation",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "near_drowning",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lung_contusion",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "multiple_fractures",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "alcohol_abuse",
                      "points": 1,
                      "present": true
                    },
                    {
                      "factor": "obesity_bmi_gt_30",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "hypoalbuminemia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "chemotherapy",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "fio2_gt_035",
                      "points": 2,
                      "present": true
                    },
                    {
                      "factor": "tachypnea_rr_gt_30",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "spo2_lt_95",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acidosis_ph_lt_735",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "orthopedic_spine",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "acute_abdomen",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cardiac",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "aortic_vascular",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diabetes_mellitus",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "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.",
                  "formula": "lips",
                  "formula_expression": "LIPS = shock(2) + aspiration(2) + sepsis(1) + pneumonia(1.5) + at most one of orthopedic_spine(1), acute_abdomen(2), cardiac(2.5), aortic_vascular(3.5) + emergency_surgery(1.5) + traumatic_brain_injury(2) + smoke_inhalation(2) + near_drowning(2) + lung_contusion(1.5) + multiple_fractures(1.5) + alcohol_abuse(1) + obesity_bmi_gt_30(1) + hypoalbuminemia(1) + chemotherapy(1) + fio2_gt_035(2) + tachypnea_rr_gt_30(1.5) + spo2_lt_95(1) + acidosis_ph_lt_735(1.5) + diabetes_mellitus(-1 only if sepsis); Gajic 2011 Table 3; published observed range 0-15.5; low <4, high >=4",
                  "lips_band": "high",
                  "max_score": 15.5,
                  "score": 7.5
                }
              ],
              "path": "/api/calc/lips"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "acidosis_ph_lt_735": {
                            "description": "Acidosis (pH <7.35) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not assay blood gas.",
                            "type": "boolean"
                          },
                          "acute_abdomen": {
                            "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.",
                            "type": "boolean"
                          },
                          "alcohol_abuse": {
                            "description": "Alcohol abuse as assigned by the caller (Gajic 2011 Table 3). true scores 1.",
                            "type": "boolean"
                          },
                          "aortic_vascular": {
                            "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.",
                            "type": "boolean"
                          },
                          "aspiration": {
                            "description": "Aspiration as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.",
                            "type": "boolean"
                          },
                          "cardiac": {
                            "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.",
                            "type": "boolean"
                          },
                          "chemotherapy": {
                            "description": "Chemotherapy as assigned by the caller (Gajic 2011 Table 3). true scores 1.",
                            "type": "boolean"
                          },
                          "diabetes_mellitus": {
                            "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.",
                            "type": "boolean"
                          },
                          "emergency_surgery": {
                            "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.",
                            "type": "boolean"
                          },
                          "fio2_gt_035": {
                            "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.",
                            "type": "boolean"
                          },
                          "hypoalbuminemia": {
                            "description": "Hypoalbuminemia as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not assay albumin.",
                            "type": "boolean"
                          },
                          "lung_contusion": {
                            "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.",
                            "type": "boolean"
                          },
                          "multiple_fractures": {
                            "description": "Multiple fractures as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. Trauma items may stack.",
                            "type": "boolean"
                          },
                          "near_drowning": {
                            "description": "Near drowning as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.",
                            "type": "boolean"
                          },
                          "obesity_bmi_gt_30": {
                            "description": "Obesity (BMI >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not take height or weight.",
                            "type": "boolean"
                          },
                          "orthopedic_spine": {
                            "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.",
                            "type": "boolean"
                          },
                          "pneumonia": {
                            "description": "Pneumonia as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not read imaging.",
                            "type": "boolean"
                          },
                          "sepsis": {
                            "description": "Sepsis as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not diagnose sepsis.",
                            "type": "boolean"
                          },
                          "shock": {
                            "description": "Shock as assigned by the caller (Gajic 2011 Table 3). true scores 2. magent does not examine the patient.",
                            "type": "boolean"
                          },
                          "smoke_inhalation": {
                            "description": "Smoke inhalation as assigned by the caller (Gajic 2011 Table 3). true scores 2. Trauma items may stack.",
                            "type": "boolean"
                          },
                          "spo2_lt_95": {
                            "description": "SpO2 <95% as assigned by the caller (Gajic 2011 Table 3). true scores 1. magent does not measure SpO2.",
                            "type": "boolean"
                          },
                          "tachypnea_rr_gt_30": {
                            "description": "Tachypnea (respiratory rate >30) as assigned by the caller (Gajic 2011 Table 3). true scores 1.5. magent does not count respirations.",
                            "type": "boolean"
                          },
                          "traumatic_brain_injury": {
                            "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.",
                            "type": "boolean"
                          }
                        },
                        "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"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}