Back to list
hannesill

vasopressor-equivalents

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: vasopressor-equivalents description: Calculate norepinephrine-equivalent dose for vasopressor comparison in MIMIC-IV. Use for hemodynamic support quantification, shock severity assessment, or vasopressor weaning studies. license: Apache-2.0 metadata: author: m4-clinical-extraction version: "1.0" database: mimic-iv category: derived-concepts source: https://github.com/MIT-LCP/mimic-code/tree/main/mimic-iv/concepts/medication validated: true

Vasopressor Equivalent Dose

Calculates norepinephrine-equivalent dose (NED) to enable comparison across different vasopressor agents. Based on the Goradia et al. 2020 scoping review of vasopressor dose equivalence.

When to Use This Skill

  • Comparing vasopressor exposure across different agents
  • Shock severity quantification
  • Vasopressor weaning studies
  • Hemodynamic support burden calculation
  • Cardiovascular SOFA component (uses vasopressor doses)

Equivalence Factors

VasopressorEquivalence RatioComparison DoseUnits
Norepinephrine1:10.1mcg/kg/min
Epinephrine1:10.1mcg/kg/min
Dopamine1:10010mcg/kg/min
Phenylephrine1:101mcg/kg/min
Vasopressin1:0.4*0.04units/min

*Vasopressin is converted: vasopressin_units_per_hr * 2.5 / 60

Pre-computed Table

SELECT
    stay_id,
    starttime,
    endtime,
    norepinephrine_equivalent_dose
FROM mimiciv_derived.norepinephrine_equivalent_dose;

Calculation Formula

norepinephrine_equivalent_dose = ROUND(
    COALESCE(norepinephrine, 0)
    + COALESCE(epinephrine, 0)
    + COALESCE(phenylephrine / 10, 0)
    + COALESCE(dopamine / 100, 0)
    + COALESCE(vasopressin * 2.5 / 60, 0),
    4
)

Source Tables

Individual vasopressor tables provide dose rates:

  • mimiciv_derived.norepinephrine
  • mimiciv_derived.epinephrine
  • mimiciv_derived.dopamine
  • mimiciv_derived.phenylephrine
  • mimiciv_derived.vasopressin

All consolidated in:

  • mimiciv_derived.vasoactive_agent

Critical Implementation Notes

  1. Weight-Based Dosing: All doses are in mcg/kg/min (except vasopressin in units/hr). The underlying tables use patient weight for conversion.

  2. Weight Estimation: When weight is not documented, it may be estimated. Check mimiciv_derived.weight_durations for weight source.

  3. Vasopressin Units: Vasopressin is charted in units/hour, not units/min. The formula converts appropriately.

  4. Excluded Agents:

    • Metaraminol: Not used at BIDMC
    • Angiotensin II: Rarely used (could add: angiotensin_ii * 10)
    • Dobutamine: Not a vasopressor (inotrope), excluded from NED
  5. Time Intervals: Each row has a starttime/endtime representing when that dose was active.

  6. Multiple Simultaneous Agents: NED sums all concurrent vasopressors.

Example: Maximum NED Per ICU Stay

SELECT
    stay_id,
    MAX(norepinephrine_equivalent_dose) AS max_ned
FROM mimiciv_derived.norepinephrine_equivalent_dose
GROUP BY stay_id
ORDER BY max_ned DESC;

Example: Vasopressor Duration

SELECT
    stay_id,
    SUM(TIMESTAMP_DIFF(endtime, starttime, HOUR)) AS vasopressor_hours
FROM mimiciv_derived.norepinephrine_equivalent_dose
WHERE norepinephrine_equivalent_dose > 0
GROUP BY stay_id;

Example: Time-Weighted Average NED

WITH weighted AS (
    SELECT
        stay_id,
        norepinephrine_equivalent_dose *
        TIMESTAMP_DIFF(endtime, starttime, MINUTE) AS dose_minutes,
        TIMESTAMP_DIFF(endtime, starttime, MINUTE) AS duration_minutes
    FROM mimiciv_derived.norepinephrine_equivalent_dose
)
SELECT
    stay_id,
    SUM(dose_minutes) / NULLIF(SUM(duration_minutes), 0) AS time_weighted_ned
FROM weighted
GROUP BY stay_id;

Example: Shock Severity Categories

WITH max_ned AS (
    SELECT
        stay_id,
        MAX(norepinephrine_equivalent_dose) AS max_ned
    FROM mimiciv_derived.norepinephrine_equivalent_dose
    GROUP BY stay_id
)
SELECT
    CASE
        WHEN max_ned = 0 THEN 'No vasopressors'
        WHEN max_ned < 0.1 THEN 'Low dose (<0.1)'
        WHEN max_ned < 0.3 THEN 'Moderate (0.1-0.3)'
        WHEN max_ned < 0.5 THEN 'High (0.3-0.5)'
        ELSE 'Very high (>=0.5)'
    END AS vasopressor_category,
    COUNT(*) AS n_stays
FROM max_ned
GROUP BY 1
ORDER BY 1;

References

  • Goradia S et al. "Vasopressor dose equivalence: A scoping review and suggested formula." Journal of Critical Care. 2020;61:233-240.
  • Brown SM et al. "Survival after shock requiring high-dose vasopressor therapy." Chest. 2013;143(3):664-671.

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