Back to list
hannesill

lods-score

by hannesill

Give your AI agents clinical intelligence & access to MIMIC-IV, eICU, and more. This project provides them with MCP, Code Execution, and clinical agent skills.

7🍴 3📅 Jan 21, 2026

SKILL.md


name: lods-score description: Calculate LODS (Logistic Organ Dysfunction Score) for ICU patients in MIMIC-IV. Use for organ dysfunction assessment across 6 systems with weighted scoring. license: Apache-2.0 metadata: author: m4-clinical-extraction version: "1.0" database: mimic-iv category: severity-scores source: https://github.com/MIT-LCP/mimic-code/tree/main/mimic-iv/concepts/score validated: true

LODS Score Calculation

The Logistic Organ Dysfunction Score (LODS) assesses organ dysfunction across 6 systems with logistic regression-derived weights. It provides mortality prediction based on the first ICU day.

When to Use This Skill

  • Multi-organ dysfunction assessment
  • Mortality prediction with organ-specific weighting
  • Research on organ failure patterns
  • Alternative to SOFA for organ dysfunction quantification

Score Components (First 24 Hours)

SystemVariablesScore Range
NeurologicGCS0-5
CardiovascularHR, SBP0-5
RenalBUN, Creatinine, Urine Output0-5
PulmonaryPaO2/FiO2 (ventilated only)0-3
HematologicWBC, Platelets0-3
HepaticPT, Bilirubin0-1

Total Range: 0-22

Pre-computed Table

SELECT
    subject_id,
    hadm_id,
    stay_id,
    lods,
    neurologic,
    cardiovascular,
    renal,
    pulmonary,
    hematologic,
    hepatic
FROM mimiciv_derived.lods;

Component Scoring Details

Neurologic (GCS)

GCSScore
<= 55
6-83
9-131
14-150

Cardiovascular

ConditionScore
HR < 30 OR SBP < 405
SBP < 70 OR SBP >= 2703
HR >= 140 OR SBP >= 240 OR SBP < 901
Normal0

Renal

ConditionScore
UO < 500 OR BUN >= 565
Cr >= 1.6 OR UO < 750 OR BUN >= 28 OR UO >= 100003
Cr >= 1.2 OR BUN >= 7.51
Normal0

Pulmonary (Ventilated Patients Only)

PaO2/FiO2Score
< 1503
>= 1501
Not ventilated0

Hematologic

ConditionScore
WBC < 1.03
WBC < 2.5 OR Platelets < 50 OR WBC >= 501
Normal0

Hepatic

ConditionScore
Bilirubin >= 2.0 OR PT > 15s OR PT < 3s1
Normal0

Critical Implementation Notes

  1. Prothrombin Time (PT): The "standard" PT is assumed to be 12 seconds. Abnormal is > 15s (12 + 3) or < 3s (12 * 0.25).

  2. Pulmonary Scoring: Only scored for patients on mechanical ventilation or CPAP. Non-ventilated patients get 0.

  3. CPAP Detection: Identified from oxygen delivery device documentation containing "cpap" or "bipap mask".

  4. GCS < 3: Treated as null (erroneous value or tracheostomy).

  5. Missing Data: Missing components are imputed as 0 (normal).

Example: Organ Dysfunction Profile

SELECT
    stay_id,
    lods,
    neurologic,
    cardiovascular,
    renal,
    pulmonary,
    hematologic,
    hepatic,
    CASE WHEN neurologic > 0 THEN 1 ELSE 0 END +
    CASE WHEN cardiovascular > 0 THEN 1 ELSE 0 END +
    CASE WHEN renal > 0 THEN 1 ELSE 0 END +
    CASE WHEN pulmonary > 0 THEN 1 ELSE 0 END +
    CASE WHEN hematologic > 0 THEN 1 ELSE 0 END +
    CASE WHEN hepatic > 0 THEN 1 ELSE 0 END AS n_failing_organs
FROM mimiciv_derived.lods
ORDER BY lods DESC;

Example: Multi-Organ Failure Analysis

-- Patients with >= 3 organ systems failing
SELECT
    l.stay_id,
    l.lods,
    adm.hospital_expire_flag AS mortality
FROM mimiciv_derived.lods l
INNER JOIN mimiciv_icu.icustays ie ON l.stay_id = ie.stay_id
INNER JOIN mimiciv_hosp.admissions adm ON ie.hadm_id = adm.hadm_id
WHERE
    (CASE WHEN neurologic > 0 THEN 1 ELSE 0 END +
     CASE WHEN cardiovascular > 0 THEN 1 ELSE 0 END +
     CASE WHEN renal > 0 THEN 1 ELSE 0 END +
     CASE WHEN pulmonary > 0 THEN 1 ELSE 0 END +
     CASE WHEN hematologic > 0 THEN 1 ELSE 0 END +
     CASE WHEN hepatic > 0 THEN 1 ELSE 0 END) >= 3;

References

  • Le Gall JR et al. "The Logistic Organ Dysfunction system: a new way to assess organ dysfunction in the intensive care unit." JAMA. 1996;276(10):802-810.

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon