Prerequisites
- [ X] Put an X between the brackets on this line if you have done all of the following:
I am using the following code
https://github.com/MIT-LCP/mimic-code/blob/main/mimic-iii/concepts/severityscores/lods.sql
to calculate lods score.
Is this the right one to use?
I noticed in the code,
for renal score it has - " when bun_max >= 7.50 then 1" which seems not right as the one above "bun_max >= 17.0 then 1" is the right one (i.e 17.0 to 28.0 is I think considered score of 1).
Also i noticed in a related query,
#112,
the code is bit different (and units are also different) but seems right(when (BUN_Max >= 6 and BUN_Max <10) then 1).:
Could someone clear my doubt about, whether am i using the right code and whether the additional line in the first code affects the calculation for renal score?
Thanks,
Selva
Prerequisites
I am using the following code
https://github.com/MIT-LCP/mimic-code/blob/main/mimic-iii/concepts/severityscores/lods.sql
to calculate lods score.
Is this the right one to use?
I noticed in the code,
for renal score it has - " when bun_max >= 7.50 then 1" which seems not right as the one above "bun_max >= 17.0 then 1" is the right one (i.e 17.0 to 28.0 is I think considered score of 1).
Also i noticed in a related query,
#112,
the code is bit different (and units are also different) but seems right(when (BUN_Max >= 6 and BUN_Max <10) then 1).:
Could someone clear my doubt about, whether am i using the right code and whether the additional line in the first code affects the calculation for renal score?
Thanks,
Selva