File tree Expand file tree Collapse file tree
concepts_duckdb/severityscores
concepts_postgres/severityscores Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ select
174174 when urineoutput >= 10000 .0 then 3
175175 when creatinine_max >= 1 .20 then 1
176176 when bun_max >= 17 .0 then 1
177- when bun_max >= 7 .50 then 1
178177 else 0
179178 end as renal
180179
Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ WITH cpap AS (
145145 THEN 1
146146 WHEN bun_max >= 17 .0
147147 THEN 1
148- WHEN bun_max >= 7 .50
149148 THEN 1
150149 ELSE 0
151150 END AS renal,
@@ -203,4 +202,4 @@ FROM mimiciii.icustays AS ie
203202LEFT JOIN scorecomp AS s
204203 ON ie .icustay_id = s .icustay_id
205204ORDER BY
206- ie .icustay_id NULLS FIRST
205+ ie .icustay_id NULLS FIRST
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ WITH cpap AS (
154154 THEN 1
155155 WHEN bun_max >= 17 .0
156156 THEN 1
157- WHEN bun_max >= 7 .50
158157 THEN 1
159158 ELSE 0
160159 END AS renal, /* pulmonary */
@@ -212,4 +211,4 @@ FROM mimiciii.icustays AS ie
212211LEFT JOIN scorecomp AS s
213212 ON ie .icustay_id = s .icustay_id
214213ORDER BY
215- ie .icustay_id NULLS FIRST
214+ ie .icustay_id NULLS FIRST
Original file line number Diff line number Diff line change @@ -168,7 +168,6 @@ WITH cpap AS (
168168 WHEN urineoutput >= 10000 .0 THEN 3
169169 WHEN creatinine_max >= 1 .20 THEN 1
170170 WHEN bun_max >= 17 .0 THEN 1
171- WHEN bun_max >= 7 .50 THEN 1
172171 ELSE 0
173172 END AS renal
174173
Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ WITH cpap AS (
148148 THEN 1
149149 WHEN bun_max >= 17 .0
150150 THEN 1
151- WHEN bun_max >= 7 .50
152151 THEN 1
153152 ELSE 0
154153 END AS renal,
@@ -204,4 +203,4 @@ SELECT
204203 hepatic
205204FROM mimiciv_icu .icustays AS ie
206205LEFT JOIN scorecomp AS s
207- ON ie .stay_id = s .stay_id
206+ ON ie .stay_id = s .stay_id
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ WITH cpap AS (
153153 THEN 1
154154 WHEN bun_max >= 17 .0
155155 THEN 1
156- WHEN bun_max >= 7 .50
157156 THEN 1
158157 ELSE 0
159158 END AS renal, /* pulmonary */
@@ -209,4 +208,4 @@ SELECT
209208 hepatic
210209FROM mimiciv_icu .icustays AS ie
211210LEFT JOIN scorecomp AS s
212- ON ie .stay_id = s .stay_id
211+ ON ie .stay_id = s .stay_id
You can’t perform that action at this time.
0 commit comments