Skip to content

Commit b36635d

Browse files
committed
calculate NED from vasoactive agent table
1 parent 5a27a0d commit b36635d

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
-- This query calculates norepinephrine equivalent dose for vasopressors.
2+
-- Based on "Vasopressor dose equivalence: A scoping review and suggested formula"
3+
-- by Goradia et al. 2020.
4+
SELECT t.stay_id, t.starttime, t.endtime
5+
-- calculate the dose
6+
, norepinephrine
7+
+ epinephrine
8+
+ phenylephrine/10
9+
+ dopamine/100
10+
-- + metaraminol/8 -- metaraminol not used in BIDMC
11+
+ vasopressin*2.5
12+
-- angotensin_ii*10 -- angitensin ii rarely used, currently not incorporated
13+
-- (it could be included due to norepinephrine sparing effects)
14+
AS norepinephrine_equivalent_dose
15+
FROM mimic_derived.vasoactive_agent
16+
WHERE norepinephrine IS NOT NULL
17+
OR epinephrine IS NOT NULL
18+
OR phenylephrine IS NOT NULL
19+
OR dopamine IS NOT NULL
20+
OR vasopressin IS NOT NULL;

0 commit comments

Comments
 (0)