AmsterdamUMC / AmsterdamUMCdb

AmsterdamUMCdb - Freely Accessible ICU database. Please access our Open Access manuscript at https://doi.org/10.1097/CCM.0000000000004916
https://amsterdammedicaldatascience.nl/
MIT License
157 stars 44 forks source link

changed doserateunitid check for calculating gamma #63

Closed tariqdam closed 2 years ago

tariqdam commented 2 years ago

In amsterdamumcdb > sql > common > vasopressors_inotropes.sql, doserateperkg is calculated with some conversions. On line 69, the doserateperkg is already calculated and stored in dose, but the code assumes the dose unit to be ug/kg/min while the doserate is actually compared to unit 5 (uur) instead of 4 (min).

https://github.com/AmsterdamUMC/AmsterdamUMCdb/blob/5541e908181526e184ce17d78c0da371ea2b9d00/amsterdamumcdb/sql/common/vasopressors_inotropes.sql#L69

review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB