sapsii-score

Compute SAPS-II scores and mortality probability from ICU patient data.

40|17|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/hannesill/m4 --skill sapsii-score
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sapsii-score
Source: https://github.com/hannesill/m4/tree/main/src/m4/skills/clinical/sapsii-score
Command: npx skills add https://github.com/hannesill/m4 --skill sapsii-score

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

SAPS-II provides a standardized severity and mortality risk score for ICU patients, turning a complex set of physiologic measurements into a single, comparable metric to support risk stratification and benchmarking.

Core Features & Use Cases

  • Compute SAPS-II scores from ICU data (age, vitals, labs, and comorbidities) for the first ICU day.
  • Provide component sub-scores and a mortality probability to support cohort analyses, research reporting, and cross-dataset comparisons.
  • Leverage existing MIMIC-IV derived tables or implement raw-table computations in eICU contexts to enable accurate severity scoring.

Quick Start

Run the provided SQL scripts to compute SAPS-II scores from ICU data and retrieve the sapsii and sapsii_prob results.

Frequently Asked Questions about sapsii-score

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate SAPS-II scores from ICU patient data?

Calculate SAPS-II mortality risk scores by running SQL scripts that process ICU patient data including age, vitals, labs, and comorbidities. The scripts compute component sub-scores for the first ICU day and output the final score alongside an estimated mortality probability.

What is SAPS-II used for in clinical data analysis?

SAPS-II is used for ICU severity stratification, benchmarking, and cohort matching. It transforms complex physiologic measurements into a standardized mortality risk metric, enabling cross-dataset comparisons and research reporting for intensive care unit patients.

Does this SAPS-II calculation work with the MIMIC-IV dataset?

Yes, SAPS-II calculation works with MIMIC-IV by leveraging existing derived tables. The SQL implementation in the scripts integrates with MIMIC-IV to compute component scores and the final mortality probability for ICU patient cohorts.

Can I compute SAPS-II scores using the eICU dataset?

Computing SAPS-II scores from eICU requires full raw-table calculation and is not yet automated in this Skill. Currently, automated SAPS-II computation is supported for MIMIC-IV through its derived tables, while eICU support remains unavailable.

What data components are needed to estimate ICU mortality risk with SAPS-II?

Estimating ICU mortality risk with SAPS-II requires patient age, vitals, laboratory results, and comorbidities from the first ICU day. These component measurements are processed through SQL scripts to generate the final severity score and mortality probability.